/* ==========================================
   1. RESET & BASE STYLES
   ========================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.landing-root {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body.landing-page {
    font-family: 'Prompt', 'Plus Jakarta Sans', sans-serif;
    color: #1e293b;
    background-color: #f8fafc;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

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

.container.small {
    max-width: 800px;
}

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

/* ==========================================
   2. TYPOGRAPHY & BUTTONS
   ========================================== */
.text-gradient {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.eyebrow {
    color: #4f46e5;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.5rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.button.primary { background: #4f46e5; color: #ffffff; }
.button.primary:hover { background: #4338ca; }

.button.outline { border-color: #cbd5e1; color: #334155; background: #ffffff; }
.button.outline:hover { border-color: #94a3b8; background: #f8fafc; }

.button.ghost { color: #475569; }
.button.ghost:hover { background: #f1f5f9; }

.button.dark { background: #0f172a; color: #ffffff; }
.button.dark:hover { background: #1e293b; }

.button.light { background: #ffffff; color: #4f46e5; }
.button.light:hover { background: #f8fafc; }

.button.glow { box-shadow: 0 4px 20px rgba(79, 70, 229, 0.35); }
.button.glow:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(79, 70, 229, 0.45); }

.button.large { padding: 0.85rem 1.75rem; font-size: 1.05rem; }
.button.full { width: 100%; }

/* ==========================================
   3. NAVIGATION
   ========================================== */
.landing-nav {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: 1.2rem; }
.brand-icon { background: #4f46e5; color: #fff; padding: 0.2rem 0.5rem; border-radius: 8px; font-size: 0.85rem; }

.nav-menu { display: flex; gap: 2rem; }
.nav-menu a { color: #64748b; font-weight: 500; font-size: 0.95rem; }
.nav-menu a:hover { color: #4f46e5; }

.nav-actions { display: flex; gap: 0.75rem; }

/* ==========================================
   4. HERO SECTION
   ========================================== */
.hero-section {
    position: relative;
    isolation: isolate;
    display: flex;
    min-height: clamp(690px, calc(100vh - 73px), 880px);
    overflow: hidden;
    padding: 6.5rem 1.5rem 7rem;
    border-bottom: 1px solid rgba(165, 180, 252, .2);
    background:
        radial-gradient(circle at 78% 18%, rgba(99, 102, 241, .34), transparent 32%),
        radial-gradient(circle at 18% 82%, rgba(14, 165, 233, .18), transparent 30%),
        linear-gradient(135deg, #0b1020 0%, #111a35 48%, #17143b 100%);
}

.hero-section::before {
    position: absolute;
    z-index: -2;
    inset: 0;
    content: "";
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(115deg, rgba(0, 0, 0, .7), transparent 72%);
    pointer-events: none;
}

.hero-section::after {
    position: absolute;
    z-index: -1;
    top: 50%;
    right: max(-260px, calc((100vw - 1500px) / 2));
    width: 720px;
    height: 720px;
    border: 1px solid rgba(165, 180, 252, .13);
    border-radius: 50%;
    content: "";
    box-shadow:
        inset 0 0 110px rgba(99, 102, 241, .12),
        0 0 140px rgba(79, 70, 229, .16);
    transform: translateY(-50%);
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(460px, .92fr);
    gap: clamp(3rem, 6vw, 6rem);
    align-items: center;
}

.hero-copy {
    max-width: 700px;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(165, 180, 252, .28);
    border-radius: 50px;
    background: rgba(99, 102, 241, .12);
    color: #e0e7ff;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
    backdrop-filter: blur(12px);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse 1.6s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-copy h1 {
    max-width: 760px;
    margin-bottom: 1.5rem;
    color: #fff;
    font-size: clamp(3.25rem, 5.25vw, 5.15rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -.045em;
    text-wrap: balance;
}

.hero-copy .text-gradient {
    background: linear-gradient(110deg, #c7d2fe 5%, #a5b4fc 42%, #f9a8d4 96%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead {
    max-width: 620px;
    margin-bottom: 2.1rem;
    color: rgba(226, 232, 240, .82);
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.4rem;
}

.hero-section .button.large {
    min-height: 54px;
    padding: .9rem 1.65rem;
    border-radius: 12px;
}

.hero-section .button.primary {
    border-color: rgba(255, 255, 255, .12);
    background: linear-gradient(135deg, #6366f1, #7c3aed);
    box-shadow: 0 16px 36px rgba(79, 70, 229, .34);
}

.hero-section .button.primary:hover {
    background: linear-gradient(135deg, #818cf8, #8b5cf6);
}

.hero-section .button.outline {
    border-color: rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .07);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
    backdrop-filter: blur(10px);
}

.hero-section .button.outline:hover {
    border-color: rgba(255, 255, 255, .5);
    background: rgba(255, 255, 255, .13);
}

.hero-section .button:focus-visible {
    outline: 3px solid #f8fafc;
    outline-offset: 4px;
}

.trust-metrics {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: .8rem 1.6rem;
    color: rgba(226, 232, 240, .76);
    font-size: 0.875rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.trust-item svg {
    flex: 0 0 auto;
    padding: 3px;
    border-radius: 50%;
    background: rgba(16, 185, 129, .13);
}

/* Hero Mockup Preview */
.hero-preview-wrapper {
    position: relative;
    width: min(100%, 600px);
    margin-left: auto;
    perspective: 1200px;
}

.hero-preview-wrapper::before {
    position: absolute;
    z-index: -1;
    inset: 8% 4% -8% 10%;
    border-radius: 36px;
    background: linear-gradient(135deg, rgba(99, 102, 241, .4), rgba(14, 165, 233, .16));
    filter: blur(44px);
    content: "";
    opacity: .9;
}

.glass-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 22px;
    background: rgba(255, 255, 255, .96);
    box-shadow:
        0 42px 90px rgba(2, 6, 23, .46),
        0 8px 24px rgba(79, 70, 229, .2),
        inset 0 1px 0 rgba(255, 255, 255, .9);
}

.main-preview {
    position: relative;
    overflow: hidden;
    transform: rotateY(-4deg) rotateX(1.5deg);
    transform-origin: center left;
}

.preview-toolbar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #fff, #f1f5f9);
}

.window-dots { display: flex; gap: 6px; }
.window-dots i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.window-dots i:first-child { background: #fb7185; }
.window-dots i:nth-child(2) { background: #fbbf24; }
.window-dots i:last-child { background: #34d399; }

.url-bar {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

.preview-body {
    min-height: 330px;
    padding: clamp(1.5rem, 4vw, 2.4rem);
    background:
        radial-gradient(circle at 88% 12%, rgba(129, 140, 248, .22), transparent 30%),
        linear-gradient(145deg, #fafaff, #eef2ff);
}

.preview-hero-mock {
    position: relative;
    overflow: hidden;
    padding: 1.4rem;
    border: 1px solid rgba(99, 102, 241, .12);
    border-radius: 14px;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 12px 28px rgba(79, 70, 229, .08);
}

.preview-hero-mock::after {
    position: absolute;
    top: -36px;
    right: -24px;
    width: 138px;
    height: 138px;
    border-radius: 50%;
    background: linear-gradient(145deg, #c7d2fe, #818cf8);
    content: "";
    opacity: .82;
}
.mock-badge { width: 80px; height: 12px; background: #e0e7ff; border-radius: 4px; margin-bottom: 12px; }
.mock-title { width: 70%; height: 24px; background: #cbd5e1; border-radius: 6px; margin-bottom: 10px; }
.mock-desc { width: 90%; height: 14px; background: #e2e8f0; border-radius: 4px; margin-bottom: 20px; }
.mock-btn { width: 100px; height: 32px; background: #4f46e5; border-radius: 6px; margin-bottom: 25px; }

.preview-grid-mock { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.mock-card { height: 82px; border: 1px solid rgba(99, 102, 241, .11); border-radius: 10px; background: rgba(255, 255, 255, .9); box-shadow: 0 9px 20px rgba(30, 41, 59, .06); }

.floating-badge {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 210px;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 14px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 18px 42px rgba(2, 6, 23, .24);
    backdrop-filter: blur(14px);
}
.floating-badge .icon { font-size: 1.5rem; }
.floating-badge strong { display: block; font-size: 0.85rem; }
.floating-badge p { font-size: 0.75rem; color: #64748b; }

.badge-1 { top: -32px; right: -24px; }
.badge-2 { bottom: -34px; left: -32px; }

/* Free First Website Setup */
.free-setup-section {
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
    border-bottom: 1px solid #e2e8f0;
    background:
        radial-gradient(circle at 88% 15%, rgba(99, 102, 241, .12), transparent 26rem),
        linear-gradient(145deg, #f8fafc 0%, #eef2ff 100%);
}

.free-setup-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
    gap: 5rem;
    align-items: center;
}

.free-setup-copy h2 {
    max-width: 720px;
    margin-bottom: .6rem;
    color: #0f172a;
    font-size: clamp(2rem, 4vw, 3.15rem);
    font-weight: 800;
    line-height: 1.2;
}

.free-setup-copy h3 {
    margin-bottom: 1.25rem;
    color: #4f46e5;
    font-size: clamp(1.35rem, 2.4vw, 1.8rem);
}

.free-setup-description {
    max-width: 720px;
    color: #475569;
    font-size: 1.02rem;
    line-height: 1.85;
}

.free-setup-benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem 1.25rem;
    margin-top: 1.75rem;
    list-style: none;
}

.free-setup-benefits li {
    display: flex;
    gap: .65rem;
    align-items: flex-start;
    color: #334155;
    font-weight: 600;
}

.free-setup-benefits li > span {
    display: grid;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 50%;
    background: #dcfce7;
    color: #15803d;
    font-size: .8rem;
}

.free-setup-visual {
    position: relative;
    padding: 2rem 1.25rem 2.5rem;
}

.setup-visual-card {
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, .4);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 28px 65px rgba(30, 41, 59, .16);
    transform: rotate(2deg);
}

.setup-visual-toolbar {
    display: flex;
    gap: 6px;
    align-items: center;
    padding: .8rem;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.setup-visual-toolbar > span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
}

.setup-visual-toolbar > div {
    flex: 1;
    margin-left: .45rem;
    padding: .35rem .7rem;
    border-radius: 6px;
    background: #fff;
    color: #94a3b8;
    font-size: .62rem;
}

.setup-visual-body {
    display: grid;
    grid-template-columns: 54px 1fr;
    min-height: 270px;
}

.setup-visual-sidebar {
    display: grid;
    align-content: start;
    gap: .75rem;
    padding: 1.2rem .9rem;
    background: #111827;
}

.setup-visual-sidebar span {
    height: 25px;
    border-radius: 6px;
    background: #334155;
}

.setup-visual-sidebar .active { background: #6366f1; }
.setup-visual-content { padding: 2rem 1.6rem; }
.setup-visual-heading { width: 48%; height: 20px; margin-bottom: 1.1rem; border-radius: 5px; background: #312e81; }
.setup-visual-line { width: 66%; height: 8px; margin-bottom: .55rem; border-radius: 999px; background: #dbe3ef; }
.setup-visual-line.wide { width: 92%; }
.setup-visual-images { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-top: 1.5rem; }
.setup-visual-images span { aspect-ratio: 1.15; border-radius: 8px; background: linear-gradient(145deg, #c7d2fe, #e9d5ff); }
.setup-visual-button { width: 34%; height: 27px; margin-top: 1.4rem; border-radius: 7px; background: #4f46e5; }

.setup-visual-status {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    gap: .6rem;
    align-items: center;
    padding: .8rem 1rem;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    background: rgba(255, 255, 255, .96);
    color: #166534;
    box-shadow: 0 15px 35px rgba(30, 41, 59, .14);
    font-size: .85rem;
    font-weight: 700;
}

.setup-visual-status span {
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    border-radius: 50%;
    background: #22c55e;
    color: #fff;
}

.free-setup-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 4.5rem;
}

.free-setup-step {
    position: relative;
    min-width: 0;
    padding: 1.75rem;
    border: 1px solid #dbe3ef;
    border-radius: 16px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 12px 35px rgba(79, 70, 229, .06);
}

.free-setup-step-number {
    display: block;
    margin-bottom: .7rem;
    color: #6366f1;
    font-size: .85rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.free-setup-step h3 { margin-bottom: .45rem; color: #1e293b; font-size: 1.08rem; }
.free-setup-step p { color: #64748b; font-size: .9rem; }

.free-setup-action {
    max-width: 820px;
    margin: 2.5rem auto 0;
    text-align: center;
}

.free-setup-action p {
    margin-top: 1rem;
    color: #64748b;
    font-size: .78rem;
    line-height: 1.7;
}

/* ==========================================
   5. STATS & BUSINESS TYPES
   ========================================== */
.stats-bar { background: #ffffff; border-y: 1px solid #e2e8f0; padding: 2rem 0; }
.stats-container { display: flex; justify-content: space-around; align-items: center; max-width: 900px; margin: 0 auto; }
.stat-number { font-size: 2rem; font-weight: 800; color: #4f46e5; display: block; }
.stat-label { font-size: 0.9rem; color: #64748b; }
.stat-divider { width: 1px; height: 40px; background: #e2e8f0; }

.business-types { padding: 3rem 0; background: #f8fafc; }
.section-subtitle-center { text-align: center; color: #64748b; font-weight: 600; margin-bottom: 1.5rem; }
.business-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.tag { background: #ffffff; border: 1px solid #e2e8f0; padding: 0.5rem 1rem; border-radius: 50px; font-size: 0.9rem; font-weight: 500; }

/* ==========================================
   6. FEATURES & STEPS
   ========================================== */
.feature-section, .steps-section, .template-section, .pricing-section, .faq-section { padding: 5rem 0; }

.section-header { margin-bottom: 3.5rem; }
.section-header h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 0.75rem; }
.section-header p { color: #64748b; font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.feature-card { background: #ffffff; border: 1px solid #e2e8f0; padding: 2rem; border-radius: 16px; }
.feature-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.bg-blue { background: #e0e7ff; color: #4f46e5; }
.bg-purple { background: #f3e8ff; color: #9333ea; }
.bg-green { background: #dcfce7; color: #16a34a; }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.feature-card p { color: #64748b; font-size: 0.95rem; }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-bottom: 3rem; }
.step-card { background: #ffffff; border: 1px solid #e2e8f0; padding: 2rem; border-radius: 16px; position: relative; }
.step-number { font-size: 2.5rem; font-weight: 800; color: #e2e8f0; margin-bottom: 0.5rem; }
.step-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.step-card p { color: #64748b; font-size: 0.95rem; }

/* ==========================================
   7. TEMPLATES & PRICING
   ========================================== */
.template-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.landing-template-categories { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; margin: -1.5rem 0 2rem; }
.landing-template-categories a { padding: .45rem .8rem; border: 1px solid #cbd5e1; border-radius: 999px; background: #fff; color: #475569; font-size: .82rem; font-weight: 600; }
.landing-template-categories a:hover { border-color: #4f46e5; color: #4f46e5; }
.landing-template-categories span { margin-left: .25rem; color: #94a3b8; }
.template-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 16px; overflow: hidden; }
.template-thumb { height: 200px; background: #e2e8f0; position: relative; display: flex; align-items: center; justify-content: center; }
.business-thumb { background: linear-gradient(135deg, #6366f1, #a855f7); }
.shop-thumb { background: linear-gradient(135deg, #f43f5e, #fb923c); }
.personal-thumb { background: linear-gradient(135deg, #0ea5e9, #10b981); }
.template-info { padding: 1.25rem; }
.template-info h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.template-info p { color: #64748b; font-size: 0.875rem; }

/* Pricing Cards */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; align-items: stretch; }
.pricing-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 20px; padding: 2.5rem 2rem; position: relative; display: flex; flex-direction: column; }
.pricing-card.featured { border: 2px solid #4f46e5; box-shadow: 0 20px 40px rgba(79, 70, 229, 0.12); }
.popular-tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: #4f46e5; color: #ffffff; padding: 0.25rem 1rem; border-radius: 50px; font-size: 0.8rem; font-weight: 600; }

.pricing-header h3 { font-size: 1.4rem; margin-top: 0.25rem; }
.pricing-header p { color: #64748b; font-size: 0.875rem; margin-top: 0.25rem; }
.pricing-amount { margin: 1.5rem 0; }
.pricing-amount .price { font-size: 3rem; font-weight: 800; color: #0f172a; }
.pricing-amount .currency { font-size: 1.5rem; font-weight: 600; }
.pricing-amount .period { color: #64748b; font-size: 0.9rem; }

.pricing-features { list-style: none; margin-bottom: 2rem; flex-grow: 1; }
.pricing-features li { display: flex; gap: 0.5rem; font-size: 0.9rem; color: #334155; margin-bottom: 0.75rem; }
.pricing-features li.disabled { color: #94a3b8; }
.check { color: #10b981; font-weight: bold; }

.pricing-footer-note { color: #64748b; font-size: 0.85rem; margin-top: 2rem; }

/* ==========================================
   8. FAQ & CTA & FOOTER
   ========================================== */
.faq-accordion { display: flex; flex-direction: column; gap: 1rem; }
.faq-item { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 1.25rem; }
.faq-item summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-answer { margin-top: 0.75rem; color: #64748b; font-size: 0.95rem; }

.cta-banner { padding: 4rem 1.5rem; }
.cta-box { background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%); color: #ffffff; border-radius: 24px; padding: 4rem 2rem; }
.cta-box h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 1rem; }
.cta-box p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }

.landing-footer { background: #ffffff; border-top: 1px solid #e2e8f0; padding: 2.5rem 0; }
.footer-content { display: flex; justify-content: space-between; align-items: center; }
.footer-brand p { color: #64748b; font-size: 0.875rem; margin-top: 0.5rem; }
.footer-copyright { color: #94a3b8; font-size: 0.875rem; }

/* ==========================================
   9. RESPONSIVE DESIGN (MOBILE)
   ========================================== */
@media (max-width: 1120px) {
    .hero-container {
        grid-template-columns: minmax(0, 1fr) minmax(410px, .9fr);
        gap: 3rem;
    }

    .hero-copy h1 {
        font-size: clamp(3rem, 5.4vw, 4.4rem);
    }
}

@media (max-width: 992px) {
    .hero-section {
        min-height: auto;
        padding-top: 5.5rem;
        padding-bottom: 6rem;
    }
    .hero-container { grid-template-columns: 1fr; gap: 5rem; text-align: center; }
    .hero-copy { max-width: 760px; margin: auto; }
    .hero-copy h1 { max-width: 760px; }
    .hero-lead { margin-right: auto; margin-left: auto; }
    .hero-actions, .trust-metrics { justify-content: center; }
    .hero-preview-wrapper { width: min(100%, 650px); margin-right: auto; margin-left: auto; }
    .main-preview { transform: none; }
    .free-setup-intro { grid-template-columns: 1fr; gap: 2.5rem; }
    .free-setup-visual { width: min(100%, 600px); margin: 0 auto; }
    .free-setup-steps { grid-template-columns: 1fr; margin-top: 3rem; }
    .feature-grid, .steps-grid, .template-grid, .pricing-grid { grid-template-columns: 1fr; }
    .nav-menu { display: none; }
    .stats-container { flex-direction: column; gap: 1.5rem; }
    .stat-divider { display: none; }
    .footer-content { flex-direction: column; gap: 1.5rem; text-align: center; }
}

/* ==========================================
   10. PUBLIC TEMPLATE PAGES
   ========================================== */
.landing-mobile-menu { display: none; }
.public-template-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.5rem; }
.public-template-card { overflow: hidden; display: flex; flex-direction: column; min-width: 0; border: 1px solid #e2e8f0; border-radius: 18px; background: #fff; box-shadow: 0 12px 34px rgba(15,23,42,.06); transition: transform .22s ease, box-shadow .22s ease; }
.public-template-card:hover { transform: translateY(-5px); box-shadow: 0 20px 44px rgba(15,23,42,.11); }
.public-template-preview { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-bottom: 1px solid #e2e8f0; background: #eef2ff; }
.public-template-preview img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .35s ease; }
.public-template-card:hover .public-template-preview img { transform: scale(1.025); }
.template-category-badge { position: absolute; top: 14px; left: 14px; padding: .32rem .68rem; border-radius: 999px; background: rgba(15,23,42,.86); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .03em; backdrop-filter: blur(8px); }
.recommended-template-badge { display: inline-flex; margin-left: .4rem; padding: .2rem .45rem; border-radius: 999px; background: #dcfce7; color: #15803d; font-size: .68rem; font-weight: 700; }
.template-category-filter { display: flex; align-items: end; gap: .7rem; margin-bottom: 1.2rem; }
.template-category-filter label { display: grid; min-width: min(320px,100%); gap: .35rem; color: #475569; font-size: .8rem; font-weight: 700; }
.template-category-filter select { height: 42px; padding: 0 .75rem; border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; font: inherit; }
.public-template-placeholder { position: relative; overflow: hidden; width: 100%; height: 100%; background: linear-gradient(145deg,#eef2ff,#e2e8f0); }
.public-template-placeholder::before { position: absolute; inset: 12% 9%; border-radius: 11px; background: #fff; box-shadow: 0 16px 36px rgba(15,23,42,.12); content: ""; }
.public-template-placeholder span, .public-template-placeholder i, .public-template-placeholder b, .public-template-placeholder em { position: absolute; z-index: 1; display: block; border-radius: 5px; }
.public-template-placeholder span { top: 24%; left: 16%; width: 45%; height: 9%; background: #334155; }
.public-template-placeholder i { top: 39%; left: 16%; width: 31%; height: 4%; background: #a5b4fc; }
.public-template-placeholder b { right: 15%; bottom: 14%; width: 37%; height: 48%; border-radius: 38% 38% 5px 5px; background: #6366f1; }
.public-template-placeholder em { bottom: 22%; left: 16%; width: 24%; height: 8%; background: #4f46e5; }
.placeholder-minimal-01 { background: linear-gradient(145deg,#fff,#f1f5f9); }
.placeholder-minimal-01 b { border-radius: 2px; background: #cbd5e1; }
.placeholder-business-01 b { background: #5b5bd6; }
.public-template-content { display: flex; flex: 1; flex-direction: column; padding: 1.25rem; }
.public-template-content h3 { margin: 0 0 .4rem; color: #0f172a; font-size: 1.15rem; }
.public-template-content p { flex: 1; margin: 0 0 1.2rem; color: #64748b; font-size: .9rem; }
.template-card-actions { display: grid; grid-template-columns: 1fr 1.25fr; gap: .6rem; }
.template-card-actions .button { min-width: 0; padding-right: .7rem; padding-left: .7rem; font-size: .82rem; }
.template-section .section-action { margin-top: 2rem; }
.pricing-text-value { margin: 1.5rem 0; color: #0f172a; font-size: 1.65rem; font-weight: 800; }
.cta-actions { display: flex; justify-content: center; gap: .8rem; flex-wrap: wrap; }
.button.cta-outline { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.button.cta-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); }

.template-directory-hero { padding: 5rem 0 3.5rem; background: linear-gradient(180deg,#fff,#eef2ff); text-align: center; }
.template-directory-hero h1 { margin-bottom: .8rem; color: #0f172a; font-size: clamp(2.2rem,5vw,3.6rem); line-height: 1.15; }
.template-directory-hero p { max-width: 720px; margin: auto; color: #64748b; font-size: 1.05rem; }
.template-directory { min-height: 55vh; padding: 3.5rem 0 5rem; }
.template-filter-form { display: grid; grid-template-columns: minmax(230px,1.5fr) minmax(180px,.8fr) auto auto; align-items: end; gap: .8rem; margin-bottom: 2rem; padding: 1.2rem; border: 1px solid #e2e8f0; border-radius: 16px; background: #fff; }
.template-filter-form label { display: grid; gap: .35rem; color: #475569; font-size: .8rem; font-weight: 700; }
.template-filter-form input, .template-filter-form select { width: 100%; height: 44px; padding: 0 .85rem; border: 1px solid #cbd5e1; border-radius: 9px; outline: 0; background: #fff; color: #0f172a; font: inherit; }
.template-filter-form input:focus, .template-filter-form select:focus { border-color: #4f46e5; box-shadow: 0 0 0 3px rgba(79,70,229,.12); }
.template-result-heading { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; color: #64748b; font-size: .88rem; }
.template-result-heading strong { color: #0f172a; }
.public-pagination { display: flex; justify-content: center; gap: .45rem; margin-top: 2.5rem; }
.public-pagination a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #cbd5e1; border-radius: 9px; background: #fff; color: #475569; }
.public-pagination a.active { border-color: #4f46e5; background: #4f46e5; color: #fff; }
.public-empty-state { padding: 4rem 1.5rem; border: 1px dashed #cbd5e1; border-radius: 18px; background: #fff; text-align: center; }
.public-empty-state h2, .public-empty-state h3 { margin-bottom: .5rem; color: #0f172a; }
.public-empty-state p { color: #64748b; }

.public-preview-page { overflow: hidden; margin: 0; background: #dbe1eb; color: #172033; font-family: 'Prompt','Segoe UI',sans-serif; }
.public-preview-toolbar { position: relative; z-index: 5; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 68px; padding: 10px 18px; border-bottom: 1px solid #d7dce6; background: #fff; box-shadow: 0 5px 18px rgba(15,23,42,.08); }
.public-preview-toolbar > div:first-child { display: flex; align-items: center; gap: 15px; }
.public-preview-toolbar > div:first-child a { color: #64748b; font-size: .82rem; }
.public-preview-toolbar > .button { justify-self: end; }
.preview-device-controls { display: flex; gap: 5px; padding: 4px; border-radius: 10px; background: #f1f5f9; }
.preview-device-controls button { padding: 7px 12px; border: 0; border-radius: 7px; background: transparent; color: #64748b; cursor: pointer; font: inherit; font-size: .78rem; font-weight: 700; }
.preview-device-controls button.active { background: #fff; color: #4f46e5; box-shadow: 0 2px 8px rgba(15,23,42,.09); }
.public-preview-stage { height: calc(100vh - 68px); overflow: auto; padding: 22px; }
.public-preview-frame { overflow: hidden; height: 100%; min-height: 620px; margin: auto; border-radius: 10px; background: #fff; box-shadow: 0 20px 60px rgba(15,23,42,.2); transition: width .25s ease; }
.public-preview-frame.is-desktop { width: 100%; }
.public-preview-frame.is-tablet { width: min(820px,100%); }
.public-preview-frame.is-mobile { width: min(390px,100%); }
.public-preview-frame iframe { display: block; width: 100%; height: 100%; border: 0; background: #fff; }

.public-footer-grid { display: grid; grid-template-columns: 1.5fr .7fr .7fr 1fr; gap: 2rem; }
.public-footer-grid nav, .footer-legal { display: grid; align-content: start; gap: .5rem; color: #64748b; font-size: .86rem; }
.public-footer-grid nav strong, .footer-legal strong { margin-bottom: .35rem; color: #0f172a; }
.public-footer-grid nav a:hover { color: #4f46e5; }
.footer-legal span { line-height: 1.5; }
.public-footer-grid .footer-copyright { grid-column: 1 / -1; padding-top: 1.4rem; border-top: 1px solid #e2e8f0; }

@media (max-width: 1080px) {
    .nav-menu { gap: 1.1rem; }
    .nav-menu a { font-size: .86rem; }
}

@media (max-width: 992px) {
    .nav-menu, .nav-actions { display: none; }
    .landing-mobile-menu { position: relative; display: block; }
    .landing-mobile-menu summary { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #cbd5e1; border-radius: 10px; color: #334155; cursor: pointer; list-style: none; font-size: 1.35rem; }
    .landing-mobile-menu summary::-webkit-details-marker { display: none; }
    .landing-mobile-menu[open] summary { border-color: #4f46e5; background: #4f46e5; color: #fff; }
    .landing-mobile-menu nav { position: absolute; top: calc(100% + 10px); right: 0; display: grid; width: min(290px,calc(100vw - 30px)); gap: 2px; padding: 10px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; box-shadow: 0 20px 45px rgba(15,23,42,.16); }
    .landing-mobile-menu nav a { padding: .65rem .8rem; border-radius: 8px; color: #475569; font-size: .9rem; }
    .landing-mobile-menu nav a:hover { background: #f1f5f9; color: #4f46e5; }
    .landing-mobile-menu nav .mobile-primary-link { margin-top: 4px; background: #4f46e5; color: #fff; text-align: center; }
    .public-template-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .feature-grid, .steps-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .template-filter-form { grid-template-columns: 1fr 1fr; }
    .public-footer-grid { grid-template-columns: 1fr 1fr; }
    .public-footer-grid .footer-brand, .public-footer-grid .footer-copyright { grid-column: 1 / -1; }
    .public-preview-toolbar { grid-template-columns: 1fr auto; }
    .preview-device-controls { grid-column: 1 / -1; grid-row: 2; justify-self: center; margin-top: 8px; }
    .public-preview-toolbar { padding-bottom: 9px; }
    .public-preview-stage { height: calc(100vh - 112px); }
}

@media (max-width: 620px) {
    .nav-container { padding: .8rem 1rem; }
    .brand-name { font-size: 1rem; }
    .hero-section {
        padding: 4.25rem 1rem 4.75rem;
    }
    .hero-section::before { background-size: 42px 42px; }
    .hero-section::after { right: -380px; width: 600px; height: 600px; }
    .hero-container { gap: 3.25rem; text-align: left; }
    .hero-copy h1 { font-size: clamp(2.45rem, 11.5vw, 3.35rem); line-height: 1.08; letter-spacing: -.04em; }
    .hero-lead { margin-right: 0; margin-left: 0; font-size: 1rem; line-height: 1.75; }
    .badge-pill { align-items: flex-start; font-size: .78rem; }
    .hero-actions { display: grid; grid-template-columns: 1fr; gap: .75rem; margin-bottom: 2rem; }
    .hero-section .button.large { width: 100%; }
    .trust-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: start; gap: .75rem; font-size: .8rem; }
    .trust-item { align-items: flex-start; }
    .glass-card { border-radius: 17px; }
    .preview-toolbar { gap: .65rem; padding: .7rem .75rem; }
    .url-bar { min-width: 0; }
    .url-bar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .preview-body { min-height: 270px; padding: 1rem; }
    .preview-hero-mock { padding: 1.1rem; }
    .preview-grid-mock { gap: 8px; }
    .mock-card { height: 62px; }
    .floating-badge { display: none; }
    .free-setup-section { padding: 4.25rem 0; }
    .free-setup-copy h2 { font-size: 2rem; }
    .free-setup-description { font-size: .95rem; }
    .free-setup-benefits { grid-template-columns: 1fr; }
    .free-setup-visual { padding: 1rem 0 2rem; }
    .setup-visual-body { grid-template-columns: 42px 1fr; min-height: 220px; }
    .setup-visual-sidebar { padding: 1rem .65rem; }
    .setup-visual-content { padding: 1.5rem 1rem; }
    .setup-visual-status { right: -.25rem; padding: .7rem .8rem; font-size: .75rem; }
    .free-setup-step { padding: 1.4rem; }
    .free-setup-action .button { width: 100%; }
    .public-template-grid, .feature-grid, .steps-grid { grid-template-columns: 1fr; }
    .template-card-actions { grid-template-columns: 1fr; }
    .template-filter-form { grid-template-columns: 1fr; }
    .template-filter-form .button { width: 100%; }
    .template-result-heading { display: grid; }
    .public-footer-grid { grid-template-columns: 1fr; text-align: left; }
    .public-footer-grid .footer-brand, .public-footer-grid .footer-copyright { grid-column: auto; }
    .public-preview-toolbar { grid-template-columns: 1fr auto; }
    .public-preview-toolbar > div:first-child a { display: none; }
    .public-preview-toolbar > div:first-child strong { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .public-preview-toolbar > .button { padding: .55rem .75rem; font-size: .75rem; }
    .public-preview-stage { padding: 10px; }
    .public-preview-frame { min-height: 560px; border-radius: 6px; }
}

@media (max-width: 420px) {
    .trust-metrics { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
