/* ==========================================================================
   Base & Variables
   ========================================================================== */
:root {
    /* Brand Colors */
    --primary: #D32F2F;
    --primary-dark: #B71C1C;
    --accent: #FF5252;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --light-bg: #F8F9FA;
    --light-gray: #E5E7EB;
    --gray-text: #6B7280;
    --dark-text: #1A1A1A;
    --dark-bg: #111827;
    
    /* Typography */
    --font-main: 'Inter', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-primary: 0 10px 20px -5px rgba(211, 47, 47, 0.4);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Layout */
    --container-max: 1200px;
    --header-height: 80px;
}

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

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-main);
    color: var(--dark-text);
    background-color: var(--white);
    line-height: 1.6;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

p {
    margin-bottom: 1rem;
    color: var(--gray-text);
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

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

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

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-white { color: var(--white); }
.bg-light { background-color: var(--light-bg); }
.bg-dark { background-color: var(--dark-bg); color: var(--white); }

.section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.bg-dark .section-title, .bg-dark .section-subtitle {
    color: var(--white);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-text);
}
.bg-dark .section-subtitle {
    opacity: 0.8;
}

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

/* Glassmorphism */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

/* Rounded Shadow Images */
.rounded-shadow-img {
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    border: none;
    font-size: 1rem;
}

.btn-sm { padding: 8px 20px; font-size: 0.875rem; }
.btn-lg { padding: 16px 32px; font-size: 1.125rem; }
.btn-block { width: 100%; }

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-primary);
}
.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(211, 47, 47, 0.5);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    color: var(--dark-text);
    border: 2px solid var(--light-gray);
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-md);
}
.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: var(--transition-base);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
    border-bottom-color: var(--light-gray);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark-text);
}

.logo-icon {
    color: var(--primary);
    font-size: 1.75rem;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--dark-text);
    font-weight: 500;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-base);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-close { display: none; }
.nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-text);
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-dark-globe {
    --device-scale: 1;
    position: relative;
    padding: calc(var(--header-height) + 60px) 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #0B1120;
    color: var(--white);
}

.globe-wrapper {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    overflow: hidden;
    z-index: 0;
}

.globe-grid {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1200px;
    height: 1200px;
    background-image: 
        radial-gradient(circle at center, rgba(30, 58, 138, 0.4) 0%, transparent 70%),
        repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(255,255,255,0.03) 40px, rgba(255,255,255,0.03) 41px),
        repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(255,255,255,0.03) 40px, rgba(255,255,255,0.03) 41px);
    border-radius: 50%;
    transform: translate(-50%, -50%) perspective(1000px) rotateX(60deg) rotateZ(-45deg);
    animation: rotateGlobe 90s linear infinite;
    opacity: 0.6;
}

.globe-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(211,47,47,0.15) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

