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

:root {
    /* Color Palette - Bright & Vibrant */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #ec4899;
    --secondary-dark: #db2777;
    --accent: #f59e0b;
    --accent-light: #fbbf24;
    --success: #10b981;
    --purple: #a855f7;
    --blue: #3b82f6;
    --pink: #ec4899;
    --orange: #f97316;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #ec4899 100%);
    --gradient-card: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    
    /* Text Colors */
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --text-white: #ffffff;
    
    /* Background */
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-dark: #111827;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-display: 'Playfair Display', 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);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Prevent text size adjustment on iOS */
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Responsive images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Responsive container padding */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
}

/* Navigation - elevated bar that pops */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 1px 0 rgba(0, 0, 0, 0.04);
    border-bottom: 2px solid rgba(99, 102, 241, 0.25);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo-image {
    height: 95.76px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.logo-icon {
    font-size: 2rem;
    display: none; /* Hide old icon if still present */
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    padding-bottom: 0.2rem;
    align-items: flex-end;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.125rem;
    letter-spacing: 0.01em;
    transition: color 0.2s ease, opacity 0.2s ease;
}

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

.nav-cta {
    display: flex;
    gap: var(--spacing-sm);
    align-items: flex-end;
    padding-bottom: 0.5rem;
}

.navbar .btn-primary {
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.35);
}

.navbar .btn-primary:hover {
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.45);
}

.navbar .btn-outline {
    border-width: 2px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

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

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(99, 102, 241, 0.8);
}

.btn-outline:hover {
    background: rgba(99, 102, 241, 0.08);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-hero-primary {
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    box-shadow: var(--shadow-xl);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-2xl);
}

.btn-hero-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border: 2px solid var(--primary);
}

.btn-hero-secondary:hover {
    background: var(--primary);
    color: var(--text-white);
}

.btn-cta {
    background: var(--gradient-accent);
    color: var(--text-white);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    box-shadow: var(--shadow-xl);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-2xl);
}

/* Pricing Section - products sold on static front end */
.pricing-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.pricing-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.pricing-base {
    margin-bottom: var(--spacing-lg);
}

.pricing-base .product-card-base {
    max-width: 28rem;
}

.pricing-ai-intro {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    max-width: 36rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    align-items: stretch;
}

/* Match accounts app pricing page card style (ck-card) */
.pricing-section .product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.5rem 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.pricing-section .product-card:hover {
    border-color: #c7d2fe;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
}

.product-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.product-card-desc {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
    margin-top: 0.25rem;
}

.product-card-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #6366f1;
    margin-top: 0.75rem;
    margin-bottom: 0;
}

.product-card-period {
    font-size: 0.875rem;
    font-weight: 400;
    color: #6b7280;
}

.pricing-section .product-cta {
    display: inline-block;
    margin-top: auto;
    padding-top: 1rem;
    text-align: center;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.hero .scrolling-dashboard-bg {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 80vh; /* Increased from 70vh to accommodate 30% larger images */
    min-height: 80%; /* Increased from 70% */
    opacity: 0.6 !important;
    overflow: hidden;
    z-index: 1;
}

.hero .scrolling-images-container {
    display: flex;
    align-items: center;
    height: 100%;
    width: fit-content;
    gap: 2rem;
    animation: scroll-left 90s linear infinite;
    will-change: transform;
}

.hero .scrolling-image {
    flex-shrink: 0;
    height: 130%; /* Increased by 30% - images will be 30% taller */
    width: auto;
    min-width: 260px; /* Increased by 30% from 200px */
    max-width: 390px; /* Increased by 30% from 300px */
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .hero .scrolling-dashboard-bg {
        height: 80vh; /* Increased from 70vh to accommodate larger images */
    }
    
    .hero .scrolling-images-container {
        gap: 1.5rem;
    }
    
    .hero .scrolling-image {
        border-radius: 4px;
    }
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 20s infinite ease-in-out;
    z-index: 0;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--gradient-primary);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--gradient-accent);
    bottom: -150px;
    right: -150px;
    animation-delay: 5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #a855f7 0%, #3b82f6 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-content-background {
    position: absolute;
    top: -30px;
    left: -45px;
    right: -45px;
    bottom: -30px;
    background: rgba(249, 250, 251, 0.8);
    border-radius: 1rem;
    z-index: -1;
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-md);
}

.badge-icon {
    display: inline-flex;
    align-items: center;
}
.badge-icon img {
    display: block;
    width: 24px;
    height: 24px;
    /* Tint black SVG to primary */
    filter: invert(48%) sepia(79%) saturate(2476%) hue-rotate(226deg) brightness(98%) contrast(92%);
}

