/* ==========================================================================
   CSS Core & Design Tokens (Royal Blue & Clean White Theme)
   ========================================================================== */

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark-accent: #0f172a;
    
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-white: #ffffff;
    
    /* Royal Blue Branding */
    --accent-blue: #1d70f2;
    --accent-blue-glow: rgba(29, 112, 242, 0.15);
    --accent-purple: #8b5cf6;
    --accent-purple-glow: rgba(139, 92, 246, 0.15);
    --accent-green: #25d366; /* WhatsApp Green */
    --accent-yellow: #ffcc4d;
    --accent-pink: #ff5aa5;
    
    --grad-primary: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    --grad-secondary: linear-gradient(135deg, var(--accent-purple), #ec4899);
    --grad-light-hero: linear-gradient(180deg, #eef4ff 0%, #ffffff 100%);
    
    /* Spacing & Borders */
    --border-radius-lg: 24px;
    --border-radius-md: 16px;
    --border-radius-sm: 8px;
    --border-light: 1px solid rgba(15, 23, 42, 0.08);
    --bg-glass: rgba(255, 255, 255, 0.7);
    --shadow-premium: 0 20px 45px rgba(29, 112, 242, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.01);
    
    /* Fonts */
    --font-outfit: 'Outfit', sans-serif;
    --font-jakarta: 'Plus Jakarta Sans', sans-serif;
}

/* ==========================================================================
   Base resets & typography
   ========================================================================== */

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

html, body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: var(--font-jakarta);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

html {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

h1, h2, h3, h4 {
    font-family: var(--font-outfit);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.1;
    color: var(--text-main);
    overflow-wrap: anywhere;
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes wiggle {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

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

@keyframes floatSlow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(3deg); }
}

@keyframes scanLaser {
    0% { top: 0%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

@keyframes stickerPop {
    0% { transform: scale(0.8) rotate(-10deg); opacity: 0; }
    70% { transform: scale(1.1) rotate(5deg); }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.animate-wiggle {
    animation: wiggle 4s ease-in-out infinite;
}

.animate-bounce-slow {
    animation: bounceSlow 6s ease-in-out infinite;
}

.animate-float-slow {
    animation: floatSlow 8s ease-in-out infinite;
}

/* ==========================================================================
   Scroll Reveal States
   ========================================================================== */

.reveal-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-element.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Components & Badges
   ========================================================================== */

.badge-pill {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(29, 112, 242, 0.08);
    border: 1px solid rgba(29, 112, 242, 0.2);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(29, 112, 242, 0.05);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-blue);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

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

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--accent-blue);
    color: var(--text-white);
    font-weight: 700;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 10px 25px rgba(29, 112, 242, 0.25);
    font-family: var(--font-outfit);
    font-size: 1rem;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
    background: #0056d6;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(29, 112, 242, 0.35);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    background: var(--bg-primary);
    color: var(--text-main);
    font-weight: 600;
    border: var(--border-light);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-outfit);
    font-size: 1rem;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: var(--shadow-card);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-secondary:hover {
    background: #f1f5f9;
    border-color: rgba(15, 23, 42, 0.15);
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: var(--border-light);
    transition: all 0.4s ease;
}

.navbar.is-scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    gap: 40px;
    transition: padding 0.3s ease;
}

.navbar.is-scrolled .nav-container {
    padding-top: 12px;
    padding-bottom: 12px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--border-radius-sm);
}

.brand-name {
    font-family: var(--font-outfit);
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: 0;
    color: var(--text-main);
}

.nav-menu {
    display: flex;
    flex: 1 1 auto;
    justify-content: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
}

.nav-link:hover {
    color: var(--accent-blue);
}

.nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    flex: 0 0 auto;
}

.language-switcher {
    position: relative;
    flex: 0 0 auto;
}

.language-switcher summary {
    list-style: none;
    cursor: pointer;
    user-select: none;
    border: 0;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1;
    padding: 10px 8px;
    border-radius: var(--border-radius-sm);
    transition: color 0.2s ease, background 0.2s ease;
}

.language-switcher summary::-webkit-details-marker {
    display: none;
}

.language-switcher summary:hover,
.language-switcher[open] summary {
    color: var(--accent-blue);
    background: rgba(29, 112, 242, 0.08);
}

