:root {
    --primary: #4F46E5;
    --primary-dark: #3730A3;
    --primary-light: #818CF8;
    --accent: #0EA5E9;
    --bg-dark: #0F172A;
    --bg-soft: #F1F5F9;
    --bg-page: #F8FAFC;
    --text-dark: #0F172A;
    --text-muted: #475569;
    --text-light: #94A3B8;
    --border: rgba(15, 23, 42, 0.08);
    --border-strong: rgba(15, 23, 42, 0.14);
    --gradient-hero: linear-gradient(135deg, #3730A3 0%, #4F46E5 60%, #6366F1 100%);
    --gradient-warm: linear-gradient(135deg, #0EA5E9 0%, #38BDF8 100%);
    --shadow-xs: 0 1px 2px rgba(18, 18, 31, 0.04);
    --shadow-sm: 0 4px 16px rgba(79, 70, 229, 0.08);
    --shadow-md: 0 12px 40px rgba(79, 70, 229, 0.12);
    --shadow-lg: 0 24px 64px rgba(79, 70, 229, 0.16);
    --radius: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --font: 'Plus Jakarta Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--text-dark);
    background: var(--bg-page);
    margin: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ─── TOP BAR ─── */
.top-bar {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.8);
    font-size: 0.78rem;
    font-weight: 500;
    padding: 0.5rem 0;
    letter-spacing: 0.015em;
}

/* ─── HEADER ─── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid var(--border);
}

.site-header .navbar { padding: 0.85rem 0; }

.site-header .container,
.top-bar .container {
    max-width: 1100px;
}

.header-inner {
    position: relative;
}

@media (min-width: 992px) {
    .header-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        align-items: center;
        gap: 1rem;
    }

    .header-inner > .navbar-toggler {
        display: none;
    }

    .header-collapse {
        display: contents !important;
    }

    .navbar-brand-custom {
        grid-column: 1;
        grid-row: 1;
    }

    .header-nav {
        grid-column: 2;
        grid-row: 1;
        position: static;
        transform: none;
        flex-direction: row;
        margin: 0 !important;
        justify-content: center;
    }

    .nav-actions {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        margin-left: 0;
        margin-top: 0;
    }
}

.navbar-brand-custom {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: -0.03em;
}

.brand-logo {
    display: block;
    flex-shrink: 0;
    border-radius: 11px;
    box-shadow: 0 2px 10px rgba(79, 70, 229, 0.22);
    object-fit: contain;
    background: white;
}

.brand-logo--sm {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(79, 70, 229, 0.25);
}

.brand-text { color: var(--text-dark); }

.brand-text-accent {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-text-accent-light {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-brand-custom:hover {
    opacity: 0.92;
    color: var(--text-dark);
}

/* legacy */
.brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--gradient-hero);
    box-shadow: 0 4px 12px rgba(79,70,229,0.35);
    flex-shrink: 0;
}

.nav-link-custom {
    color: var(--text-muted) !important;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius-sm);
    transition: color 0.2s, background 0.2s;
}

.nav-link-custom:hover {
    color: var(--primary) !important;
    background: var(--bg-soft);
}

.nav-actions { margin-top: 0.75rem; }

@media (max-width: 991.98px) {
    .header-nav {
        margin-bottom: 0.5rem;
    }
}

@media (min-width: 992px) {
    .nav-actions { margin-top: 0; }
}

.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--text-dark);
    text-decoration: none;
    transition: background 0.15s;
}

.cart-btn:hover {
    background: var(--bg-soft);
    color: var(--text-dark);
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--primary);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-actions .dropdown-toggle {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-radius: 50px !important;
    padding: 0.45rem 0.9rem !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    border: 1.5px solid rgba(18,18,31,0.1) !important;
    background: white !important;
    color: var(--text-dark) !important;
    box-shadow: none !important;
}

.nav-actions .dropdown-toggle::after { margin-left: 0.4rem; }

.nav-actions .dropdown-menu {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    padding: 0.4rem;
    min-width: 180px;
}

.nav-actions .dropdown-item {
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
}

.nav-actions .dropdown-item:hover {
    background: var(--bg-soft);
    color: var(--primary);
}

.btn-nav-ghost {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1.5px solid rgba(18,18,31,0.15);
    background: transparent;
    transition: border-color 0.15s, background 0.15s;
    white-space: nowrap;
}
.btn-nav-ghost:hover {
    border-color: rgba(18,18,31,0.35);
    background: var(--bg-soft);
    color: var(--text-dark);
}

.btn-nav-cta {
    background: var(--text-dark);
    color: white !important;
    padding: 0.5rem 1.1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: background 0.15s;
    white-space: nowrap;
    border: 1.5px solid transparent;
}

.btn-nav-cta:hover {
    background: var(--primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
    color: white;
}

/* ─── BUTTONS ─── */
.btn-primary-custom {
    background: var(--gradient-hero);
    color: white;
    border: none;
    padding: 0.9rem 1.75rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    font-family: var(--font);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(79,70,229,0.3);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(79,70,229,0.4);
    color: white;
}

.btn-secondary-custom {
    background: white;
    color: var(--text-dark);
    border: 1.5px solid rgba(18,18,31,0.12);
    padding: 0.85rem 1.65rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: var(--font);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.btn-secondary-custom:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: var(--shadow-xs);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-secondary-custom.btn-sm {
    padding: 0.55rem 1.2rem;
    font-size: 0.85rem;
}

.nav-user-btn {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.btn-accent-custom {
    background: var(--gradient-warm);
    color: white;
    border: none;
    padding: 0.9rem 1.75rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(255,107,107,0.3);
}

.btn-accent-custom:hover {
    transform: translateY(-2px);
    color: white;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--primary);
    text-decoration: none;
    border: 1.5px solid var(--border-strong);
    background: white;
    transition: all 0.2s;
}

.btn-ghost:hover {
    background: var(--bg-soft);
    color: var(--primary-dark);
}

/* ─── HERO ─── */
.hero-section {
    position: relative;
    overflow: hidden;
    padding: 4.5rem 0 5rem;
    background: linear-gradient(180deg, #EEF2FF 0%, var(--bg-page) 100%);
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(79,70,229,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79,70,229,0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 100%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 0.4rem 1rem 0.4rem 0.65rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-xs);
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22C55E;
    box-shadow: 0 0 0 3px rgba(34,197,94,0.2);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.hero-title {
    font-size: clamp(2.4rem, 5.5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin-bottom: 1.25rem;
    max-width: 14ch;
}

.text-gradient {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 460px;
    margin-bottom: 2rem;
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 2.5rem;
}

.hero-trust {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.hero-trust-item strong {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-dark);
    line-height: 1.2;
}

.hero-trust-item span {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

.hero-trust-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
}

/* Hero showcase */
.hero-showcase {
    position: relative;
    padding: 1rem 0 2rem;
}

.hero-showcase-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.hero-showcase-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light);
    margin-bottom: 1.25rem;
    text-align: center;
}

.hero-showcase-inner {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 1rem 0 2rem;
}

.hero-showcase-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
}

.showcase-chip {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-soft);
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
}

/* Hero design animation */
.hero-anim {
    --hero-cycle: 7s;
    position: relative;
}

.hero-anim-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
    min-height: 1.5rem;
}

.hero-anim-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
    animation: hero-status-pulse 1.2s ease-in-out infinite;
}

.hero-anim-status-text {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.02em;
}

.hero-anim-stage {
    min-height: 340px;
    overflow: visible;
}

.hero-anim-glow {
    animation: hero-glow-pulse var(--hero-cycle) ease-in-out infinite;
}

