/* ================================================================
   THE KITCHEN — Cinematic Story-Driven Landing Page
   Premium Dark Theme matching the real app (Terracotta & Peach/Orange accents)
   ================================================================ */

/* ==========================================
   1. VARIABLES & RESET
   ========================================== */
:root {
    --bg-primary: #1F1D2B; /* AppColors.darkColor */
    --bg-secondary: #2D303E; /* AppColors.primary */
    --bg-tertiary: #373541; /* AppColors.textFieldFillColor */
    --bg-card: rgba(45, 48, 62, 0.4);
    
    --primary: #EA7C69; /* AppColors.secondColor */
    --primary-light: #FA8D7B; /* AppColors.thirdColor */
    --primary-dark: #c96553; /* Darker terracotta */
    --primary-glow: rgba(234, 124, 105, 0.25);
    
    --accent: #EB966A; /* AppColors.colorLogo */
    --accent-light: #F6BE9A; /* Lighter colorLogo */
    --accent-glow: rgba(235, 150, 106, 0.2);
    
    --text-main: #E0E6E9; /* AppColors.textLighter */
    --text-muted: #7A7A96; /* AppColors.subText */
    --text-dark: #3B5162; /* AppColors.textDark */
    
    --border-color: rgba(224, 224, 232, 0.08); /* AppColors.dividerColor with opacity */
    --border-hover: rgba(234, 124, 105, 0.3);
    
    --font-main: 'Cairo', sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    
    --container-width: 1260px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--bg-tertiary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================
   2. PRELOADER (CINEMATIC INTRO)
   ========================================== */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    text-align: center;
    position: relative;
}

.preloader-logo {
    width: 70px;
    height: auto;
    animation: preloaderPulse 1.5s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.preloader-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid transparent;
    border-radius: 50%;
    animation: preloaderSpin 1.5s linear infinite;
}

.preloader-ring:nth-child(1) {
    width: 100px;
    height: 100px;
    border-top-color: var(--primary);
    animation-duration: 1.5s;
}

.preloader-ring:nth-child(2) {
    width: 130px;
    height: 130px;
    border-right-color: var(--accent);
    animation-duration: 2s;
    animation-direction: reverse;
}

.preloader-ring:nth-child(3) {
    width: 160px;
    height: 160px;
    border-bottom-color: var(--primary-light);
    animation-duration: 2.5s;
}

.preloader-text {
    margin-top: 100px;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    animation: preloaderPulse 1.5s ease-in-out infinite;
}

@keyframes preloaderSpin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes preloaderPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ==========================================
   3. PARTICLE CANVAS & CURSOR GLOW
   ========================================== */
.particle-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.cursor-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    opacity: 0;
}

.cursor-glow.visible {
    opacity: 1;
}

/* ==========================================
   4. GRADIENT TEXT & BUTTONS
   ========================================== */
.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 40%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.4s var(--ease-out);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3), inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.5), inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: none;
}

.btn:hover .btn-shine {
    animation: btnShine 0.6s ease forwards;
}

@keyframes btnShine {
    to { left: 100%; }
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary);
    color: var(--primary-light);
    transform: translateY(-3px);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
    border-radius: 16px;
}

.btn-small { padding: 10px 20px; font-size: 0.85rem; }
.btn-full { width: 100%; }
.hidden { display: none !important; }

/* ==========================================
   5. CHAPTER MARKERS (STORY NAVIGATION)
   ========================================== */
.chapter-marker {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.chapter-num {
    font-size: 0.8rem;
    font-weight: 900;
    color: var(--primary);
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 6px 14px;
    border-radius: 8px;
    letter-spacing: 2px;
}

.chapter-line {
    flex: 0 0 60px;
    height: 1px;
    background: linear-gradient(90deg, var(--primary), transparent);
}

.chapter-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================
   6. SECTION HEADERS
   ========================================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 70px;
}