.hero-title {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-links {
    margin-top: calc(var(--spacing-md) * -1);
    margin-bottom: var(--spacing-lg);
}

.hero-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dashed rgba(99, 102, 241, 0.4);
}

.hero-links a:hover {
    color: var(--primary);
    border-bottom-color: rgba(99, 102, 241, 0.8);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Section Styles */
section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    background: var(--bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.feature-card {
    background: var(--bg-primary);
    padding: var(--spacing-md);
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary);
}

.feature-icon {
    margin-bottom: var(--spacing-sm);
}
.feature-icon img {
    display: block;
    width: 3rem;
    height: 3rem;
    filter: invert(48%) sepia(79%) saturate(2476%) hue-rotate(226deg) brightness(98%) contrast(92%);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Plan Your Story card: hover preview with explosion-out animation */
.feature-card-plan-preview {
    position: relative;
    overflow: visible;
    z-index: 1;
}

.feature-card-plan-preview:hover {
    z-index: 100;
}

.feature-card-preview {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.2);
    width: 200%;
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease-out, transform 0.35s ease-out, visibility 0.35s;
    transform-origin: center center;
    z-index: 10;
    pointer-events: none;
}

.feature-card-plan-preview:hover .feature-card-preview {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.feature-card-preview-standard-size .feature-card-preview {
    width: 350%;
}

.feature-card-preview-70 .feature-card-preview {
    width: 110%;
}

.feature-card-preview-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: var(--shadow-2xl);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

/* Formats Section */
.formats {
    background: var(--bg-secondary);
}

/* Wider container for formats section - 30% wider than default */
.formats .container {
    max-width: 1560px; /* 30% wider than 1200px */
}

.formats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.formats-grid-horizontal {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem; /* Increased gap from 2rem to 2.5rem for better spacing */
}

.format-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-primary);
    padding: 2.25rem; /* Increased from 2rem for more internal space */
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s;
    border-top: 4px solid;
    min-width: 0; /* Prevents grid overflow issues */
}

.format-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl);
}

/* Unified border color for all format cards (consistency) */
.format-novel,
.format-short,
.format-children,
.format-comic {
    border-top-color: var(--primary);
}

.format-icon {
    margin-bottom: var(--spacing-sm);
}
.format-icon img {
    display: block;
    width: 3rem;
    height: 3rem;
    filter: invert(48%) sepia(79%) saturate(2476%) hue-rotate(226deg) brightness(98%) contrast(92%);
}

.format-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.format-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

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

.format-features li {
    padding: var(--spacing-xs) 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.format-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

.format-pricing {
    margin-top: auto;
    margin-bottom: 0;
    padding: var(--spacing-md) 0 var(--spacing-sm);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.format-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
}

.price-period {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.format-actions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-md);
}

.btn-format-try {
    background: var(--accent);
    color: var(--bg-primary);
    width: 100%;
    text-align: center;
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    border: none;
}

.btn-format-try:hover {
    background: var(--accent-light);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-format-subscribe {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    width: 100%;
    text-align: center;
    padding: 0.875rem 1.5rem;
    font-weight: 600;
}

.btn-format-subscribe:hover {
    background: var(--primary);
    color: var(--text-white);
    transform: translateY(-2px);
}

/* AI Power Section */
.ai-power {
    background: var(--gradient-hero);
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

.ai-power .section-title,
.ai-power .section-subtitle {
    color: var(--text-white);
}

.ai-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.ai-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    color: rgba(255, 255, 255, 0.9);
}

.ai-models {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.ai-model-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.ai-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
}

.ai-benefit {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-weight: 500;
}

.benefit-icon {
    display: inline-flex;
    align-items: center;
}
.benefit-icon img {
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
}
/* AI section: white icons on purple gradient */
.ai-power .benefit-icon img {
    filter: brightness(0) invert(1);
}

.ai-visual {
    display: flex;
    justify-content: center;
}

.ai-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: var(--spacing-md);
    width: 100%;
    max-width: 400px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ai-card-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: var(--spacing-md);
}

.ai-card-dots {
    display: flex;
    gap: 0.5rem;
}

.ai-card-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
}

.ai-card-content {
    color: var(--text-white);
}

.ai-prompt {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--spacing-sm);
    border-radius: 0.5rem;
    margin-bottom: var(--spacing-sm);
    font-style: italic;
}

.ai-response {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--spacing-sm);
    border-radius: 0.5rem;
    min-height: 100px;
}

.typing-indicator {
    display: flex;
    gap: 0.5rem;
    padding: var(--spacing-sm);
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    animation: typing 1.4s infinite;
}

