/* ============================================
   eFact BalanceAI - Hotsite CSS
   Design: Industrial Tech Noir
   ============================================ */

/* ============================================
   CSS Variables / Design Tokens
   ============================================ */
:root {
    /* Colors - Light Mode */
    --color-background: #ffffff;
    --color-foreground: #1a1a2e;
    --color-card: #ffffff;
    --color-card-foreground: #1a1a2e;
    --color-muted: #f4f4f5;
    --color-muted-foreground: #71717a;
    --color-border: #e4e4e7;
    --color-primary: #00d4aa;
    --color-primary-foreground: #0a0a0f;
    --color-accent: #00d4aa;
    --color-accent-rgb: 0, 212, 170;
    --color-red: #ef4444;
    --color-green: #22c55e;
    
    /* Typography */
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --container-max: 1280px;
    --section-padding: 5rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 30px rgba(0, 212, 170, 0.3);
}

/* Dark Mode Variables */
.dark {
    --color-background: #0a0a0f;
    --color-foreground: #e4e4e7;
    --color-card: #141419;
    --color-card-foreground: #e4e4e7;
    --color-muted: #1a1a24;
    --color-muted-foreground: #a1a1aa;
    --color-border: rgba(255, 255, 255, 0.1);
}

/* ============================================
   Reset & Base Styles
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-foreground);
    background-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

/* ============================================
   Utility Classes
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

.text-gradient {
    background: linear-gradient(135deg, #00d4aa 0%, #00ffcc 50%, #00d4aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-red {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-green {
    color: var(--color-green);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-primary-foreground);
}

.btn-primary:hover {
    background: #00e6b8;
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-foreground);
}

.btn-outline:hover {
    background: var(--color-muted);
    border-color: var(--color-primary);
}

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

.btn-full {
    width: 100%;
}

.btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* ============================================
   Header / Navigation
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

.light .header {
    background: rgba(255, 255, 255, 0.9);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    color: var(--color-primary);
}

.nav-menu {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .nav-menu {
        display: flex;
    }
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-muted-foreground);
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-md);
    color: var(--color-muted-foreground);
    transition: all var(--transition-fast);
}

.theme-toggle:hover {
    background: var(--color-muted);
    color: var(--color-foreground);
}

.theme-toggle svg {
    width: 1.25rem;
    height: 1.25rem;
}

.dark .icon-sun {
    display: block;
}

.dark .icon-moon {
    display: none;
}

.light .icon-sun,
body:not(.dark) .icon-sun {
    display: none;
}

.light .icon-moon,
body:not(.dark) .icon-moon {
    display: block;
}

.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    color: var(--color-foreground);
}

@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}

.nav-actions .btn {
    display: none;
}

@media (min-width: 768px) {
    .nav-actions .btn {
        display: inline-flex;
    }
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.dark .hero-bg-img {
    opacity: 0.25;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--color-background) 0%, var(--color-background) 40%, transparent 100%);
}

.hero-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--color-background) 0%, transparent 50%);
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 212, 170, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 170, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 10;
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.hero-text {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.2);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    background: var(--color-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

.hero-title span {
    display: block;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--color-muted-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.hero-description strong {
    color: var(--color-foreground);
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.tag {
    padding: 0.375rem 0.75rem;
    background: var(--color-muted);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-muted-foreground);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.hero-badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
}

.badge-letters {
    display: flex;
    gap: 0.25rem;
    font-weight: 600;
    color: var(--color-primary);
}

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

.hero-module-info strong {
    color: var(--color-foreground);
}

.hero-image {
    position: relative;
    display: none;
}

@media (min-width: 1024px) {
    .hero-image {
        display: block;
    }
}

.hero-mockup {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hero-stat {
    position: absolute;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-lg);
}

.hero-stat-1 {
    top: 10%;
    left: -10%;
}

.hero-stat-2 {
    bottom: 20%;
    right: -5%;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--color-muted-foreground);
    margin-bottom: 0.25rem;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--color-muted-foreground);
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    width: 1.5rem;
    height: 1.5rem;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ============================================
   Sections Base
   ============================================ */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

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

.section-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: rgba(0, 212, 170, 0.1);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-description {
    font-size: 1.125rem;
    color: var(--color-muted-foreground);
    line-height: 1.7;
}

/* ============================================
   Problem Section
   ============================================ */
.section-problem {
    background: var(--color-muted);
}

.problems-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .problems-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .problems-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.problem-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    transition: all var(--transition-base);
}

.problem-card:hover {
    border-color: var(--color-red);
    transform: translateY(-4px);
}

.problem-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: rgba(239, 68, 68, 0.1);
    border-radius: var(--radius-lg);
    color: var(--color-red);
    margin-bottom: 1rem;
}