.hero-anim-orbit {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

.hero-anim-orbit-ring {
    position: absolute;
    left: 50%;
    top: 54%;
    width: 220px;
    height: 220px;
    margin: -110px 0 0 -110px;
    border: 1.5px dashed rgba(79, 70, 229, 0.15);
    border-radius: 50%;
    opacity: 0;
    animation: hero-orbit-ring var(--hero-cycle) ease-in-out infinite;
}

.hero-anim-palette {
    position: absolute;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 2px solid white;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
    opacity: 0;
}

.hero-anim-palette--1 {
    background: linear-gradient(135deg, #667eea, #764ba2);
    animation: hero-orbit-1 var(--hero-cycle) ease-in-out infinite;
}

.hero-anim-palette--2 {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    animation: hero-orbit-2 var(--hero-cycle) ease-in-out infinite;
}

.hero-anim-palette--3 {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    animation: hero-orbit-3 var(--hero-cycle) ease-in-out infinite;
}

.hero-anim-source {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.75rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    box-shadow: var(--shadow-sm);
    z-index: 4;
    opacity: 0;
    white-space: nowrap;
}

.hero-anim-source svg { color: var(--primary); flex-shrink: 0; }

.hero-anim-source--ai {
    top: 8%;
    right: 6%;
    animation: hero-source-ai var(--hero-cycle) ease-in-out infinite;
}

.hero-anim-source--photo {
    top: 22%;
    left: 4%;
    animation: hero-source-photo var(--hero-cycle) ease-in-out infinite;
}

.hero-anim-design-card {
    position: absolute;
    z-index: 5;
    left: 50%;
    top: 18%;
    width: 88px;
    height: 110px;
    margin-left: -44px;
    border-radius: 14px;
    background: white;
    padding: 6px;
    box-shadow: 0 16px 40px rgba(79, 70, 229, 0.28);
    opacity: 0;
    transform: translate(90px, -70px) scale(1.15) rotate(8deg);
    animation: hero-design-fly var(--hero-cycle) cubic-bezier(0.34, 1.2, 0.64, 1) infinite;
}

.hero-anim-design-card-inner {
    width: 100%;
    height: 78px;
    border-radius: 10px;
    background: var(--hero-design, linear-gradient(135deg, #667eea, #764ba2));
}

.hero-anim-design-label {
    display: block;
    text-align: center;
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--text-light);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hero-anim-phone-wrap {
    position: relative;
    z-index: 1;
    display: inline-block;
    max-width: 100%;
    perspective: 900px;
    isolation: isolate;
}

.hero-anim-phone-img {
    position: relative;
    z-index: 2;
    display: block;
    max-width: 100%;
    max-height: 420px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 24px 48px rgba(79, 70, 229, 0.18));
    pointer-events: none;
}

.hero-anim-print-wrap {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.hero-anim-print-3d {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
}

.hero-anim-face {
    position: absolute;
    overflow: hidden;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.hero-anim-face-fill {
    position: absolute;
    inset: 0;
    background: var(--hero-design, linear-gradient(135deg, #667eea, #764ba2));
    background-size: 320% 220%;
    clip-path: inset(100% 0 0 0);
    mix-blend-mode: multiply;
    opacity: 0.92;
}

.hero-anim-face-fill--edge {
    filter: brightness(0.62) saturate(1.15);
    opacity: 0.98;
}

.hero-anim-face-fill::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.35) 50%, transparent 65%);
    transform: translateX(-120%);
    animation: hero-shimmer var(--hero-cycle) ease-in-out infinite;
    mix-blend-mode: soft-light;
}

/* Üst kapak — arka yüz */
.hero-anim-face--top-back {
    left: 7.5%;
    top: 15%;
    width: 23.5%;
    height: 27%;
    clip-path: polygon(0 12%, 88% 0, 100% 88%, 6% 100%);
    transform: perspective(900px) rotateY(-21deg) rotateX(5deg) rotateZ(-1deg);
    transform-origin: right center;
    border-radius: 3px 8px 8px 3px;
}

.hero-anim-face--top-back .hero-anim-face-fill {
    background-position: 8% 12%;
    animation: hero-print-reveal-top var(--hero-cycle) ease-in-out infinite;
}

/* Üst kapak — yan kenar */
.hero-anim-face--top-edge {
    left: 29.5%;
    top: 17%;
    width: 4.2%;
    height: 24%;
    clip-path: polygon(0 0, 100% 8%, 100% 92%, 0 100%);
    transform: perspective(900px) rotateY(-68deg) rotateX(2deg) translateZ(-1px);
    transform-origin: left center;
}

.hero-anim-face--top-edge .hero-anim-face-fill {
    background-position: 38% 12%;
    animation: hero-print-reveal-top-edge var(--hero-cycle) ease-in-out infinite;
}

/* Alt gövde — arka yüz */
.hero-anim-face--bottom-back {
    left: 5.5%;
    top: 41%;
    width: 29%;
    height: 37%;
    clip-path: polygon(0 10%, 91% 0, 100% 90%, 7% 100%);
    transform: perspective(900px) rotateY(-23deg) rotateX(7deg) rotateZ(-0.5deg);
    transform-origin: right center;
    border-radius: 4px 10px 10px 4px;
}

.hero-anim-face--bottom-back .hero-anim-face-fill {
    background-position: 4% 62%;
    animation: hero-print-reveal-bottom var(--hero-cycle) ease-in-out infinite;
}

/* Alt gövde — yan kenar */
.hero-anim-face--bottom-edge {
    left: 32.5%;
    top: 43%;
    width: 5%;
    height: 35%;
    clip-path: polygon(0 2%, 100% 0, 100% 100%, 0 98%);
    transform: perspective(900px) rotateY(-70deg) rotateX(3deg) translateZ(-1px);
    transform-origin: left center;
}

.hero-anim-face--bottom-edge .hero-anim-face-fill {
    background-position: 42% 62%;
    animation: hero-print-reveal-bottom-edge var(--hero-cycle) ease-in-out infinite;
}

.hero-anim-scan {
    position: absolute;
    left: 5%;
    right: 58%;
    top: 14%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #fff 30%, var(--primary-light) 50%, #fff 70%, transparent);
    box-shadow: 0 0 16px 4px rgba(79, 70, 229, 0.55);
    opacity: 0;
    z-index: 3;
    animation: hero-scan-line var(--hero-cycle) ease-in-out infinite;
}

.hero-anim-sparkles span {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 0 6px 2px rgba(255,255,255,0.8);
    opacity: 0;
    animation: hero-sparkle var(--hero-cycle) ease-out infinite;
}

.hero-anim-sparkles span:nth-child(1) { left: 12%; top: 22%; animation-delay: 2.8s; }
.hero-anim-sparkles span:nth-child(2) { left: 22%; top: 38%; animation-delay: 3.0s; }
.hero-anim-sparkles span:nth-child(3) { left: 30%; top: 28%; animation-delay: 3.1s; }
.hero-anim-sparkles span:nth-child(4) { left: 14%; top: 58%; animation-delay: 3.2s; }
.hero-anim-sparkles span:nth-child(5) { left: 26%; top: 68%; animation-delay: 3.3s; }
.hero-anim-sparkles span:nth-child(6) { left: 32%; top: 52%; animation-delay: 3.4s; }

.hero-anim-flash {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 48%, rgba(255,255,255,0.65) 0%, transparent 50%);
    opacity: 0;
    pointer-events: none;
    z-index: 3;
    animation: hero-flash var(--hero-cycle) ease-out infinite;
}

.hero-anim-badge {
    position: absolute;
    bottom: 12%;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.85rem;
    background: white;
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #059669;
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.15);
    opacity: 0;
    z-index: 6;
    white-space: nowrap;
    animation: hero-badge-pop var(--hero-cycle) ease-out infinite;
}

.hero-anim-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 1rem 0 0.25rem;
    padding: 0 0.5rem;
}

.hero-anim-progress-step {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-light);
    white-space: nowrap;
    transition: color 0.3s;
}

.hero-anim-progress-step span {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 800;
    background: var(--bg-soft);
    border: 1.5px solid var(--border);
    transition: all 0.3s;
}

.hero-anim-progress-line {
    width: 28px;
    height: 2px;
    background: var(--border);
    margin: 0 0.35rem;
    border-radius: 1px;
    position: relative;
    overflow: hidden;
}

.hero-anim-progress-line::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    animation: hero-progress-fill var(--hero-cycle) linear infinite;
}

.hero-anim-progress-line:nth-of-type(2)::after {
    animation-delay: 2.3s;
}

.hero-anim-progress-step--1 span { animation: hero-step-1 var(--hero-cycle) ease-in-out infinite; }
.hero-anim-progress-step--2 span { animation: hero-step-2 var(--hero-cycle) ease-in-out infinite; }
.hero-anim-progress-step--3 span { animation: hero-step-3 var(--hero-cycle) ease-in-out infinite; }

@keyframes hero-status-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.75; }
}

@keyframes hero-glow-pulse {
    0%, 35% { opacity: 0.14; transform: scale(1); }
    55%, 75% { opacity: 0.28; transform: scale(1.06); }
    100% { opacity: 0.14; transform: scale(1); }
}

@keyframes hero-orbit-ring {
    0%, 8% { opacity: 0; transform: rotate(0deg) scale(0.85); }
    15%, 32% { opacity: 1; transform: rotate(90deg) scale(1); }
    38%, 100% { opacity: 0; transform: rotate(180deg) scale(0.9); }
}

@keyframes hero-orbit-1 {
    0%, 10% { opacity: 0; transform: translate(40px, -30px) scale(0.6); }
    18%, 28% { opacity: 1; transform: translate(-70px, -50px) scale(1); }
    35%, 100% { opacity: 0; transform: translate(-20px, 10px) scale(0.4); }
}

@keyframes hero-orbit-2 {
    0%, 12% { opacity: 0; transform: translate(-30px, 20px); }
    20%, 30% { opacity: 1; transform: translate(60px, -60px) scale(1); }
    36%, 100% { opacity: 0; transform: translate(10px, -10px) scale(0.4); }
}

@keyframes hero-orbit-3 {
    0%, 14% { opacity: 0; transform: translate(20px, 40px); }
    22%, 32% { opacity: 1; transform: translate(-50px, 30px) scale(1); }
    38%, 100% { opacity: 0; transform: translate(0, 0) scale(0.4); }
}

@keyframes hero-source-ai {
    0%, 12% { opacity: 0; transform: translateY(-8px); }
    18%, 30% { opacity: 1; transform: translateY(0); }
    36%, 100% { opacity: 0; transform: scale(0.9); }
}

@keyframes hero-source-photo {
    0%, 100% { opacity: 0; }
    14%, 26% { opacity: 0.85; transform: translateY(0); }
}

@keyframes hero-design-fly {
    0%, 24% { opacity: 0; transform: translate(100px, -80px) scale(1.2) rotate(10deg); }
    28% { opacity: 1; transform: translate(100px, -80px) scale(1.15) rotate(8deg); }
    38% { transform: translate(0, 20px) scale(0.75) rotate(0deg); }
    42%, 46% { opacity: 1; transform: translate(0, 20px) scale(0.75); }
    52%, 100% { opacity: 0; transform: translate(-30px, 40px) scale(0.3); }
}

