/* ========================================
   JIKUT LANDING PAGE - DESIGN SYSTEM
   Light/Dark Mode + Multi-Language Support
======================================== */

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

:root {
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3.5rem;

    /* Effects */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    --transition-theme: 300ms ease;

    /* Gradients (shared) */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #00d4ff 0%, #667eea 100%);
    --accent-cyan: #00d4ff;
    --accent-purple: #764ba2;
    --accent-blue: #667eea;
}

/* ========================================
   DARK THEME (Default)
======================================== */
[data-theme="dark"] {
    --bg-primary: #0a0a1a;
    --bg-secondary: #050510;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --border-color: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: #a0a0b8;
    --text-muted: #6b6b80;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(102, 126, 234, 0.3);
    --navbar-bg: rgba(10, 10, 26, 0.9);
}

/* ========================================
   LIGHT THEME
======================================== */
[data-theme="light"] {
    --bg-primary: #f8f9fc;
    --bg-secondary: #ffffff;
    --bg-card: rgba(0, 0, 0, 0.02);
    --bg-card-hover: rgba(0, 0, 0, 0.05);
    --border-color: rgba(0, 0, 0, 0.08);
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a68;
    --text-muted: #7a7a98;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 40px rgba(102, 126, 234, 0.2);
    --navbar-bg: rgba(248, 249, 252, 0.95);
}

/* Light theme specific overrides */
[data-theme="light"] .hero-bg-gradient {
    background: radial-gradient(ellipse at center, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
}

[data-theme="light"] .hero-particles {
    background-image:
        radial-gradient(2px 2px at 20px 30px, rgba(0, 0, 0, 0.05), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(0, 0, 0, 0.03), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(0, 0, 0, 0.04), transparent),
        radial-gradient(2px 2px at 130px 80px, rgba(0, 0, 0, 0.03), transparent);
}

[data-theme="light"] .dashboard-preview {
    background: rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .dashboard-header {
    background: rgba(0, 0, 0, 0.02);
}

[data-theme="light"] .phone-screen {
    background: #f0f0f0;
}

[data-theme="light"] .wa-message.incoming {
    background: #dcf8c6;
    color: #1a1a2e;
}

[data-theme="light"] .template-preview {
    background: #f0f0f5;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition: background var(--transition-theme), color var(--transition-theme);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ========================================
   TYPOGRAPHY
======================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   NAVIGATION
======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    background: transparent;
    transition: background var(--transition-base), backdrop-filter var(--transition-base);
}

.navbar.scrolled {
    background: var(--navbar-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-primary);
}

.logo-icon {
    font-size: var(--font-size-2xl);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: var(--font-size-sm);
    font-weight: 500;
    transition: color var(--transition-fast);
}

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

.nav-cta {
    background: var(--primary-gradient);
    padding: var(--space-sm) var(--space-lg) !important;
    border-radius: var(--radius-full);
    color: #ffffff !important;
}

.nav-cta:hover {
    box-shadow: var(--shadow-glow);
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

/* Toggle Buttons */
.toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.toggle-btn:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

/* Language Dropdown */
.lang-dropdown {
    position: relative;
}

.lang-dropdown-btn {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.lang-dropdown-btn:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.lang-flag {
    font-size: 1.2em;
}

.dropdown-arrow {
    transition: transform var(--transition-fast);
}

.lang-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 140px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-fast);
    z-index: 100;
}

.lang-dropdown.open .lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lang-option:first-child {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.lang-option:last-child {
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.lang-option:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.lang-option.active {
    background: var(--primary-gradient);
    color: white;
}

.theme-toggle .sun-icon {
    display: none;
}

.theme-toggle .moon-icon {
    display: block;
}

[data-theme="light"] .theme-toggle .sun-icon {
    display: block;
}

[data-theme="light"] .theme-toggle .moon-icon {
    display: none;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: var(--space-4xl) 0;
    overflow: hidden;
}

.hero-bg-gradient {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(102, 126, 234, 0.15) 0%, transparent 70%);
    pointer-events: none;
    transition: background var(--transition-theme);
}

.hero-particles {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.05), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.08), transparent),
        radial-gradient(2px 2px at 130px 80px, rgba(255, 255, 255, 0.06), transparent);
    background-size: 200px 100px;
    animation: particleFloat 20s linear infinite;
    transition: background-image var(--transition-theme);
}

@keyframes particleFloat {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-100px);
    }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    transition: all var(--transition-theme);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.hero-title {
    font-size: var(--font-size-5xl);
    margin-bottom: var(--space-lg);
    line-height: 1.1;
}