.problem-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.problem-card h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.problem-card p {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    margin-bottom: 1rem;
}

.problem-impact {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(239, 68, 68, 0.1);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-red);
}

.section-quote {
    text-align: center;
    font-size: 1.25rem;
    color: var(--color-muted-foreground);
    margin-top: 3rem;
}

.section-quote strong {
    color: var(--color-foreground);
}

/* ============================================
   Solution Section
   ============================================ */
.section-solution {
    position: relative;
    overflow: hidden;
}

.solution-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.solution-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
}

.dark .solution-bg-img {
    opacity: 0.15;
}

.solution-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--color-background) 0%, var(--color-background) 60%, transparent 100%);
}

.solution-content {
    position: relative;
    z-index: 10;
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .solution-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.solution-text .section-header {
    text-align: left;
    margin: 0 0 2rem;
}

.solution-benefits {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.solution-benefit {
    display: flex;
    gap: 1rem;
}

.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: rgba(0, 212, 170, 0.1);
    border-radius: var(--radius-lg);
    color: var(--color-primary);
    flex-shrink: 0;
}

.benefit-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.solution-benefit h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.solution-benefit p {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
}

.solution-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-title {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.stat-desc {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
}

/* ============================================
   Features Section
   ============================================ */
.section-features {
    background: var(--color-muted);
}

.features-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    transition: all var(--transition-base);
}

.feature-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
}

.feature-highlight {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.1) 0%, rgba(0, 212, 170, 0.05) 100%);
    border-color: rgba(0, 212, 170, 0.3);
}

@media (min-width: 1024px) {
    .feature-highlight {
        grid-column: span 2;
    }
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: rgba(0, 212, 170, 0.1);
    border-radius: var(--radius-lg);
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    margin-bottom: 1rem;
}

.feature-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 212, 170, 0.1);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary);
}

/* ============================================
   How It Works Section
   ============================================ */
.video-container {
    max-width: 900px;
    margin: 0 auto 3rem;
}

.video-wrapper {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    aspect-ratio: 16 / 9;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    background: var(--color-primary);
    border-radius: 50%;
    color: var(--color-primary-foreground);
    box-shadow: var(--shadow-glow);
    transition: all var(--transition-base);
    z-index: 10;
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-btn svg {
    width: 2rem;
    height: 2rem;
    margin-left: 4px;
}

.video-play-btn.hidden {
    display: none;
}

.video-caption {
    text-align: center;
    font-size: 1rem;
    color: var(--color-muted-foreground);
    margin-top: 1.5rem;
}

.video-caption strong {
    color: var(--color-foreground);
}

.flexibility-card {
    display: flex;
    gap: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.1) 0%, rgba(0, 212, 170, 0.05) 100%);
    border: 1px solid rgba(0, 212, 170, 0.3);
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin-bottom: 4rem;
}

.flexibility-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background: rgba(0, 212, 170, 0.2);
    border-radius: var(--radius-lg);
    color: var(--color-primary);
    flex-shrink: 0;
}

.flexibility-icon svg {
    width: 2rem;
    height: 2rem;
}

.flexibility-content h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.flexibility-content p {
    color: var(--color-muted-foreground);
    line-height: 1.7;
}

.flexibility-content strong {
    color: var(--color-foreground);
}

.steps-section {
    text-align: center;
}

.steps-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.steps-subtitle {
    color: var(--color-muted-foreground);
    margin-bottom: 2rem;
}

.steps-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.step-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    text-align: center;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--color-primary);
    color: var(--color-primary-foreground);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step-card h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
}

/* ============================================
   Integrations Section
   ============================================ */
.section-integrations {
    background: var(--color-muted);
}

.integrations-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .integrations-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.integration-card {
    position: relative;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
}

.integration-highlight {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.1) 0%, rgba(0, 212, 170, 0.05) 100%);
    border-color: rgba(0, 212, 170, 0.3);
}

.integration-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.25rem 0.75rem;
    background: var(--color-primary);
    color: var(--color-primary-foreground);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.integration-badge-secondary {
    background: var(--color-muted);
    color: var(--color-foreground);
    border: 1px solid var(--color-border);
}

.integration-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background: rgba(0, 212, 170, 0.1);
    border-radius: var(--radius-lg);
    color: var(--color-primary);
    margin: 0 auto 1rem;
}

.integration-icon svg {
    width: 2rem;
    height: 2rem;
}

.integration-card h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.integration-card p {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
}

.integration-features {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .integration-features {
        grid-template-columns: repeat(3, 1fr);
    }
}

