:root {
    /* Enhanced color scheme inspired by introversion.ai */
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-card: #334155;
    --bg-hover: #475569;
    --border: #475569;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;

    /* Enhanced accent colors */
    --accent-primary: #667eea;
    --accent-secondary: #764ba2;
    --accent-tertiary: #8b5cf6;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    /* Modern gradients inspired by introversion.ai */
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --gradient-accent: linear-gradient(135deg, #8b5cf6 0%, #a855f7 50%, #c084fc 100%);

    /* Enhanced shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    /* Enhanced transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

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

/* Header */
.header {
    background: linear-gradient(180deg, #0f172a 0%, #0a0f1b 100%);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 99;
    backdrop-filter: blur(10px);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.logo-icon::before {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    background: white;
    border-radius: 50%;
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.3),
        0 0 8px rgba(255, 255, 255, 0.8),
        0 0 16px rgba(255, 255, 255, 0.4);
    animation: logo-pulse 2s ease-in-out infinite;
}

@keyframes logo-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }
}

.logo-icon:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all var(--transition-normal);
}

/* Header Navigation */
.header-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    background: var(--gradient);
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-link:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.back-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.back-link:hover {
    color: var(--accent-primary);
    text-decoration: none;
}

.back-link:before {
    content: "←";
}