.language-menu {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    z-index: 50;
    width: 220px;
    max-height: min(460px, calc(100vh - 96px));
    overflow-y: auto;
    padding: 10px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
    background: #ffffff;
    border: var(--border-light);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
}

.language-menu a {
    display: flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 10px;
    border-radius: var(--border-radius-sm);
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.language-menu a:hover,
.language-menu a.active {
    color: var(--accent-blue);
    background: rgba(29, 112, 242, 0.08);
}

html[dir="rtl"] .language-menu {
    right: auto;
    left: 0;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    color: inherit;
    border-radius: 0;
    box-shadow: none;
    line-height: 0;
}

.nav-cta:hover {
    transform: translateY(-1px);
}

.store-badge-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.store-badge-img {
    display: block;
    width: auto;
    height: 48px;
}

.nav-store-badge {
    height: 40px;
}

.cta-store-badge {
    height: 52px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    position: relative;
    min-height: 760px;
    padding: 120px 0 72px;
    display: flex;
    align-items: center;
    background: var(--grad-light-hero);
}

.hero-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-title {
    font-size: clamp(3.6rem, 6vw, 5rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    max-width: 100%;
    overflow-wrap: anywhere;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 620px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-proof-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.hero-proof-row span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 12px;
    border: var(--border-light);
    border-radius: var(--border-radius-sm);
    background: rgba(255, 255, 255, 0.76);
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.hero-mockup-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.device-glow {
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(29, 112, 242, 0.08) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.hero-chat-frame {
    position: relative;
    z-index: 2;
    width: min(420px, 36vw);
    max-width: 100%;
    filter: drop-shadow(0 26px 42px rgba(15, 23, 42, 0.14));
}

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

/* Floating Stickers Parallax */
.floating-sticker {
    position: absolute;
    z-index: 5;
    width: clamp(76px, 7.2vw, 116px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 14px 22px rgba(15, 23, 42, 0.16));
    pointer-events: none;
    transition: transform 0.1s ease-out;
}

.sticker-1 { top: 19%; left: 2%; }
.sticker-2 { width: clamp(82px, 7.8vw, 124px); bottom: 17%; left: 46%; }
.sticker-3 { width: clamp(72px, 6.8vw, 108px); top: 31%; right: 11%; }

/* ==========================================================================
   Statistics Ribbon
   ========================================================================== */

.stats-ribbon {
    background: var(--bg-secondary);
    border-top: var(--border-light);
    border-bottom: var(--border-light);
    padding: 28px 0;
}

.stats-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

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

.stat-num {
    font-family: var(--font-outfit);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-blue);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0;
}

/* ==========================================================================
   Popular Sticker Pack Showcase
   ========================================================================== */

.sticker-showcase-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.showcase-container {
    display: grid;
    gap: 44px;
}

.section-header.compact {
    margin-bottom: 0;
}

.pack-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.pack-card {
    position: relative;
    overflow: hidden;
    border: var(--border-light);
    border-radius: var(--border-radius-sm);
    padding: 22px;
    background: var(--bg-secondary);
    box-shadow: var(--shadow-card);
}

.pack-card::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.16;
    pointer-events: none;
}

.pack-card-blue::before {
    background: linear-gradient(135deg, var(--accent-blue), transparent 55%);
}

.pack-card-green::before {
    background: linear-gradient(135deg, var(--accent-green), transparent 55%);
}

.pack-card-pink::before {
    background: linear-gradient(135deg, var(--accent-pink), transparent 55%);
}

.pack-card-yellow::before {
    background: linear-gradient(135deg, var(--accent-yellow), transparent 55%);
}

.pack-card-header {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 18px;
}

.pack-card h3 {
    font-size: 1.35rem;
    margin-bottom: 6px;
}

.pack-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.45;
}

.pack-code {
    flex: 0 0 auto;
    min-width: 48px;
    padding: 6px 8px;
    border-radius: var(--border-radius-sm);
    background: var(--text-main);
    color: var(--text-white);
    font-family: var(--font-outfit);
    font-weight: 800;
    font-size: 0.78rem;
    text-align: center;
}

.pack-sticker-board {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 14px;
    border-radius: var(--border-radius-sm);
    background: rgba(255, 255, 255, 0.78);
    border: var(--border-light);
}

.pack-sticker-board img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    padding: 4px;
    filter: drop-shadow(0 8px 12px rgba(15, 23, 42, 0.12));
}

