/* ChattyFit Landing Page Enhanced Styles */

/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0B2545;
    --primary-dark: #081929;
    --accent-red: #E63946;
    --accent-red-dark: #c62632;
    --accent-cyan: #0096C7;
    --accent-cyan-light: #4CC9F0;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-light: #e5e7eb;
    --success-green: #10b981;
    --gradient: linear-gradient(135deg, #0B2545 0%, #0096C7 100%);
    --gradient-accent: linear-gradient(135deg, #E63946 0%, #f56e79 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

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

/* ===== BACKGROUND ENHANCEMENT STYLES ===== */
[data-has-bg="true"] {
    position: relative;
    overflow: hidden;
}

[data-has-bg="true"] > .container {
    position: relative;
    z-index: 2;
}

.hero-background,
.section-background,
.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero-background.loaded,
.section-background.loaded,
.cta-background.loaded {
    opacity: 1;
}

/* Enhanced Hero Section - NO bottom padding */
.hero {
    padding: 120px 0 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-background {
    background: 
        linear-gradient(135deg, rgba(11, 37, 69, 0.7) 0%, rgba(0, 150, 199, 0.6) 100%),
        url('/assets/luxury-hero-bg.png?v=1');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Product visual directly under hero - NO red background now */
.product-visual-section {
    padding: 0 0 4rem !important; /* Add bottom padding after the image */
    background: var(--bg-white); /* Match problem section background */
}

.product-visual {
    margin: 0 auto; /* Remove top margin to eliminate gap between sections */
}

.product-visual img {
    box-shadow: none !important;
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
}

/* Navigation */
.site-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.logo-icon img.logo-img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 10px;
}

.nav-cta {
    background: var(--accent-red);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.nav-cta:hover {
    background: var(--accent-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.3);
}

/* App Store button (header/hero) */
.app-store-button {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #000;
    color: #fff;
    padding: 0.4rem 0.75rem;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 40px;
    overflow: visible; /* avoid clipping children during first-frame layout */
}

.app-store-button svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    display: block;
}

.app-store-button .badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.app-store-button .badge-text .small {
    font-size: 10px;
    opacity: 0.85;
}

.app-store-button .badge-text .big {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.app-store-button:hover {
    background: #111;
}

/* Image-based App Store badge */
.app-store-link {
    display: inline-block;
    line-height: 0;
}

.app-store-img {
    display: block;
    height: 40px;
    width: auto;
}

.hero .app-store-img {
    height: 80px;
}

/* Make HERO App Store button 2x size */
.hero .app-store-button {
    height: auto;
    min-height: 80px;
    padding: 0.8rem 1.2rem;
    gap: 1.25rem;
}

.hero .app-store-button svg {
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
}

.hero .app-store-button .badge-text .small {
    font-size: 14px;
}

.hero .app-store-button .badge-text .big {
    font-size: 22px;
}

.hero .app-store-button .badge-text {
    line-height: 1.05;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.beta-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 500;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    animation: slideUp 1s ease 0.3s both;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

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

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 600px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    animation: slideUp 1s ease 0.5s both;
}

.spots-remaining {
    font-size: 0.95rem;
    opacity: 0.95;
    margin-bottom: 1rem;
    animation: slideUp 1s ease 0.7s both;
}

.spots-count {
    font-weight: 700;
    color: var(--accent-cyan-light);
    font-size: 1.1rem;
    text-shadow: 0 0 10px rgba(76, 201, 240, 0.5);
}

.trust-indicators {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
    animation: slideUp 1s ease 0.9s both;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Enhanced form styling */
.email-form {
    display: flex;
    gap: 1rem;
    max-width: 600px; /* Increased from 500px to give more space */
    margin: 0 auto 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.email-input {
    flex: 1;
    min-width: 320px; /* Increased from 250px to prevent clipping */
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.email-input:focus {
    outline: none;
    border-color: var(--accent-red);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.2), 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.cta-button {
    padding: 1rem 2.5rem;
    background: var(--gradient-accent);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.4);
}

.cta-button:hover::before {
    left: 100%;
}

/* Sections */
section {
    padding: 80px 0;
}

/* Solution section - Screenshot Gallery */
.solution-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.solution-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23f1f5f9' fill-opacity='0.5'%3E%3Cpath d='M20 20c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm0-20c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8z'/%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.3;
}

.solution-section .container {
    position: relative;
    z-index: 2;
}

.solution-section .section-title {
    margin-bottom: 1.5rem;
}

.value-statement {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-light);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    font-weight: 400;
}

/* Screenshot Gallery */
.screenshot-gallery {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* Desktop: Horizontal layout */
.screenshots-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: flex-start;
    padding: 0 2rem;
}

.screenshot-item {
    flex: 1;
    max-width: 320px; /* Even larger for better visibility */
    text-align: center;
}

.screenshot-frame {
    background: #000;
    border-radius: 30px; /* Increased radius for better iPhone look */
    padding: 3px; /* Slightly thicker for desktop */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
    display: inline-block; /* Let content determine size */
}

.screenshot-frame:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.screenshot-frame img {
    width: 100%;
    height: auto; /* Let natural height show */
    border-radius: 27px; /* Adjusted for 3px padding (30-3=27) */
    display: block;
    max-width: 314px; /* Constrain width but not height (320-6=314) */
}

.screenshot-caption {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.screenshot-description {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Mobile: Swiper layout */
.mobile-gallery {
    display: none;
    position: relative;
    max-width: 300px;
    margin: 0 auto;
    padding: 0 60px; /* Space for navigation arrows */
}

.mobile-screenshots {
    overflow: visible; /* Allow shadows to show */
    border-radius: 8px;
    position: relative;
}

.mobile-screenshot-track {
    display: flex;
    transition: transform 0.3s ease;
    width: 300%; /* 3 screenshots = 300% */
}

.mobile-screenshot-item {
    width: 33.333%; /* 1/3 of track width */
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.mobile-screenshot-item .screenshot-frame {
    margin: 0 auto 1rem;
    max-width: 160px; /* Smaller to fit with arrow space */
    width: 100%;
    border-radius: 30px; /* Match desktop border radius */
}

.mobile-screenshot-item .screenshot-frame img {
    border-radius: 27px; /* Match desktop inner radius */
}

/* Navigation arrows */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary-blue);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.gallery-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.gallery-nav.prev {
    left: 10px; /* Position within the padded area */
}

.gallery-nav.next {
    right: 10px; /* Position within the padded area */
}

/* Indicators */
.gallery-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1.5rem;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary-blue);
    transform: scale(1.2);
}

/* Final tagline */
.solution-tagline {
    margin-top: 3rem !important;
    font-weight: 700 !important;
    color: var(--accent-cyan) !important;
    font-size: 1.4rem !important;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 150, 199, 0.1);
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-cyan) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.feature-card:hover::before {
    opacity: 0.02;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--accent-cyan);
}

.feature-card > * {
    position: relative;
    z-index: 1;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.feature-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    font-weight: 400;
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.steps-gallery {
    margin-top: 4rem;
}

/* Desktop Steps Layout */
.steps-container {
    display: flex;
    gap: 3rem;
    justify-content: center;
    align-items: flex-start;
}

.step-item {
    flex: 1;
    max-width: 300px;
    text-align: center;
}

.step-screenshot-frame {
    background: #000;
    border-radius: 30px;
    padding: 3px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
    display: inline-block;
}

.step-screenshot-frame:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.step-screenshot-frame img {
    width: 100%;
    height: auto;
    border-radius: 27px;
    display: block;
    max-width: 294px; /* 300-6=294 for padding */
}

.step-content {
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.3);
}

.step-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.step-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Mobile Steps Gallery */
.mobile-steps-gallery {
    display: none;
    position: relative;
    max-width: 300px;
    margin: 0 auto;
    padding: 0 60px;
}

.mobile-steps-container {
    overflow: visible;
    border-radius: 8px;
    position: relative;
}

.mobile-steps-track {
    display: flex;
    transition: transform 0.3s ease;
    width: 300%; /* 3 steps = 300% */
}

.mobile-step-item {
    width: 33.333%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.mobile-step-item .step-screenshot-frame {
    margin: 0 auto 1.5rem;
    max-width: 200px;
    width: 100%;
}

.mobile-step-item .step-screenshot-frame img {
    max-width: 194px; /* 200-6=194 for padding */
}

/* Steps Navigation */
.steps-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary-blue);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.steps-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.steps-nav.prev {
    left: 10px;
}

.steps-nav.next {
    right: 10px;
}

/* Steps Indicators */
.steps-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1.5rem;
}

.step-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.step-indicator.active {
    background: var(--primary-blue);
    transform: scale(1.2);
}

/* Activities Section - Interactive Showcase */
.activities-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.activities-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 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.03'%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") repeat;
    opacity: 0.4;
}