@keyframes hero-print-reveal-top {
    0%, 38% { clip-path: inset(100% 0 0 0); }
    44%, 68% { clip-path: inset(0 0 0 0); }
    92%, 100% { clip-path: inset(0 0 0 0); }
}

@keyframes hero-print-reveal-top-edge {
    0%, 44% { clip-path: inset(100% 0 0 0); }
    50%, 68% { clip-path: inset(0 0 0 0); }
    92%, 100% { clip-path: inset(0 0 0 0); }
}

@keyframes hero-print-reveal-bottom {
    0%, 42% { clip-path: inset(100% 0 0 0); }
    48%, 72% { clip-path: inset(0 0 0 0); }
    92%, 100% { clip-path: inset(0 0 0 0); }
}

@keyframes hero-print-reveal-bottom-edge {
    0%, 48% { clip-path: inset(100% 0 0 0); }
    54%, 72% { clip-path: inset(0 0 0 0); }
    92%, 100% { clip-path: inset(0 0 0 0); }
}

@keyframes hero-scan-line {
    0%, 38% { top: 14%; opacity: 0; }
    42% { opacity: 1; top: 14%; }
    66% { top: 78%; opacity: 1; }
    70%, 100% { opacity: 0; top: 80%; }
}

@keyframes hero-shimmer {
    0%, 65% { transform: translateX(-120%); }
    72% { transform: translateX(120%); }
    100% { transform: translateX(120%); }
}

@keyframes hero-sparkle {
    0%, 68% { opacity: 0; transform: scale(0); }
    72% { opacity: 1; transform: scale(1.4); }
    78%, 100% { opacity: 0; transform: scale(0); }
}

@keyframes hero-flash {
    0%, 40% { opacity: 0; }
    43% { opacity: 0.85; }
    48%, 100% { opacity: 0; }
}

@keyframes hero-badge-pop {
    0%, 68% { opacity: 0; transform: translateX(-50%) translateY(12px) scale(0.9); }
    74% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1.05); }
    78%, 92% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
    100% { opacity: 0; transform: translateX(-50%) translateY(-4px); }
}

@keyframes hero-step-1 {
    0%, 100% { background: var(--bg-soft); border-color: var(--border); color: var(--text-light); }
    5%, 35% { background: var(--primary); border-color: var(--primary); color: white; box-shadow: 0 4px 12px rgba(79,70,229,0.35); }
}

@keyframes hero-step-2 {
    0%, 35% { background: var(--bg-soft); border-color: var(--border); color: var(--text-light); }
    40%, 70% { background: var(--primary); border-color: var(--primary); color: white; box-shadow: 0 4px 12px rgba(79,70,229,0.35); }
    100% { background: var(--bg-soft); border-color: var(--border); color: var(--text-light); }
}

@keyframes hero-step-3 {
    0%, 70% { background: var(--bg-soft); border-color: var(--border); color: var(--text-light); }
    75%, 95% { background: #059669; border-color: #059669; color: white; box-shadow: 0 4px 12px rgba(34,197,94,0.35); }
    100% { background: var(--bg-soft); border-color: var(--border); color: var(--text-light); }
}

@keyframes hero-progress-fill {
    0%, 35% { transform: scaleX(0); }
    40%, 100% { transform: scaleX(1); }
}

@media (max-width: 991.98px) {
    .hero-anim-stage { min-height: 280px; }
    .hero-anim-phone-img { max-height: 320px; }
    .hero-anim-design-card { width: 72px; height: 92px; margin-left: -36px; }
    .hero-anim-progress-step { font-size: 0; gap: 0; }
    .hero-anim-progress-step span { font-size: 0.65rem; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-anim *,
    .hero-anim *::before,
    .hero-anim *::after {
        animation: none !important;
        transition: none !important;
    }

    .hero-anim-face-fill {
        clip-path: inset(0 0 0 0) !important;
        opacity: 0.88;
        animation: none !important;
    }

    .hero-anim-source,
    .hero-anim-design-card,
    .hero-anim-orbit,
    .hero-anim-badge { display: none; }
}

.hero-float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    box-shadow: var(--shadow-sm);
    font-size: 0.85rem;
    animation: float 4s ease-in-out infinite;
}

.hero-float-card strong {
    display: block;
    font-weight: 700;
    font-size: 0.88rem;
    line-height: 1.2;
}

.hero-float-card small {
    color: var(--text-light);
    font-size: 0.75rem;
}

.hero-float-card--1 { top: 8%; left: -4%; animation-delay: 0s; }
.hero-float-card--2 { bottom: 12%; right: -4%; animation-delay: 1.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.float-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    flex-shrink: 0;
}

.float-icon--purple { background: linear-gradient(135deg, #4F46E5, #6366F1); }
.float-icon--coral { background: linear-gradient(135deg, #FF6B6B, #FF8E53); }

/* ─── SECTIONS ─── */
.section { padding: 5.5rem 0; }
.section--compact { padding: 4rem 0; }
.section--tight { padding: 2.5rem 0 4rem; }

.bg-soft-section {
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-header { margin-bottom: 3rem; }
.section-header--center { text-align: center; }
.section-header--left { text-align: left; }
.section-header--left .section-subtitle { margin-left: 0; }

.section-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.section-eyebrow--light { color: rgba(255,255,255,0.8); }

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.65rem;
    line-height: 1.15;
}

.section-header--center .section-title { margin-left: auto; margin-right: auto; }

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 520px;
    line-height: 1.65;
    margin: 0;
}

.section-header--center .section-subtitle { margin: 0 auto; }

.section-action { text-align: center; margin-top: 2.5rem; }

/* Inspiration */
.inspiration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.85rem;
}

.inspiration-grid--compact {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.inspiration-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.25s;
    cursor: pointer;
}

.inspiration-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
    color: var(--text-dark);
}

.inspiration-swatch {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    flex-shrink: 0;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
}

.inspiration-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.inspiration-pill {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    background: white;
    border: 1px solid var(--border);
    padding: 0.45rem 0.9rem;
    border-radius: 50px;
}

.inspiration-strip {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.inspiration-strip-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Trend cards */
.trend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.25rem;
}

.trend-grid--wide {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.trend-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    display: block;
}

.trend-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-strong);
    color: inherit;
}

.trend-card-visual {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.trend-card-visual .gradient-bg {
    width: 100%;
    height: 100%;
    transition: transform 0.4s;
}

.trend-card:hover .gradient-bg { transform: scale(1.05); }

.trend-card-phone {
    position: absolute;
    bottom: -20px;
    right: 16px;
    width: 64px;
    height: 128px;
    background: #1c1c1e;
    border-radius: 14px;
    padding: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    transform: rotate(-8deg);
}

.trend-mini-back {
    width: 100%;
    height: 100%;
    border-radius: 11px;
}

.trend-card-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(255,255,255,0.92);
    color: var(--text-dark);
    padding: 0.3rem 0.65rem;
    border-radius: 50px;
}

.trend-card-body {
    padding: 1.15rem 1.25rem 1.25rem;
}

.trend-card-body h4 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
}

.trend-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-light);
}

.trend-card-cta {
    font-weight: 700;
    color: var(--primary);
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.2s, transform 0.2s;
}

.trend-card:hover .trend-card-cta {
    opacity: 1;
    transform: translateX(0);
}

/* Process */
.process-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
}

.process-track::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    opacity: 0.15;
}

.process-step {
    position: relative;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    transition: box-shadow 0.3s, border-color 0.3s;
}

.process-step:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--border-strong);
}

.process-step-num {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
}

.process-step-body h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.process-step-body p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* Split panel */
.split-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: white;
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 3.5rem;
    box-shadow: var(--shadow-sm);
}

.split-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    line-height: 1.15;
}

.split-text {
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.split-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.split-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.65rem;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-dark);
}

.split-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
}

.split-phones {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding-bottom: 2rem;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.feature-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.feature-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--bg-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.feature-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.65;
}

/* Models */
.models-panel {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.75rem;
}

.model-chip {
    background: var(--bg-page);
    border: 1.5px solid transparent;
    border-radius: var(--radius-sm);
    padding: 0.85rem 0.75rem;
    text-align: center;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    color: var(--text-dark);
    display: block;
}

.model-chip:hover,
.model-chip.active {
    border-color: var(--primary);
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-xs);
}

.model-chip--all {
    background: var(--text-dark);
    color: white;
}

.model-chip--all:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.models-search-wrap {
    position: relative;
    max-width: 420px;
    margin-bottom: 2.5rem;
}

.models-search-wrap svg {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    pointer-events: none;
}

.models-search {
    padding-left: 2.75rem !important;
    font-size: 0.95rem !important;
}

.models-brand-section { margin-bottom: 2.5rem; }

.models-brand-count {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    margin-left: 0.35rem;
}

.models-empty-search {
    text-align: center;
    color: var(--text-muted);
    padding: 2rem 0;
}

.models-brand-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.review-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    position: relative;
    transition: box-shadow 0.3s;
}

.review-card:hover { box-shadow: var(--shadow-sm); }

.review-card--featured {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-sm);
    background: linear-gradient(180deg, white 0%, #FAFAFF 100%);
}

.review-quote {
    font-size: 3rem;
    line-height: 1;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.15;
    position: absolute;
    top: 1rem;
    right: 1.25rem;
}

