/* ========================================
   StudioPro Marketing — Modern SaaS Design
   ======================================== */

:root {
    --sp-dark: #0a0a0f;
    --sp-dark-card: #13131a;
    --sp-dark-border: rgba(255,255,255,0.06);
    --sp-text: #e4e4e7;
    --sp-text-muted: #71717a;
    --sp-accent: #6366f1;
    --sp-accent-light: #818cf8;
    --sp-accent-glow: rgba(99,102,241,0.25);
    --sp-cyan: #22d3ee;
    --sp-violet: #a78bfa;
    --sp-rose: #fb7185;
    --sp-radius: 16px;
    --sp-radius-sm: 10px;
}

* { box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #18181b;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ── Utilities ────────────────────────── */

.py-section { padding: 6rem 0; }
.fw-800 { font-weight: 800; }
.section-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 1rem;
    border-radius: 100px;
    background: rgba(99,102,241,0.1);
    color: var(--sp-accent);
    margin-bottom: 1rem;
}
.section-badge-light {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
}

/* ── Navbar ───────────────────────────── */

.sp-nav {
    padding: 0.75rem 0;
    backdrop-filter: blur(20px) saturate(1.4);
    background: rgba(255,255,255,0.82) !important;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: background 0.3s;
    z-index: 1030;
}
.sp-nav .navbar-brand {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #18181b;
    gap: 0.5rem;
    display: flex;
    align-items: center;
}
.sp-nav .navbar-brand .brand-icon {
    width: 32px; height: 32px;
    background: var(--sp-accent);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1rem;
}
.sp-nav .nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: #52525b;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s;
}
.sp-nav .nav-link:hover { color: var(--sp-accent); }
.btn-nav-cta {
    background: var(--sp-accent);
    color: #fff !important;
    border: none;
    border-radius: 100px;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.25s;
}
.btn-nav-cta:hover {
    background: #4f46e5;
    box-shadow: 0 4px 20px var(--sp-accent-glow);
    transform: translateY(-1px);
}

/* ── Hero (Dark) ──────────────────────── */

.hero {
    position: relative;
    background: var(--sp-dark);
    overflow: hidden;
    padding: 8rem 0 6rem;
    min-height: 92vh;
    display: flex;
    align-items: center;
}

/* Mesh gradient blobs */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    pointer-events: none;
}
.hero::before {
    width: 600px; height: 600px;
    background: var(--sp-accent);
    top: -10%; left: -5%;
    animation: blobDrift 18s ease-in-out infinite alternate;
}
.hero::after {
    width: 500px; height: 500px;
    background: var(--sp-cyan);
    bottom: -15%; right: -5%;
    animation: blobDrift 22s ease-in-out infinite alternate-reverse;
}
@keyframes blobDrift {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(40px, -30px) scale(1.08); }
    100% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Noise grain overlay */
.hero .hero-grain {
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    background-repeat: repeat;
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
}

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

.hero-headline {
    font-size: clamp(3rem, 6.5vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 1.5rem;
}
.hero-headline .gradient-text {
    background: linear-gradient(135deg, var(--sp-accent-light), var(--sp-cyan), var(--sp-violet));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 6s ease-in-out infinite;
}
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

.hero-sub {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--sp-text-muted);
    max-width: 540px;
}

/* Hero buttons */
.btn-hero-primary {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: var(--sp-accent);
    color: #fff;
    border: none;
    border-radius: 100px;
    padding: 0.85rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
}
.btn-hero-primary:hover {
    background: #4f46e5;
    color: #fff;
    box-shadow: 0 0 40px var(--sp-accent-glow);
    transform: translateY(-2px);
}
.btn-hero-secondary {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(255,255,255,0.06);
    color: var(--sp-text);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 100px;
    padding: 0.85rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s;
    text-decoration: none;
}
.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-color: rgba(255,255,255,0.2);
}