.activities-section .container {
    position: relative;
    z-index: 2;
}

.activities-section .section-title {
    color: white;
    margin-bottom: 3rem;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.activity-tile {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.activity-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(230, 57, 70, 0.1), transparent);
    transition: left 0.6s ease;
}

.activity-tile:hover::before {
    left: 100%;
}

.activity-tile:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 1);
    border-color: var(--accent-red);
}

.activity-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    transition: all 0.3s ease;
    transform-origin: center;
}

.activity-tile:hover .activity-icon {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 4px 12px rgba(230, 57, 70, 0.3));
}

.activity-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.activity-description {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.activity-tile:hover .activity-description {
    opacity: 1;
    max-height: 100px;
    margin-top: 0.5rem;
}

/* User Stories - Enhanced Testimonials */
.user-stories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.story-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.story-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(76, 201, 240, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.story-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-cyan-light);
}

.story-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-accent);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.3);
    transition: all 0.3s ease;
    overflow: hidden;
}

.story-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
}

.story-card:hover .story-avatar {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(230, 57, 70, 0.4);
}

.story-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.story-achievement {
    background: var(--accent-cyan);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0, 150, 199, 0.3);
}

.story-text {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
    font-style: italic;
    position: relative;
    z-index: 1;
    margin-bottom: 1rem;
}