/* AI section: in-section package cards (smaller, purply blend) */
.ai-packages-wrap {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
}
.ai-packages-intro {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    text-align: center;
}
.ai-packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    align-items: stretch;
}
.ai-power .ai-package-card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 0.75rem;
    padding: 1rem 1.1rem;
    min-height: 100%;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.ai-power .ai-package-card:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.25);
}
/* Uniform two-line title slot so all cards align */
.ai-power .ai-package-card .product-card-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-white);
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
    min-height: 2.6em;
    flex-shrink: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* Uniform price row so costs align across cards */
.ai-power .ai-package-card .product-card-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 0.75rem 0;
    min-height: 1.5rem;
    flex-shrink: 0;
}
.ai-power .ai-package-card .product-card-period {
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}
/* Uniform list so bullets and text align across cards */
.ai-power .ai-package-card .product-card-features {
    list-style: none;
    padding: 0 0 0 0;
    margin: 0 0 1rem 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.9);
    flex: 1 1 auto;
}
.ai-power .ai-package-card .product-card-features li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.35rem;
    word-wrap: break-word;
}
.ai-power .ai-package-card .product-card-features li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 700;
}
.ai-power .btn-ai-card {
    margin-top: auto;
    padding: 0.5rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 600;
    background: transparent;
    color: var(--text-white);
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    border-radius: 0.5rem;
    text-align: center;
    transition: background 0.2s, border-color 0.2s;
}
.ai-power .btn-ai-card:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.9);
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* Publishing Section */
.publishing {
    background: var(--bg-primary);
}

.publishing-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-lg);
    position: relative;
}

.publishing-option {
    position: relative;
    background: rgba(249, 250, 251, 0.7);
    padding: var(--spacing-lg);
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s;
    overflow: hidden;
}

.publishing-option:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl);
}

.publishing-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
}

.logo-image-footer {
    height: 87.5px;
    width: auto;
    max-width: 100%;
    margin-bottom: var(--spacing-sm);
    object-fit: contain;
}

.publishing-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

#publishing .publishing-option:first-child .publishing-title,
#publishing .publishing-option:last-child .publishing-title {
    margin-top: calc(1rem + 40% + (60% - 1rem) / 2);
}

.publishing-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.publishing-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    justify-content: center;
}

.platform-badge {
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.publishing-options-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
    text-align: left;
}

.option-item {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Publishing Background Animations */
#publishing .publishing-option {
    position: relative;
}

#publishing .publishing-bg-scrolling {
    position: absolute;
    top: 1rem;
    left: 0;
    width: 100%;
    height: 40%;
    opacity: 0.5 !important;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

#publishing .publishing-scrolling-images-container {
    display: flex;
    align-items: center;
    height: 100%;
    width: fit-content;
    gap: 1rem;
    animation: scroll-novels-left 50s linear infinite;
    will-change: transform;
}

#publishing .publishing-scrolling-images-container img {
    flex-shrink: 0;
    height: 100%;
    width: auto;
    min-width: 150px;
    max-width: 200px;
    object-fit: contain;
    display: block;
    border-radius: 8px;
}

@keyframes scroll-novels-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.publishing-bg-zooming-container {
    position: absolute;
    top: 1rem;
    left: 0;
    width: 100%;
    height: 40%;
    z-index: 1;
    pointer-events: none;
    overflow: visible;
}

.publishing-bg-zooming {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scale(0);
    width: 24%;
    height: 100%;
    min-width: 120px;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    will-change: transform, opacity;
}

.publishing-bg-zooming img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 12px;
}

.publishing-bg-zooming.active {
    animation: zoom-novel-explode 4s ease-in-out forwards;
}

#printOnDemandBg1.active {
    animation: zoom-novel-explode-left 4s ease-in-out forwards;
}

#printOnDemandBg1:not(.active) {
    transform: translateX(-50%) scale(0);
    opacity: 0;
}

#printOnDemandBg2.active {
    animation: zoom-novel-explode-center 4s ease-in-out forwards;
}

#printOnDemandBg2:not(.active) {
    transform: translateX(-50%) scale(0);
    opacity: 0;
}

#printOnDemandBg3.active {
    animation: zoom-novel-explode-right 4s ease-in-out forwards;
}

#printOnDemandBg3:not(.active) {
    transform: translateX(-50%) scale(0);
    opacity: 0;
}

@keyframes zoom-novel-explode-left {
    0% {
        transform: translateX(-50%) scale(0);
        opacity: 0;
    }
    20% {
        opacity: 0.5;
    }
    50% {
        transform: translateX(-170%) scale(1);
        opacity: 0.5;
    }
    80% {
        opacity: 0.5;
    }
    100% {
        transform: translateX(-170%) scale(1);
        opacity: 0;
    }
}