.sign-in-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.sign-in-link:hover {
    border-color: var(--accent-primary);
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 40% 40%, rgba(59, 130, 246, 0.08) 0%, transparent 60%);
    animation: gentle-pulse 8s ease-in-out infinite;
}

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

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-left {
    text-align: left;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.language-support {
    font-size: 0.9rem !important;
    color: var(--text-muted) !important;
    margin-bottom: 1.5rem !important;
    font-style: italic;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-cta .btn {
    flex: 1;
    text-align: center;
}

/* Example Card Styles */
.example-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(102, 126, 234, 0.1);
}

.example-header {
    margin-bottom: 1rem;
}

.example-badge {
    background: var(--gradient);
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.example-before,
.example-after {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 0.75rem;
}

.example-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.example-title-before {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.example-title-after {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.example-tags-before,
.example-tags-after {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.tag-small {
    background: var(--bg-hover);
    color: var(--text-secondary);
    padding: 0.25rem 0.625rem;
    border-radius: 12px;
    font-size: 0.75rem;
}

.example-description-after {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.5;
    margin-top: 0.75rem;
}

.example-arrow {
    text-align: center;
    margin: 1rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.example-arrow svg {
    color: var(--accent-primary);
    animation: bounce-arrow 2s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(102, 126, 234, 0.5));
}

@keyframes bounce-arrow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(6px);
    }
}

.example-meta {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

.meta-badge {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    padding: 0.25rem 0.625rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Example Toggle (Etsy/Amazon) */
.example-toggle {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    background: rgba(15, 23, 42, 0.8);
    padding: 0.375rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.example-toggle-btn {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.example-toggle-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.example-toggle-btn.active {
    background: var(--accent-primary);
    color: white;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.example-toggle-btn.active[data-example="amazon"] {
    background: #c77800;
    box-shadow: 0 2px 8px rgba(199, 120, 0, 0.3);
}

/* Amazon Example Styles */
.example-amazon .example-badge {
    background: linear-gradient(135deg, #c77800 0%, #ff9900 100%);
}

.example-bullets-after {
    margin-bottom: 0.75rem;
}

.example-bullet {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 0.5rem 0.75rem;
    background: var(--bg-hover);
    border-radius: 6px;
    margin-bottom: 0.375rem;
    border-left: 3px solid #ff9900;
}

.example-keywords-after {
    background: var(--bg-hover);
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    margin-top: 0.5rem;
}

.keywords-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

.keywords-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Responsive for hero */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-left {
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-cta {
        justify-content: center;
    }
}

.btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--text-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.875rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    margin: 0.5rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    vertical-align: middle;
    line-height: normal;
}

.btn::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;
}

.btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--text-white);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.btn:hover::before {
    left: 100%;
}

.btn.disabled {
    background: var(--gradient);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    opacity: 0.7;
    cursor: not-allowed;
    backdrop-filter: blur(10px);
}

.btn.disabled:hover {
    opacity: 0.7;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--text-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--text-white);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

/* Image Showcase Section */
.image-showcase {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.image-showcase-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.image-showcase-right h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.image-showcase-right > p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.image-features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.image-features-list li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}

.image-features-list li:last-child {
    border-bottom: none;
}

.image-features-list strong {
    color: var(--text-primary);
}

.image-showcase-cta .credit-badge {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.image-comparison-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-primary);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--border);
}

.comparison-side {
    flex: 1;
    text-align: center;
}

.comparison-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    min-height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comparison-img {
    width: 100%;
    height: 280px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: var(--bg-primary);
}

.comparison-img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.image-showcase-disclaimer {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.75rem;
    font-style: italic;
}

/* Video Showcase */
.video-showcase {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.video-showcase .image-showcase-content {
    grid-template-columns: 0.7fr 1.3fr;
}

.video-example-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.video-example-grid-3 {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.75rem;
}

.video-example-item {
    position: relative;
}

.video-example-item img,
.video-example-item video {
    width: 100%;
    border-radius: 12px;
    display: block;
}

.video-example-label {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.new-badge {
    display: inline-block;
    background: var(--gradient);
    color: white;
    -webkit-text-fill-color: white;
    -webkit-background-clip: unset;
    background-clip: unset;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    margin-left: 0.5rem;
    vertical-align: middle;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Video carousel - hidden on desktop */
.video-carousel-dots,
.video-carousel-hint {
    display: none;
}

.credit-badge-inline {
    -webkit-text-fill-color: white;
    -webkit-background-clip: unset;
    background-clip: unset;
    font-size: 0.6rem;
    padding: 0.2rem 0.5rem;
    margin-left: 0.5rem;
    vertical-align: middle;
}

/* Image Lightbox */
.image-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* iOS viewport fix */
    height: 100dvh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    /* iOS touch optimization */
    -webkit-tap-highlight-color: transparent;
    touch-action: none;
    /* Prevent iOS overscroll */
    overscroll-behavior: contain;
}

.image-lightbox.active {
    display: flex;
}

.image-lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    /* iOS touch optimization */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    touch-action: pinch-zoom;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    /* iOS safe area support */
    top: max(1.5rem, env(safe-area-inset-top, 1.5rem));
    right: max(1.5rem, env(safe-area-inset-right, 1.5rem));
    color: white;
    font-size: 2rem;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background 0.2s ease;
    /* iOS touch target optimization */
    -webkit-tap-highlight-color: transparent;
}

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

/* Body scroll lock when lightbox is open */
body.lightbox-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

.comparison-arrow {
    color: var(--accent-primary);
    flex-shrink: 0;
    animation: arrow-bounce-right 1.5s ease-in-out infinite;
}

@keyframes arrow-bounce-right {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(6px);
    }
}

@media (max-width: 768px) {
    .image-showcase-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .image-showcase-right h2 {
        font-size: 1.75rem;
    }

    .image-comparison-card {
        flex-direction: column;
        padding: 1rem;
    }

    .comparison-arrow {
        animation: arrow-bounce-down 1.5s ease-in-out infinite;
    }

    .comparison-img {
        height: 180px;
    }

    /* Video showcase mobile */
    .video-showcase .image-showcase-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .video-showcase .image-showcase-right {
        order: 0 !important;
    }

    .video-showcase .image-showcase-left {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .video-example-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .video-example-grid-3 {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        gap: 0;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .video-example-grid-3::-webkit-scrollbar {
        display: none;
    }

    .video-example-grid-3 .video-example-item {
        flex: 0 0 100%;
        scroll-snap-align: center;
    }

    .video-example-label {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }

    .video-carousel-dots {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 1rem;
    }

    .video-carousel-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #9ca3af;
        border: none;
        padding: 0;
        cursor: pointer;
        transition: background 0.2s ease, transform 0.2s ease;
    }

    .video-carousel-dot.active {
        background: #6366f1;
        transform: scale(1.3);
    }

    .video-carousel-hint {
        display: block;
        text-align: center;
        font-size: 0.75rem;
        color: var(--text-secondary);
        margin-top: 0.5rem;
    }
}

@keyframes arrow-bounce-down {
    0%, 100% {
        transform: rotate(90deg) translateX(0);
    }
    50% {
        transform: rotate(90deg) translateX(6px);
    }
}

/* Features Section */
.features {
    padding: 4rem 0;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

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

.feature {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem 2rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    transition: all var(--transition-normal);
}

.feature-icon span {
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature:hover::before {
    opacity: 1;
}

.feature:hover {
    background: var(--bg-hover);
    border-color: var(--accent-tertiary);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.2);
}

.feature:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.5);
}

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

.feature p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Comparison Section */
.comparison {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.comparison h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.comparison-table {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
    border-bottom: 1px solid var(--border);
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-header {
    background: var(--bg-secondary);
    font-weight: 600;
}

.comparison-cell {
    padding: 0.75rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.comparison-cell.feature-name {
    text-align: left;
    justify-content: flex-start;
    font-weight: 500;
}

.comparison-cell.highlight {
    background: rgba(102, 126, 234, 0.1);
    border-left: 2px solid rgba(102, 126, 234, 0.4);
    border-right: 2px solid rgba(102, 126, 234, 0.4);
    color: var(--text-primary);
    font-weight: 700;
}

.comparison-header .comparison-cell.highlight {
    background: var(--gradient);
    color: white;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.4);
    font-weight: 700;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .comparison {
        padding: 2rem 0;
    }

    .comparison h2 {
        font-size: 1.75rem;
    }

    /* Hide desktop table on mobile */
    .comparison-table {
        display: none;
    }
}

/* Extra small mobile (< 480px) */
@media (max-width: 480px) {
    .hero-cta .btn {
        padding: 0.75rem 1rem;
        font-size: 1rem;
        white-space: nowrap;
    }

    /* Header nav mobile - smaller text for Blog + Sign In */
    .header-nav {
        gap: 0.75rem;
    }

    .nav-link,
    .sign-in-link {
        font-size: 0.8rem;
        padding: 0.4rem 0.7rem;
        white-space: nowrap;
    }

    /* Shorten logo text on mobile */
    .logo-studio {
        display: none;
    }
}

/* Very small phones - shrink button text to fit */
@media (max-width: 360px) {
    .hero-cta .btn {
        padding: 0.75rem 0.75rem;
        font-size: 0.875rem;
        white-space: nowrap;
    }

    .header-nav {
        gap: 0.5rem;
    }

    .nav-link,
    .sign-in-link {
        font-size: 0.75rem;
        padding: 0.35rem 0.5rem;
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    /* Example card mobile fix - backdrop-filter doesn't work on Android */
    .example-card {
        background: rgba(15, 23, 42, 0.95) !important;
        backdrop-filter: none !important;
        border: 2px solid rgba(102, 126, 234, 0.5);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    /* Arrow animation mobile fix - make more visible and remove filter */
    .example-arrow {
        margin: 1.5rem 0;
    }

    .example-arrow svg {
        width: 32px;
        height: 32px;
        filter: none !important;
        background: rgba(102, 126, 234, 0.15);
        border-radius: 50%;
        padding: 8px;
    }
}

/* Pricing Section */
.pricing {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.pricing h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

/* Guarantee Link */
.guarantee-link {
    color: var(--accent-primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.guarantee-link:hover {
    text-shadow: 0 0 8px rgba(102, 126, 234, 0.6);
}

/* Money-Back Guarantee Badge */
.guarantee-badge {
    max-width: 500px;
    margin: 0 auto 2rem;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid var(--accent-primary);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.guarantee-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.guarantee-text {
    flex: 1;
}

.guarantee-text strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.guarantee-text p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem 1.75rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.pricing-card:hover {
    background: var(--bg-hover);
    border-color: var(--accent-tertiary);
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.25);
}

.pricing-card.featured {
    border-color: var(--accent-primary);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.pricing-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing-card li {
    padding: 0.4rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.pricing-card li:before {
    content: "✓";
    color: var(--success);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 2rem 0;
    text-align: center;
}

.footer p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.footer a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.footer a:hover {
    color: var(--accent-tertiary);
    text-shadow: 0 0 8px rgba(102, 126, 234, 0.6);
}

/* Credit Info Section */
.credit-info-container {
    text-align: center;
    margin-top: 3rem;
}

.credit-info-card {
    display: inline-block;
    background: rgba(102, 126, 234, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    padding: 1.25rem 2rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.credit-info-card strong {
    color: var(--text-primary);
    font-weight: 600;
}

.credit-info-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.credit-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(102, 126, 234, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 10px;
    padding: 0.75rem 1.25rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.credit-info-item strong {
    color: var(--text-primary);
}

.credit-info-icon {
    font-size: 1.1rem;
}

/* Accessibility - Focus Styles */
*:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

*:focus:not(:focus-visible) {
    outline: none;
}

*:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

.btn:focus-visible {
    outline: 3px solid var(--accent-primary);
    outline-offset: 3px;
}

a:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Skip to content link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--accent-primary);
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 0 0 4px 0;
    z-index: 1000;
    font-weight: 600;
    opacity: 0;
    transform: translateY(-100%);
    transition: all 0.3s ease;
}

.skip-link:focus {
    top: 0;
    opacity: 1;
    transform: translateY(0);
    outline: 3px solid white;
    outline-offset: -3px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .features h2,
    .pricing h2 {
        font-size: 2rem;
    }

    .feature-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    /* Disable feature card hover effects on mobile */
    .feature:hover {
        transform: none;
        background: var(--bg-card);
        border-color: var(--border);
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    }

    .feature:hover::before {
        opacity: 0;
    }

    .feature:hover .feature-icon {
        transform: none;
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    }

    /* Disable pricing card hover effects on mobile */
    .pricing-card:hover {
        transform: none;
        background: var(--bg-card);
        border-color: var(--border);
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    }

    .pricing-card:hover::before {
        opacity: 0;
    }

    .pricing-card.featured:hover {
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
        border-color: var(--accent-primary);
    }

    .logo-text {
        font-size: 16px;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
    }

    /* Bigger logo on home and portal pages */
    .page-home .logo-text,
    .page-portal .logo-text {
        font-size: 18px;
    }

    .page-home .logo-icon,
    .page-portal .logo-icon {
        width: 36px;
        height: 36px;
    }

    .logo-icon::before {
        width: 10px;
        height: 10px;
    }

    .back-link {
        font-size: 0.7rem;
        white-space: nowrap;
    }

    .back-link:before {
        display: none;
    }

    .credit-info-card {
        padding: 1rem 1.5rem;
        font-size: 0.875rem;
    }

    .credit-info-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .credit-info-item {
        padding: 0.6rem 0.75rem;
        font-size: 0.8rem;
        justify-content: center;
    }

    .credit-info-icon {
        font-size: 1rem;
    }
}

/* Extra small phones */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .feature-icon {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }

    .logo-text {
        font-size: 14px;
    }

    .logo-icon {
        width: 28px;
        height: 28px;
    }

    /* Bigger logo on home and portal pages */
    .page-home .logo-text,
    .page-portal .logo-text {
        font-size: 18px;
    }

    .page-home .logo-icon,
    .page-portal .logo-icon {
        width: 36px;
        height: 36px;
    }

    .back-link {
        font-size: 0.65rem;
    }

    .credit-info-card {
        padding: 1rem 1.25rem;
        font-size: 0.8rem;
    }

    .credit-info-item {
        padding: 0.5rem 0.6rem;
        font-size: 0.75rem;
    }

    .credit-info-icon {
        font-size: 0.9rem;
    }
}

/* iPhone SE and very small phones */
@media (max-width: 375px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    .container {
        padding: 0 1rem;
    }

    .logo-text {
        font-size: 13px;
    }

    .logo-icon {
        width: 26px;
        height: 26px;
    }

    /* Bigger logo on home and portal pages */
    .page-home .logo-text,
    .page-portal .logo-text {
        font-size: 17px;
    }

    .page-home .logo-icon,
    .page-portal .logo-icon {
        width: 34px;
        height: 34px;
    }

    .back-link {
        font-size: 0.6rem;
    }
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border-top: 2px solid var(--accent-primary);
    padding: 1.25rem;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
}

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

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-consent-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
    flex: none;
}

.cookie-consent-link {
    color: var(--accent-primary);
    text-decoration: underline;
    transition: color var(--transition-fast);
}

.cookie-consent-link:hover {
    color: var(--accent-tertiary);
}

.cookie-consent-buttons {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.65rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: 'Inter', sans-serif;
}

.cookie-btn-accept {
    background: var(--gradient);
    color: white;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.cookie-btn-decline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.cookie-btn-decline:hover {
    background: var(--bg-secondary);
    border-color: var(--text-muted);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .cookie-consent {
        padding: 1rem;
    }

    .cookie-consent-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .cookie-consent-text {
        text-align: center;
        font-size: 0.9rem;
    }

    .cookie-consent-buttons {
        width: 100%;
        justify-content: center;
    }

    .cookie-btn {
        flex: 1;
        padding: 0.75rem 1rem;
    }
}

@media (max-width: 480px) {
    .cookie-consent-buttons {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }
}

/* =====================================================
   MOBILE PRICING SWIPER CAROUSEL
   ===================================================== */

/* Hide mobile swiper on desktop, show desktop grid */
.pricing-swiper-container {
    display: none;
}

.pricing-grid-desktop {
    display: grid;
}

/* Mobile: Show swiper, hide grid */
@media (max-width: 768px) {
    .pricing-grid-desktop {
        display: none;
    }

    .pricing-swiper-container {
        display: block;
        padding: 0 0 3rem;
        margin: 0 -1rem;
        overflow: hidden;
    }

    .pricing-swiper {
        padding: 1rem 2rem 3rem;
        overflow: visible;
    }

    .pricing-swiper .swiper-slide {
        height: auto;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    /* Non-active slides: subtle fade */
    .pricing-swiper .swiper-slide:not(.swiper-slide-active) {
        opacity: 0.5;
        transform: scale(0.92);
    }

    /* Active slide: full visibility with highlight border */
    .pricing-swiper .swiper-slide-active {
        opacity: 1;
        transform: scale(1);
    }

    .pricing-swiper .swiper-slide-active .pricing-card {
        border: 2px solid var(--accent-primary);
        box-shadow:
            0 0 30px rgba(59, 130, 246, 0.3),
            0 8px 32px rgba(0, 0, 0, 0.3);
    }

    /* Featured card in active slide gets extra glow */
    .pricing-swiper .swiper-slide-active .pricing-card.featured {
        border: 2px solid var(--accent-tertiary);
        box-shadow:
            0 0 40px rgba(139, 92, 246, 0.4),
            0 8px 32px rgba(0, 0, 0, 0.3);
    }

    /* Card inside swiper */
    .pricing-swiper .pricing-card {
        margin: 0;
        height: 100%;
        border: 1px solid var(--border);
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }

    /* Pagination dots styling */
    .pricing-swiper .swiper-pagination {
        bottom: 0;
        position: relative;
        margin-top: 1.5rem;
    }

    .pricing-swiper .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        background: var(--border);
        opacity: 1;
        transition: all 0.3s ease;
        margin: 0 6px;
    }

    .pricing-swiper .swiper-pagination-bullet-active {
        background: linear-gradient(135deg, var(--accent-primary), var(--accent-tertiary));
        transform: scale(1.3);
        box-shadow: 0 0 12px rgba(59, 130, 246, 0.6);
    }
}

/* Extra small phones: tighter spacing */
@media (max-width: 480px) {
    .pricing-swiper-container {
        margin: 0 -0.5rem;
    }

    .pricing-swiper {
        padding: 0.5rem 1.5rem 2.5rem;
    }

    .pricing-swiper .pricing-card {
        padding: 1.5rem 1.25rem;
    }
}

/* =====================================================
   MOBILE COMPARISON SWIPER CAROUSEL
   ===================================================== */

/* Hide mobile swiper on desktop */
.comparison-swiper-container {
    display: none;
}

/* Mobile: Show swiper, hide table */
@media (max-width: 768px) {
    .comparison-swiper-container {
        display: block;
        padding: 0 0 2rem;
        margin: 0 -1rem;
        overflow: hidden;
    }

    .comparison-swiper {
        padding: 1rem 2rem 3rem;
        overflow: visible;
    }

    .comparison-swiper .swiper-slide {
        height: auto;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    /* Non-active slides: subtle fade */
    .comparison-swiper .swiper-slide:not(.swiper-slide-active) {
        opacity: 0.5;
        transform: scale(0.92);
    }

    /* Active slide: full visibility */
    .comparison-swiper .swiper-slide-active {
        opacity: 1;
        transform: scale(1);
    }

    /* Comparison card base styles */
    .comparison-card {
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: 16px;
        padding: 1.5rem;
        text-align: center;
        transition: all 0.3s ease;
    }

    .comparison-card h3 {
        font-size: 1.25rem;
        font-weight: 600;
        margin-bottom: 1.25rem;
        color: var(--text-primary);
    }

    /* Active slide highlight */
    .comparison-swiper .swiper-slide-active .comparison-card {
        border: 2px solid var(--accent-primary);
        box-shadow:
            0 0 30px rgba(59, 130, 246, 0.3),
            0 8px 32px rgba(0, 0, 0, 0.3);
    }

    /* Featured card (Spotlight AI) */
    .comparison-card.featured {
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    }

    .comparison-card.featured h3 {
        background: var(--gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .comparison-swiper .swiper-slide-active .comparison-card.featured {
        border: 2px solid var(--accent-tertiary);
        box-shadow:
            0 0 40px rgba(139, 92, 246, 0.4),
            0 8px 32px rgba(0, 0, 0, 0.3);
    }

    /* Score display */
    .comparison-score {
        display: flex;
        align-items: baseline;
        justify-content: center;
        margin: 1rem 0 0.25rem;
    }

    .comparison-score .score-number {
        font-size: 3.5rem;
        font-weight: 700;
        color: var(--text-muted);
        line-height: 1;
    }

    .comparison-score .score-total {
        font-size: 1.5rem;
        font-weight: 500;
        color: var(--text-muted);
    }

    .comparison-score.perfect .score-number,
    .comparison-score.perfect .score-total {
        background: var(--gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .score-label {
        display: block;
        font-size: 0.85rem;
        color: var(--text-muted);
        margin-bottom: 1.25rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    /* Comparison list */
    .comparison-list {
        list-style: none;
        padding: 0;
        margin: 0 0 1rem;
        text-align: left;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .comparison-list li {
        padding: 0.65rem 0;
        padding-left: 0.75rem;
        font-size: 0.9rem;
        color: var(--text-primary);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        border-left: 3px solid var(--success);
    }

    .comparison-list li:last-child {
        border-bottom: none;
    }

    /* Missing features label */
    .missing-label {
        display: block;
        font-size: 0.7rem;
        font-weight: 600;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin: 1rem 0 0.5rem;
    }

    /* Missing features list - red border */
    .comparison-list.missing {
        border-top: none;
        margin-bottom: 0;
    }

    .comparison-list.missing li {
        border-left: 3px solid #ef4444;
        color: var(--text-muted);
    }

    /* Featured card - hide missing section */
    .comparison-card.featured .missing-label,
    .comparison-card.featured .comparison-list.missing {
        display: none;
    }

    .comparison-card.featured .comparison-list {
        margin-bottom: 0;
    }

    /* Pagination dots */
    .comparison-swiper .swiper-pagination {
        bottom: 0;
        position: relative;
        margin-top: 1.5rem;
    }

    .comparison-swiper .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        background: var(--border);
        opacity: 1;
        transition: all 0.3s ease;
        margin: 0 6px;
    }

    .comparison-swiper .swiper-pagination-bullet-active {
        background: linear-gradient(135deg, var(--accent-primary), var(--accent-tertiary));
        transform: scale(1.3);
        box-shadow: 0 0 12px rgba(59, 130, 246, 0.6);
    }
}

/* Extra small phones */
@media (max-width: 480px) {
    .comparison-swiper-container {
        margin: 0 -0.5rem;
    }

    .comparison-swiper {
        padding: 0.5rem 1.5rem 2.5rem;
    }

    .comparison-card {
        padding: 1.25rem 1rem;
    }

    .comparison-card h3 {
        font-size: 1.1rem;
    }

    .comparison-list li {
        font-size: 0.85rem;
        padding: 0.5rem 0;
        padding-left: 1.75rem;
    }
}

/* =====================================================
   MOBILE FEATURE CSS ANIMATED CAROUSEL
   ===================================================== */

/* Hide mobile carousel on desktop */
.feature-carousel-container {
    display: none;
}

.feature-grid-desktop {
    display: grid;
}

/* Mobile: Show carousel, hide grid */
@media (max-width: 768px) {
    .feature-grid-desktop {
        display: none;
    }

    .feature-carousel-container {
        display: block;
        padding: 1rem 0 0;
    }

    /* Stacked cards container */
    .feature-carousel {
        position: relative;
        height: 220px;
        margin: 0 1rem;
    }

    /* All cards stacked absolutely */
    .feature-carousel .feature {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        margin: 0;
        opacity: 0;
        transform: translateY(10px);
        transition: none;
        animation: featureCardCycle 18s ease-in-out infinite;
    }

    .feature-carousel .feature.feature-card-1 {
        animation-delay: 0s;
    }

    .feature-carousel .feature.feature-card-2 {
        animation-delay: 6s;
    }

    .feature-carousel .feature.feature-card-3 {
        animation-delay: 12s;
    }

    /* Keyframes: 18s total (6s per card x 3 cards)
       Each card: fade in (0-5.5%), visible (5.5-27.8%), fade out (27.8-33.3%), hidden (33.3-100%)
    */
    @keyframes featureCardCycle {
        0% {
            opacity: 0;
            transform: translateY(10px);
        }
        2% {
            opacity: 1;
            transform: translateY(0);
        }
        30% {
            opacity: 1;
            transform: translateY(0);
        }
        33.33% {
            opacity: 0;
            transform: translateY(-10px);
        }
        100% {
            opacity: 0;
            transform: translateY(10px);
        }
    }

    /* Progress bar */
    .feature-progress-bar {
        width: 60%;
        max-width: 200px;
        height: 3px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 2px;
        margin: 1.5rem auto 0;
        overflow: hidden;
    }

    .feature-progress-fill {
        height: 100%;
        width: 0%;
        background: linear-gradient(90deg, var(--accent-primary), var(--accent-tertiary));
        border-radius: 2px;
        animation: progressFillLoop 6s linear infinite;
    }

    @keyframes progressFillLoop {
        from { width: 0%; }
        to { width: 100%; }
    }
}

/* Extra small phones */
@media (max-width: 480px) {
    .feature-carousel {
        height: 240px;
        margin: 0 0.5rem;
    }

    .feature-carousel .feature {
        padding: 1.25rem 1rem;
    }

    .feature-carousel .feature h3 {
        font-size: 1.1rem;
    }

    .feature-carousel .feature p {
        font-size: 0.85rem;
    }
}

/* =====================================================
   iOS OPTIMIZATIONS & SCROLL-BASED ANIMATIONS
   ===================================================== */

/* iOS-specific optimizations */
@media (max-width: 768px) {
    /* Enable hardware acceleration for smooth animations */
    .feature-carousel .feature,
    .pricing-swiper .swiper-slide,
    .comparison-swiper .swiper-slide,
    .feature-progress-fill {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-perspective: 1000px;
        perspective: 1000px;
    }

    /* Smooth scrolling for iOS */
    .pricing-swiper,
    .comparison-swiper {
        -webkit-overflow-scrolling: touch;
    }

    /* Prevent iOS tap highlight */
    .feature-carousel .feature,
    .pricing-card,
    .comparison-card {
        -webkit-tap-highlight-color: transparent;
    }

    /* Fix iOS animation performance */
    .feature-carousel .feature {
        will-change: opacity, transform;
    }

    .feature-progress-fill {
        will-change: width;
    }

    /* Pause animations when not in view (controlled by JS) */
    .feature-carousel.paused .feature {
        animation-play-state: paused;
    }

    .feature-carousel.paused + .feature-progress-bar .feature-progress-fill {
        animation-play-state: paused;
    }

    /* Also pause progress bar when container is paused */
    .feature-progress-bar.paused .feature-progress-fill {
        animation-play-state: paused;
    }
}