.story-rating {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-top: 1rem;
}

.star {
    color: #fbbf24;
    font-size: 1.2rem;
}

/* Beta Benefits Section - Early Access */
.beta-benefits {
    padding: 6rem 0;
    background: white;
    position: relative;
}

.beta-benefits .section-title {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.beta-benefits .section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.benefits-list {
    max-width: 800px;
    margin: 0 auto 4rem;
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(230, 57, 70, 0.1);
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem 0;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.benefit-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.benefit-item:first-child {
    padding-top: 0;
}

.benefit-item:hover {
    transform: translateX(8px);
    background: rgba(230, 57, 70, 0.02);
    margin: 0 -1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    border-radius: 12px;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.2);
}

.benefit-content {
    flex: 1;
}

.benefit-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.benefit-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.benefit-value {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-cyan-light) 100%);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 150, 199, 0.3);
}

.founding-member-highlight {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
}

.priority-support-highlight {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

/* Call to Action in Benefits */
.benefits-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 25px;
    border: 2px solid var(--accent-red);
}

.benefits-cta h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.benefits-cta p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.urgency-note {
    font-size: 0.95rem;
    color: var(--accent-red);
    font-weight: 600;
    margin-top: 1rem;
}

/* FAQ Section - Collapsible */
.faq-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.faq-section .section-title {
    color: var(--primary-blue);
    margin-bottom: 3rem;
}

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

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(230, 57, 70, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.faq-item.active {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.faq-question {
    padding: 1.5rem 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-blue);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question:hover {
    background: rgba(230, 57, 70, 0.02);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--accent-red);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    background: rgba(248, 250, 252, 0.5);
}

.faq-item.active .faq-answer {
    max-height: 600px; // Increased from 300px to accommodate content + spacing
    padding: 1rem 2rem 1rem 2rem; // Balanced padding, reduced bottom to let margin handle spacing
}

.faq-answer p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
    margin: 0;
    padding-top: 1rem;
    padding-left: 1.5rem; // Increased from 1rem
    padding-right: 1.5rem; // Increased from 1rem
}

.faq-answer p:last-child,
.faq-answer ul:last-child {
    margin-bottom: 1.5rem;
}