.integration-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.integration-feature > svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.integration-feature h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.integration-feature p {
    font-size: 0.75rem;
    color: var(--color-muted-foreground);
}

/* ============================================
   Benefits Section
   ============================================ */
.benefits-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.benefit-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    transition: all var(--transition-base);
}

.benefit-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
}

.benefit-card .benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: rgba(0, 212, 170, 0.1);
    border-radius: var(--radius-lg);
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.benefit-card .benefit-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.benefit-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.benefit-card p {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
}

.roi-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.1) 0%, rgba(0, 212, 170, 0.05) 100%);
    border: 1px solid rgba(0, 212, 170, 0.3);
    border-radius: var(--radius-xl);
    text-align: center;
}

.roi-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
}

.roi-text {
    color: var(--color-muted-foreground);
}

/* ============================================
   FAQ Section
   ============================================ */
.section-faq {
    background: var(--color-muted);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    color: var(--color-foreground);
    transition: all var(--transition-fast);
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-question svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--color-muted-foreground);
    transition: transform var(--transition-base);
    flex-shrink: 0;
}

.faq-question[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base), padding var(--transition-base);
}

.faq-answer.open {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.25rem;
    color: var(--color-muted-foreground);
    line-height: 1.7;
}

.faq-cta {
    text-align: center;
    margin-top: 2rem;
    color: var(--color-muted-foreground);
}

.faq-cta a {
    color: var(--color-primary);
    font-weight: 600;
}

.faq-cta a:hover {
    text-decoration: underline;
}

/* ============================================
   CTA Section
   ============================================ */
.section-cta {
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, var(--color-background), rgba(0, 212, 170, 0.05), var(--color-background));
}

.cta-content {
    position: relative;
    z-index: 10;
    max-width: 600px;
    margin: 0 auto;
}

.cta-form-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

@media (min-width: 640px) {
    .cta-form-card {
        padding: 3rem;
    }
}

.cta-form-card::before {
    content: '';
    position: absolute;
    top: -5rem;
    right: -5rem;
    width: 10rem;
    height: 10rem;
    background: rgba(0, 212, 170, 0.2);
    border-radius: 50%;
    filter: blur(60px);
}

.cta-form-card::after {
    content: '';
    position: absolute;
    bottom: -5rem;
    left: -5rem;
    width: 10rem;
    height: 10rem;
    background: rgba(0, 212, 170, 0.1);
    border-radius: 50%;
    filter: blur(60px);
}

.cta-form {
    position: relative;
    z-index: 10;
}

.form-row {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group:not(.form-row .form-group) {
    margin-bottom: 1rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
}

.form-group input,
.form-group select {
    padding: 0.75rem 1rem;
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    color: var(--color-foreground);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.1);
}

.form-group input::placeholder {
    color: var(--color-muted-foreground);
}

.form-disclaimer {
    text-align: center;
    font-size: 0.75rem;
    color: var(--color-muted-foreground);
    margin-top: 1rem;
}

.form-disclaimer a {
    color: var(--color-primary);
}

.form-success {
    text-align: center;
    padding: 3rem 0;
}

.success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 50%;
    color: var(--color-green);
    margin: 0 auto 1.5rem;
}

.success-icon svg {
    width: 2rem;
    height: 2rem;
}

.form-success h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.form-success p {
    color: var(--color-muted-foreground);
}

/* ============================================
   FOOTER ATUALIZADO COM LOGOS
   ============================================ */
.footer {
    background: var(--color-muted);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--color-border);
}

.footer-grid {
    display: grid;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-brand .footer-logo {
    display: inline-flex;
    align-items: center;
    height: 40px; /* Mesma altura do header */
    margin-bottom: 1rem;
}

.footer-logo .logo-img {
    height: 100%;
    width: auto;
    max-width: 150px; /* Limitar largura máxima */
}

/* Mostrar o logo correto baseado no tema - PARA FOOTER TAMBÉM */
.dark .footer-logo .logo-light,
.light .footer-logo .logo-dark {
    display: none;
}

.dark .footer-logo .logo-dark,
.light .footer-logo .logo-light {
    display: block;
}

.footer-description {
    color: var(--color-muted-foreground);
    margin-bottom: 1.5rem;
    max-width: 300px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-muted-foreground);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-primary-foreground);
    transform: translateY(-2px);
}

.footer-social svg {
    width: 1.25rem;
    height: 1.25rem;
}

.footer-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-foreground);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-legal a {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    text-decoration: none;
    transition: color var(--transition-fast);
    cursor: pointer;
}

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

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    margin-bottom: 0.75rem;
}