@keyframes rotateGlobe {
    0% { transform: translate(-50%, -50%) perspective(1000px) rotateX(60deg) rotateZ(0deg); }
    100% { transform: translate(-50%, -50%) perspective(1000px) rotateX(60deg) rotateZ(360deg); }
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.dark-mode-ticker {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 6px 20px 6px 6px;
    margin: 0 auto 30px auto;
    display: flex;
    align-items: center;
    max-width: fit-content;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.live-dot {
    display: inline-block;
    width: 8px; height: 8px;
    background-color: #FF3B30;
    border-radius: 50%;
    margin-right: 6px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.dark-mode-ticker .ticker-label {
    background: transparent;
    color: var(--white);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    padding: 0 10px;
    border-right: 1px solid rgba(255,255,255,0.2);
    margin-right: 15px;
}

.dark-mode-ticker .ticker-content {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    max-width: 400px;
}

.serif-title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--white);
    letter-spacing: -1px;
}

.text-light-alpha {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.25rem;
    margin: 0 auto 40px auto;
    max-width: 800px;
}

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

.dark-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.dark-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.dark-trust {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.dark-trust .trust-item {
    display: flex;
    flex-direction: column;
}

.dark-trust .trust-value {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 800;
}

.dark-trust .trust-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.dark-trust .trust-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px 0;
}

/* Device Frame */
.device-frame {
    position: relative;
    width: calc(320px * var(--device-scale, 1));
    height: calc(650px * var(--device-scale, 1));
    margin: 0 auto -350px auto;
    background: #000;
    border-radius: calc(40px * var(--device-scale, 1));
    border: calc(12px * var(--device-scale, 1)) solid #1c1c1e;
    box-shadow: 
        inset 0 0 0 calc(2px * var(--device-scale, 1)) #3a3a3c,
        0 30px 60px rgba(0,0,0,0.5),
        0 0 100px rgba(211,47,47,0.2);
    display: flex;
    justify-content: center;
    animation: float 6s ease-in-out infinite;
}

/* Multi-Device Layout (Desktop) */
.hero-image.multi-device {
    position: relative;
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.device-center {
    z-index: 3;
}

.device-left, .device-right {
    position: absolute;
    top: 20px;
    z-index: 1;
    opacity: 0.5;
}

.device-left {
    left: 0;
    transform: rotate(-10deg) scale(0.8);
}

.device-right {
    right: 0;
    transform: rotate(10deg) scale(0.8);
}

.device-notch {
    position: absolute;
    top: 0;
    width: calc(120px * var(--device-scale, 1));
    height: calc(25px * var(--device-scale, 1));
    background: #1c1c1e;
    border-bottom-left-radius: calc(20px * var(--device-scale, 1));
    border-bottom-right-radius: calc(20px * var(--device-scale, 1));
    z-index: 10;
}

.device-screen {
    width: 100%;
    height: 100%;
    border-radius: calc(28px * var(--device-scale, 1));
    overflow-y: auto;
    overflow-x: hidden;
    background: #fff;
    position: relative;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
.device-screen::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

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

.glass-alert {
    position: absolute;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 20;
    color: var(--white);
    animation: float 6s ease-in-out infinite reverse;
}

.glass-alert.alert-1 {
    top: 15%;
    left: -60px;
    animation-delay: 1s;
}

.glass-alert.alert-2 {
    bottom: 25%;
    right: -50px;
    animation-delay: 2s;
}

.alert-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.alert-content {
    display: flex;
    flex-direction: column;
}

.alert-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.alert-time {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* ==========================================================================
   Features Grid (Why Choose Us & Benefits)
   ========================================================================== */
.features-grid, .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 30px;
}

.feature-card, .benefit-card {
    padding: 40px 30px;
    border-radius: 20px;
    transition: var(--transition-base);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}
.feature-card:hover, .benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.feature-icon, .benefit-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(211,47,47,0.1), rgba(255,82,82,0.1));
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 24px;
    transition: var(--transition-base);
}
.feature-card:hover .feature-icon, .benefit-card:hover .benefit-icon {
    background: var(--primary);
    color: var(--white);
}

.feature-title, .benefit-card h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

/* ==========================================================================
   Newspapers Section
   ========================================================================== */
.newspaper-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.newspaper-card {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: var(--transition-base);
    cursor: pointer;
}
.newspaper-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.np-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.np-logo img {
    max-height: 100%;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition-base);
}
.newspaper-card:hover .np-logo img {
    filter: grayscale(0%);
    opacity: 1;
}

.np-info h4 {
    margin-bottom: 4px;
    font-size: 1.125rem;
}
.np-info p {
    font-size: 0.875rem;
    margin: 0;
}

/* ==========================================================================
   App Screenshots Slider
   ========================================================================== */
.screenshot-slider-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
    overflow: hidden;
}

.screenshot-slider {
    display: flex;
    transition: transform var(--transition-slow);
    gap: 20px;
}