.review-stars {
    color: #F59E0B;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 0.85rem;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-hero);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.review-author strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
}

.review-author span {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* CTA */
.cta-panel {
    position: relative;
    background: var(--gradient-hero);
    border-radius: 28px;
    padding: 4rem 3rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    min-height: 320px;
}

.cta-panel-deco {
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    pointer-events: none;
}

.cta-mini-flow {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 1.1rem 0 1rem;
    flex-wrap: wrap;
}

.cta-mini-step {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
}

.cta-mini-icon {
    font-size: 1rem;
}

.cta-mini-arrow {
    color: rgba(255,255,255,0.45);
    font-size: 0.9rem;
}

.cta-prompt-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1.4rem;
}

.cta-prompt-chip {
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 50px;
    padding: 0.28rem 0.75rem;
    background: rgba(255,255,255,0.08);
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
    white-space: nowrap;
}

.cta-prompt-chip:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.5);
    color: white;
}

.cta-trust-line {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
    margin: 0.6rem 0 0;
}

/* CTA Phone Showcase */
.cta-phone-showcase {
    position: relative;
    flex-shrink: 0;
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.cta-phone-glow {
    position: absolute;
    width: 220px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    filter: blur(40px);
    pointer-events: none;
}

.cta-phone-frame {
    position: relative;
    width: 130px;
    height: 260px;
    background: rgba(255,255,255,0.12);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
    transform: rotate(3deg);
}

.cta-phone-camera {
    position: absolute;
    top: 14px;
    left: 12px;
    width: 44px;
    height: 44px;
    background: rgba(0,0,0,0.35);
    border-radius: 12px;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 6px;
    backdrop-filter: blur(4px);
}

.cta-phone-lens {
    width: 14px;
    height: 14px;
    background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.3), rgba(0,0,0,0.6));
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
}

.cta-phone-flash {
    width: 6px;
    height: 6px;
    background: rgba(255, 220, 100, 0.7);
    border-radius: 50%;
    align-self: center;
}

.cta-phone-screen {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 26px;
}


/* Cycling designs */
@keyframes designCycle {
    0%, 20% { opacity: 1; }
    25%, 95% { opacity: 0; }
    100% { opacity: 1; }
}

.cta-phone-design {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.cta-phone-design--1 {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 70%, #533483 100%);
    animation: designCycle 12s infinite 0s;
}

.cta-phone-design--2 {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd9 30%, #e1bee7 60%, #d1c4e9 100%);
    animation: designCycle 12s infinite 3s;
}

.cta-phone-design--3 {
    background: linear-gradient(135deg, #0d0d0d 0%, #1a0533 30%, #00ffcc22 60%, #ff00ff22 100%);
    animation: designCycle 12s infinite 6s;
}

.cta-phone-design--4 {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 30%, #ffd700 60%, #8b4513 100%);
    animation: designCycle 12s infinite 9s;
}

/* Design labels cycling */
@keyframes labelCycle {
    0%, 20% { opacity: 1; transform: translateY(0); }
    25%, 95% { opacity: 0; transform: translateY(6px); }
    100% { opacity: 1; transform: translateY(0); }
}

.cta-phone-label-wrap {
    position: absolute;
    bottom: 22px;
    left: 0; right: 0;
    display: flex;
    justify-content: center;
    z-index: 2;
}

.cta-phone-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: white;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(8px);
    border-radius: 50px;
    padding: 0.2rem 0.6rem;
    position: absolute;
    white-space: nowrap;
    opacity: 0;
}

.cta-phone-label--1 { animation: labelCycle 12s infinite 0s; }
.cta-phone-label--2 { animation: labelCycle 12s infinite 3s; }
.cta-phone-label--3 { animation: labelCycle 12s infinite 6s; }
.cta-phone-label--4 { animation: labelCycle 12s infinite 9s; }

/* Floating tags */
@keyframes floatTag {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
}

.cta-float-tag {
    position: absolute;
    font-size: 0.68rem;
    font-weight: 700;
    color: white;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(8px);
    border-radius: 50px;
    padding: 0.25rem 0.65rem;
    white-space: nowrap;
    animation: floatTag 3s ease-in-out infinite;
}

.cta-float-tag--1 { top: 5px;   left: -70px;  animation-delay: 0s; }
.cta-float-tag--2 { top: 50px;  right: -75px; animation-delay: 0.8s; }
.cta-float-tag--3 { bottom: 60px; left: -80px; animation-delay: 1.6s; }
.cta-float-tag--4 { bottom: 10px; right: -65px; animation-delay: 2.4s; }

.cta-panel-content {
    position: relative;
    z-index: 1;
    max-width: 520px;
    color: white;
}

.cta-panel h2 {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}

.cta-panel p {
    opacity: 0.9;
    margin-bottom: 1.75rem;
    line-height: 1.65;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.btn-cta-white {
    background: white;
    color: var(--primary);
    padding: 0.85rem 1.75rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-cta-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    color: var(--primary-dark);
}

.btn-cta-outline {
    background: transparent;
    color: white;
    border: 1.5px solid rgba(255,255,255,0.5);
    padding: 0.8rem 1.65rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-cta-outline:hover {
    background: rgba(255,255,255,0.12);
    border-color: white;
    color: white;
}

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
    background: linear-gradient(180deg, #EEECFF 0%, var(--bg-page) 100%);
    padding: 4rem 0 3rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.page-hero--compact { padding: 3rem 0 2rem; }

.page-hero h1 {
    font-size: clamp(1.85rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.65rem;
}

.page-hero p {
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* ─── DESIGN PAGES ─── */
.design-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.design-option-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.design-option-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    color: inherit;
}

.design-option-card--featured {
    border-color: var(--border-strong);
    background: linear-gradient(180deg, white 0%, #FAFAFF 100%);
}

.design-option-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.design-option-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--bg-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.design-option-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--gradient-hero);
    color: white;
    padding: 0.3rem 0.65rem;
    border-radius: 50px;
}

.design-option-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
    letter-spacing: -0.02em;
}

.design-option-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
    flex-grow: 1;
    margin-bottom: 1.25rem;
}

.design-option-link {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary);
}

/* Studio workspace */
.studio-workspace {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 1.5rem;
    align-items: start;
}

.panel-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.25rem;
}

.panel-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.panel-card-header h2 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

.panel-hint {
    font-size: 0.78rem;
    color: var(--text-light);
    font-weight: 500;
}

.upload-zone {
    border: 2px dashed var(--border-strong);
    border-radius: var(--radius-md);
    padding: 3rem 2rem;
    text-align: center;
    background: var(--bg-page);
    cursor: pointer;
    transition: all 0.25s;
}

.upload-zone:hover,
.upload-zone.dragover {
    border-color: var(--primary);
    background: var(--bg-soft);
}

.upload-zone-graphic {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.upload-zone h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.upload-zone p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.upload-preview {
    margin-top: 1.25rem;
    text-align: center;
}

.upload-preview img {
    max-width: 100%;
    max-height: 180px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.upload-hint {
    font-size: 0.8rem;
    color: var(--text-light);
}

.preview-panel {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    position: sticky;
    top: 100px;
}

.preview-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-light);
}

.preview-panel-header--inline {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.preview-badge {
    font-size: 0.72rem;
    background: var(--bg-soft);
    color: var(--primary);
    padding: 0.25rem 0.6rem;
    border-radius: 50px;
    text-transform: none;
    letter-spacing: 0;
}

.preview-price {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.preview-panel-body {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 1rem 0 2rem;
}

.preview-cta { justify-content: center; }

.tool-group { margin-bottom: 1.35rem; }

.tool-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-bottom: 0.65rem;
}

.text-input-studio {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: var(--font);
    background: var(--bg-page);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.text-input-studio:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79,70,229,0.12);
    background: white;
}

/* ─── PHONE SHOWCASE (real product images) ─── */
.phone-showcase {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.phone-showcase-image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(79, 70, 229, 0.15));
}

.phone-showcase--hero .phone-showcase-image {
    max-height: 480px;
}

.phone-showcase--studio .phone-showcase-image {
    max-height: 520px;
}

.phone-showcase--split .phone-showcase-image {
    max-width: 170px;
    max-height: 340px;
}

.phone-showcase--upload .phone-showcase-image {
    max-width: 240px;
    max-height: 480px;
}

.phone-showcase-badge {
    margin-top: 0.75rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-light);
    background: var(--bg-soft);
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
}

.phone-showcase-overlay {
    position: absolute;
    inset: 8% 12% 10% 12%;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s;
}

.phone-showcase-overlay.has-image,
.phone-showcase-overlay[style*="background-image"] {
    opacity: 1;
}

.trend-card-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.trend-card:hover .trend-card-photo {
    transform: scale(1.05);
}

/* ─── PHONE MOCKUP — legacy ─── */
.phone-mockup {
    position: relative;
    width: 280px;
    height: 572px;
    margin: 0 auto;
    background: linear-gradient(165deg, #8E8E93 0%, #636366 35%, #48484A 70%, #3A3A3C 100%);
    border-radius: 48px;
    padding: 7px;
    box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -1px 0 rgba(0, 0, 0, 0.25);
    transform: perspective(1100px) rotateY(-5deg) rotateX(1deg);
    transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1);
}

.phone-mockup:hover {
    transform: perspective(1100px) rotateY(0deg) rotateX(0deg);
}