.hero-description {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all var(--transition-base);
}

.btn-primary {
    background: var(--primary-gradient);
    color: #ffffff;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow), var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: rgba(102, 126, 234, 0.3);
}

.btn-large {
    padding: var(--space-lg) var(--space-2xl);
    font-size: var(--font-size-lg);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: var(--font-size-2xl);
    font-weight: 700;
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    transition: all var(--transition-theme);
}

.hero-card-main {
    width: 100%;
    max-width: 400px;
    padding: var(--space-md);
    animation: floatMain 6s ease-in-out infinite;
}

@keyframes floatMain {

    0%,
    100% {
        transform: translateY(0);
    }

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

.dashboard-preview {
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: background var(--transition-theme);
}

.dashboard-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--border-color);
    transition: background var(--transition-theme);
}

.dashboard-dots {
    display: flex;
    gap: 6px;
}

.dashboard-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dashboard-dots span:nth-child(1) {
    background: #ff5f56;
}

.dashboard-dots span:nth-child(2) {
    background: #ffbd2e;
}

.dashboard-dots span:nth-child(3) {
    background: #27ca40;
}

.dashboard-title {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    margin-left: auto;
}

.dashboard-content {
    padding: var(--space-md);
}

.dashboard-stat-row {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.mini-stat {
    flex: 1;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--bg-card);
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
}

.mini-stat-icon {
    font-size: var(--font-size-xl);
}

.mini-stat-value {
    display: block;
    font-weight: 600;
    font-size: var(--font-size-sm);
}

.mini-stat-label {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--text-muted);
}

.dashboard-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 80px;
    padding-top: var(--space-md);
}

.chart-bar {
    flex: 1;
    height: calc(var(--height));
    background: linear-gradient(to top, rgba(102, 126, 234, 0.3), rgba(102, 126, 234, 0.6));
    border-radius: 4px 4px 0 0;
    transition: var(--transition-base);
}

.chart-bar.active {
    background: var(--primary-gradient);
}

.hero-card-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    font-size: var(--font-size-sm);
    font-weight: 500;
    box-shadow: var(--shadow-md);
}

.hero-card-1 {
    top: 10%;
    right: -10%;
    animation: floatCard1 5s ease-in-out infinite;
}

.hero-card-2 {
    bottom: 15%;
    left: -5%;
    animation: floatCard2 6s ease-in-out infinite;
}

@keyframes floatCard1 {

    0%,
    100% {
        transform: translate(0, 0) rotate(2deg);
    }

    50% {
        transform: translate(-5px, 10px) rotate(-1deg);
    }
}

@keyframes floatCard2 {

    0%,
    100% {
        transform: translate(0, 0) rotate(-2deg);
    }

    50% {
        transform: translate(8px, -8px) rotate(1deg);
    }
}

.float-icon {
    font-size: var(--font-size-lg);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}

.scroll-arrow {
    width: 24px;
    height: 40px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-full);
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: var(--radius-full);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        top: 8px;
        opacity: 1;
    }

    50% {
        top: 20px;
        opacity: 0.3;
    }
}

/* ========================================
   SECTION HEADERS
======================================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

.section-tag {
    display: inline-block;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--accent-cyan);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--space-md);
}

.section-description {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
}

/* ========================================
   FEATURES SECTION
======================================== */
.features {
    padding: var(--space-4xl) 0;
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.feature-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--transition-base);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(102, 126, 234, 0.2);
    transform: translateY(-4px);
}

.feature-card.featured {
    border-color: rgba(102, 126, 234, 0.3);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.05) 100%);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--primary-gradient);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    color: white;
}

.feature-title {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-sm);
}

.feature-description {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

.feature-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: var(--primary-gradient);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: white;
}

/* ========================================
   HOW IT WORKS SECTION
======================================== */
.how-it-works {
    padding: var(--space-4xl) 0;
}

.steps-container {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: var(--space-xl);
    align-items: center;
    padding: var(--space-xl);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.step:hover {
    background: var(--bg-card-hover);
    border-color: rgba(102, 126, 234, 0.2);
}

.step-number {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.step-title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-sm);
}

.step-description {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

.step-icon-wrapper {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--accent-cyan);
}

.step-connector {
    width: 2px;
    height: 40px;
    background: var(--border-color);
    margin: 0 auto;
}

/* ========================================
   MODULES SECTION
======================================== */
.modules {
    padding: var(--space-4xl) 0;
    background: var(--bg-secondary);
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.module-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--transition-base);
}