.slide {
    min-width: calc(33.333% - 14px); /* Show 3 at a time usually */
    display: flex;
    justify-content: center;
    transition: var(--transition-base);
    opacity: 0.5;
    transform: scale(0.9);
}
.slide.active {
    opacity: 1;
    transform: scale(1);
}

.app-screen {
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    z-index: 10;
}
.slider-btn:hover {
    background: var(--primary);
}
.prev-btn { left: 0; }
.next-btn { right: 0; }

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: var(--transition-base);
}
.dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* ==========================================================================
   Alternating Features
   ========================================================================== */
.alt-feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}
.alt-feature-row:last-child {
    margin-bottom: 0;
}
.alt-feature-row.reverse {
    direction: rtl;
}
.alt-feature-row.reverse .alt-feature-content,
.alt-feature-row.reverse .alt-feature-image {
    direction: ltr;
}

.alt-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(211,47,47,0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.alt-title {
    font-size: 2rem;
    margin-bottom: 16px;
}
.alt-desc {
    font-size: 1.125rem;
    margin-bottom: 24px;
}

.alt-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 500;
}
.alt-list i {
    color: var(--primary);
    background: rgba(211,47,47,0.1);
    padding: 4px;
    border-radius: 50%;
    font-size: 0.75rem;
}

/* ==========================================================================
   Statistics
   ========================================================================== */
.stats-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    position: relative;
    overflow: hidden;
}
.stats-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}
.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    opacity: 0.8;
}
.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1;
}
.stat-text {
    font-size: 1.125rem;
    font-weight: 500;
    opacity: 0.9;
}

/* ==========================================================================
   About
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img-wrapper {
    position: relative;
}
.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--white);
    padding: 20px;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    text-align: center;
    border-left: 4px solid var(--primary);
}
.exp-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 4px;
}
.exp-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark-text);
}

.about-subtitle {
    font-size: 1.25rem;
    color: var(--gray-text);
    margin-bottom: 24px;
}

.about-stats-mini {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--light-gray);
}
.mini-stat h5 {
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 4px;
}

/* ==========================================================================
   Download CTA
   ========================================================================== */
.cta-section {
    padding: 100px 0;
}
.cta-container {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 30px;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.cta-container::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 50%; height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
}

.cta-content {
    max-width: 500px;
    position: relative;
    z-index: 2;
}
.cta-title {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 16px;
}
.cta-desc {
    color: rgba(255,255,255,0.9);
    font-size: 1.125rem;
    margin-bottom: 32px;
}
.cta-buttons {
    display: flex;
    gap: 16px;
}

.cta-image {
    position: relative;
    z-index: 2;
    margin-bottom: -120px; /* Let it overflow bottom */
}
.cta-dual-mockups {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.cta-mockup {
    width: 45%;
    max-width: 240px;
}
.cta-mockup-1 {
    transform: translateY(20px);
}
.cta-mockup-2 {
    transform: translateY(-20px);
}
.cta-mockup img {
    width: 100%;
    max-width: none;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-slider-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 10px 0;
}
.testimonial-track {
    display: flex;
    gap: 30px;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    /* For JS logic, we just shift the transform */
    width: max-content;
}
.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 35px 30px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    width: 340px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.7);
    border-color: rgba(211, 47, 47, 0.3);
}
.testi-quote-watermark {
    position: absolute;
    top: 5px;
    right: 20px;
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.03);
    z-index: 0;
    pointer-events: none;
}
.testi-rating {
    position: relative;
    z-index: 1;
    color: #FFC107;
    margin-bottom: 20px;
}
.testi-text {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 24px;
    font-style: italic;
    font-weight: 300;
    /* Limit height */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
}
.testi-text.expanded {
    -webkit-line-clamp: unset;
}
.read-more-btn {
    color: var(--primary-color);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: -15px;
    margin-bottom: 24px;
    display: inline-block;
    position: relative;
    z-index: 2;
}
.read-more-btn:hover {
    text-decoration: underline;
}
.testi-user {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: auto;
}
.user-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}
.user-avatar .avatar-letter {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF512F 0%, #DD2476 100%);
    box-shadow: 0 4px 15px rgba(221, 36, 118, 0.4);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}