.phone-frame-edge {
    position: absolute;
    inset: 5px;
    border-radius: 44px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    pointer-events: none;
    z-index: 6;
}

.phone-side-btn {
    position: absolute;
    background: linear-gradient(180deg, #6E6E73, #48484A);
    border-radius: 2px;
    z-index: 7;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.15);
}

.phone-side-btn-vol {
    left: -2px;
    top: 118px;
    width: 3px;
    height: 28px;
    box-shadow: 0 46px 0 #5A5A5E, inset 0 1px 0 rgba(255,255,255,0.15);
}

.phone-side-btn-power {
    right: -2px;
    top: 148px;
    width: 3px;
    height: 52px;
}

.phone-back, .phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 41px;
    overflow: hidden;
    position: relative;
    background: var(--gradient-hero);
}

.phone-case-design {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.iphone-camera-bump {
    position: absolute;
    top: 3.2%;
    left: 3.6%;
    width: 34%;
    aspect-ratio: 1;
    z-index: 4;
    pointer-events: none;
}

.iphone-camera-glass {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #2C2C2E 0%, #1C1C1E 55%, #141416 100%);
    border-radius: 24%;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.iphone-lens {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 28%, #6B7A8F 0%, #2A3440 38%, #0A0E14 72%);
    border: 2px solid #3A4654;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
}

.iphone-lens--main {
    width: 38%;
    height: 38%;
    top: 14%;
    left: 50%;
    transform: translateX(-50%);
}

.iphone-lens--ultra {
    width: 34%;
    height: 34%;
    bottom: 12%;
    left: 10%;
}

.iphone-lens--tele {
    width: 34%;
    height: 34%;
    bottom: 12%;
    right: 10%;
}

.iphone-lidar {
    position: absolute;
    width: 11%;
    height: 11%;
    top: 20%;
    right: 14%;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, #4A5568, #1A2028);
    border: 1px solid #3A4654;
}

.iphone-flash {
    position: absolute;
    width: 7%;
    height: 7%;
    top: 34%;
    right: 16%;
    border-radius: 50%;
    background: radial-gradient(circle, #F5F0E6 0%, #C9B896 100%);
    opacity: 0.95;
}

.iphone-logo {
    position: absolute;
    left: 50%;
    top: 52%;
    transform: translate(-50%, -50%);
    width: 14%;
    height: 7%;
    background: rgba(255, 255, 255, 0.22);
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12'%3E%3Cpath fill='black' d='M16.8 0c-.2 2.8-1.8 4.9-3.9 6.1 2.2 1.1 3.8 3.4 4.1 5.9h-3.2c-.2-1.6-1.2-3.1-2.8-3.9-1.6.8-2.6 2.3-2.8 3.9H5.1c.3-2.5 1.9-4.8 4.1-5.9C7.1 4.9 5.5 2.8 5.3 0h3.2c.2 1.5 1.1 2.8 2.5 3.5 1.4-.7 2.3-2 2.5-3.5h3.3z'/%3E%3C/svg%3E");
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12'%3E%3Cpath fill='black' d='M16.8 0c-.2 2.8-1.8 4.9-3.9 6.1 2.2 1.1 3.8 3.4 4.1 5.9h-3.2c-.2-1.6-1.2-3.1-2.8-3.9-1.6.8-2.6 2.3-2.8 3.9H5.1c.3-2.5 1.9-4.8 4.1-5.9C7.1 4.9 5.5 2.8 5.3 0h3.2c.2 1.5 1.1 2.8 2.5 3.5 1.4-.7 2.3-2 2.5-3.5h3.3z'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    z-index: 2;
    opacity: 0.35;
    pointer-events: none;
}

.phone-camera-module,
.camera-lens,
.camera-lens-small,
.camera-flash { display: none; }

.phone-mockup[style*="240px"] .iphone-camera-bump,
.phone-mockup[style*="width: 240px"] .iphone-camera-bump {
    width: 33%;
}

.phone-back-label {
    position: absolute;
    left: 50%;
    top: 62%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: white;
    font-weight: 800;
    font-size: clamp(0.9rem, 2.5vw, 1.35rem);
    text-align: center;
    text-shadow: 0 2px 16px rgba(0,0,0,0.4);
    max-width: 80%;
    word-break: break-word;
    pointer-events: none;
    letter-spacing: -0.02em;
}

.phone-view-badge {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-light);
    background: white;
    padding: 0.25rem 0.7rem;
    border-radius: 50px;
    border: 1px solid var(--border);
    white-space: nowrap;
}

.phone-design-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    padding-top: 5rem;
    text-align: center;
    color: white;
    z-index: 3;
}

.phone-design-overlay--placeholder {
    background: rgba(0,0,0,0.25);
    backdrop-filter: blur(2px);
}

.phone-design-overlay.has-image {
    opacity: 0;
    pointer-events: none;
}

.design-icon-svg {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.phone-design-overlay p {
    font-size: 0.82rem;
    opacity: 0.95;
    margin: 0;
    max-width: 160px;
    line-height: 1.5;
}

.phone-glow {
    position: absolute;
    inset: -24px;
    background: var(--gradient-hero);
    border-radius: 50px;
    opacity: 0.18;
    filter: blur(40px);
    z-index: -1;
}

.phone-notch { display: none; }

/* ─── GLOBAL TOAST ─── */
.global-toast {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .8rem 1.1rem;
    border-radius: .65rem;
    font-size: .9rem;
    font-weight: 500;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    animation: toastIn .25s ease;
    max-width: 360px;
}
.global-toast--success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.global-toast--error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.global-toast svg { flex-shrink: 0; }
.global-toast-close {
    background: none; border: none; cursor: pointer;
    color: inherit; opacity: .5; font-size: .85rem;
    margin-left: .25rem; padding: 0; line-height: 1;
}
.global-toast-close:hover { opacity: 1; }
@keyframes toastIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─── FOOTER ─── */
.site-footer {
    position: relative;
    background: var(--bg-dark);
    color: rgba(255,255,255,0.65);
    padding: 4.5rem 0 2rem;
    margin-top: 2rem;
    overflow: hidden;
}

.footer-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(79,70,229,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    margin-bottom: 1rem;
}

.footer-brand > span:last-child {
    color: white;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.75;
    margin-bottom: 1.25rem;
    max-width: 320px;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pill-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.8);
}

.pill-badge--green {
    background: rgba(34,197,94,0.15);
    color: #4ADE80;
}

.footer-title {
    color: white;
    font-weight: 700;
    font-size: 0.88rem;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li { margin-bottom: 0.55rem; }

.footer-links a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
}

.footer-links a:hover { color: white; }

.footer-models {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-model-link {
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.06);
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.footer-model-link:hover {
    background: rgba(255,255,255,0.12);
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 3rem;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.82rem;
}

.footer-payment { display: flex; gap: 0.5rem; }

.footer-contact p {
    margin: 0 0 0.35rem;
    font-size: 0.88rem;
}

.footer-contact a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
}

.footer-contact a:hover { color: white; }

.footer-address {
    font-size: 0.82rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.55);
    margin-top: 0.5rem;
}

.hero-trust--corporate strong {
    font-size: 1.1rem;
}

.hero-section--corporate .hero-float-card {
    display: none;
}

/* ─── CORPORATE PAGES ─── */
.corp-page {
    padding: 3rem 0 5rem;
    background: var(--bg-page);
}

.corp-header {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem;
}

.corp-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.corp-breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
}

.corp-breadcrumb a:hover { color: var(--primary); }

.corp-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.corp-title {
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 0.75rem;
    color: var(--text-dark);
}

.corp-lead {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
    max-width: 680px;
}

.corp-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem;
}

.corp-stat {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.35rem 1.25rem;
    text-align: center;
    box-shadow: var(--shadow-xs);
}

.corp-stat strong {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

.corp-stat span {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
}

.corp-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem;
}

.corp-grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.corp-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 2.25rem;
    box-shadow: var(--shadow-xs);
}

.corp-card h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 1rem;
    color: var(--text-dark);
}

.corp-card p {
    color: var(--text-muted);
    line-height: 1.75;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.corp-card p:last-child { margin-bottom: 0; }

.corp-card--accent {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.04) 0%, rgba(99, 102, 241, 0.06) 100%);
    border-color: rgba(79, 70, 229, 0.15);
}

.corp-subtitle {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 1.5rem 0 0.75rem;
    color: var(--text-dark);
}

.corp-section-head {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
}

.corp-section-head h2 {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0 0 0.35rem;
    letter-spacing: -0.02em;
}

.corp-section-head p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.95rem;
}

.corp-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem;
}

.corp-feature {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-xs);
}

.corp-feature-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-soft);
    border-radius: 12px;
    color: var(--primary);
    margin-bottom: 1rem;
}

.corp-feature h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.corp-feature p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

.corp-steps {
    list-style: none;
    padding: 0;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.corp-step {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    position: relative;
}

.corp-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: white;
    font-weight: 800;
    font-size: 0.85rem;
    border-radius: 50%;
    margin-bottom: 0.85rem;
}

.corp-step h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 0.45rem;
}

.corp-step p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.corp-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.corp-checklist li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.65rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.corp-checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

.corp-info-list {
    display: grid;
    gap: 0.85rem;
    margin: 0;
}

.corp-info-list div {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 0.75rem;
    align-items: start;
}

.corp-info-list dt {
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}

.corp-info-list dd {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
}

.corp-info-list a {
    color: var(--primary);
    text-decoration: none;
}