.module-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.module-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-color);
}

.module-icon {
    font-size: 2rem;
}

.module-title {
    font-size: var(--font-size-lg);
}

.module-features {
    list-style: none;
}

.module-features li {
    position: relative;
    padding-left: var(--space-lg);
    margin-bottom: var(--space-sm);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.module-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: 600;
}

/* ========================================
   WHATSAPP SECTION
======================================== */
.whatsapp-section {
    padding: var(--space-4xl) 0;
}

.whatsapp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.whatsapp-content .section-header {
    text-align: left;
    margin-bottom: var(--space-xl);
}

.whatsapp-features {
    list-style: none;
}

.whatsapp-features li {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.wa-check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 211, 102, 0.2);
    border-radius: 50%;
    color: #25d366;
    font-weight: 600;
    font-size: var(--font-size-sm);
}

.whatsapp-features strong {
    display: block;
    margin-bottom: var(--space-xs);
}

.whatsapp-features span {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

/* Phone Mockup */
.whatsapp-visual {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 280px;
    background: #1f1f1f;
    border-radius: 36px;
    padding: 12px;
    box-shadow: var(--shadow-lg);
}

.phone-notch {
    width: 100px;
    height: 24px;
    background: #000;
    border-radius: 12px;
    margin: 0 auto 12px;
}

.phone-screen {
    background: #0b141a;
    border-radius: 24px;
    overflow: hidden;
    transition: background var(--transition-theme);
}

.wa-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: #202c33;
}

.wa-back {
    color: #00a884;
    font-size: var(--font-size-lg);
}

.wa-profile {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: white;
    font-size: var(--font-size-sm);
}

.wa-avatar {
    width: 36px;
    height: 36px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
}

.wa-messages {
    padding: var(--space-md);
    min-height: 250px;
}

.wa-message {
    max-width: 85%;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    position: relative;
}

.wa-message.incoming {
    background: #005c4b;
    color: white;
    border-bottom-left-radius: 4px;
    transition: all var(--transition-theme);
}

.wa-message p {
    font-size: var(--font-size-sm);
    margin-bottom: 4px;
}

.wa-time {
    font-size: 10px;
    opacity: 0.7;
    text-align: right;
    display: block;
}

.wa-message.attachment {
    padding: var(--space-sm);
}

.wa-pdf {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(0, 0, 0, 0.2);
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
}

/* ========================================
   TEMPLATES SECTION
======================================== */
.templates {
    padding: var(--space-4xl) 0;
    background: var(--bg-secondary);
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-md);
}

.template-card {
    text-align: center;
    transition: all var(--transition-base);
}

.template-card:hover {
    transform: translateY(-4px);
}

.template-preview {
    aspect-ratio: 3/4;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-theme);
}

.template-preview::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 15%;
    width: 70%;
    height: 10%;
    background: var(--primary-gradient);
    border-radius: 4px;
    opacity: 0.5;
}

.template-preview::after {
    content: '';
    position: absolute;
    top: 30%;
    left: 10%;
    width: 80%;
    height: 50%;
    background: var(--border-color);
    border-radius: 4px;
}