.footer-contact svg {
    width: 1rem;
    height: 1rem;
    color: var(--color-primary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.footer-bottom svg {
    width: 1rem;
    height: 1rem;
}

/* ============================================
   Ajustes para responsividade do logo no footer
   ============================================ */
@media (max-width: 768px) {
    .footer-logo .logo-img {
        max-width: 120px;
    }
    
    .footer-description {
        font-size: 0.9rem;
    }
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* ============================================
   Mobile Menu (Hidden by default)
   ============================================ */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-background);
    z-index: 999;
    padding: 5rem 1.5rem 2rem;
}

.mobile-menu.open {
    display: block;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-menu a {
    font-size: 1.25rem;
    font-weight: 500;
}

/* ============================================
   Logo
   ============================================ */

.logo {
    display: flex;
    align-items: center;
    height: 40px; /* Ajuste conforme necessário */
}

.logo-img {
    height: 100%;
    width: auto;
}

/* Mostrar o logo correto baseado no tema */
.dark .logo-light,
.light .logo-dark {
    display: none;
}

.dark .logo-dark,
.light .logo-light {
    display: block;
}

/* Remover o texto antigo do logo */
.logo-text,
.logo-icon {
    display: none;
}

/* ============================================
   FOOTER ATUALIZADO
   ============================================ */
.footer {
    background: var(--color-muted);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--color-border);
}

.footer-grid {
    display: grid;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-brand .footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-text {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-icon {
    color: var(--color-primary);
}

.footer-description {
    color: var(--color-muted-foreground);
    margin-bottom: 1.5rem;
    max-width: 300px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-muted-foreground);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-primary-foreground);
    transform: translateY(-2px);
}

.footer-social svg {
    width: 1.25rem;
    height: 1.25rem;
}

.footer-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-foreground);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-legal a {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    text-decoration: none;
    transition: color var(--transition-fast);
    cursor: pointer;
}

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

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    margin-bottom: 0.75rem;
}

.footer-contact svg {
    width: 1rem;
    height: 1rem;
    color: var(--color-primary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.footer-bottom svg {
    width: 1rem;
    height: 1rem;
}

/* ============================================
   MODAIS DE POLÍTICAS
   ============================================ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10001;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: var(--color-card);
    border-radius: var(--radius-lg);
    max-width: 700px;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--color-border);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    background: var(--color-primary);
    color: var(--color-primary-foreground);
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-family: var(--font-display);
}

.modal-close {
    background: none;
    border: none;
    color: var(--color-primary-foreground);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: transform var(--transition-fast);
}

.modal-close:hover {
    transform: scale(1.2);
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
    max-height: calc(80vh - 80px);
    color: var(--color-foreground);
}

.modal-body h3 {
    color: var(--color-primary);
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-family: var(--font-display);
}

.modal-body h3:first-child {
    margin-top: 0;
}

.modal-body p {
    line-height: 1.7;
    margin-bottom: 1rem;
    color: var(--color-muted-foreground);
}

.modal-body ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.modal-body li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: var(--color-muted-foreground);
}

.modal-body ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.policy-intro {
    font-size: 1.05rem;
    color: var(--color-foreground) !important;
    font-weight: 500;
}

.policy-link {
    color: var(--color-primary);
    text-decoration: none;
}

.policy-link:hover {
    text-decoration: underline;
}

.browser-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.5rem;
}

.policy-date {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
    color: var(--color-muted-foreground);
    font-style: italic;
}

/* Responsividade para modais */
@media (max-width: 768px) {
    .modal {
        padding: 1rem;
    }
    
    .modal-content {
        max-height: 90vh;
    }
    
    .modal-header {
        padding: 1rem 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
        max-height: calc(90vh - 60px);
    }
    
    .browser-links {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Language Selector
   ============================================ */
.language-selector {
    position: relative;
    display: inline-block;
    align-items: center;
}

.lang-btn {
    background: transparent;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-full);
    padding: 8px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-foreground);
    font-weight: 600;
    font-size: 0.875rem;
    transition: all var(--transition-fast);
}

.lang-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    min-width: 160px;
    z-index: 2000;
    overflow: hidden;
}

.dark .lang-dropdown {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.lang-dropdown.show {
    display: flex;
}

.lang-dropdown button {
    background: transparent;
    border: none;
    padding: 12px 16px;
    text-align: left;
    cursor: pointer;
    color: var(--color-foreground);
    font-size: 0.875rem;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.lang-dropdown button:hover {
    background: var(--color-muted);
    color: var(--color-primary);
}

.lang-flag {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

/* Ajuste para mobile */
@media (max-width: 767px) {
    .lang-btn span {
        display: none;
    }
    
    .lang-btn {
        padding: 8px;
        min-width: 44px;
        justify-content: center;
    }
    
    .lang-dropdown {
        right: -50%;
    }
}