/* Hero mock browser window */
.hero-visual {
    position: relative;
    border-radius: var(--sp-radius);
    overflow: hidden;
    border: 1px solid var(--sp-dark-border);
    background: var(--sp-dark-card);
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.05),
        0 24px 80px rgba(0,0,0,0.5);
}
.hero-visual-bar {
    display: flex; align-items: center; gap: 6px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid var(--sp-dark-border);
}
.hero-visual-bar span {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
}
.hero-visual-bar span:first-child { background: #ef4444; opacity: 0.7; }
.hero-visual-bar span:nth-child(2) { background: #eab308; opacity: 0.7; }
.hero-visual-bar span:nth-child(3) { background: #22c55e; opacity: 0.7; }
.hero-visual-body {
    padding: 2rem;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.mock-row {
    display: flex; gap: 0.75rem;
}
.mock-block {
    border-radius: var(--sp-radius-sm);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--sp-dark-border);
}
.mock-block.accent { background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(34,211,238,0.1)); border-color: rgba(99,102,241,0.15); }
.mock-line {
    height: 10px;
    border-radius: 5px;
    background: rgba(255,255,255,0.06);
}
.mock-line.short { width: 40%; }
.mock-line.medium { width: 65%; }
.mock-line.long { width: 90%; }

/* ── Social Proof / Stats ─────────────── */

.stats-bar {
    background: #fafafa;
    border-bottom: 1px solid #f0f0f0;
    padding: 3rem 0;
}
.stat-item { text-align: center; }
.stat-number {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--sp-accent);
}
.stat-label {
    font-size: 0.85rem;
    color: var(--sp-text-muted);
    margin-top: 0.25rem;
}

/* ── Features Bento Grid ──────────────── */

.features-section { background: #fff; }

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.bento-card {
    padding: 2rem;
    border-radius: var(--sp-radius);
    border: 1px solid #e4e4e7;
    background: #fff;
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}
.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(99,102,241,0.04), transparent);
    opacity: 0;
    transition: opacity 0.35s;
}
.bento-card:hover {
    border-color: rgba(99,102,241,0.3);
    box-shadow: 0 8px 40px rgba(99,102,241,0.08);
    transform: translateY(-2px);
}
.bento-card:hover::before { opacity: 1; }

.bento-card.span-2 { grid-column: span 2; }

