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

:root {
    --primary: #e8614d;
    --primary-dark: #d4503e;
    --dark-green: #1a3c34;
    --dark: #1a1a2e;
    --text: #3a3a4a;
    --text-light: #6b7280;
    --light-bg: #f8f7f4;
    --white: #ffffff;
    --blue: #3b82f6;
    --purple: #8b5cf6;
    --teal: #0d9488;
    --coral: #e8614d;
    --border: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --radius-sm: 8px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'cv11', 'ss01';
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.text-white { color: var(--white); }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }

/* ========== Header ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    border-bottom: none;
    height: 72px;
    overflow: visible;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    overflow: visible;
}

.logo svg {
    display: block;
}

.logo {
    color: var(--white);
    transition: color 0.3s ease;
}

.header.scrolled .logo {
    color: var(--dark-green);
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.nav-link i {
    font-size: 10px;
    opacity: 0.5;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 0.7);
}

.header.scrolled .nav-link {
    color: var(--dark-green);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-login {
    font-size: 14px;
    font-weight: 500;
    color: var(--white);
    padding: 8px 16px;
    transition: color 0.3s ease;
}

.btn-login:hover {
    color: rgba(255, 255, 255, 0.7);
}

.header.scrolled .btn-login {
    color: var(--dark-green);
}

.header.scrolled .btn-login:hover {
    color: var(--primary);
}

.btn-demo {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    padding: 10px 20px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-demo:hover {
    background: var(--white);
    color: var(--dark-green);
    border-color: var(--white);
}

.header.scrolled .btn-demo {
    color: var(--dark-green);
    border-color: var(--dark-green);
}

.header.scrolled .btn-demo:hover {
    background: var(--dark-green);
    color: var(--white);
}

.btn-primary {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    background: var(--primary);
    padding: 10px 24px;
    border-radius: 50px;
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(232, 97, 77, 0.4);
}

.btn-outline {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-green);
    background: transparent;
    padding: 10px 24px;
    border-radius: 50px;
    border: 2px solid var(--dark-green);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--dark-green);
    color: var(--white);
}

.btn-lg {
    font-size: 16px;
    padding: 14px 32px;
}

.btn-white {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-green);
    background: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    border: 2px solid var(--white);
    transition: all 0.3s ease;
}

.btn-white:hover {
    background: transparent;
    color: var(--white);
}

.btn-outline-white {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    background: transparent;
    padding: 14px 32px;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

/* ========== Dropdown Menus ========== */
.nav-item {
    position: relative;
    display: flex;
    align-items: center;
    height: 72px;
}

.nav-item .nav-link {
    padding: 8px 0;
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 9999;
    padding: 24px;
}

.nav-item.has-dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown-mega {
    min-width: 580px;
}

.dropdown-solutions {
    min-width: 480px;
}

.dropdown-resources {
    min-width: 340px;
}

.dropdown-inner {
    display: flex;
    gap: 32px;
}

.dropdown-col {
    flex: 1;
    min-width: 0;
}

.dropdown-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    padding-left: 4px;
}

.dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 8px;
    border-radius: 10px;
    transition: background 0.2s ease;
}

.dropdown-item:hover {
    background: var(--light-bg);
}

.dropdown-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.icon-coral {
    background: rgba(232, 97, 77, 0.1);
    color: var(--primary);
}

.icon-dd-blue {
    background: rgba(59, 130, 246, 0.1);
    color: var(--blue);
}

.icon-dd-purple {
    background: rgba(139, 92, 246, 0.1);
    color: var(--purple);
}

.icon-dd-teal {
    background: rgba(13, 148, 136, 0.1);
    color: var(--teal);
}

.icon-dd-gray {
    background: #f3f4f6;
    color: var(--text-light);
}

.dropdown-item strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-green);
    line-height: 1.3;
}

.dropdown-item p {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 2px;
    line-height: 1.4;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark-green);
    cursor: pointer;
}