.section-title {
    font-size: 2.6rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 18px;
    line-height: 1.3;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.section-text {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-top: 16px;
}

/* ==========================================
   7. HEADER / NAVIGATION
   ========================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: all 0.5s var(--ease-out);
    background: transparent;
}

.main-header.scrolled {
    height: 68px;
    background: rgba(5, 8, 16, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: all 0.5s var(--ease-out);
}

.main-header.scrolled .logo-img { height: 38px; }

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.4s var(--ease-out);
    position: relative;
    padding: 8px 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.4s var(--ease-out);
    border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after { width: 100%; }

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

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================================
   8. HERO SECTION
   ========================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: var(--header-height);
    padding-bottom: 40px;
    overflow: hidden;
    z-index: 2;
}

/* Floating Decorative Shapes */
.floating-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.04;
    filter: blur(60px);
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -150px;
    animation: floatShape 15s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    bottom: -100px;
    left: -100px;
    animation: floatShape 20s ease-in-out infinite reverse;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: #50D1AA; /* AppColors.accentsGreen */
    top: 50%;
    left: 50%;
    animation: floatShape 18s ease-in-out infinite 2s;
}

.shape-4 {
    width: 200px;
    height: 200px;
    background: var(--primary-light);
    top: 20%;
    left: 10%;
    animation: floatShape 22s ease-in-out infinite 4s;
}

.shape-5 {
    width: 250px;
    height: 250px;
    background: var(--accent);
    bottom: 20%;
    right: 10%;
    animation: floatShape 17s ease-in-out infinite 1s;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(40px, 30px) scale(1.03); }
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 5;
}

.hero-content { position: relative; }

.badge-new {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(245, 158, 11, 0.06);
    border: 1px solid rgba(245, 158, 11, 0.2);
    padding: 8px 18px;
    border-radius: 30px;
    margin-bottom: 28px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5); transform: scale(1); }
    50% { box-shadow: 0 0 0 12px rgba(245, 158, 11, 0); transform: scale(1.2); }
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 24px;
}

.title-line {
    display: block;
    overflow: hidden;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 560px;
    line-height: 1.8;
}

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

/* Stats Bar */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 20px 32px;
    backdrop-filter: blur(12px);
    width: fit-content;
}

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

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-light);
    display: inline;
}

.stat-suffix {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-desc {
    font-size: 0.78rem;
    color: var(--text-dark);
    margin-top: 2px;
}

/* Hero Media (3D Tilt Frame) */
.hero-media {
    position: relative;
    perspective: 1200px;
}

.media-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.media-frame {
    position: relative;
    z-index: 2;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 0 80px rgba(16, 185, 129, 0.08);
    transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
    transform-style: preserve-3d;
}

.frame-border {
    position: absolute;
    inset: -1px;
    border-radius: 25px;
    background: conic-gradient(from 0deg, var(--primary), var(--accent), var(--primary-light), var(--primary));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.media-frame:hover .frame-border {
    opacity: 0.5;
}

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

/* Floating Badges around hero image */
.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    padding: 10px 16px;
    border-radius: 12px;
    z-index: 10;
    font-size: 0.82rem;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    animation: floatBadge 6s ease-in-out infinite;
}

.floating-badge i {
    color: var(--primary);
    font-size: 1rem;
}

.badge-pos-1 { top: 10%; right: -30px; animation-delay: 0s; }
.badge-pos-2 { bottom: 25%; right: -40px; animation-delay: 2s; }
.badge-pos-3 { bottom: 10%; left: -20px; animation-delay: 4s; }

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 10;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--text-dark);
    border-radius: 14px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 24px; }
}

.scroll-indicator span {
    font-size: 0.75rem;
    color: var(--text-dark);
    font-weight: 600;
    animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* ==========================================
   9. FEATURES SECTION
   ========================================== */
.features-section {
    position: relative;
    padding: 120px 0;
    z-index: 2;
}

.section-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(16, 185, 129, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px 32px;
    transition: all 0.5s var(--ease-out);
    overflow: hidden;
    cursor: default;
}

.card-bg-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.feature-card:hover .card-bg-gradient { opacity: 1; }

.feature-card:hover {
    transform: translateY(-12px);
    border-color: var(--border-hover);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(16, 185, 129, 0.06);
}

.feature-icon-wrapper {
    position: relative;
    width: 70px;
    height: 70px;
    margin-bottom: 28px;
}

.icon-ring {
    position: absolute;
    inset: -4px;
    border-radius: 18px;
    border: 2px solid transparent;
    background: conic-gradient(from 0deg, var(--primary), transparent, var(--primary)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature-card:hover .icon-ring { opacity: 1; }

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.15);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    transition: all 0.5s var(--ease-out);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.35);
    transform: scale(1.08) rotate(-3deg);
}