.corp-info-list a:hover { text-decoration: underline; }

.corp-card--info { background: var(--bg-soft); }

.corp-bank-info {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px dashed var(--border-strong);
}

.corp-bank-info h3 {
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
}

.corp-bank-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.corp-bank-info code {
    font-size: 0.85rem;
    background: white;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    border: 1px solid var(--border);
}

.corp-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    background: var(--bg-dark);
    color: white;
    border-radius: var(--radius);
    padding: 2rem 2.5rem;
    margin-bottom: 2rem;
}

.corp-cta h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
}

.corp-cta p {
    margin: 0;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.65);
}

.corp-cta-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.corp-cta--compact { padding: 1.75rem 2rem; }

.corp-quick-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3rem;
    padding: 1.5rem;
    background: var(--bg-soft);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.corp-quick-nav-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.45rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: white;
    transition: all 0.15s;
}

.corp-quick-nav-link:hover,
.corp-quick-nav-link.active {
    color: var(--primary);
    border-color: var(--primary);
    background: white;
    text-decoration: none;
}

.corp-contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem;
}

.corp-contact-tile {
    display: block;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    box-shadow: var(--shadow-xs);
}

.corp-contact-tile:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
    color: inherit;
}

.corp-contact-tile--static:hover {
    transform: none;
    border-color: var(--border);
    box-shadow: var(--shadow-xs);
}

.corp-contact-tile-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-soft);
    border-radius: 12px;
    color: var(--primary);
    margin-bottom: 1rem;
}

.corp-contact-tile h2 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
}

.corp-contact-tile p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0 0 0.75rem;
    line-height: 1.5;
}

.corp-contact-tile-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
}

.corp-contact-tile-meta {
    font-size: 0.78rem;
    color: var(--text-light);
}

.corp-support-topics {
    display: grid;
    gap: 1.25rem;
}

.corp-support-topic h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
}

.corp-support-topic p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

.corp-support-topic a {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
}

.corp-support-topic a:hover { text-decoration: underline; }

.corp-highlight-box {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    background: white;
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-md);
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
}

.corp-highlight-box h2 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.corp-highlight-box p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.corp-highlight-box a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.corp-highlight-box a:hover { text-decoration: underline; }

.corp-faq-categories {
    display: grid;
    gap: 2rem;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem;
}

.corp-faq-category-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.corp-faq-category-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-soft);
    border-radius: 10px;
    color: var(--primary);
    flex-shrink: 0;
}

.corp-faq-category-head h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
}

.corp-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.corp-faq-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
}

.corp-faq-item summary {
    font-weight: 600;
    font-size: 0.95rem;
    padding: 1.1rem 1.35rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: background 0.15s;
}

.corp-faq-item summary::-webkit-details-marker { display: none; }

.corp-faq-item summary::after {
    content: "+";
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--primary);
    flex-shrink: 0;
    line-height: 1;
}

.corp-faq-item[open] summary {
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
}

.corp-faq-item[open] summary::after { content: "−"; }

.corp-faq-answer {
    padding: 0 1.35rem 1.15rem;
}

.corp-faq-answer p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.75;
}

.corp-faq-answer a {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
}

.corp-faq-answer a:hover { text-decoration: underline; }

@media (max-width: 992px) {
    .corp-stats,
    .corp-features,
    .corp-steps,
    .corp-contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cta-phone-showcase { display: none; }

    .corp-grid--2 { grid-template-columns: 1fr; }

    .corp-card { padding: 1.5rem; }

    .corp-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
    }

    .corp-info-list div {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }
}

@media (max-width: 576px) {
    .corp-stats,
    .corp-features,
    .corp-steps,
    .corp-contact-grid {
        grid-template-columns: 1fr;
    }
}

.payment-badge {
    background: rgba(255,255,255,0.08);
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
}

.main-content { min-height: calc(100vh - 180px); }

/* Gradients */
.gradient-1 { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.gradient-2 { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.gradient-3 { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.gradient-4 { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.gradient-5 { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.gradient-6 { background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1199px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .process-track { grid-template-columns: repeat(2, 1fr); }
    .process-track::before { display: none; }
}

@media (max-width: 991px) {
    .split-panel { grid-template-columns: 1fr; padding: 2.5rem; gap: 2rem; }
    .design-options { grid-template-columns: 1fr; }
    .studio-workspace { grid-template-columns: 1fr; }
    .preview-panel { position: static; }
    .hero-float-card { display: none; }
    .phone-mockup { transform: none; }
    .hero-section { padding: 3rem 0 4rem; }
    .reviews-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    .section { padding: 3.5rem 0; }
    .process-track { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .hero-trust-divider { display: none; }
    .cta-panel { padding: 2.5rem 1.75rem; }
    .trend-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .trend-grid { grid-template-columns: 1fr; }
    .inspiration-grid { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════════
   AUTH — split panel
   ═══════════════════════════════════════════ */
.auth-body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg-page);
}

.auth-shell {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.auth-visual {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.9);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.auth-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(79,70,229,0.45) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 90% 20%, rgba(236,72,153,0.25) 0%, transparent 50%);
    pointer-events: none;
}

.auth-visual-inner {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    max-width: 420px;
    margin: 0 auto;
}

.auth-visual-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    letter-spacing: -0.03em;
    margin-bottom: 3rem;
}

.auth-visual-copy h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 0.85rem;
}

.auth-visual-copy p {
    color: rgba(255,255,255,0.65);
    font-size: 1rem;
    line-height: 1.65;
    margin: 0;
}

.auth-visual-showcase {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.auth-phone-card {
    width: 160px;
    height: 320px;
    border-radius: 28px;
    background: linear-gradient(145deg, #1a1a28 0%, #2a2a3e 100%);
    border: 2px solid rgba(255,255,255,0.12);
    position: relative;
    box-shadow: 0 32px 64px rgba(0,0,0,0.4);
}

.auth-phone-back {
    position: absolute;
    inset: 8px;
    border-radius: 22px;
    background: linear-gradient(145deg, #3730A3 0%, #4F46E5 45%, #6366F1 100%);
}

.auth-phone-camera {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #1a1a28;
    border: 1px solid rgba(255,255,255,0.1);
}

.auth-phone-label {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.85);
    white-space: nowrap;
}

.auth-visual-perks {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.auth-visual-perks li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

.auth-visual-perks svg { color: #A5F3C4; flex-shrink: 0; }

.auth-main {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    background: white;
}

.auth-main-top {
    margin-bottom: 1rem;
}

.auth-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.15s;
}

.auth-back-link:hover { color: var(--primary); }

.auth-form-wrap {
    width: 100%;
    max-width: 400px;
    margin: auto;
}

.auth-form-header {
    margin-bottom: 1.75rem;
}

.auth-form-header h1 {
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 0.4rem;
}

.auth-form-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.55;
}

.auth-form { display: flex; flex-direction: column; gap: 1.1rem; }

.auth-footer-text {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 1.5rem;
}

.auth-footer-text a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.auth-footer-text a:hover { text-decoration: underline; }

.auth-validation {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    font-size: 0.88rem;
    color: #B91C1C;
}

.auth-validation ul { margin: 0; padding-left: 1.1rem; }

.auth-success-box {
    text-align: center;
    padding: 1.5rem 0 2rem;
}

.auth-success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: var(--bg-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-success-msg {
    font-size: 0.95rem;
    color: var(--text-dark);
    word-break: break-all;
    margin-bottom: 0.75rem;
}

.auth-success-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Form fields (auth + checkout) */
.field { display: flex; flex-direction: column; gap: 0.35rem; }

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.field label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 0.01em;
}

.field-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.field-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

.field-link:hover { text-decoration: underline; }

.field-optional {
    font-weight: 500;
    color: var(--text-light);
}

.field-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid rgba(18,18,31,0.1);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.92rem;
    color: var(--text-dark);
    background: var(--bg-page);
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.field-input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(79,70,229,0.12);
}

.field-textarea { resize: vertical; min-height: 88px; }

.field-error {
    font-size: 0.8rem;
    color: #DC2626;
}

.field-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: var(--text-muted);
    cursor: pointer;
    user-select: none;
}

.field-check input {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-grid .field--full { grid-column: 1 / -1; }

/* Flash messages */
.flash {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.flash-icon { flex-shrink: 0; margin-top: 1px; }

.flash--success {
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    color: #065F46;
}

.flash--info {
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    color: #1E40AF;
}

.flash--error {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #B91C1C;
}

/* ═══════════════════════════════════════════
   COMMERCE — cart, checkout, orders
   ═══════════════════════════════════════════ */
.commerce-page {
    padding: 2.5rem 0 4rem;
    background: var(--bg-page);
    min-height: calc(100vh - 180px);
}

.commerce-page .container {
    max-width: 1100px;
}

.commerce-page--success { padding-top: 2rem; }

.container--narrow { max-width: 640px; }

.commerce-header { margin-bottom: 2rem; }

.commerce-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0.35rem 0 0.5rem;
}

.commerce-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

.commerce-back {
    display: inline-block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.commerce-back:hover { color: var(--primary); }

.commerce-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 1.75rem;
    align-items: start;
}

.commerce-main { min-width: 0; }

.commerce-aside { position: sticky; top: 96px; }

.commerce-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
}

.commerce-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.15rem 1.5rem;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, #FAFAFF 0%, white 100%);
}

.commerce-card-head h2 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.01em;
}

.commerce-card-head span {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

.commerce-card-body {
    padding: 1.5rem;
}

.commerce-card-body .auth-validation {
    margin-bottom: 1rem;
}

.commerce-continue {
    display: inline-flex;
    margin-top: 1.25rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
}

.commerce-continue:hover { color: var(--primary); }

/* Checkout steps */
.checkout-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 2rem;
    padding: 0.5rem 0;
}

.checkout-step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 600;
}