/* ========== Hero ========== */
.hero {
    padding: 140px 0 80px;
    background-image: linear-gradient(135deg, rgba(17, 114, 123, 0.94) 0%, rgba(26, 156, 167, 0.93) 40%, rgba(94, 196, 204, 0.91) 70%, rgba(168, 228, 232, 0.94) 100%),
                       url('../karton_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    align-items: center;
}

.hero h1 {
    font-size: 52px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.035em;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 16px;
    line-height: 1.7;
    letter-spacing: -0.01em;
}

.hero-features {
    list-style: none;
    margin-bottom: 32px;
}

.hero-features li {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-features li i {
    color: var(--white);
    font-size: 14px;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.hero-note {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* iMac Mockup */
.imac-mockup {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

.imac-screen {
    background: #0a0a0a;
    border-radius: 20px 20px 0 0;
    padding: 20px 20px 12px 20px;
    border: 3px solid #555;
    border-bottom: none;
    overflow: hidden;
    position: relative;
}

.imac-screen::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #333;
    border: 1px solid #444;
}

.imac-chin {
    background: linear-gradient(to bottom, #e8e8e8, #cccccc);
    height: 36px;
    width: 100%;
    border-radius: 0 0 20px 20px;
    border: 3px solid #555;
    border-top: 2px solid #999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.imac-logo {
    width: 14px;
    height: 17px;
    background: #aaa;
    border-radius: 3px 3px 50% 50%;
    position: relative;
}

.imac-stand-neck {
    width: 90px;
    height: 50px;
    background: linear-gradient(to right, #bbb, #ddd, #bbb);
    margin: 0 auto;
    border-left: 2px solid #aaa;
    border-right: 2px solid #aaa;
}

.imac-stand-base {
    width: 160px;
    height: 10px;
    background: linear-gradient(to bottom, #ccc, #aaa);
    border-radius: 0 0 10px 10px;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: contain;
    object-position: top;
    border-radius: 2px;
    display: block;
    margin-top: 8px;
}

.hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========== Sections ========== */
.section {
    padding: 100px 0;
}

.section-light {
    background: var(--light-bg);
}

.section-dark {
    background: var(--dark-green);
}

.section-production-bg {
    background: linear-gradient(rgba(26, 60, 52, 0.88), rgba(15, 43, 36, 0.92)), url('../img/production-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.section-coral {
    background: linear-gradient(135deg, var(--primary) 0%, #d4503e 100%);
}

.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 64px;
}

.section-badge {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    background: rgba(232, 97, 77, 0.08);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.badge-blue {
    color: var(--blue);
    background: rgba(59, 130, 246, 0.1);
}

.badge-purple {
    color: var(--purple);
    background: rgba(139, 92, 246, 0.1);
}

.badge-teal {
    color: var(--teal);
    background: rgba(13, 148, 136, 0.1);
}

.section-header h2 {
    font-size: 44px;
    font-weight: 700;
    color: var(--dark-green);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-top: 16px;
    line-height: 1.7;
    letter-spacing: -0.01em;
    font-weight: 400;
}

.section-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    margin-top: 32px;
    letter-spacing: -0.01em;
}

.section-link:hover {
    gap: 12px;
}

/* ========== Features Grid ========== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.feature-card {
    background: var(--white);
    padding: 28px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(232, 97, 77, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.icon-blue {
    background: rgba(59, 130, 246, 0.1);
    color: var(--blue);
}

.icon-purple {
    background: rgba(139, 92, 246, 0.1);
    color: var(--purple);
}

.icon-teal {
    background: rgba(13, 148, 136, 0.1);
    color: var(--teal);
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 10px;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.feature-card p {
    font-size: 14.5px;
    color: var(--text-light);
    line-height: 1.65;
    letter-spacing: -0.01em;
}

/* ========== Curved Flow Arrows ========== */
.curved-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 20px auto 50px;
    max-width: 900px;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.flow-step-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.35);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flow-step:nth-child(5) .flow-step-circle {
    background: linear-gradient(135deg, #764ba2 0%, #f093fb 100%);
    box-shadow: 0 8px 25px rgba(118, 75, 162, 0.35);
}

.flow-step:nth-child(7) .flow-step-circle {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 8px 25px rgba(240, 147, 251, 0.35);
}

.flow-step:nth-child(9) .flow-step-circle {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.35);
}

.flow-step-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.5);
}

.flow-step-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    white-space: nowrap;
}

.curved-arrow {
    width: 100px;
    height: 50px;
    flex-shrink: 1;
    min-width: 50px;
}

@media (max-width: 768px) {
    .curved-flow {
        flex-wrap: wrap;
        gap: 10px;
    }

    .curved-arrow {
        width: 50px;
        height: 30px;
    }

    .flow-step-circle {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }

    .flow-step-label {
        font-size: 11px;
    }
}

/* ========== Feature Showcase Layout ========== */
.feature-showcase {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 56px;
    align-items: center;
}

.feature-showcase-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.showcase-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 22px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.showcase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--purple));
    opacity: 0;
    transition: opacity 0.35s ease;
}

.showcase-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.showcase-card:hover::before {
    opacity: 1;
}

.showcase-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    margin-bottom: 18px;
    transition: transform 0.3s ease;
}