.feature-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.feature-text {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.card-number {
    position: absolute;
    bottom: 20px;
    left: 24px;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    line-height: 1;
    transition: all 0.5s var(--ease-out);
    pointer-events: none;
}

.feature-card:hover .card-number {
    color: rgba(16, 185, 129, 0.06);
    transform: scale(1.1);
}

/* ==========================================
   10. SHOWCASE SECTION (TABS)
   ========================================== */
.showcase-section {
    padding: 120px 0;
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
}

.showcase-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.tab-btn {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-muted);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 14px 32px;
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s var(--ease-out);
}

.tab-btn:hover { color: #fff; border-color: var(--text-dark); }

.tab-btn.active {
    color: #fff;
    background: rgba(16, 185, 129, 0.08);
    border-color: var(--primary);
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.12);
}

.showcase-content {
    position: relative;
    min-height: 400px;
}

.tab-panel {
    display: none;
    animation: tabFadeIn 0.6s var(--ease-out);
}

.tab-panel.active { display: block; }

@keyframes tabFadeIn {
    from { opacity: 0; transform: translateY(30px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.showcase-wrapper {
    position: relative;
    border-radius: 28px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    padding: 0;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.03);
    overflow: hidden;
}

.showcase-glow {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.showcase-screen {
    position: relative;
}

.screen-dots {
    display: flex;
    gap: 6px;
    padding: 14px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border-color);
}

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

.screen-dots span:nth-child(1) { background: #ef4444; }
.screen-dots span:nth-child(2) { background: #f59e0b; }
.screen-dots span:nth-child(3) { background: #22c55e; }

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

.showcase-info {
    padding: 28px 32px;
    border-top: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.15);
}

.showcase-info h4 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.showcase-info h4 i { color: var(--accent); }
.showcase-info p { color: var(--text-muted); font-size: 0.95rem; max-width: 800px; }

/* ==========================================
   11. INTEGRATIONS SECTION
   ========================================== */
.integrations-section {
    padding: 120px 0;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.integrations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.integration-list {
    list-style: none;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.integration-list li {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid transparent;
    transition: all 0.4s var(--ease-out);
}

.integration-list li:hover {
    border-color: var(--border-hover);
    background: rgba(16, 185, 129, 0.03);
    transform: translateX(-8px);
}

.list-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.12);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.4s var(--ease-out);
}

.integration-list li:hover .list-icon {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.list-info h5 { font-size: 1.05rem; font-weight: 800; color: #fff; margin-bottom: 6px; }
.list-info p { font-size: 0.88rem; color: var(--text-muted); }

/* Orbit Visual System */
.integrations-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 420px;
}

.orbit-system {
    position: relative;
    width: 340px;
    height: 340px;
}

.orbit-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(16, 185, 129, 0.12);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.orbit-ring-1 { width: 160px; height: 160px; animation: orbitPulse 3s ease-in-out infinite; }
.orbit-ring-2 { width: 260px; height: 260px; animation: orbitPulse 3s ease-in-out 0.5s infinite; }
.orbit-ring-3 { width: 340px; height: 340px; animation: orbitPulse 3s ease-in-out 1s infinite; }

@keyframes orbitPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--bg-tertiary);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.orbit-center img { width: 44px; height: auto; }

.pulse-ring {
    position: absolute;
    inset: -10px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    animation: pulseExpand 2s ease-out infinite;
}

@keyframes pulseExpand {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.6); opacity: 0; }
}

.orbit-node {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-main);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    z-index: 4;
    transition: all 0.4s var(--ease-out);
    animation: orbitFloat 6s ease-in-out infinite;
}

.orbit-node:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
    transform: scale(1.15);
}