@keyframes zoom-novel-explode-center {
    0% {
        transform: translateX(-50%) scale(0);
        opacity: 0;
    }
    20% {
        opacity: 0.5;
    }
    50% {
        transform: translateX(-50%) scale(1);
        opacity: 0.5;
    }
    80% {
        opacity: 0.5;
    }
    100% {
        transform: translateX(-50%) scale(1);
        opacity: 0;
    }
}

@keyframes zoom-novel-explode-right {
    0% {
        transform: translateX(-50%) scale(0);
        opacity: 0;
    }
    20% {
        opacity: 0.5;
    }
    50% {
        transform: translateX(70%) scale(1);
        opacity: 0.5;
    }
    80% {
        opacity: 0.5;
    }
    100% {
        transform: translateX(70%) scale(1);
        opacity: 0;
    }
}

.publishing-icon,
.publishing-title,
.publishing-description,
.publishing-platforms,
.publishing-options-list {
    position: relative;
    z-index: 2;
}

/* Testimonials Section */
.testimonials {
    background: var(--bg-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.testimonial-card {
    background: var(--bg-primary);
    padding: var(--spacing-md);
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl);
}

.testimonial-content {
    margin-bottom: var(--spacing-md);
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.author-avatar img {
    display: block;
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1);
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
}

.author-role {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* CTA Section */
.cta {
    background: var(--gradient-hero);
    color: var(--text-white);
    text-align: center;
    padding: var(--spacing-xl) 0;
}

.cta-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.cta-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
}

.signup-form {
    max-width: 600px;
    margin: 0 auto var(--spacing-md);
}

.form-group {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.form-group input {
    flex: 1;
    padding: 1rem;
    border-radius: 0.5rem;
    border: none;
    font-size: 1rem;
    font-family: var(--font-primary);
    /* Prevent zoom on iOS when focusing input */
    font-size: 16px;
}

/* Prevent zoom on iOS for inputs */
@media (max-width: 768px) {
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px !important;
    }
}

.form-note {
    font-size: 0.9rem;
    opacity: 0.8;
}

.cta-links {
    margin-top: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.cta-links a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.5);
}

.cta-links a:hover {
    color: rgba(255, 255, 255, 1);
    border-bottom-color: rgba(255, 255, 255, 0.9);
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-top: var(--spacing-md);
}