.showcase-card:hover .showcase-card-icon {
    transform: scale(1.08);
}

.showcase-card-icon.icon-coral {
    background: rgba(232, 97, 77, 0.1);
    color: var(--primary);
}

.showcase-card-icon.icon-purple {
    background: rgba(139, 92, 246, 0.1);
    color: var(--purple);
}

.showcase-card-icon.icon-teal {
    background: rgba(13, 148, 136, 0.1);
    color: var(--teal);
}

.showcase-card-icon.icon-blue {
    background: rgba(59, 130, 246, 0.1);
    color: var(--blue);
}

.showcase-card-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 8px;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.showcase-card-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.65;
    letter-spacing: -0.01em;
}

.feature-showcase-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-showcase-visual .video-frame {
    width: 100%;
    padding: 6px;
    border-radius: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow:
        0 20px 60px rgba(102, 126, 234, 0.3),
        0 8px 20px rgba(0, 0, 0, 0.12);
}

.feature-showcase-visual .video-frame video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 11px;
}

@media (max-width: 1024px) {
    .feature-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .feature-showcase-cards {
        grid-template-columns: 1fr;
    }
}

/* ========== Modules Section Premium ========== */
.modules-section {
    background: linear-gradient(180deg, #f8f9ff 0%, #ffffff 100%);
    overflow: hidden;
}

.modules-subtitle {
    max-width: 600px;
    margin: 16px auto 0;
    color: var(--text-light);
    font-size: 17px;
    line-height: 1.7;
    letter-spacing: -0.01em;
    font-weight: 400;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.module-card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 32px 24px 28px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    cursor: default;
}

.module-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.module-card-glow {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    filter: blur(40px);
}

.module-card:hover .module-card-glow {
    opacity: 1;
}

/* Color variants for glow & icon */
.module-card[data-color="purple"] .module-card-glow { background: rgba(102, 126, 234, 0.3); }
.module-card[data-color="blue"] .module-card-glow { background: rgba(59, 130, 246, 0.3); }
.module-card[data-color="pink"] .module-card-glow { background: rgba(240, 147, 251, 0.3); }
.module-card[data-color="teal"] .module-card-glow { background: rgba(20, 184, 166, 0.3); }
.module-card[data-color="orange"] .module-card-glow { background: rgba(249, 115, 22, 0.3); }
.module-card[data-color="indigo"] .module-card-glow { background: rgba(99, 102, 241, 0.3); }
.module-card[data-color="green"] .module-card-glow { background: rgba(34, 197, 94, 0.3); }
.module-card[data-color="red"] .module-card-glow { background: rgba(239, 68, 68, 0.3); }

.module-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    position: relative;
    z-index: 1;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.module-card:hover .module-card-icon {
    transform: scale(1.1);
}

.module-card[data-color="purple"] .module-card-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.module-card[data-color="blue"] .module-card-icon {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.module-card[data-color="pink"] .module-card-icon {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: #fff;
    box-shadow: 0 8px 24px rgba(240, 147, 251, 0.3);
}

.module-card[data-color="teal"] .module-card-icon {
    background: linear-gradient(135deg, #14b8a6, #0d9488);
    color: #fff;
    box-shadow: 0 8px 24px rgba(20, 184, 166, 0.3);
}

.module-card[data-color="orange"] .module-card-icon {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff;
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.3);
}

.module-card[data-color="indigo"] .module-card-icon {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.module-card[data-color="green"] .module-card-icon {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.3);
}

.module-card[data-color="red"] .module-card-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.3);
}