.user-info h5 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--white);
}
.user-info span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition-base);
}
.faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}
.faq-question {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
}
.faq-question h4 {
    margin: 0;
    font-size: 1.125rem;
}
.faq-question i {
    color: var(--primary);
    transition: transform var(--transition-base);
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}
.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base), padding var(--transition-base);
}
.faq-item.active .faq-answer {
    padding: 0 24px 20px;
    max-height: 300px;
}
.faq-answer p {
    margin: 0;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 16px;
}
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 30px;
}
.info-icon {
    width: 48px;
    height: 48px;
    background: rgba(211,47,47,0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.info-item h5 {
    margin: 0 0 4px 0;
    font-size: 1.125rem;
}
.info-item p {
    margin: 0;
}

.contact-form-container {
    padding: 40px;
}
.form-group {
    margin-bottom: 24px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}
.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-base);
    background: var(--light-bg);
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(211,47,47,0.1);
}
textarea.form-control {
    resize: vertical;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding-top: 80px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    color: var(--white);
    margin-bottom: 20px;
}
.footer-desc {
    color: rgba(255,255,255,0.7);
    margin-bottom: 24px;
}
.social-links {
    display: flex;
    gap: 16px;
}
.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}
.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-title {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 24px;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: rgba(255,255,255,0.7);
}
.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-app-desc {
    color: rgba(255,255,255,0.7);
    margin-bottom: 16px;
}
.store-badge-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #000;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 10px 20px;
    border-radius: 8px;
    color: var(--white) !important;
    text-decoration: none;
    transition: var(--transition-base);
}
.store-badge-btn:hover {
    background: #111;
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}
.store-badge-btn i {
    font-size: 28px;
}
.store-badge-btn .btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}
.store-badge-btn .btn-text span {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.store-badge-btn .btn-text strong {
    font-size: 1.125rem;
    line-height: 1;
    font-weight: 600;
}

.mobile-frame-mockup {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 30px;
    border: 8px solid #222;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    display: block;
    margin: 0 auto;
}

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
}

/* Scroll Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: 99;
}
.scroll-top.show {
    opacity: 1;
    visibility: visible;
}
.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
    color: var(--white);
}

/* ==========================================================================
   Animations
   ========================================================================== */
[data-reveal] {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
[data-reveal="up"] { transform: translateY(40px); }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }

[data-reveal].revealed {
    opacity: 1;
    transform: translate(0);
}

/* ==========================================================================
   Promotional Modal
   ========================================================================== */
.promo-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 17, 32, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.promo-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.promo-modal-container {
    background: radial-gradient(circle at top left, rgba(211, 47, 47, 0.15) 0%, #0B1120 70%);
    border: 1px solid rgba(211, 47, 47, 0.2);
    border-radius: 24px;
    width: 90%;
    max-width: 480px;
    padding: 40px 24px;
    position: relative;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

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

.promo-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s ease;
    z-index: 10;
}

.promo-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.promo-slider-container {
    position: relative;
    width: 100%;
}

.promo-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s;
}

.promo-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.promo-logo {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.9);
}

.promo-img-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.promo-img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.promo-slide h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin-bottom: 12px;
    line-height: 1.2;
    color: #ffffff;
}

.promo-slide p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 30px;
    line-height: 1.5;
}