.cta-feature {
    font-weight: 500;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

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

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 0.25rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

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

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

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

/* Responsive Design - Mobile First Approach */

/* Extra Small Devices (phones, 320px - 480px) */
@media (max-width: 480px) {
    /* Navigation */
    .navbar {
        padding: 0.75rem 0;
    }
    
    .logo-image {
        height: 64.8px;
    }
    
    .nav-content {
        flex-wrap: wrap;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        gap: 0.5rem;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 0.75rem 1rem;
        border-radius: 0.5rem;
    }
    
    .nav-links a:hover {
        background: rgba(99, 102, 241, 0.1);
    }
    
    .nav-cta {
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
        gap: 0.5rem;
    }
    
    .nav-cta .btn {
        width: 100%;
        text-align: center;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Hero Section */
    .hero {
        min-height: auto;
        padding-top: 70px;
        padding-bottom: 3rem;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero-links {
        margin-top: 0;
        margin-bottom: 1.5rem;
    }
    
    .hero-links a {
        font-size: 0.9rem;
        display: block;
        padding: 0.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    /* Gradient Orbs - Smaller on mobile */
    .orb-1 {
        width: 300px;
        height: 300px;
    }
    
    .orb-2 {
        width: 250px;
        height: 250px;
    }
    
    .orb-3 {
        width: 200px;
        height: 200px;
    }
    
    /* Sections */
    section {
        padding: 2.5rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    
    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-icon img {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .feature-title {
        font-size: 1.25rem;
    }
    
    .feature-description {
        font-size: 0.95rem;
    }
    
    /* Formats */
    .formats-grid,
    .formats-grid-horizontal {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .format-actions {
        gap: 0.75rem;
    }
    
    .format-price {
        font-size: 1.75rem;
    }
    
    .format-card {
        padding: 1.25rem;
    }
    
    .format-description {
        font-size: 0.95rem;
    }
    
    .format-features {
        font-size: 0.9rem;
    }
    
    .format-card {
        padding: 1.5rem;
    }
    
    .format-icon img {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .format-title {
        font-size: 1.25rem;
    }
    
    /* AI Power Section */
    .ai-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .ai-description {
        font-size: 1rem;
    }
    
    .ai-benefits {
        grid-template-columns: 1fr;
    }
    
    .ai-card {
        max-width: 100%;
    }
    
    /* Publishing */
    .publishing-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .publishing-option {
        padding: 1.5rem;
    }
    
    .publishing-icon {
        font-size: 3rem;
    }
    
    .publishing-title {
        font-size: 1.5rem;
    }
    
    .publishing-options-list {
        grid-template-columns: 1fr;
    }
    
    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    /* CTA Section */
    .cta {
        padding: 2.5rem 0;
    }
    
    .cta-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .cta-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .signup-form {
        margin-bottom: 1rem;
    }
    
    .form-group {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .form-group input {
        padding: 0.875rem 1rem;
        font-size: 1rem;
    }
    
    .btn-cta {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
    
    /* Signup Section */
    .signup-content {
        padding: 1.5rem;
    }
    
    .signup-title {
        font-size: 2rem;
    }
    
    .signup-subtitle {
        font-size: 1rem;
    }
    
    .oauth-buttons {
        gap: 0.75rem;
    }
    
    .btn-oauth {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 0 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .logo-image-footer {
        height: 60px;
    }
    
    .footer-tagline {
        text-align: center;
    }
    
    .footer-links {
        text-align: center;
    }
}

/* Small Devices (large phones, 481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    /* Navigation */
    .logo-image {
        height: 79.2px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: var(--shadow-lg);
        gap: 0.75rem;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 0.875rem 1.25rem;
        border-radius: 0.5rem;
    }
    
    .nav-cta {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .nav-cta .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }
    
    /* Hero */
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        flex: 1;
        min-width: 200px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 2rem;
    }
    
    /* Sections */
    .section-title {
        font-size: 2.25rem;
    }
    
    /* Grids */
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .formats-grid,
    .formats-grid-horizontal {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    /* AI Content */
    .ai-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    /* Publishing */
    .publishing-content {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .logo-image-footer {
        height: 70px;
    }
}

/* Medium Devices (tablets, 769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .logo-image {
        height: 86.4px;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
    
    .nav-links a {
        font-size: 0.95rem;
    }
    
    .nav-cta .btn {
        padding: 0.7rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .hero-title {
        font-size: 3.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.15rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .formats-grid,
    .formats-grid-horizontal {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ai-content {
        gap: 2rem;
    }
    
    .publishing-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .formats-grid-horizontal {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem; /* Keep larger gap even on large desktop */
    }
    
    /* Even wider container on large desktop */
    .formats .container {
        max-width: 1600px;
    }
    
    .logo-image-footer {
        height: 80px;
    }
}

/* Small Desktop (1025px - 1200px) */
@media (min-width: 1025px) and (max-width: 1200px) {
    .container {
        max-width: 1100px;
        padding: 0 1.75rem;
    }
    
    /* Formats section wider on small desktop too */
    .formats .container {
        max-width: 1400px; /* 30% wider than 1100px */
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.75rem;
    }
}

/* Large Desktop (1201px+) - Default styles apply */

/* Touch-friendly improvements for all mobile devices */
@media (hover: none) and (pointer: coarse) {
    /* Ensure buttons are touch-friendly (minimum 44x44px) */
    .btn {
        min-height: 44px;
        min-width: 44px;
        padding: 0.875rem 1.5rem;
    }
    
    .nav-links a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    /* Remove hover effects on touch devices */
    .feature-card:hover,
    .format-card:hover,
    .testimonial-card:hover,
    .publishing-option:hover {
        transform: none;
    }
    
    /* Improve tap targets */
    .hero-links a,
    .cta-links a {
        padding: 0.5rem;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    /* Better touch feedback */
    .btn:active {
        transform: scale(0.98);
    }
    
    .nav-links a:active {
        background: rgba(99, 102, 241, 0.15);
    }
}

/* Landscape orientation adjustments for mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding-top: 60px;
        padding-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .logo-image {
        height: 57.6px;
    }
}

/* High DPI / Retina display optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-image,
    .logo-image-footer {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Signup CTA Buttons */
.signup-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    align-items: center;
    margin-top: var(--spacing-md);
}

.btn-signup-primary {
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s;
    width: 100%;
    max-width: 300px;
    text-align: center;
    display: inline-block;
}

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

.btn-signup-secondary {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    margin-top: var(--spacing-xs);
}

.btn-signup-secondary:hover {
    text-decoration: underline;
}

/* Print styles */
@media print {
    .navbar,
    .nav-cta,
    .hero-cta,
    .cta,
    .footer {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    section {
        page-break-inside: avoid;
    }
}