.node-label { font-size: 0.65rem; font-weight: 900; color: var(--accent); }

/* Place nodes around the orbit */
.node-1 { top: -25px; left: calc(50% - 25px); animation-delay: 0s; }
.node-2 { bottom: -25px; left: calc(50% - 25px); animation-delay: 1s; }
.node-3 { left: -25px; top: calc(50% - 25px); animation-delay: 2s; }
.node-4 { right: -25px; top: calc(50% - 25px); animation-delay: 3s; }
.node-5 { top: 15%; right: 5%; animation-delay: 0.5s; }
.node-6 { bottom: 15%; left: 5%; animation-delay: 1.5s; }

.node-1 { border-color: var(--accent); }

@keyframes orbitFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ==========================================
   12. FAQ SECTION
   ========================================== */
.faq-section {
    padding: 120px 0;
    z-index: 2;
    position: relative;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
}

.faq-item:hover { border-color: rgba(255, 255, 255, 0.08); }
.faq-item.active { border-color: var(--primary); box-shadow: 0 0 30px rgba(16, 185, 129, 0.06); }

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px;
    font-weight: 700;
    font-size: 1.02rem;
    cursor: pointer;
    user-select: none;
    transition: all 0.4s var(--ease-out);
}

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

.faq-icon {
    font-size: 1rem;
    color: var(--text-dark);
    transition: all 0.4s var(--ease-out);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--primary);
    background: rgba(16, 185, 129, 0.1);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease-out);
}

.faq-answer p {
    padding: 0 28px 24px;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ==========================================
   13. CONTACT SECTION
   ========================================== */
.contact-section {
    padding: 120px 0;
    position: relative;
    z-index: 2;
}

.contact-container {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
    align-items: flex-start;
}

.contact-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-top: 16px;
    margin-bottom: 44px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px;
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid transparent;
    transition: all 0.4s var(--ease-out);
}

.detail-item:hover {
    border-color: var(--border-hover);
    background: rgba(16, 185, 129, 0.03);
    transform: translateX(-6px);
}

.detail-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.12);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.4s var(--ease-out);
}

.detail-item:hover .detail-icon {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.detail-text span { display: block; font-size: 0.8rem; color: var(--text-dark); }
.detail-text strong { font-size: 1.1rem; color: #fff; font-weight: 700; }

/* Form */
.contact-form-panel {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 44px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.03);
    position: relative;
    overflow: hidden;
}

.contact-form-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary-light));
    opacity: 0.6;
}

.demo-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-group label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-main);
}

.form-group label .required { color: #ef4444; }

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper > i {
    position: absolute;
    right: 16px;
    color: var(--text-dark);
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.4s var(--ease-out);
    z-index: 2;
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
    width: 100%;
    padding: 14px 50px 14px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    color: #fff;
    transition: all 0.4s var(--ease-out);
}

.input-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 16px center;
    background-size: 18px;
    padding-left: 44px;
}

.input-focus-line {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 0 0 14px 14px;
    transition: width 0.4s var(--ease-out);
    z-index: 3;
}

.input-wrapper input:focus ~ .input-focus-line,
.input-wrapper select:focus ~ .input-focus-line,
.input-wrapper textarea:focus ~ .input-focus-line {
    width: 100%;
}

.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.08);
    background: rgba(16, 185, 129, 0.02);
}

.input-wrapper input:focus + i,
.input-wrapper select:focus + i,
.input-wrapper textarea:focus + i {
    color: var(--primary);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 40px 10px;
    animation: successReveal 0.6s var(--ease-bounce) forwards;
    position: relative;
}

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

.success-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.08);
    border: 2px solid var(--primary);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 24px;
    animation: successPop 0.5s 0.2s var(--ease-bounce) both;
}