.checkout-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 700;
    background: white;
    border: 2px solid rgba(18,18,31,0.1);
    transition: all 0.2s;
}

.checkout-step.is-active { color: var(--text-dark); }

.checkout-step.is-active .checkout-step-num {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(79,70,229,0.35);
}

.checkout-step.is-done { color: var(--primary); }

.checkout-step.is-done .checkout-step-num {
    background: var(--bg-soft);
    border-color: var(--primary);
    color: var(--primary);
}

.checkout-step-line {
    width: 48px;
    height: 2px;
    background: rgba(18,18,31,0.08);
    margin: 0 0.75rem;
    border-radius: 1px;
}

.checkout-step-line.is-done { background: var(--primary); opacity: 0.35; }

@media (max-width: 520px) {
    .checkout-step-label { display: none; }
    .checkout-step-line { width: 28px; margin: 0 0.4rem; }
}

/* Cart items */
.cart-items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cart-item {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    gap: 1.15rem;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
}

.cart-item:last-child { border-bottom: none; }

.cart-item-thumb {
    width: 72px;
    height: 96px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, #EEECFF 0%, #FDF2F8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    overflow: hidden;
    flex-shrink: 0;
}
.cart-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-phone {
    width: 28px;
    height: 52px;
    border-radius: 6px;
    background: linear-gradient(145deg, #4F46E5, #6366F1);
    box-shadow: 0 4px 12px rgba(79,70,229,0.25);
}

.cart-item-body h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 0.2rem;
    letter-spacing: -0.01em;
    line-height: 1.35;
}

.cart-item-unit {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.65rem;
}

.cart-item-price {
    text-align: right;
    font-size: 1rem;
    white-space: nowrap;
}

.qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid rgba(18,18,31,0.1);
    border-radius: 50px;
    overflow: hidden;
    background: var(--bg-page);
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: background 0.15s;
    font-family: var(--font);
}

.qty-btn:hover:not(:disabled) { background: white; }

.qty-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.qty-value {
    min-width: 28px;
    text-align: center;
    font-size: 0.88rem;
    font-weight: 700;
}

.cart-remove {
    border: none;
    background: none;
    padding: 0;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    font-family: var(--font);
    transition: color 0.15s;
}

.cart-remove:hover { color: #DC2626; }

.cart-items--readonly .cart-item-actions { display: none; }

/* Cart screen protector upsell */
.cart-upsell { margin-top: 1.25rem; }

.cart-upsell-lead {
    margin: 0 0 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.cart-upsell-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.85rem;
}

.cart-upsell-card {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 0.85rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-soft, #fafafa);
}

.cart-upsell-thumb {
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: white;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-upsell-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.35rem;
}

.cart-upsell-thumb-fallback {
    width: 56%;
    height: 70%;
    border-radius: 12px;
    background: linear-gradient(145deg, #e2e8f0, #cbd5e1);
}

.cart-upsell-body h3 {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-upsell-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
    margin-bottom: 0.25rem;
}

.cart-upsell-price {
    font-size: 0.95rem;
    color: var(--text-dark);
}

.cart-upsell-form { margin-top: auto; }

.cart-upsell-form .btn-sm {
    width: 100%;
    padding: 0.45rem 0.75rem;
    font-size: 0.82rem;
}

.cart-upsell-added {
    margin-top: auto;
    font-size: 0.82rem;
    font-weight: 600;
    color: #059669;
    text-align: center;
    padding: 0.45rem;
}
.cart-upsell-more {
    display: block; text-align: center;
    margin-top: 1rem; padding: .55rem 1rem;
    border: 1.5px solid #e0e0e0; border-radius: .6rem;
    color: #555; font-size: .85rem; text-decoration: none;
    transition: border-color .15s, color .15s;
}
.cart-upsell-more:hover { border-color: #1a56db; color: #1a56db; }

.summary-hint--success { color: #059669; font-weight: 600; }

/* Summary sidebar */
.summary-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.summary-card h2 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 1.15rem;
    letter-spacing: -0.01em;
}

.summary-rows { display: flex; flex-direction: column; gap: 0.35rem; }

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.summary-row span:last-child { color: var(--text-dark); font-weight: 600; }

.summary-row--total {
    margin-top: 0.75rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border);
    font-size: 1rem;
}

.summary-row--total span:first-child {
    color: var(--text-dark);
    font-weight: 700;
}

.summary-row--total strong {
    font-size: 1.15rem;
    color: var(--text-dark);
}

.summary-free { color: #059669 !important; font-weight: 700 !important; }

.summary-hint {
    font-size: 0.78rem;
    color: var(--text-light);
    margin: 0.25rem 0 0;
    line-height: 1.45;
}

.summary-note {
    font-size: 0.78rem;
    color: var(--text-light);
    text-align: left;
    margin: 0.85rem 0 0;
    line-height: 1.5;
}

.checkout-legal-note {
    font-size: 0.72rem;
    line-height: 1.55;
}

.summary-card .btn-block { margin-top: 1.15rem; }

.summary-trust {
    list-style: none;
    padding: 1rem 0 0;
    margin: 1rem 0 0;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.summary-trust li {
    font-size: 0.78rem;
    color: var(--text-light);
    font-weight: 500;
    padding-left: 1.1rem;
    position: relative;
}

.summary-trust li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.5;
}

.delivery-address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.delivery-address strong { color: var(--text-dark); }

.cargo-box {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    background: var(--bg-soft);
    border-radius: var(--radius-sm);
}

.cargo-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-bottom: 0.2rem;
}

/* Empty state */
.empty-state {
    text-align: center;
    max-width: 420px;
    margin: 3rem auto;
    padding: 2.5rem 1.5rem;
}

.empty-state-icon {
    width: 88px;
    height: 88px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.empty-state h2 {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
    line-height: 1.6;
}

.empty-state-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Order list */
.order-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.order-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.order-card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
    color: inherit;
}

.order-card-top {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.35rem;
}

.order-card-num {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.order-card-date,
.order-card-items {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.order-card-side { text-align: right; }

.order-card-total {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
}

.order-card-link {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary);
}

.status-chip {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    background: var(--bg-soft);
    color: var(--primary);
    letter-spacing: 0.02em;
}

/* Success panel */
.success-panel {
    text-align: center;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-md);
    margin-top: 1rem;
}

.success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(5,150,105,0.15);
}

.success-panel h1 {
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}

.success-lead {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.success-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-page);
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
    text-align: center;
}

.success-meta-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.success-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-sm { padding: 0.4rem 0.85rem; font-size: 0.85rem; }

/* Commerce responsive */
@media (max-width: 991px) {
    .auth-shell { grid-template-columns: 1fr; }
    .auth-visual { display: none; }
    .auth-main { padding: 1.5rem; min-height: 100vh; }
    .commerce-grid { grid-template-columns: 1fr; }
    .commerce-aside { position: static; }
}

@media (max-width: 640px) {
    .cart-item {
        grid-template-columns: 56px 1fr;
        gap: 0.85rem;
    }
    .cart-item-price {
        grid-column: 2;
        text-align: left;
        margin-top: -0.25rem;
    }
    .form-grid { grid-template-columns: 1fr; }
    .field-row { grid-template-columns: 1fr; }
    .success-meta { grid-template-columns: 1fr; gap: 0.75rem; }
    .order-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .order-card-side { text-align: left; }
}

/* ─── DESIGN STUDIO (kapaktak-style) ─── */
.design-studio-page {
    background: var(--bg-page);
    min-height: calc(100vh - 140px);
    padding: 1.5rem 0 3rem;
}

.design-studio-container {
    max-width: 1180px;
}

.design-studio-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 2rem;
    align-items: start;
}

.design-ai-quotes {
    position: absolute;
    inset: 0;
    z-index: 20;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(6px);
    border-radius: var(--radius-lg, 16px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    pointer-events: none;
}

.design-ai-quotes-inner {
    text-align: center;
    max-width: 320px;
}

.design-ai-quotes-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.15); opacity: 1; }
}

.design-ai-quote-text {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.7;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    margin: 0;
}

.design-ai-quote-text.design-ai-quote--visible {
    opacity: 1;
    transform: translateY(0);
}

.design-studio-preview {
    position: relative;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg, 16px);
    padding: 2rem;
    min-height: 620px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

.design-preview-stage {
    position: relative;
    width: 100%;
    max-width: 480px;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.design-preview-frame {
    position: relative;
    width: 100%;
    max-width: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.design-product-image {
    width: 100%;
    max-width: 100%;
    max-height: 560px;
    object-fit: contain;
}

.design-preview-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.design-not-found {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    gap: 0.5rem;
}

.design-not-found-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.design-not-found-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.design-not-found-model {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    margin: 0;
}

.design-not-found-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.design-preview-loader {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.85);
    z-index: 5;
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 600;
}

.design-preview-loader[hidden] {
    display: none !important;
}

.design-preview-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: designSpin 0.8s linear infinite;
}