.pack-sticker-board img:nth-child(2n) {
    transform: rotate(5deg);
}

.pack-sticker-board img:nth-child(3n) {
    transform: rotate(-5deg);
}

/* ==========================================================================
   How It Works Preview
   ========================================================================== */

.how-section {
    padding: 80px 0;
    background: var(--bg-secondary);
    border-top: var(--border-light);
    border-bottom: var(--border-light);
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 44px;
}

.how-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
    border: var(--border-light);
    border-radius: var(--border-radius-sm);
    background: var(--bg-primary);
    box-shadow: var(--shadow-card);
}

.how-step {
    align-self: flex-start;
    padding: 5px 10px;
    border-radius: var(--border-radius-sm);
    background: rgba(29, 112, 242, 0.08);
    color: var(--accent-blue);
    font-family: var(--font-outfit);
    font-size: 0.8rem;
    font-weight: 800;
}

.how-card img {
    width: 100%;
    height: 240px;
    object-fit: contain;
    object-position: center;
    padding: 28px;
    border-radius: var(--border-radius-sm);
    border: var(--border-light);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.how-card h3 {
    font-size: 1.25rem;
}

.how-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

/* ==========================================================================
   Core Features Grid Section
   ========================================================================== */

.features-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-header {
    max-width: 700px;
    margin-bottom: 44px;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

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

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

.feature-card {
    background: var(--bg-secondary);
    border: var(--border-light);
    border-radius: var(--border-radius-sm);
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--shadow-card);
}

.feature-card:hover {
    transform: translateY(-8px);
    background: var(--bg-primary);
    border-color: rgba(29, 112, 242, 0.15);
    box-shadow: 0 15px 35px rgba(29, 112, 242, 0.04);
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 32px;
    margin-bottom: 24px;
    border-radius: var(--border-radius-sm);
    background: var(--text-main);
    color: var(--text-white);
    font-family: var(--font-outfit);
    font-size: 0.85rem;
    font-weight: 800;
}

.feature-card h3 {
    font-family: var(--font-outfit);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* ==========================================================================
   AI Auto-Cut Section (Interactive)
   ========================================================================== */

.autocut-section {
    padding: 80px 0;
    background: var(--bg-secondary);
    border-top: var(--border-light);
    border-bottom: var(--border-light);
}

.autocut-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.autocut-text h2 {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.autocut-text p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.autocut-cta-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.helper-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

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

.demo-card-frame {
    position: relative;
    width: 400px;
    height: 400px;
    background: #ffffff;
    border-radius: var(--border-radius-lg);
    border: var(--border-light);
    padding: 30px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-premium);
}

.original-photo-bg {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f1f5f9;
    transition: background 0.4s ease;
}

.original-photo-bg.scanned {
    /* Checkerboard patterns for transparency */
    background: radial-gradient(circle, #cbd5e1 10%, transparent 11%),
                radial-gradient(circle, #cbd5e1 10%, transparent 11%);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
}

.dino-demo-img {
    width: 200px;
    height: 200px;
    z-index: 5;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Original Photo Mode Style (prior to scan) */
.dino-demo-img.raw-photo {
    filter: drop-shadow(0 0 0 transparent);
    transform: scale(0.9);
}

/* Sticker Mode Style (after scan) */
.dino-demo-img.sticker-processed {
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
    animation: stickerPop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.laser-scanner {
    position: absolute;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
    box-shadow: 0 0 15px rgba(29, 112, 242, 0.6), 0 0 30px rgba(29, 112, 242, 0.4);
    z-index: 10;
    pointer-events: none;
    opacity: 0;
}

.laser-scanner.scanning {
    animation: scanLaser 2s cubic-bezier(0.45, 0, 0.55, 1) forwards;
}

.sticker-pop-badge {
    position: absolute;
    bottom: 20px;
    background: var(--accent-blue);
    color: var(--text-white);
    font-family: var(--font-outfit);
    font-weight: 800;
    font-size: 0.8rem;
    padding: 6px 12px;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(29, 112, 242, 0.2);
    z-index: 15;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease;
}

.sticker-pop-badge.show {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   AI Art Styles Section (Interactive)
   ========================================================================== */

.styles-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.styles-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.styles-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.showcase-sticker-holder {
    position: relative;
    width: 380px;
    height: 380px;
    background: var(--bg-secondary);
    border: var(--border-light);
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-premium);
}

.glow-bg {
    position: absolute;
    width: 80%;
    height: 80%;
    border-radius: 100%;
    background: radial-gradient(circle, rgba(29, 112, 242, 0.08) 0%, transparent 60%);
    z-index: 1;
}

.style-showcase-img {
    width: 220px;
    height: 220px;
    z-index: 5;
    transition: filter 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s ease;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.1));
}

.styles-text h2 {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.styles-text p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.style-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.style-btn {
    padding: 12px 24px;
    background: var(--bg-secondary);
    border: var(--border-light);
    border-radius: 100px;
    color: var(--text-muted);
    font-family: var(--font-outfit);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.style-btn:hover {
    color: var(--accent-blue);
    border-color: rgba(29, 112, 242, 0.2);
}

.style-btn.active {
    background: var(--accent-blue);
    color: var(--text-white);
    border-color: var(--accent-blue);
    box-shadow: 0 10px 20px rgba(29, 112, 242, 0.2);
}

/* Style Render Modifications */
.style-clay { filter: url(#style-clay) drop-shadow(0 15px 30px rgba(0, 0, 0, 0.15)); }
.style-comic { filter: url(#style-comic) drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15)); }
.style-neon { filter: url(#style-neon) drop-shadow(0 0 20px rgba(139, 92, 246, 0.4)); }
.style-pixel { filter: url(#style-pixelate) drop-shadow(0 15px 25px rgba(0,0,0,0.15)); }

/* ==========================================================================
   App Gallery Section
   ========================================================================== */

.gallery-section {
    padding: 80px 0;
    background: var(--bg-primary);
    border-top: var(--border-light);
    border-bottom: var(--border-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.gallery-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
}

.gallery-frame {
    width: 100%;
    max-width: 240px;
    aspect-ratio: 9 / 18;
    border-radius: var(--border-radius-md);
    border: var(--border-light);
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    margin-bottom: 20px;
    background: #000;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    background: #000;
}

.gallery-item h4 {
    font-family: var(--font-outfit);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.gallery-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.4;
    max-width: 220px;
}

.section-header.centered {
    text-align: center;
    margin: 0 auto 44px;
}

.section-header.centered.compact {
    margin: 0 auto;
}

.font-jakarta {
    font-family: var(--font-jakarta);
}

/* ==========================================================================
   Reusable Article Layout
   ========================================================================== */

.article-content {
    max-width: 800px;
    margin: 140px auto 100px;
    padding: 0 30px;
}

.article-header {
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    padding-bottom: 30px;
}

.article-meta {
    font-size: 0.9rem;
    color: var(--accent-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.article-header h1 {
    font-size: 3.2rem;
    line-height: 1.1;
    margin-bottom: 16px;
    font-family: var(--font-outfit);
    overflow-wrap: anywhere;
}

.article-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.article-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #334155;
}

.article-body h2 {
    font-size: 1.75rem;
    margin: 40px 0 20px;
    font-family: var(--font-outfit);
    color: var(--text-main);
}

.article-body h3 {
    font-size: 1.28rem;
    margin: 28px 0 12px;
    font-family: var(--font-outfit);
    color: var(--text-main);
}

.article-body p {
    margin-bottom: 24px;
}

.article-body ol,
.article-body ul {
    margin-bottom: 24px;
    padding-left: 24px;
}

.article-body li {
    margin-bottom: 12px;
}

.article-visual-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 30px 0 40px;
}

.article-visual-grid figure {
    border: var(--border-light);
    border-radius: var(--border-radius-sm);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 18px;
    text-align: center;
}

.article-visual-grid img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(15, 23, 42, 0.12));
}

.article-visual-grid figcaption {
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 700;
}

.article-callout {
    padding: 22px;
    border: 1px solid rgba(29, 112, 242, 0.16);
    border-radius: var(--border-radius-sm);
    background: #eef4ff;
    margin: 30px 0;
}

.article-callout h3 {
    margin-top: 0;
}

.source-list {
    padding-top: 24px;
    border-top: var(--border-light);
    color: var(--text-muted);
    font-size: 0.95rem;
}

.source-list a {
    color: var(--accent-blue);
    font-weight: 700;
}

.article-cta-box {
    background: #eef4ff;
    border: 1px solid rgba(29, 112, 242, 0.15);
    border-radius: var(--border-radius-sm);
    padding: 36px;
    margin-top: 60px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.article-cta-box h3 {
    font-family: var(--font-outfit);
    font-size: 1.7rem;
    font-weight: 800;
}

.article-cta-box p {
    color: var(--text-muted);
    max-width: 520px;
    margin: 0;
}

/* ==========================================================================
   Blog Preview
   ========================================================================== */

.insights-section {
    padding: 80px 0;
    background: var(--bg-primary);
    border-top: var(--border-light);
}

.insights-container {
    display: grid;
    gap: 44px;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.insight-card-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
    border-radius: var(--border-radius-sm);
}

.insight-card {
    display: grid;
    grid-template-rows: 190px 1fr;
    height: 100%;
    overflow: hidden;
    border: var(--border-light);
    border-radius: var(--border-radius-sm);
    background: var(--bg-secondary);
    box-shadow: var(--shadow-card);
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.insight-card-link:hover .insight-card,
.insight-card-link:focus-visible .insight-card {
    transform: translateY(-6px);
    border-color: rgba(29, 112, 242, 0.2);
    box-shadow: 0 15px 35px rgba(29, 112, 242, 0.06);
}

.insight-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 28px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.insight-card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
}

.insight-card-body span {
    color: var(--accent-blue);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.insight-card-body h3 {
    font-size: 1.2rem;
}

.insight-card-body p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.insight-read-more {
    margin-top: auto;
    color: var(--accent-blue);
    font-family: var(--font-outfit);
    font-size: 0.92rem;
    font-weight: 800;
}

.cta-section {
    position: relative;
    padding: 80px 0;
    background: #eef4ff; /* Pale blue cta section */
    overflow: hidden;
    text-align: center;
    border-top: var(--border-light);
}

.cta-background-glow {
    display: none;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-logo {
    width: 96px;
    height: 96px;
    border-radius: var(--border-radius-lg);
    margin-bottom: 32px;
    box-shadow: 0 20px 40px rgba(29, 112, 242, 0.12);
}

.cta-section h2 {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 580px;
}

.cta-badge-container {
    display: flex;
    justify-content: center;
}

.footer-store-link {
    color: var(--text-muted);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    background: var(--bg-primary);
    border-top: var(--border-light);
    padding: 64px 0;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    width: 32px;
    height: 32px;
    border-radius: var(--border-radius-sm);
}

.footer-brand span {
    font-family: var(--font-outfit);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--text-main);
}

.footer-copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.footer-right {
    display: flex;
    gap: 80px;
}

.footer-links-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-col h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.footer-links-col a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-links-col a:hover {
    color: var(--accent-blue);
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-section {
        min-height: auto;
        padding: 112px 0 64px;
    }

    .hero-container, .autocut-container, .styles-container {
        grid-template-columns: 1fr;
        gap: 52px;
        text-align: center;
    }
    
    .hero-content, .autocut-text, .styles-text {
        align-items: center;
        text-align: center;
    }
    
    .hero-subtitle, .autocut-text p, .styles-text p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-title { font-size: 4rem; }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .pack-grid, .how-grid, .insights-grid {
        grid-template-columns: 1fr;
    }
    
    .floating-sticker {
        display: none; /* Hide background clutter on smaller layouts */
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 50px;
        align-items: center;
        text-align: center;
    }
    
    .footer-brand {
        justify-content: center;
    }
    
    .footer-right {
        gap: 60px;
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .navbar {
        overflow: visible;
        z-index: 3000;
    }

    .nav-container {
        padding: 14px 20px;
        width: 100%;
        min-width: 0;
        gap: 12px;
    }

    .navbar.is-scrolled .nav-container {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .nav-menu {
        display: none;
    }

    .brand-icon {
        width: 34px;
        height: 34px;
    }

    .brand-logo {
        flex: 1 1 auto;
        min-width: 0;
    }

    .nav-actions {
        gap: 10px;
        margin-left: auto;
    }

    .language-switcher summary {
        max-width: 88px;
        padding: 10px 6px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 0.82rem;
    }

    .language-menu {
        position: fixed;
        top: 68px;
        left: 14px;
        right: 14px;
        z-index: 3001;
        width: auto;
        max-height: min(420px, calc(100vh - 88px));
        grid-template-columns: repeat(2, minmax(0, 1fr));
        box-shadow: 0 22px 54px rgba(15, 23, 42, 0.22);
    }

    .brand-name {
        font-size: 1.15rem;
        white-space: nowrap;
    }

    .nav-cta {
        flex: 0 0 auto;
        max-width: 136px;
    }

    .nav-store-badge {
        height: 36px;
        max-width: 136px;
        object-fit: contain;
    }

    .container, .hero-container, .stats-container, .autocut-container,
    .styles-container, .footer-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-section {
        padding: 96px 0 52px;
        overflow: hidden;
    }

    .device-glow {
        display: none;
    }

    .hero-container, .hero-content, .hero-mockup-container {
        width: 100%;
        min-width: 0;
    }

    .hero-subtitle {
        font-size: 1.05rem;
        max-width: 100%;
    }

    .hero-proof-row {
        justify-content: center;
        max-width: 100%;
    }

    .stats-container {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

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

    .section-title, .autocut-text h2, .styles-text h2,
    .cta-section h2 {
        font-size: 2.2rem;
    }

    .section-subtitle, .autocut-text p, .styles-text p,
    .cta-section p {
        font-size: 1rem;
    }

    .sticker-showcase-section, .how-section, .features-section, .autocut-section,
    .styles-section, .gallery-section, .insights-section, .cta-section {
        padding: 64px 0;
    }
}

@media (max-width: 576px) {
    body {
        width: 100%;
    }

    .navbar {
        overflow: visible;
    }

    .nav-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .brand-name {
        font-size: 1.05rem;
    }

    .nav-cta {
        flex-shrink: 0;
    }

    .hero-title {
        font-size: clamp(2rem, 8.6vw, 2.25rem);
        line-height: 1.08;
        max-width: min(100%, 340px);
        text-wrap: balance;
    }

    .hero-title .gradient-text {
        display: inline-block;
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.55;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 14px;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-buttons .store-badge-link,
    .cta-badge-container .store-badge-link,
    .article-cta-box .store-badge-link {
        width: 100%;
    }

    .store-badge-img,
    .cta-store-badge {
        height: 50px;
        max-width: 100%;
        object-fit: contain;
    }

    .hero-proof-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        gap: 10px;
    }

    .hero-proof-row span {
        justify-content: center;
        text-align: center;
        white-space: normal;
        min-width: 0;
    }
    
    .hero-chat-frame {
        width: min(280px, 76vw);
    }
    
    .demo-card-frame {
        width: 100%;
        height: 320px;
    }
    
    .showcase-sticker-holder {
        width: 280px;
        height: 280px;
    }
    
    .style-showcase-img {
        width: 160px;
        height: 160px;
    }
    
    .footer-right {
        flex-direction: column;
        gap: 40px;
    }
    
    .autocut-cta-row {
        flex-direction: column;
        width: 100%;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pack-card {
        padding: 18px;
        min-width: 0;
        max-width: 100%;
        overflow: visible;
    }

    .pack-card-header {
        flex-direction: column;
    }

    .pack-grid, .pack-sticker-board, .how-grid, .insights-grid {
        min-width: 0;
        max-width: 100%;
    }

    .pack-sticker-board {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        padding: 12px;
    }

    .pack-sticker-board img {
        width: 100%;
        max-width: 112px;
        justify-self: center;
    }

    .how-card img {
        height: 210px;
        padding: 24px;
    }

    .insight-card {
        grid-template-rows: 180px 1fr;
    }

    .article-header h1 {
        font-size: clamp(1.9rem, 8vw, 2.15rem);
        line-height: 1.12;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .article-visual-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 360px) {
    .brand-name {
        font-size: 1rem;
    }

    .nav-cta {
        transform: scale(0.94);
        transform-origin: right center;
    }

    .hero-title {
        font-size: 2.05rem;
    }

    .hero-proof-row,
    .stats-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .hero-proof-row {
        grid-template-columns: 1fr;
    }

    .hero-proof-row span {
        width: 100%;
    }

    .article-content {
        padding-left: 22px;
        padding-right: 22px;
    }
}