.bento-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    position: relative;
}
.bento-icon.indigo  { background: rgba(99,102,241,0.1); color: var(--sp-accent); }
.bento-icon.cyan    { background: rgba(34,211,238,0.1); color: var(--sp-cyan); }
.bento-icon.violet  { background: rgba(167,139,250,0.1); color: var(--sp-violet); }
.bento-icon.rose    { background: rgba(251,113,133,0.1); color: var(--sp-rose); }
.bento-icon.emerald { background: rgba(52,211,153,0.1); color: #34d399; }
.bento-icon.amber   { background: rgba(251,191,36,0.1); color: #fbbf24; }

.bento-card h3 {
    font-size: 1.1rem;
    font-weight: 650;
    margin-bottom: 0.5rem;
    color: #18181b;
    position: relative;
}
.bento-card p {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--sp-text-muted);
    margin: 0;
    position: relative;
}

/* ── How It Works ─────────────────────── */

.how-section { background: #fafafa; }

.step-card {
    position: relative;
    text-align: center;
    padding: 2.5rem 1.5rem;
}
.step-num {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: var(--sp-accent);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 1.25rem;
    box-shadow: 0 4px 24px var(--sp-accent-glow);
}
.step-card h3 {
    font-size: 1.15rem;
    font-weight: 650;
    margin-bottom: 0.5rem;
}
.step-card p {
    font-size: 0.92rem;
    color: var(--sp-text-muted);
    line-height: 1.65;
}
.step-connector {
    display: flex; align-items: center; justify-content: center;
    padding-top: 2rem;
    color: #d4d4d8;
    font-size: 1.5rem;
}

/* ── CTA (Dark) ───────────────────────── */

.cta-section {
    position: relative;
    background: var(--sp-dark);
    overflow: hidden;
    padding: 6rem 0;
}
.cta-section::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: var(--sp-accent);
    filter: blur(140px);
    opacity: 0.15;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
}
.cta-section p { color: var(--sp-text-muted); font-size: 1.15rem; }

/* ── Contact Form ─────────────────────── */

.contact-section { background: #fafafa; }
.contact-card {
    border-radius: var(--sp-radius);
    border: 1px solid #e4e4e7;
    background: #fff;
    overflow: hidden;
}
.contact-card .form-control,
.contact-card .form-select {
    border-radius: var(--sp-radius-sm);
    border: 1px solid #e4e4e7;
    padding: 0.7rem 1rem;
    font-size: 0.92rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-card .form-control:focus {
    border-color: var(--sp-accent);
    box-shadow: 0 0 0 3px var(--sp-accent-glow);
}
.contact-card .form-label {
    font-size: 0.85rem;
    font-weight: 550;
    color: #3f3f46;
}
.btn-submit {
    background: var(--sp-accent);
    color: #fff;
    border: none;
    border-radius: 100px;
    padding: 0.75rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s;
}
.btn-submit:hover {
    background: #4f46e5;
    color: #fff;
    box-shadow: 0 4px 20px var(--sp-accent-glow);
    transform: translateY(-1px);
}

/* Contact sidebar info cards */
.contact-info-card {
    display: flex; gap: 1rem; align-items: flex-start;
    padding: 1.25rem;
    border-radius: var(--sp-radius-sm);
    background: #fafafa;
    border: 1px solid #f0f0f0;
}
.contact-info-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

/* ── Legal Pages ──────────────────────── */

.legal-content h2 {
    font-size: 1.15rem;
    font-weight: 650;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    color: #18181b;
}
.legal-content p,
.legal-content ul {
    color: #52525b;
    line-height: 1.85;
    font-size: 0.95rem;
}
.legal-content ul { padding-left: 1.25rem; }
.legal-content a { color: var(--sp-accent); }

/* ── 404 ──────────────────────────────── */

.error-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
}
.error-code {
    font-size: 8rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    background: linear-gradient(135deg, var(--sp-accent), var(--sp-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Footer ───────────────────────────── */

.sp-footer {
    background: var(--sp-dark);
    color: var(--sp-text);
    padding: 4rem 0 2rem;
}
.sp-footer h6 {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.4);
    margin-bottom: 1.25rem;
}
.sp-footer a {
    color: var(--sp-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.sp-footer a:hover { color: #fff; }
.sp-footer .footer-brand {
    font-weight: 700;
    font-size: 1.15rem;
    color: #fff;
    display: flex; align-items: center; gap: 0.5rem;
    margin-bottom: 1rem;
}
.sp-footer .footer-brand .brand-icon {
    width: 28px; height: 28px;
    background: var(--sp-accent);
    border-radius: 7px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 0.85rem;
}
.footer-divider {
    border-color: rgba(255,255,255,0.06);
    margin: 2.5rem 0 1.5rem;
}
.footer-bottom {
    font-size: 0.82rem;
    color: var(--sp-text-muted);
}

/* ── Scroll Reveal ────────────────────── */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1),
                transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── Pricing Cards ────────────────────── */

.pricing-card {
    position: relative;
    border-radius: var(--sp-radius);
    border: 1px solid #e4e4e7;
    background: #fff;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}
.pricing-card.featured {
    border-color: var(--sp-accent);
    box-shadow: 0 0 0 1px var(--sp-accent), 0 16px 48px var(--sp-accent-glow);
}
.pricing-card.featured:hover {
    box-shadow: 0 0 0 1px var(--sp-accent), 0 20px 60px rgba(99,102,241,0.2);
}
.pricing-popular {
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    background: var(--sp-accent);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.3rem 1rem;
    border-radius: 100px;
    white-space: nowrap;
}
.pricing-header { margin-bottom: 1.5rem; }
.pricing-plan {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.pricing-desc {
    font-size: 0.85rem;
    color: var(--sp-text-muted);
    margin-bottom: 1rem;
}
.pricing-price { margin-bottom: 0; }
.pricing-amount {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #18181b;
}
.pricing-period {
    font-size: 0.95rem;
    color: var(--sp-text-muted);
}
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    text-align: left;
    flex: 1;
}
.pricing-features li {
    font-size: 0.9rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f4f4f5;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #3f3f46;
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li.disabled { color: #d4d4d8; }
.pricing-features li.disabled i { color: #d4d4d8; }
.btn-pricing {
    display: inline-block;
    border-radius: 100px;
    padding: 0.75rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid #e4e4e7;
    color: #18181b;
    background: #fff;
}
.btn-pricing:hover {
    border-color: var(--sp-accent);
    color: var(--sp-accent);
    background: rgba(99,102,241,0.04);
}
.btn-pricing.featured {
    background: var(--sp-accent);
    color: #fff;
    border-color: var(--sp-accent);
}
.btn-pricing.featured:hover {
    background: #4f46e5;
    color: #fff;
    box-shadow: 0 4px 20px var(--sp-accent-glow);
    transform: translateY(-1px);
}

/* ── FAQ Accordion ────────────────────── */

.sp-accordion .accordion-item {
    border: 1px solid #e4e4e7;
    border-radius: var(--sp-radius-sm) !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
    background: #fff;
}
.sp-accordion .accordion-button {
    font-size: 0.95rem;
    font-weight: 600;
    color: #18181b;
    padding: 1.15rem 1.5rem;
    background: #fff;
    box-shadow: none !important;
}
.sp-accordion .accordion-button::after {
    width: 1rem; height: 1rem;
    background-size: 1rem;
}
.sp-accordion .accordion-button:not(.collapsed) {
    color: var(--sp-accent);
    background: rgba(99,102,241,0.03);
}
.sp-accordion .accordion-body {
    font-size: 0.92rem;
    line-height: 1.7;
    color: #52525b;
    padding: 0 1.5rem 1.25rem;
}
.sp-accordion .accordion-body a {
    color: var(--sp-accent);
}

/* ── Builder Preview (Hero) ───────────── */

.hero-visual-url {
    display: flex; align-items: center; gap: 4px;
    margin-left: 12px;
    background: rgba(255,255,255,0.06);
    border-radius: 5px;
    padding: 3px 10px;
    font-size: 0.65rem;
    color: rgba(255,255,255,0.35);
    flex: 1;
}
.mock-builder {
    display: flex;
    min-height: 280px;
}
.mock-sidebar {
    width: 52px;
    background: rgba(255,255,255,0.025);
    border-right: 1px solid var(--sp-dark-border);
    padding: 8px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}
.mock-sidebar-title {
    font-size: 0.45rem;
    color: rgba(255,255,255,0.2);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}
.mock-sidebar-item {
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 7px;
    color: rgba(255,255,255,0.25);
    font-size: 0.8rem;
    transition: all 0.2s;
}
.mock-sidebar-item.active {
    background: rgba(99,102,241,0.2);
    color: var(--sp-accent-light);
}
.mock-canvas {
    flex: 1;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
}
.mock-nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 6px 10px;
    border-radius: 6px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--sp-dark-border);
}
.mock-nav-brand {
    width: 40px; height: 5px;
    border-radius: 3px;
    background: rgba(255,255,255,0.15);
}
.mock-nav-link {
    width: 24px; height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,0.08);
}
.mock-hero-block {
    padding: 16px 14px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(99,102,241,0.25) 0%, rgba(34,211,238,0.12) 100%);
    border: 1px solid rgba(99,102,241,0.15);
}
.mock-btn-pill {
    width: 48px; height: 14px;
    border-radius: 7px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.06);
}
.mock-btn-pill.accent {
    background: var(--sp-accent);
    border-color: transparent;
}
.mock-grid-3 {
    display: flex; gap: 6px;
    flex: 1;
}
.mock-grid-card {
    flex: 1;
    border-radius: 6px;
    border: 1px solid var(--sp-dark-border);
    background: rgba(255,255,255,0.02);
    padding: 8px;
    transition: border-color 0.2s;
}
.mock-grid-card.selected {
    border-color: var(--sp-accent);
    box-shadow: 0 0 0 1px var(--sp-accent);
}
.mock-img-placeholder {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 4px;
    background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
    border: 1px solid var(--sp-dark-border);
}
.mock-props {
    width: 110px;
    background: rgba(255,255,255,0.025);
    border-left: 1px solid var(--sp-dark-border);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}
.mock-props-title {
    font-size: 0.5rem;
    color: rgba(255,255,255,0.25);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}
.mock-prop-row {
    display: flex; justify-content: space-between; align-items: center;
}
.mock-prop-label {
    width: 32px; height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,0.1);
}
.mock-prop-input {
    width: 50px; height: 18px;
    border-radius: 4px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--sp-dark-border);
}
.mock-prop-input.color {
    width: 18px;
    background: var(--sp-accent);
    border: 2px solid rgba(255,255,255,0.15);
}
.mock-prop-toggle {
    width: 28px; height: 14px;
    border-radius: 7px;
    background: var(--sp-accent);
    position: relative;
    display: block;
}
.mock-prop-toggle span {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #fff;
    position: absolute;
    top: 2px; right: 2px;
}

/* ── Back to Top ──────────────────────── */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--sp-dark);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0;
    transform: translateY(12px);
    transition: all 0.3s;
    z-index: 1020;
    pointer-events: none;
}
.back-to-top.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.back-to-top:hover {
    background: var(--sp-accent);
    border-color: var(--sp-accent);
    box-shadow: 0 4px 20px var(--sp-accent-glow);
}

/* ── Cookie Consent ───────────────────── */

.cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 1050;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.cookie-banner.show {
    transform: translateY(0);
}
.cookie-banner-inner {
    max-width: 680px;
    margin: 0 auto 1.5rem;
    background: var(--sp-dark);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--sp-radius);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 -8px 40px rgba(0,0,0,0.15);
}
.cookie-text {
    flex: 1;
    font-size: 0.85rem;
    color: var(--sp-text-muted);
    line-height: 1.5;
}
.cookie-text a {
    color: var(--sp-accent-light);
    text-decoration: underline;
}
.cookie-actions {
    display: flex; gap: 0.5rem;
    flex-shrink: 0;
}
.cookie-btn {
    border: none;
    border-radius: 100px;
    padding: 0.5rem 1.25rem;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.cookie-btn.accept {
    background: var(--sp-accent);
    color: #fff;
}
.cookie-btn.accept:hover {
    background: #4f46e5;
}
.cookie-btn.decline {
    background: rgba(255,255,255,0.06);
    color: var(--sp-text-muted);
    border: 1px solid rgba(255,255,255,0.08);
}
.cookie-btn.decline:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

/* ── Responsive ───────────────────────── */

@media (max-width: 991px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-card.span-2 { grid-column: span 1; }
    .hero { padding: 6rem 0 4rem; min-height: auto; }
    .step-connector { display: none; }
    .mock-props { display: none; }
    .mock-sidebar { width: 42px; }
}

@media (max-width: 767px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .hero { padding: 5rem 0 3rem; }
    .hero-headline { font-size: 2.5rem; }
    .py-section { padding: 4rem 0; }
    .stat-number { font-size: 1.5rem; }
    .mock-sidebar { display: none; }
    .mock-builder { min-height: 200px; }
    .cookie-banner-inner {
        flex-direction: column;
        text-align: center;
        margin: 0 1rem 1rem;
    }
    .back-to-top { bottom: 1.25rem; right: 1.25rem; }
}