.template-preview.modern::before {
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.template-preview.classic::before {
    background: linear-gradient(90deg, #2c3e50, #3498db);
}

.template-preview.bold::before {
    background: linear-gradient(90deg, #e74c3c, #c0392b);
}

.template-preview.elegant::before {
    background: linear-gradient(90deg, #8e44ad, #9b59b6);
}

.template-preview.compact::before {
    background: linear-gradient(90deg, #27ae60, #2ecc71);
}

.template-preview.legacy::before {
    background: linear-gradient(90deg, #34495e, #7f8c8d);
}

.template-name {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-secondary);
}

/* ========================================
   CTA SECTION
======================================== */
.cta {
    padding: var(--space-4xl) 0;
}

.cta-card {
    position: relative;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.15) 100%);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--space-md);
}

.cta-description {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.cta-trust {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    flex-wrap: wrap;
}

.cta-circles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.cta-circle {
    position: absolute;
    border-radius: 50%;
    background: var(--primary-gradient);
    opacity: 0.1;
}

.cta-circle-1 {
    width: 400px;
    height: 400px;
    top: -200px;
    right: -100px;
}

.cta-circle-2 {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -100px;
}

.cta-circle-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.05;
}

/* ========================================
   FOOTER
======================================== */
.footer {
    padding: var(--space-3xl) 0 var(--space-xl);
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand .logo {
    margin-bottom: var(--space-md);
}

.footer-description {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    max-width: 280px;
}

.footer-links h4 {
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-color);
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

.footer-tagline {
    color: var(--text-secondary);
}

/* ========================================
   ANIMATIONS
======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 1200px) {
    .templates-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

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

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

    .hero-visual {
        order: -1;
        margin-bottom: var(--space-xl);
    }

    .hero-card-1 {
        right: 5%;
    }

    .hero-card-2 {
        left: 5%;
    }

    .features-grid,
    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .whatsapp-grid {
        grid-template-columns: 1fr;
    }

    .whatsapp-content .section-header {
        text-align: center;
    }

    .whatsapp-visual {
        order: -1;
        margin-bottom: var(--space-xl);
    }

    .templates-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --font-size-5xl: 2.5rem;
        --font-size-4xl: 2rem;
        --font-size-3xl: 1.75rem;
    }

    /* Logo responsive for tablets */
    .logo-svg {
        height: 36px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--navbar-bg);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: var(--space-lg);
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .features-grid,
    .modules-grid {
        grid-template-columns: 1fr;
    }

    .step {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .step-visual {
        order: -1;
    }

    .templates-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-description {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .hero-card-float {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
    }

    .stat-divider {
        display: none;
    }

    .cta-trust {
        flex-direction: column;
        gap: var(--space-sm);
    }

    /* Single column templates on mobile for better readability */
    .templates-grid {
        grid-template-columns: 1fr !important;
    }

    /* Logo scales down on very small screens */
    .logo-svg {
        height: 32px !important;
    }

    /* Navbar controls spacing */
    .nav-controls {
        gap: var(--space-xs);
    }

    /* Language dropdown compact */
    .lang-dropdown-btn {
        padding: var(--space-xs) var(--space-sm);
    }

    .lang-name {
        display: none !important;
    }

    /* Theme toggle compact */
    #theme-toggle {
        padding: var(--space-xs);
    }

    /* Hero title smaller */
    .hero-title {
        font-size: var(--font-size-2xl);
    }

    /* Hero buttons stack */
    .hero-buttons {
        flex-direction: column !important;
        gap: var(--space-sm);
    }

    .hero-buttons .btn {
        width: 100% !important;
        justify-content: center;
    }

    /* CTA buttons stack */
    .cta-buttons {
        flex-direction: column !important;
        width: 100%;
    }

    .cta-buttons .btn {
        width: 100% !important;
        justify-content: center;
    }

    /* Section headers smaller */
    .section-title {
        font-size: var(--font-size-xl);
    }

    /* Module cards padding */
    .module-card {
        padding: var(--space-lg);
    }

    /* Footer logo smaller */
    .footer-brand .logo-svg {
        height: 36px !important;
    }
}

/* ========================================
   MODAL POPUP
======================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    padding: var(--space-md);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    max-width: 450px;
    width: 100%;
    padding: var(--space-2xl);
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform var(--transition-base);
    box-shadow: var(--shadow-lg);
}

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

.modal-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.modal-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.modal-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-subtitle {
    color: var(--text-secondary);
    font-size: var(--font-size-base);
}

.demo-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.form-group label {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input {
    padding: var(--space-md);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    color: var(--text-primary);
    transition: all var(--transition-fast);
    font-family: inherit;
}

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

.form-group input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.btn-full {
    width: 100%;
    justify-content: center;
    margin-top: var(--space-sm);
}

.modal-note {
    text-align: center;
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    margin-top: var(--space-md);
}

/* ========================================
   STICKY WHATSAPP BUTTON
======================================== */
.whatsapp-sticky {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all var(--transition-base);
    animation: whatsappPulse 2s infinite;
}

.whatsapp-sticky:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-sticky:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-100%) translateY(-50%) translateX(-15px);
}

@keyframes whatsappPulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
}

.whatsapp-tooltip {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateX(-100%) translateY(-50%) translateX(-5px);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-md);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border: 4px solid transparent;
    border-left-color: var(--border-color);
}

/* Footer company name styling */
.footer-company {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-top: var(--space-sm);
    font-style: italic;
}

@media (max-width: 768px) {
    .whatsapp-sticky {
        bottom: var(--space-md);
        right: var(--space-md);
        width: 55px;
        height: 55px;
    }

    .whatsapp-tooltip {
        display: none;
    }

    .modal {
        padding: var(--space-xl);
        margin: var(--space-md);
    }

    .modal-title {
        font-size: var(--font-size-xl);
    }
}