/* Global Scope & Variables */
:root {
    --bg-dark: #121216;
    /* Space Gray mais profundo */
    --bg-card: #1c1c24;
    /* Grafite escuro */
    --border-glass: rgba(255, 255, 255, 0.05);
    --text-primary: #ffffff;
    --text-muted: #9e9ea7;
    --accent-cobalt: #0047AB;
    /* Azul Cobalto */
    --accent-light: #0073ff;
    /* Azul mais vibrante para gradientes */
    --accent-graphite: #2b2b35;
    /* Grafite */

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;

    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Glow */
body::before,
body::after {
    content: '';
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.15;
    animation: pulseGlow 10s ease-in-out infinite alternate;
}

body::before {
    background: var(--accent-cobalt);
    top: -200px;
    left: -200px;
}

body::after {
    background: var(--accent-light);
    bottom: -200px;
    right: -200px;
}

@keyframes pulseGlow {
    0% {
        transform: scale(1);
        opacity: 0.1;
    }

    100% {
        transform: scale(1.2);
        opacity: 0.2;
    }
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
}

h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

p {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 300;
}

/* Utilities */
.gradient-text {
    background: linear-gradient(135deg, var(--text-primary), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-cobalt), var(--accent-light));
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 71, 171, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 115, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-primary);
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 115, 255, 0.1);
    border: 1px solid rgba(0, 115, 255, 0.2);
    border-radius: 20px;
    color: var(--accent-light);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(18, 18, 22, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition);
}

.navbar .logo {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
}

.navbar .logo span {
    color: var(--accent-light);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 400;
    font-size: 1rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent-light);
}

.btn-nav {
    border: 1px solid var(--accent-cobalt);
    padding: 8px 20px !important;
    border-radius: 20px;
}

.btn-nav:hover {
    background: var(--accent-cobalt);
    color: #fff !important;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 5% 50px;
    gap: 50px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

/* Code Mockup / Glass Panel */
.glass-mockup {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 20px;
    width: 100%;
    max-width: 500px;
    backdrop-filter: blur(20px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
    transform: perspective(1000px) rotateY(-10deg) rotateX(10deg);
    transition: var(--transition);
}

.glass-mockup:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
}

.mockup-header {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27c93f;
}

.mockup-body {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    color: #a5d6ff;
}

.status-line {
    margin-bottom: 15px;
    color: #7ee787;
    font-weight: bold;
}

.code-line {
    margin-bottom: 10px;
    opacity: 0.8;
}

.code-line.highlight {
    color: #d2a8ff;
    font-weight: 600;
    opacity: 1;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    z-index: 1;
}

.shape-1 {
    width: 100px;
    height: 100px;
    background: linear-gradient(var(--accent-cobalt), transparent);
    top: -20px;
    right: -20px;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 80px;
    height: 80px;
    background: linear-gradient(var(--accent-light), transparent);
    bottom: -30px;
    left: -10px;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* Features */
.features {
    padding: 100px 5%;
    text-align: center;
}

.section-title {
    max-width: 700px;
    margin: 0 auto 60px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 40px 30px;
    transition: var(--transition);
    text-align: left;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

/* Pricing */
.pricing {
    padding: 0 5% 100px;
    text-align: center;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 40px 30px;
    transition: var(--transition);
    text-align: center;
    backdrop-filter: blur(10px);
}

.pricing-card.featured {
    border-color: rgba(0, 115, 255, 0.4);
    transform: scale(1.05);
    background: linear-gradient(180deg, rgba(0, 115, 255, 0.05) 0%, rgba(28, 28, 36, 1) 100%);
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
    border-color: var(--accent-light);
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    margin: 20px 0;
    color: var(--text-primary);
}

.pricing-price span {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.pricing-features li {
    margin-bottom: 12px;
    color: var(--text-muted);
    position: relative;
    padding-left: 25px;
}

.pricing-features li::before {
    content: '✓';
    color: var(--accent-light);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* CTA */
.cta-section {
    padding: 80px 5%;
    display: flex;
    justify-content: center;
}

.cta-content.glass-panel {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--border-glass);
    border-radius: 30px;
    padding: 60px 40px;
    text-align: center;
    max-width: 800px;
    width: 100%;
    backdrop-filter: blur(20px);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.cta-content p {
    margin-bottom: 30px;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-glass);
    padding: 60px 5% 30px;
    margin-top: 50px;
    background: rgba(0, 0, 0, 0.3);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-glass);
}

.footer-brand .logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.footer-brand .logo span {
    color: var(--accent-purple);
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 5px 0;
    transition: 0.3s;
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 150px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    h1 {
        font-size: 3rem;
    }

    .glass-mockup {
        transform: none;
        margin-top: 40px;
    }

    .glass-mockup:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: -100%;
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(20px);
        width: 100%;
        flex-direction: column;
        padding: 30px 0;
        transition: 0.3s;
        border-bottom: 1px solid var(--border-glass);
    }

    .nav-links.active {
        left: 0;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
}

/* Pricing */
.pricing {
    padding: 0 5% 100px;
    text-align: center;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 40px 30px;
    transition: var(--transition);
    text-align: center;
    backdrop-filter: blur(10px);
}

.pricing-card.featured {
    border-color: rgba(0, 115, 255, 0.4);
    transform: scale(1.05);
    background: linear-gradient(180deg, rgba(0, 115, 255, 0.05) 0%, rgba(28, 28, 36, 1) 100%);
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
    border-color: var(--accent-light);
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    margin: 20px 0;
    color: var(--text-primary);
}

.pricing-price span {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.pricing-features li {
    margin-bottom: 12px;
    color: var(--text-muted);
    position: relative;
    padding-left: 25px;
}

.pricing-features li::before {
    content: '✓';
    color: var(--accent-light);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-cobalt) var(--bg-dark);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: var(--bg-dark);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--accent-cobalt);
    border-radius: 4px;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--accent-light);
}

.modal-content-body h2 {
    color: var(--text-primary);
    margin-bottom: 20px;
}

.modal-content-body h3 {
    color: var(--accent-light);
    margin-top: 30px;
    margin-bottom: 10px;
}

.modal-content-body p,
.modal-content-body ul,
.modal-content-body ol {
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.6;
}

.modal-content-body ul,
.modal-content-body ol {
    padding-left: 20px;
}

.modal-content-body hr {
    border: none;
    border-top: 1px solid var(--border-glass);
    margin: 30px 0;
}