.promo-controls {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.promo-dots {
    display: flex;
    gap: 8px;
}

.promo-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.promo-dots .dot.active {
    background: var(--primary);
    transform: scale(1.3);
}

@media (max-width: 480px) {
    .promo-modal-container {
        padding: 30px 20px;
    }
    .promo-slide h3 {
        font-size: 1.5rem;
    }
    .promo-img {
        width: 100px;
        height: 100px;
    }
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container, .alt-feature-row, .about-grid, .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .alt-feature-row.reverse .alt-feature-content {
        order: -1;
    }

    .serif-title {
        font-size: 3rem;
    }
    
    .device-frame {
        transform: scale(0.9);
        transform-origin: top center;
    }

    .device-left, .device-right {
        display: none !important; /* Hide side devices on mobile/tablet */
    }

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

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

@media (max-width: 768px) {
    /* Scale down font sizes outside the hero section */
    body section:not(#home) .section-title {
        font-size: 2rem;
    }
    body section:not(#home) .section-subtitle {
        font-size: 1rem;
    }
    body section:not(#home) h3 {
        font-size: 1.4rem;
    }
    body section:not(#home) p,
    body section:not(#home) li,
    body section:not(#home) .feature-desc {
        font-size: 0.95rem;
    }

    .header-actions .btn {
        display: none; /* Hide header btn on mobile, handled in drawer if needed */
    }
    .nav-toggle {
        display: block;
    }

    /* Mobile Nav Drawer */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        transition: right var(--transition-base);
        z-index: 1001;
    }
    .nav-menu.active {
        right: 0;
    }
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    .nav-close {
        display: block;
        position: absolute;
        top: 24px;
        right: 24px;
        font-size: 1.5rem;
        cursor: pointer;
    }

    .hero-dark-globe {
        --device-scale: 0.8;
        padding-top: 100px;
        padding-bottom: 40px;
        min-height: auto;
        text-align: center;
    }
    .device-frame {
        margin: 0 auto;
    }
    .hero-container {
        gap: 20px;
    }
    .serif-title {
        font-size: 2.5rem;
    }
    .dark-mode-ticker {
        display: none;
    }
    .text-light-alpha {
        font-size: 1rem;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 24px;
    }
    .hero-buttons {
        justify-content: center;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        gap: 8px;
        width: 100%;
        max-width: 290px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 24px;
    }
    .hero-buttons .store-badge-btn {
        flex: 1;
        min-width: 0;
        padding: 6px 8px;
        gap: 6px;
        justify-content: center;
    }
    .hero-buttons .store-badge-btn i {
        font-size: 18px !important;
    }
    .hero-buttons .store-badge-btn .btn-text span {
        font-size: 0.45rem;
    }
    .hero-buttons .store-badge-btn .btn-text strong {
        font-size: 0.7rem;
    }
    .dark-trust {
        justify-content: center;
        flex-wrap: nowrap;
        gap: 10px;
        margin-bottom: 12px;
    }
    .dark-trust .trust-value {
        font-size: 1rem;
    }
    .dark-trust .trust-label {
        font-size: 0.65rem;
    }
    .dark-trust .trust-divider {
        height: 24px;
        width: 1px;
    }
    

    .glass-alert {
        display: none; /* Hide floating cards on small mobile */
    }

    .cta-container {
        flex-direction: column;
        text-align: center;
        padding: 60px 24px;
    }
    .cta-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    .cta-image {
        margin-bottom: -60px;
        margin-top: 60px;
    }
    .cta-dual-mockups {
        gap: 15px;
    }
    .cta-mockup {
        max-width: 160px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .screenshot-slider-container {
        padding: 0 10px;
    }
    .slide {
        min-width: calc(100% - 20px); /* 1 slide per view */
    }
}

@media (max-width: 480px) {
    .hero-dark-globe {
        --device-scale: 0.65;
    }
    .serif-title {
        font-size: 2.25rem;
        line-height: 1.15;
    }
    .text-light-alpha {
        font-size: 0.9rem;
        padding: 0 10px;
    }
    .stats-container {
        grid-template-columns: 1fr;
    }
    .contact-form-container {
        padding: 24px;
    }
}
