/* CSS Reset & Variables */
:root {
    --bg-dark: #050914;
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    
    --primary: #4f46e5;     /* Indigo */
    --secondary: #7c3aed;   /* Violet */
    --accent: #f59e0b;      /* Gold */
    
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; letter-spacing: -1px; margin-bottom: 1rem; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 1rem; }

.text-gradient {
    background: linear-gradient(to right, #818cf8, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Background Animated Blobs */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    filter: blur(80px);
    opacity: 0.5;
}

.blob {
    position: absolute;
    border-radius: 50%;
    animation: moveBlob 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.blob-1 {
    top: -10%; left: -10%;
    width: 50vw; height: 50vw;
    background: radial-gradient(circle, rgba(79,70,229,0.4) 0%, rgba(79,70,229,0) 70%);
}

.blob-2 {
    bottom: -10%; right: -10%;
    width: 60vw; height: 60vw;
    background: radial-gradient(circle, rgba(124,58,237,0.3) 0%, rgba(124,58,237,0) 70%);
    animation-delay: -5s;
}

.blob-3 {
    top: 40%; left: 50%;
    width: 40vw; height: 40vw;
    background: radial-gradient(circle, rgba(245,158,11,0.15) 0%, rgba(245,158,11,0) 70%);
    animation-delay: -10s;
}

@keyframes moveBlob {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(10%, 10%) scale(1.1); }
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
    border-radius: 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
}

.logo i {
    color: var(--accent);
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    gap: 4rem;
}

.hero-text {
    flex: 1;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--accent);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Hero Mockup Card */
.hero-image {
    flex: 1;
    perspective: 1000px;
}

.mockup-card {
    border-radius: 20px;
    padding: 1.5rem;
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.mockup-card:hover {
    transform: rotateY(0) rotateX(0);
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1rem;
}

.circles { display: flex; gap: 6px; }
.circles i { width: 12px; height: 12px; border-radius: 50%; background: #ef4444; }
.circles i:nth-child(2) { background: #eab308; }
.circles i:nth-child(3) { background: #22c55e; }

.mockup-header .title {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.mockup-body .reference {
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.mockup-line {
    height: 8px;
    background: var(--glass-border);
    border-radius: 4px;
    margin-bottom: 10px;
}
.w-100 { width: 100%; }
.w-80 { width: 80%; }
.w-90 { width: 90%; }

.mockup-highlight {
    background: rgba(79, 70, 229, 0.1);
    border-left: 3px solid var(--primary);
    padding: 1rem;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #fff;
    margin-top: 1rem;
}

.mockup-highlight i {
    color: var(--primary);
    margin-right: 0.5rem;
}

/* Features Section */
.features {
    padding: 8rem 2rem;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem auto;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.125rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem;
    border-radius: 20px;
    transition: var(--transition);
}

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

.icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(79,70,229,0.2), rgba(124,58,237,0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(124,58,237,0.3);
}

.icon-wrapper i {
    font-size: 1.5rem;
    color: var(--secondary);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Library Section */
.library {
    padding: 8rem 2rem;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.library-content {
    flex: 1;
}

.library-content p {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.library-list {
    list-style: none;
}

.library-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--text-muted);
}

.library-list strong {
    color: white;
}

.library-visual {
    flex: 1;
}

.module-list {
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.module-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: var(--transition);
}

.module-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
}

.module-item i:first-child {
    font-size: 1.5rem;
    color: var(--accent);
    background: rgba(245, 158, 11, 0.1);
    padding: 1rem;
    border-radius: 12px;
}

.module-info {
    flex: 1;
}

.module-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.module-info span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.btn-download {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-size: 1.25rem;
    padding: 0.5rem;
    transition: var(--transition);
}

.btn-download:hover {
    color: var(--text-light);
    transform: scale(1.1);
}

/* CTA Section */
.cta-section {
    padding: 6rem 2rem;
}

.cta-card {
    border-radius: 30px;
    padding: 5rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(79,70,229,0.1), rgba(124,58,237,0.1));
    border: 1px solid rgba(124,58,237,0.3);
}

.cta-card h2 {
    margin-bottom: 1.5rem;
}

.cta-card p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem auto;
    font-size: 1.125rem;
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0 2rem 0;
    background: rgba(0,0,0,0.3);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1rem;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.link-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.link-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.link-col a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
}

/* Animations & Reveal Classes */
.reveal {
    opacity: 0;
    visibility: hidden;
}

.reveal.active {
    opacity: 1;
    visibility: visible;
}

.fade-up { transform: translateY(40px); }
.fade-up.active { transform: translateY(0); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }

.fade-left { transform: translateX(40px); }
.fade-left.active { transform: translateX(0); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }

.fade-right { transform: translateX(-40px); }
.fade-right.active { transform: translateX(0); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }

.zoom-in { transform: scale(0.9); }
.zoom-in.active { transform: scale(1); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Responsive Design */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }
    
    .hero-text p {
        margin: 0 auto 2rem auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .library {
        flex-direction: column;
    }
    
    .nav-links {
        display: none; /* Em um site real, faríamos um menu mobile (hamburger) */
    }
}

@media (max-width: 600px) {
    .hero-actions {
        flex-direction: column;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
}