.module-card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    letter-spacing: -0.02em;
}

.module-card-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.65;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 1;
    margin-bottom: 16px;
}

.module-card-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-light);
    position: relative;
    z-index: 1;
}

.module-card:hover .module-card-tag {
    color: #fff;
}

.module-card[data-color="purple"]:hover .module-card-tag { background: linear-gradient(135deg, #667eea, #764ba2); }
.module-card[data-color="blue"]:hover .module-card-tag { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.module-card[data-color="pink"]:hover .module-card-tag { background: linear-gradient(135deg, #f093fb, #f5576c); }
.module-card[data-color="teal"]:hover .module-card-tag { background: linear-gradient(135deg, #14b8a6, #0d9488); }
.module-card[data-color="orange"]:hover .module-card-tag { background: linear-gradient(135deg, #f97316, #ea580c); }
.module-card[data-color="indigo"]:hover .module-card-tag { background: linear-gradient(135deg, #6366f1, #4f46e5); }
.module-card[data-color="green"]:hover .module-card-tag { background: linear-gradient(135deg, #22c55e, #16a34a); }
.module-card[data-color="red"]:hover .module-card-tag { background: linear-gradient(135deg, #ef4444, #dc2626); }

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

@media (max-width: 768px) {
    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .module-card {
        padding: 24px 16px 20px;
    }

    .module-card-icon {
        width: 52px;
        height: 52px;
        font-size: 20px;
        border-radius: 14px;
    }
}

@media (max-width: 480px) {
    .modules-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== Feature Visual ========== */
.feature-visual {
    margin-bottom: 16px;
}

/* ========== Timesheet Mockup ========== */
.timesheet-mockup {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.timesheet-table {
    width: 100%;
    border-collapse: collapse;
}

.timesheet-table th {
    background: #f9fafb;
    padding: 14px 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.timesheet-table td {
    padding: 14px 20px;
    font-size: 14px;
    color: var(--text);
    border-bottom: 1px solid #f3f4f6;
}

.status-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
}

.status-approved {
    color: #059669;
    background: rgba(5, 150, 105, 0.1);
}

.status-pending {
    color: #d97706;
    background: rgba(217, 119, 6, 0.1);
}

/* ========== AI Steps ========== */
.ai-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.ai-step {
    text-align: center;
    padding: 40px 32px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex: 1;
    max-width: 280px;
}

.ai-step-number {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    background: rgba(232, 97, 77, 0.2);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.ai-step-icon {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 16px;
}

.ai-step h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.ai-step p {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    letter-spacing: -0.01em;
}

.ai-step-arrow {
    color: rgba(255, 255, 255, 0.3);
    font-size: 24px;
}

/* ========== Stats ========== */
.big-stat {
    font-size: 64px;
    font-weight: 800;
    color: var(--white);
    margin-top: 16px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.stat-card {
    text-align: center;
    padding: 28px 20px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
}

.stat-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

/* ========== Chat Mockup ========== */
.chat-mockup {
    display: flex;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    height: 280px;
}

.chat-sidebar {
    width: 200px;
    background: #f9fafb;
    border-right: 1px solid var(--border);
    padding: 16px;
}

.chat-channel {
    padding: 10px 12px;
    font-size: 14px;
    color: var(--text-light);
    border-radius: var(--radius-sm);
    margin-bottom: 4px;
    cursor: pointer;
}

.chat-channel i {
    margin-right: 8px;
    font-size: 12px;
}

.chat-channel.active {
    background: var(--white);
    color: var(--dark-green);
    font-weight: 600;
    box-shadow: var(--shadow);
}

.chat-main {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.chat-message {
    display: flex;
    gap: 12px;
}

.chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chat-avatar.jk {
    background: var(--blue);
}

.chat-bubble strong {
    font-size: 14px;
    color: var(--dark-green);
    display: block;
    margin-bottom: 4px;
}

.chat-bubble p {
    font-size: 14px;
    color: var(--text);
}

/* ========== Reviews ========== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.review-platform {
    text-align: center;
    padding: 32px 24px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.review-platform:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.review-logo {
    font-size: 32px;
    color: var(--dark-green);
    margin-bottom: 12px;
}

.capterra-logo, .g2-logo {
    font-size: 20px;
    font-weight: 800;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.capterra-logo {
    background: #ff6f00;
}

.g2-logo {
    background: #ff492c;
}

.review-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 8px;
}

.review-stars {
    color: #f59e0b;
    font-size: 16px;
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
    gap: 2px;
}

.review-rating {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark-green);
}

.review-count {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 4px;
}

/* ========== Discover ========== */
.discover-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.discover-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s ease;
}

.discover-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.discover-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(232, 97, 77, 0.1);
    color: var(--primary);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.discover-card h3 {
    font-size: 19px;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.discover-card p {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.65;
    letter-spacing: -0.01em;
}

.discover-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.discover-link:hover {
    gap: 10px;
}

/* ========== Industries ========== */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.industry-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s ease;
}

.industry-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.industry-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(232, 97, 77, 0.1), rgba(13, 148, 136, 0.1));
    color: var(--primary);
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.industry-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-green);
    margin-bottom: 8px;
}

.industry-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 16px;
}

.industry-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.industry-link:hover {
    gap: 10px;
}

/* ========== CTA Section ========== */
.section-cta {
    background: linear-gradient(135deg, var(--dark-green) 0%, #0f2b24 100%);
    padding: 100px 0;
}

.cta-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin: 16px 0 32px;
    line-height: 1.7;
    letter-spacing: -0.01em;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 16px;
}

.cta-note {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* ========== Footer ========== */
.footer {
    background: var(--dark-green);
    padding: 64px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 16px 0;
    line-height: 1.5;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s ease;
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    padding: 4px 0;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

/* ========== Popup Modal ========== */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.popup-overlay.active {
    display: flex !important;
}

.popup-modal {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    width: 90%;
    max-width: 480px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    animation: popupIn 0.3s ease;
}

@keyframes popupIn {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.popup-close:hover {
    background: #e5e7eb;
    color: #1f2937;
}

.popup-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.popup-subtitle {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 24px;
}

.popup-form .form-group {
    margin-bottom: 16px;
}

.popup-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.popup-form input,
.popup-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    color: var(--text);
    transition: border-color 0.2s ease;
    outline: none;
}

.popup-form input:focus,
.popup-form textarea:focus {
    border-color: var(--primary);
}

.popup-form textarea {
    resize: vertical;
    min-height: 80px;
}

.popup-submit {
    width: 100%;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    margin-top: 8px;
}

.popup-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-message {
    text-align: center;
    margin-top: 12px;
    font-size: 14px;
    font-weight: 500;
}

.form-message.success {
    color: #059669;
}

.form-message.error {
    color: #dc2626;
}

/* ========== WhatsApp Button ========== */
.whatsapp-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 32px;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
    color: #fff;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
    .features-grid,
    .stats-grid,
    .reviews-grid,
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .feature-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ai-steps {
        flex-direction: column;
    }

    .ai-step {
        max-width: 100%;
        width: 100%;
    }

    .ai-step-arrow {
        transform: rotate(90deg);
    }

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

@media (max-width: 768px) {
    .nav, .header-actions {
        display: none;
    }

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

    .hero {
        padding: 100px 0 60px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 30px;
        letter-spacing: -0.03em;
    }

    .features-grid,
    .stats-grid,
    .reviews-grid,
    .discover-grid,
    .industries-grid {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn-primary,
    .hero-cta .btn-outline {
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .big-stat {
        font-size: 40px;
    }

    .chat-sidebar {
        display: none;
    }

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

    .timesheet-table th:nth-child(3),
    .timesheet-table th:nth-child(4),
    .timesheet-table td:nth-child(3),
    .timesheet-table td:nth-child(4) {
        display: none;
    }
}

/* ========== Video Play Button ========== */
.video-play-btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(232, 97, 77, 0.9);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    z-index: 10;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(232, 97, 77, 0.4);
}

.video-play-btn:hover {
    background: rgba(232, 97, 77, 1);
    transform: translateX(-50%) scale(1.05);
    box-shadow: 0 6px 30px rgba(232, 97, 77, 0.6);
}

.video-play-btn i {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 0.75rem;
}

.imac-screen {
    position: relative;
}

/* ========== Slide Modal ========== */
.slide-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    display: none;
    justify-content: flex-end;
    backdrop-filter: blur(4px);
}

.slide-modal-overlay.active {
    display: flex;
}

.slide-modal {
    width: 600px;
    max-width: 90vw;
    height: 100%;
    background: #fff;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    position: relative;
}

.slide-modal-overlay.active .slide-modal {
    transform: translateX(0);
}

.slide-modal-close {
    position: sticky;
    top: 16px;
    float: right;
    margin: 16px 16px 0 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #f3f4f6;
    color: #374151;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
}

.slide-modal-close:hover {
    background: #e5e7eb;
    color: #111;
}

.slide-modal-content {
    padding: 40px 40px 60px;
}

.slide-modal-header {
    margin-bottom: 40px;
}

.slide-modal-header h2 {
    font-size: 1.8rem;
    color: var(--dark);
    margin: 16px 0 12px;
    font-weight: 800;
}

.slide-modal-header p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* Steps */
.slide-modal-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.slide-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.slide-step-number {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
}

.slide-step-content h3 {
    font-size: 1.05rem;
    color: var(--dark);
    margin-bottom: 4px;
    font-weight: 700;
}

.slide-step-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Image placeholders */
.slide-modal-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 40px;
}

.slide-image-placeholder {
    background: #f3f4f6;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    border: 2px dashed #d1d5db;
    color: #9ca3af;
}

.slide-image-placeholder i {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
}

.slide-image-placeholder p {
    font-size: 0.85rem;
}

.slide-image-placeholder img {
    width: 100%;
    border-radius: 8px;
}

/* CTA */
.slide-modal-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    transition: all 0.2s;
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

@media (max-width: 768px) {
    .slide-modal {
        width: 100%;
        max-width: 100%;
    }

    .slide-modal-content {
        padding: 24px 20px 40px;
    }

    .slide-modal-header h2 {
        font-size: 1.4rem;
    }

    .slide-modal-images {
        grid-template-columns: 1fr;
    }

    .video-play-btn {
        font-size: 0.75rem;
        padding: 10px 18px;
    }

    .video-play-btn i {
        width: 28px;
        height: 28px;
    }
}