@keyframes designSpin {
    to { transform: rotate(360deg); }
}

.design-user-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 24px;
    pointer-events: none;
    z-index: 3;
    mix-blend-mode: normal;
    opacity: 0.95;
}


.design-ai-gallery {
    margin-top: 0.75rem;
}

.design-gallery-thumb--ai.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.25);
}

.design-studio-panel {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg, 16px);
    padding: 1.75rem;
    position: sticky;
    top: 96px;
}

.design-panel-head {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}

.design-panel-head h1 {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 0.35rem;
    color: var(--text-dark);
}

.design-panel-lead {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.design-rating {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
}

.design-stars {
    color: #FBBF24;
    letter-spacing: 0.05em;
}

.design-rating-count {
    color: var(--text-light);
    font-weight: 600;
}

.design-select-row {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.design-field label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.design-select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-family: var(--font);
    background: white;
    color: var(--text-dark);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    padding-right: 2.25rem;
    cursor: pointer;
    transition: border-color 0.2s;
}

.design-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.design-case-types {
    margin-bottom: 1rem;
}

.design-case-types-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.design-case-type-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.design-case-type-chip {
    border: 1.5px solid var(--border);
    background: var(--bg-page);
    border-radius: 50px;
    padding: 0.35rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.design-case-type-chip:hover,
.design-case-type-chip.active {
    border-color: var(--primary);
    background: rgba(79, 70, 229, 0.08);
    color: var(--primary);
}

.design-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    margin-bottom: 0.5rem;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.design-price-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
}

.design-price-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.design-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1.5px solid var(--border);
    margin-bottom: 1rem;
}

.design-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.75rem 0.5rem;
    border: none;
    background: none;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-light);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1.5px;
    transition: color 0.2s, border-color 0.2s;
}

.design-tab svg {
    opacity: 0.7;
}

.design-tab:hover {
    color: var(--text-muted);
}

.design-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.design-tab.active svg {
    opacity: 1;
}

.design-tab-panel {
    min-height: 220px;
}

.design-tab-panel[hidden] {
    display: none !important;
}

.design-chat {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding-right: 0.25rem;
}

.design-chat-bubble {
    position: relative;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    line-height: 1.5;
    max-width: 95%;
}

.design-chat-bubble p {
    margin: 0;
}

.design-chat-bubble--bot {
    background: var(--bg-soft);
    color: var(--text-dark);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.design-chat-bubble--loading {
    opacity: 0.7;
    font-style: italic;
}

.design-options-panel {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin: 0.4rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.design-options-intro {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin: 0;
}

.design-options-category {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.design-options-category-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-dark);
}

.design-options-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.design-options-chip {
    font-size: 0.76rem;
    font-weight: 500;
    padding: 0.25rem 0.7rem;
    border-radius: 50px;
    border: 1.5px solid var(--border);
    background: white;
    color: var(--text-dark);
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
    white-space: nowrap;
    line-height: 1.5;
}

.design-options-chip:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.design-options-chip.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.design-options-create-btn {
    align-self: flex-start;
    margin-top: 0.25rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    padding: 0.55rem 1.4rem;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.15s;
}

.design-options-create-btn:hover {
    opacity: 0.88;
}

.design-style-picker {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    margin: 0.4rem 0;
}

.design-style-picker-label {
    display: block;
    font-size: 0.73rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}

.design-style-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.design-style-chip {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.32rem 0.85rem;
    border-radius: 50px;
    border: 1.5px solid var(--border);
    background: white;
    color: var(--text-dark);
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
    white-space: nowrap;
    line-height: 1.4;
}

.design-style-chip:hover:not(:disabled) {
    border-color: var(--primary);
    color: var(--primary);
}

.design-style-chip.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.design-style-chip:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.design-chat-bubble--user {
    background: var(--primary);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.design-chat-close {
    position: absolute;
    top: 0.4rem;
    right: 0.5rem;
    border: none;
    background: none;
    font-size: 1.1rem;
    line-height: 1;
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
}

.design-chat-input-row {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.design-chat-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: 50px;
    font-size: 0.88rem;
    font-family: var(--font);
    background: var(--bg-page);
}

.design-chat-input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
}

.design-chat-send {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.2s, box-shadow 0.2s;
}

.design-chat-send:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.design-upload-zone {
    border: 2px dashed var(--border-strong);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    text-align: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.2s;
}

.design-upload-zone:hover,
.design-upload-zone.dragover {
    border-color: var(--primary);
    background: var(--bg-soft);
}

.design-upload-zone p {
    margin: 0.75rem 0 0.25rem;
    color: var(--text-dark);
}

.design-upload-zone span {
    font-size: 0.8rem;
}

.design-upload-preview {
    text-align: center;
}

.design-upload-preview img {
    max-width: 100%;
    max-height: 140px;
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
}

.design-upload-remove {
    border: none;
    background: none;
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}

.design-edit-tools {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.design-edit-tools label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.design-range {
    width: 100%;
    accent-color: var(--primary);
}

.design-cart-form {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.design-cart-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

@media (max-width: 991px) {
    .design-studio-grid {
        grid-template-columns: 1fr;
    }

    .design-studio-panel {
        position: static;
    }

    .design-studio-preview {
        min-height: 420px;
    }
}

/* Searchable combobox */
.design-combobox {
    position: relative;
}

.design-combobox-input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-family: var(--font);
    background: white;
    color: var(--text-dark);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.design-combobox-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.design-combobox-dropdown {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    z-index: 30;
    max-height: 220px;
    overflow-y: auto;
    margin: 0;
    padding: 0.35rem;
    list-style: none;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md, 0 8px 24px rgba(0, 0, 0, 0.1));
}

.design-combobox-dropdown[hidden] {
    display: none !important;
}

.design-combobox-option {
    padding: 0.55rem 0.75rem;
    border-radius: 6px;
    font-size: 0.88rem;
    cursor: pointer;
    color: var(--text-dark);
}

.design-combobox-option:hover,
.design-combobox-option.active {
    background: rgba(79, 70, 229, 0.08);
    color: var(--primary);
}

.design-combobox-empty {
    padding: 0.65rem 0.75rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Product image gallery */
.design-image-gallery {
    width: 100%;
    max-width: 480px;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.design-image-gallery-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-bottom: 0.6rem;
    text-align: center;
}

.design-image-gallery-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.design-gallery-thumb {
    width: 64px;
    height: 64px;
    padding: 0;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    background: white;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s;
}

.design-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.design-gallery-thumb:hover,
.design-gallery-thumb.active {
    border-color: var(--primary);
    transform: scale(1.04);
}

/* ─── LEGAL PAGES ─── */
.legal-page {
    padding: 3rem 0 5rem;
    background: var(--surface-alt, #f8f9fb);
}

.legal-page .container,
.corp-page .container {
    max-width: 960px;
}

.legal-header {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem;
}

.legal-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.legal-breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
}

.legal-breadcrumb a:hover {
    color: var(--primary);
}

.legal-title {
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0.5rem 0 0.75rem;
    color: var(--text);
}

.legal-lead {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

.legal-content {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg, 16px);
    padding: 2rem 2.25rem;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
}

.legal-content h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 2rem 0 0.75rem;
    color: var(--text);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 1.25rem 0 0.5rem;
}

.legal-content p,
.legal-content li {
    color: var(--text-muted);
    line-height: 1.75;
    font-size: 0.95rem;
}

.legal-content ul,
.legal-content ol {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.legal-list {
    counter-reset: legal-item;
    list-style: none;
    padding-left: 0;
}

.legal-list > li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.85rem;
    counter-increment: legal-item;
}

.legal-list > li::before {
    content: counter(legal-item) ".";
    position: absolute;
    left: 0;
    font-weight: 700;
    color: var(--primary);
}

.legal-highlight {
    background: rgba(var(--primary-rgb, 99, 102, 241), 0.08);
    border: 1px solid rgba(var(--primary-rgb, 99, 102, 241), 0.15);
    border-radius: var(--radius-md, 12px);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}

.legal-highlight h3 {
    margin-top: 0;
    font-size: 1rem;
}

.legal-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin: 1rem 0 1.5rem;
}

.legal-columns ul {
    padding-left: 1rem;
    margin: 0;
}

.legal-signature {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px dashed var(--border);
}

.legal-contact-card {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg, 16px);
    padding: 1.5rem 2rem;
}

.legal-contact-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.legal-contact-list {
    display: grid;
    gap: 0.75rem;
    margin: 0;
}

.legal-contact-list div {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 0.75rem;
    align-items: start;
}

.legal-contact-list dt {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.legal-contact-list dd {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text);
}

.legal-nav-footer {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
    font-size: 0.9rem;
}

.legal-nav-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.legal-nav-footer a:hover {
    text-decoration: underline;
}

.legal-index-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
}

.legal-index-card {
    display: block;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg, 16px);
    padding: 1.75rem;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.legal-index-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
    color: inherit;
}

.legal-index-icon {
    font-size: 1.75rem;
    display: block;
    margin-bottom: 0.75rem;
}

.legal-index-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--bg-soft);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 800;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.legal-index-card h2 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
}

.legal-index-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.checkout-legal-note a {
    color: var(--primary);
    font-weight: 600;
}

@media (max-width: 576px) {
    .legal-content {
        padding: 1.25rem 1rem;
    }

    .legal-contact-list div {
        grid-template-columns: 1fr;
        gap: 0.15rem;
    }
}