.faq-answer > *:last-child {
    margin-bottom: 2rem; // Increased from 1.5rem for more visible spacing
}

.faq-answer ul {
    margin: 1rem 0 1rem 1.5rem;
    padding-left: 1rem;
    color: var(--text-light);
    padding-right: 1.5rem;
}

.faq-answer li {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.faq-answer li:last-child {
    margin-bottom: 0;
}

.faq-answer li strong {
    color: var(--primary-blue);
    font-weight: 600;
}

/* FAQ Animation Enhancement */
.faq-item.active .faq-question {
    background: rgba(230, 57, 70, 0.02);
}

.faq-question::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
}

.faq-item.active .faq-question::before {
    width: 100%;
}

/* Final CTA Section */
.final-cta {
    background: var(--bg-white);
    padding: 6rem 0;
    text-align: center;
}

.final-cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.final-cta-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.countdown {
    margin-top: 2rem;
    font-size: 1.1rem;
    color: var(--primary-blue);
    font-weight: 600;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 3rem 0 2rem;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
    gap: 3rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.social-media {
    text-align: right;
}

.social-media h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.social-link span {
    font-size: 0.9rem;
    font-weight: 500;
}

.social-link.twitter:hover {
    background: rgba(29, 161, 242, 0.2);
    border-color: rgba(29, 161, 242, 0.4);
}

.social-link.instagram:hover {
    background: rgba(225, 48, 108, 0.2);
    border-color: rgba(225, 48, 108, 0.4);
}

.social-link.threads:hover {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.social-link.facebook:hover {
    background: rgba(24, 119, 242, 0.2);
    border-color: rgba(24, 119, 242, 0.4);
}

.social-link.tiktok:hover {
    background: rgba(255, 0, 80, 0.2);
    border-color: rgba(255, 0, 80, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.copyright {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.6;
}

.app-store-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-blue);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Problem Section */
.problem-section {
    background: var(--bg-white);
    padding-bottom: 0; /* Remove bottom padding completely */
}

.pain-points {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Force 4 columns on desktop */
    gap: 2rem;
    max-width: 1200px; /* Increase max-width to accommodate 4 cards */
    margin: 0 auto;
    margin-top: 4rem; /* Increased padding between title and cards */
}

.pain-point {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.pain-point:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--accent-cyan);
}

.pain-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.pain-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
}

          /* Basic responsive design */
          @media (max-width: 768px) {
              /* Prevent horizontal scroll */
              .container, .mobile-gallery {
                  box-sizing: border-box;
              }
              
              h1 { font-size: 2.5rem; }
              .section-title { font-size: 2rem; }
              .email-form { flex-direction: column; align-items: stretch; }
              .email-input { min-width: auto; }
              
              /* Mobile: Fix hero background (remove fixed attachment) */
              .hero-background {
                  background-attachment: scroll !important;
                  background: 
                      linear-gradient(135deg, rgba(11, 37, 69, 0.8) 0%, rgba(0, 150, 199, 0.7) 100%),
                      url('/assets/luxury-hero-bg.png?v=1') !important;
                  background-size: cover !important;
                  background-position: center center !important;
              }
              
              .container {
                  padding: 0 15px; /* Reduce container padding on mobile */
              }
              
              /* Mobile: pain points grid adjustment */
              .pain-points {
                  grid-template-columns: 1fr;
                  gap: 1.5rem;
              }
              
              /* Mobile: tighter spacing for trust indicators */
              .trust-indicators {
                  gap: 1rem; /* Reduce gap from 2rem to 1rem */
                  margin-top: 1.5rem; /* Reduce top margin slightly */
                  margin-bottom: 2rem; /* Add bottom padding after trust indicators */
              }
              
              /* Mobile: image extends to screen edges with NO vertical padding */
              .product-visual-section {
                  padding: 0 !important; /* Remove ALL padding on mobile, including bottom */
                  background: transparent; /* Remove background to blend seamlessly */
              }
              
              .product-visual-section .container {
                  padding: 0; /* Remove horizontal padding on mobile */
                  max-width: none; /* Allow full width */
              }
              
              .product-visual img { 
                  width: 120vw; /* 20% bigger than viewport width */
                  height: auto;
                  border-radius: 0; /* Remove border radius for edge-to-edge */
                  margin-left: calc(-60vw + 50%); /* Center the oversized image */
                  transform: scale(1.2); /* Scale up 20% for more vertical space */
                  transform-origin: center; /* Scale from center */
              }
              
              /* Mobile: Screenshot gallery */
              .screenshots-container {
                  display: none; /* Hide desktop gallery */
              }
              
              .mobile-gallery {
                  display: block; /* Show mobile gallery */
                  max-width: 100%;
                  width: 100%;
                  padding: 0 60px; /* Restore proper padding for arrows */
                  margin: 0 auto;
              }
              
              .gallery-nav.prev {
                  left: 15px; /* Position properly within padding */
              }
              
              .gallery-nav.next {
                  right: 15px;
              }
              
              .gallery-nav {
                  width: 40px;
                  height: 40px;
                  font-size: 16px;
              }
              
              .mobile-screenshot-item .screenshot-frame {
                  max-width: 180px; /* Increase size back up */
                  border-radius: 30px; /* Ensure consistent radius on mobile */
              }
              
              .mobile-screenshot-item .screenshot-frame img {
                  border-radius: 27px; /* Ensure consistent inner radius on mobile */
              }
              
              /* Features cards responsive */
              .features-grid {
                  grid-template-columns: 1fr;
                  gap: 1.5rem;
                  margin-top: 2rem;
              }
              
              .feature-card {
                  padding: 2rem 1.5rem;
              }
              
              .feature-icon {
                  font-size: 2.5rem;
                  margin-bottom: 1rem;
              }
              
              .feature-title {
                  font-size: 1.2rem;
              }
              
              /* How It Works responsive */
              .steps-container {
                  display: none; /* Hide desktop layout */
              }
              
              .mobile-steps-gallery {
                  display: block; /* Show mobile gallery */
                  max-width: 100%;
                  padding: 0 60px;
              }
              
              .steps-nav.prev {
                  left: 15px;
              }
              
              .steps-nav.next {
                  right: 15px;
              }
              
              .steps-nav {
                  width: 40px;
                  height: 40px;
                  font-size: 16px;
              }
              
              .mobile-step-item .step-screenshot-frame {
                  max-width: 180px;
              }
              
              .mobile-step-item .step-screenshot-frame img {
                  max-width: 174px;
              }
              
              .step-number {
                  width: 50px;
                  height: 50px;
                  font-size: 1.2rem;
                  margin-bottom: 1rem;
              }
              
              .step-title {
                  font-size: 1.1rem;
              }
              
              .step-description {
                  font-size: 0.9rem;
              }
              
              /* Activities Section mobile */
              .activities-grid {
                  grid-template-columns: 1fr;
                  gap: 1.5rem;
                  margin-bottom: 3rem;
              }
              
              .activity-tile {
                  padding: 2rem 1.5rem;
              }
              
              .activity-icon {
                  font-size: 2.5rem;
              }
              
              .activity-name {
                  font-size: 1.2rem;
              }
              
              .activity-description {
                  font-size: 0.9rem;
                  opacity: 1 !important;
                  max-height: none !important;
                  margin-top: 0.5rem !important;
              }
              
              .user-stories {
                  grid-template-columns: 1fr;
                  gap: 1.5rem;
              }
              
              .story-card {
                  padding: 2rem 1.5rem;
              }
              
              .story-avatar {
                  width: 70px;
                  height: 70px;
                  font-size: 1.8rem;
              }
              
              .story-avatar img {
                  width: 100%;
                  height: 100%;
                  object-fit: cover;
                  object-position: center;
              }
              
              .story-name {
                  font-size: 1.2rem;
              }
              
              .story-achievement {
                  font-size: 0.8rem;
                  padding: 0.25rem 0.8rem;
              }
              
              /* Beta Benefits mobile */
              .beta-benefits {
                  padding: 4rem 0;
              }
              
              .benefits-list {
                  padding: 2rem 1.5rem;
                  margin-bottom: 3rem;
              }
              
              .benefit-item {
                  padding: 1.5rem 0;
                  gap: 1rem;
              }
              
              .benefit-item:hover {
                  margin: 0 -1rem;
                  padding-left: 1rem;
                  padding-right: 1rem;
              }
              
              .benefit-icon {
                  width: 40px;
                  height: 40px;
                  font-size: 1.1rem;
              }
              
              .benefit-title {
                  font-size: 1.1rem;
              }
              
              .benefit-description {
                  font-size: 0.95rem;
              }
              
              .benefit-value {
                  font-size: 0.8rem;
                  padding: 0.25rem 0.7rem;
              }
              
              .benefits-cta {
                  padding: 2rem 1.5rem;
                  margin-top: 2rem;
              }
              
              .benefits-cta h3 {
                  font-size: 1.5rem;
              }
              
              .benefits-cta p {
                  font-size: 1rem;
              }
              
              /* FAQ Section mobile */
              .faq-section {
                  padding: 4rem 0;
              }
              
              .faq-container {
                  max-width: 100%;
                  padding: 0 0.5rem;
              }
              
              .faq-item {
                  margin-bottom: 0.75rem;
                  border-radius: 12px;
              }
              
              .faq-question {
                  padding: 1.25rem 1.5rem;
                  font-size: 1.1rem;
                  line-height: 1.4;
              }
              
              .faq-question::after {
                  font-size: 1.3rem;
                  margin-left: 0.75rem;
              }
              
              .faq-item.active .faq-answer {
                  max-height: 800px; // Increased from 400px
                  padding: 1rem 1.5rem 1rem 1.5rem;
              }
              
              .faq-answer p {
                  font-size: 0.95rem;
                  line-height: 1.5;
                  padding-left: 1rem; // Increased from 0.5rem
                  padding-right: 1rem; // Increased from 0.5rem
              }
              
              .faq-answer ul {
                  margin: 0.75rem 0 0.75rem 1rem;
                  padding-left: 0.75rem;
                  padding-right: 1rem;
              }
              
              .faq-answer li {
                  font-size: 0.95rem;
                  line-height: 1.5;
                  margin-bottom: 0.5rem;
              }
              
              .faq-answer > *:last-child {
                  margin-bottom: 1.5rem; // Slightly less on mobile for compact layout
              }
              
              /* Footer mobile */
              footer {
                  padding: 2rem 0 1.5rem;
              }
              
              .footer-content {
                  flex-direction: column;
                  gap: 2rem;
                  margin-bottom: 2rem;
                  text-align: center;
                  align-items: center;
                  justify-content: center;
              }
              
              .footer-links {
                  align-items: center;
                  justify-content: center;
                  gap: 1rem;
                  width: 100%;
              }
              
              .footer-links a {
                  font-size: 0.95rem;
                  padding: 0.75rem 1rem;
              }

              .social-media {
                  text-align: center;
                  width: 100%;
                  display: flex;
                  flex-direction: column;
                  align-items: center;
                  justify-content: center;
              }

              .social-media h3 {
                  text-align: center;
                  width: 100%;
              }

              .social-links {
                  justify-content: center;
                  flex-wrap: wrap;
                  gap: 0.75rem;
                  width: 100%;
                  display: flex;
              }

              .social-link {
                  padding: 0.5rem 0.75rem;
                  font-size: 0.85rem;
              }

              .social-link span {
                  display: none;
              }

              .social-link svg {
                  width: 24px;
                  height: 24px;
              }

              .footer-bottom {
                  flex-direction: column;
                  gap: 1rem;
                  text-align: center;
                  align-items: center;
                  justify-content: center;
                  width: 100%;
              }

              .copyright {
                  font-size: 0.9rem;
                  margin: 0;
                  padding: 0 1rem;
                  text-align: center;
              }

              .app-store-badge {
                  padding: 0.875rem 1.5rem;
                  font-size: 0.95rem;
                  text-align: center;
              }
              
              /* Final CTA mobile */
              .final-cta {
                  padding: 4rem 0;
              }
              
              .final-cta-content h2 {
                  font-size: 2rem;
                  line-height: 1.3;
              }
              
              .final-cta-subtitle {
                  font-size: 1.1rem;
                  padding: 0 1rem;
              }
              
              .countdown {
                  font-size: 1rem;
              }
          }