@keyframes successPop {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.success-message h3 { font-size: 1.6rem; font-weight: 800; color: #fff; margin-bottom: 12px; }
.success-message p { color: var(--text-muted); font-size: 1rem; line-height: 1.8; margin-bottom: 32px; }

/* Confetti */
.success-confetti {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.confetti-piece {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    animation: confettiFall 3s ease-in forwards;
}

@keyframes confettiFall {
    0% { transform: translateY(-20px) rotate(0deg); opacity: 1; }
    100% { transform: translateY(400px) rotate(720deg); opacity: 0; }
}

/* ==========================================
   14. FOOTER
   ========================================== */
.main-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 0;
    z-index: 2;
    position: relative;
}

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

.footer-logo { height: 52px; width: auto; object-fit: contain; margin-bottom: 20px; }
.footer-desc { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; margin-bottom: 24px; max-width: 280px; }

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

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.4s var(--ease-out);
}

.social-links a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.footer-links-col h4 {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-links-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 35px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.footer-links-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links-col ul a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s var(--ease-out);
}

.footer-links-col ul a:hover { color: var(--primary-light); padding-right: 6px; }

.footer-address { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 16px; }
.footer-address i { color: var(--primary); margin-left: 8px; }

.footer-contact {
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact i { color: var(--primary); font-size: 1rem; width: 20px; }

.footer-bottom { border-top: 1px solid var(--border-color); padding: 24px 0; text-align: center; }
.footer-bottom-container { display: flex; justify-content: center; align-items: center; }
.copyright { font-size: 0.85rem; color: var(--text-dark); }
.copyright strong { color: var(--text-muted); }

/* ==========================================
   15. REVEAL ANIMATIONS (SCROLL-TRIGGERED)
   ========================================== */
.reveal {
    opacity: 0;
    transition: all 0.9s var(--ease-out);
    will-change: transform, opacity;
}

.reveal.revealed { opacity: 1; }

.reveal-up { transform: translateY(60px); }
.reveal-up.revealed { transform: translateY(0); }

.reveal-fade { transform: none; }

.reveal-scale { transform: scale(0.9); }
.reveal-scale.revealed { transform: scale(1); }

.reveal-right { transform: translateX(40px); }
.reveal-right.revealed { transform: translateX(0); }

.reveal-left { transform: translateX(-40px); }
.reveal-left.revealed { transform: translateX(0); }

/* ==========================================
   16. RESPONSIVE BREAKPOINTS
   ========================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-content { display: flex; flex-direction: column; align-items: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-stats { margin: 0 auto; }
    .chapter-marker { justify-content: center; }
    
    .media-frame { transform: none !important; }
    .floating-badge { display: none; }

    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .integrations-grid { grid-template-columns: 1fr; gap: 60px; }
    .integrations-visual { order: -1; height: 300px; }
    .contact-container { grid-template-columns: 1fr; gap: 50px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root { --header-height: 70px; }
    
    .mobile-toggle { display: block; }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 280px;
        height: calc(100vh - var(--header-height));
        background: rgba(10, 14, 26, 0.96);
        backdrop-filter: blur(20px);
        border-left: 1px solid var(--border-color);
        padding: 40px;
        box-shadow: -10px 10px 40px rgba(0, 0, 0, 0.5);
        transition: right 0.5s var(--ease-out);
        overflow-y: auto;
        z-index: 999;
    }
    
    .nav-menu.open { right: 0; }
    .nav-menu ul { flex-direction: column; gap: 24px; }
    .nav-link { font-size: 1.1rem; display: block; }
    .header-actions .btn { display: none; }
    .hero-title { font-size: 2.2rem; }
    .section-title { font-size: 2rem; }
    .features-grid { grid-template-columns: 1fr; }
    
    .showcase-tabs { flex-direction: column; align-items: stretch; }
    .tab-btn { justify-content: center; }
    .form-grid { grid-template-columns: 1fr; }
    .contact-form-panel { padding: 28px; }
    .scroll-indicator { display: none; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; }
    .hero-stats { flex-direction: column; width: 100%; gap: 16px; }
    .stat-divider { width: 40px; height: 1px; margin: 0; }
    .stat-item { align-items: center; text-align: center; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 1.85rem; }
    .section-title { font-size: 1.65rem; }
    .btn-large { padding: 14px 28px; font-size: 0.95rem; }
}
