/* Fonts: Plus Jakarta Sans (linked in index.html) */

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ============================================
   COLOR SYSTEM — ConfigX (obsidian · signal blue)
   ============================================ */
:root {
    /* ── BACKGROUNDS ── */
    --bg-primary:        #05070C;
    --bg-secondary:      #0B0F18;
    --bg-tertiary:       #111827;
    --bg-card:           #151F33;
    --bg-card-hover:     #1B2A45;
    --bg-glass:          rgba(11, 15, 24, 0.72);

    /* ── ACCENT — PRIMARY (Obsidian / black — matches logo) ── */
    --accent-1:          #141820;
    --accent-1-bright:   #2E3645;
    --accent-1-dim:      #000000;
    --accent-1-glow:     rgba(20, 24, 32, 0.28);
    --accent-1-subtle:   rgba(20, 24, 32, 0.06);

    /* ── ACCENT — SECONDARY (Graphite) ── */
    --accent-2:          #2E3645;
    --accent-2-bright:   #475063;
    --accent-2-dim:      #1B2230;
    --accent-2-glow:     rgba(20, 24, 32, 0.22);
    --accent-2-subtle:   rgba(20, 24, 32, 0.05);

    /* ── ACCENT — TERTIARY (Slate metal) ── */
    --accent-3:          #64748B;
    --accent-3-glow:     rgba(100, 116, 139, 0.35);
    --accent-3-subtle:   rgba(100, 116, 139, 0.12);

    /* ── ACCENT — HIGHLIGHT (Amber) ── */
    --accent-gold:       #F59E0B;
    --accent-gold-glow:  rgba(245, 158, 11, 0.28);

    /* ── NEUTRAL swatch (silver finish in hero) ── */
    --swatch-silver:     #E2E8F0;

    /* ── GRADIENTS ── */
    --gradient-primary:  linear-gradient(135deg, #1C2230 0%, #141820 55%, #000000 100%);
    --gradient-warm:     linear-gradient(135deg, #F59E0B 0%, #FB7185 100%);
    --gradient-subtle:   linear-gradient(135deg, rgba(20,24,32,0.10) 0%, rgba(20,24,32,0.04) 100%);
    --gradient-card:     linear-gradient(145deg, rgba(20,24,32,0.06) 0%, rgba(20,24,32,0.02) 100%);
    --gradient-hero-bg:  radial-gradient(ellipse 85% 65% at 15% 35%, rgba(20,24,32,0.16) 0%, transparent 55%),
                          radial-gradient(ellipse 55% 50% at 85% 20%, rgba(20,24,32,0.10) 0%, transparent 50%),
                          radial-gradient(ellipse 45% 40% at 70% 85%, rgba(245,158,11,0.06) 0%, transparent 45%);

    /* ── TEXT ── */
    --text-primary:      #F8FAFC;
    --text-secondary:    #94A3B8;
    --text-muted:        #64748B;
    --text-accent:       #141820;
    --text-inverse:      #05070C;

    /* ── BORDERS ── */
    --border-subtle:     rgba(255, 255, 255, 0.06);
    --border-default:    rgba(255, 255, 255, 0.1);
    --border-accent:     rgba(20, 24, 32, 0.25);
    --border-accent-2:   rgba(20, 24, 32, 0.18);
    --border-glow:       rgba(20, 24, 32, 0.3);

    /* ── VIGNETTE (overlay) ── */
    --vignette-mid:       rgba(0, 0, 0, 0.18);
    --vignette-outer:     rgba(0, 0, 0, 0.5);

    /* ── SHADOWS ── */
    --shadow-sm:         0 2px 8px rgba(0,0,0,0.45);
    --shadow-md:         0 8px 32px rgba(0,0,0,0.55);
    --shadow-lg:         0 24px 64px rgba(0,0,0,0.65);
    --shadow-accent:     0 12px 48px rgba(20,24,32,0.22);
    --shadow-accent-2:   0 12px 40px rgba(20,24,32,0.16);
    --shadow-card-hover: 0 24px 56px rgba(20,24,32,0.16), 0 0 0 1px rgba(20,24,32,0.12);

    /* ── STATES ── */
    --success:           #22C55E;
    --success-subtle:    rgba(34, 197, 94, 0.15);
    --warning:           #F59E0B;
    --warning-subtle:    rgba(245, 158, 11, 0.12);
    --error:             #F43F5E;
    --error-subtle:      rgba(244, 63, 94, 0.12);

    /* ── TYPOGRAPHY ── */
    --font-display:      'Plus Jakarta Sans', system-ui, sans-serif;
    --font-body:         'Plus Jakarta Sans', system-ui, sans-serif;

    /* ── SPACING & RADIUS ── */
    --radius-sm:         8px;
    --radius-md:         12px;
    --radius-lg:         20px;
    --radius-xl:         28px;
    --radius-pill:       999px;

    /* ── CTA overlay (buttons on gradient) ── */
    --bg-on-accent:      rgba(255, 255, 255, 0.12);
    --border-on-accent:  rgba(238, 238, 255, 0.9);

    /* ── TRANSITIONS ── */
    --ease-smooth:       cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring:       cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fast:   150ms var(--ease-smooth);
    --transition-base:   250ms var(--ease-smooth);
    --transition-slow:   400ms var(--ease-smooth);
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb {
    background: var(--accent-1-dim);
    border-radius: var(--radius-pill);
}
::-webkit-scrollbar-thumb:hover { background: var(--accent-1); }

::selection {
    background: var(--accent-1-glow);
    color: var(--text-primary);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

a {
    color: var(--accent-1);
    text-decoration: none;
    transition: color var(--transition-fast);
}
a:hover { color: var(--accent-1-bright); }

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

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-subtle);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

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

.brand {
    display: inline-flex;
    align-items: baseline;
    text-decoration: none;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.375rem;
    letter-spacing: -0.04em;
    line-height: 1;
    transition: opacity var(--transition-fast);
}

.brand:hover {
    opacity: 0.92;
    color: var(--text-primary);
}

.brand__space {
    font-weight: 400;
    opacity: 0.92;
}

.brand__x {
    margin-left: 0;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand--footer {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Image logo (navbar + footer) */
.brand {
    align-items: center;
}

.brand__img {
    display: block;
    height: 28px;
    width: auto;
}

.brand--footer .brand__img {
    height: 34px;
}

@media (max-width: 768px) {
    .brand__img {
        height: 24px;
    }
}

.nav-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-display);
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

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

.logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
    scale: 2;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.nav-cta {
    background: var(--gradient-primary);
    color: var(--text-primary);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
}

.nav-link.nav-cta::after {
    display: none;
}

.nav-link.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    transform-origin: center;
    position: relative;
}

/* ============================================
   HERO — cinematic (IdeaRoom-grade narrative + product stage)
   ============================================ */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-x: clip;
    overflow-y: visible;
    padding: clamp(4.5rem, 9vh, 6.25rem) clamp(1rem, 3vw, 1.5rem) clamp(2.25rem, 5vh, 3.5rem);
    background: var(--bg-primary);
}

.hero.hero--cinema::before {
    display: none;
}

.hero__atmosphere {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero__mesh {
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(ellipse 50% 45% at 20% 30%, rgba(20, 24, 32, 0.20) 0%, transparent 55%),
        radial-gradient(ellipse 40% 40% at 75% 15%, rgba(20, 24, 32, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 35% 35% at 60% 80%, rgba(245, 158, 11, 0.08) 0%, transparent 50%);
    animation: heroMeshDrift 18s ease-in-out infinite;
}

@keyframes heroMeshDrift {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 1; }
    50% { transform: translate(-2%, 1%) scale(1.04); opacity: 0.92; }
}

.hero__grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(var(--border-subtle) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, transparent 0%, black 22%, black 78%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 22%, black 78%, transparent 100%);
    opacity: 0.85;
}

.hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.hero__glow--1 {
    width: min(55vw, 520px);
    height: min(55vw, 520px);
    top: -8%;
    right: -10%;
    background: rgba(20, 24, 32, 0.12);
}

.hero__glow--2 {
    width: min(40vw, 380px);
    height: min(40vw, 380px);
    bottom: 5%;
    left: -5%;
    background: rgba(20, 24, 32, 0.1);
}

.hero__noise {
    position: absolute;
    inset: 0;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    pointer-events: none;
}

.hero__scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(5, 7, 12, 0.1) 0%,
        transparent 35%,
        transparent 65%,
        rgba(5, 7, 12, 0.55) 100%
    );
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: min(1320px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(1.75rem, 3.5vw, 3.25rem);
    align-items: center;
    transition: transform 0.15s ease-out, opacity 0.2s ease-out;
}

.hero__eyebrow {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-2-bright);
    margin-bottom: 1.25rem;
}

.hero-title__accent {
    /* Solid black to match the logo — keep the title uniform rather than a
       gradient that reads as grey on the first word. */
    color: var(--accent-1);
    -webkit-text-fill-color: currentColor;
}

.hero-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    width: 100%;
    animation: heroFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.12s backwards;
}

.hero-stage__caption {
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--text-muted);
    max-width: 28rem;
}

.device-frame {
    position: relative;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    width: 100%;
    max-width: 100%;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-default);
    background: linear-gradient(165deg, var(--bg-card) 0%, var(--bg-secondary) 42%, var(--bg-primary) 100%);
    box-shadow:
        var(--shadow-lg),
        0 0 0 1px rgba(255, 255, 255, 0.04),
        0 32px 80px rgba(20, 24, 32, 0.18);
    overflow: hidden;
}

.device-frame__chrome {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    width: 100%;
    box-sizing: border-box;
    padding: 0.55rem 1rem 0.6rem;
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(0, 0, 0, 0.28);
}

.device-frame__traffic {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    flex-shrink: 0;
}

.device-frame__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.device-frame__traffic .device-frame__dot:nth-child(1) { background: #FB7185; }
.device-frame__traffic .device-frame__dot:nth-child(2) { background: #FBBF24; }
.device-frame__traffic .device-frame__dot:nth-child(3) { background: #4ADE80; }

.device-frame__label {
    margin-left: 0;
    flex: 0 1 auto;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-align: left;
}

.device-frame__urlbar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    width: 100%;
    box-sizing: border-box;
    padding: 0.45rem 1rem 0.55rem;
    background: rgba(0, 0, 0, 0.35);
    border-bottom: 1px solid var(--border-subtle);
}

.device-frame__url-icon {
    display: flex;
    color: var(--success);
    opacity: 0.9;
    flex-shrink: 0;
}

.device-frame__url-text {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.device-frame__url-path {
    color: var(--text-muted);
    font-weight: 400;
}

.device-frame__viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    max-height: min(50svh, 460px);
    min-height: 240px;
    background:
        radial-gradient(ellipse 90% 80% at 50% 45%, rgba(20, 24, 32, 0.08) 0%, transparent 55%),
        radial-gradient(ellipse 85% 75% at 50% 42%, var(--bg-tertiary) 0%, var(--bg-primary) 100%);
}

.device-frame .hero-configurator-wrap {
    width: 100%;
    min-height: 0;
    flex: 0 0 auto;
}

.device-frame .configurator-canvas-wrapper,
.device-frame #heroConfiguratorCanvas,
.device-frame .configurator-vignette {
    border-radius: 0;
}

.device-frame .configurator-canvas-wrapper {
    filter: drop-shadow(0 12px 36px rgba(20, 24, 32, 0.3));
}

.device-frame .configurator-vignette {
    background: radial-gradient(
        ellipse 82% 72% at 50% 48%,
        transparent 38%,
        rgba(0, 0, 0, 0.1) 72%,
        rgba(0, 0, 0, 0.38) 100%
    );
}

.hero-preview-panel {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    width: min(118px, 30%);
    padding: 0.6rem 0.55rem;
    border-radius: var(--radius-md);
    background: rgba(5, 7, 12, 0.52);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    pointer-events: none;
}

.hero-preview-panel__title {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.45rem;
}

.hero-preview-panel__steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.32rem;
}

.hero-preview-panel__step {
    display: flex;
    align-items: center;
    gap: 0.38rem;
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--text-muted);
    line-height: 1.2;
}

.hero-preview-panel__step span {
    width: 1.05rem;
    height: 1.05rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.5rem;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}

.hero-preview-panel__step.is-done {
    color: var(--text-secondary);
}

.hero-preview-panel__step.is-done span {
    background: rgba(34, 197, 94, 0.18);
    color: var(--success);
}

.hero-preview-panel__step.is-active {
    color: var(--text-primary);
}

.hero-preview-panel__step.is-active span {
    background: var(--accent-1-subtle);
    color: var(--accent-1-bright);
}

.hero-preview-dock {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    padding: 0.5rem 0.65rem;
    background: linear-gradient(180deg, transparent 0%, rgba(5, 7, 12, 0.92) 38%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.hero-preview-dock__id {
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.hero-preview-dock__price {
    font-size: 0.72rem;
    color: var(--text-secondary);
    margin-left: auto;
}

.hero-preview-dock__price strong {
    color: var(--text-primary);
    font-weight: 800;
}

.hero-preview-dock__cta {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #fff;
    padding: 0.32rem 0.6rem;
    border-radius: var(--radius-sm);
    background: var(--gradient-primary);
    box-shadow: 0 2px 12px rgba(20, 24, 32, 0.35);
}

.device-frame .configurator-swatches {
    bottom: 3.35rem;
}

.device-frame .configurator-badge-rotate {
    bottom: 3.35rem;
}

.device-frame.hero-visual {
    min-height: 0;
}

.hero-content {
    text-align: left;
    animation: heroFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-1-subtle);
    backdrop-filter: blur(12px);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-accent);
    color: var(--accent-1-bright);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-badge .badge-icon {
    flex-shrink: 0;
    opacity: 0.9;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.875rem, 6vw, 4.85rem);
    font-weight: 800;
    line-height: 1.06;
    margin-bottom: 1.35rem;
    color: var(--text-primary);
    letter-spacing: -0.038em;
}

.title-line {
    display: block;
    animation: titleReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.title-line:nth-child(1) { animation-delay: 0.1s; }
.title-line:nth-child(2) { animation-delay: 0.22s; }
.title-line:nth-child(3) { animation-delay: 0.34s; }

@keyframes titleReveal {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.title-highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px var(--accent-1-glow));
}

.hero-description {
    font-size: clamp(1.02rem, 1.55vw, 1.2rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.72;
    max-width: 34rem;
}

.hero-cta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9375rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.btn:hover::before {
    width: 280px;
    height: 280px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 50px var(--accent-1-glow);
    filter: brightness(1.1);
}

.btn-secondary {
    background: var(--accent-1-subtle);
    backdrop-filter: blur(10px);
    color: var(--accent-1);
    border: 1px solid var(--border-default);
}

.btn-secondary:hover {
    background: var(--accent-1-subtle);
    border-color: var(--border-accent);
    color: var(--accent-1-bright);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.1rem 2rem;
    font-size: 1rem;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.8125rem;
    font-weight: 500;
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 0;
}

.hero-configurator-wrap {
    position: relative;
    width: 100%;
    min-height: 0;
    pointer-events: auto;
}

.hero-visual.hero-configurator-wrap {
    align-self: stretch;
}

.configurator-canvas-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 40px var(--accent-1-glow));
    border-radius: var(--radius-lg);
    overflow: hidden;
}

#heroConfiguratorCanvas {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
}

.configurator-vignette {
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: var(--radius-lg);
    background: radial-gradient(
        ellipse 80% 70% at 50% 50%,
        transparent 30%,
        var(--vignette-mid) 70%,
        var(--vignette-outer) 100%
    );
}

.configurator-overlay {
    position: absolute;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: var(--bg-glass);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    z-index: 2;
}

.configurator-badge-live {
    top: 16px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--text-primary);
    border-color: var(--border-accent-2);
}

.configurator-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
    animation: configurator-pulse 1.5s ease-in-out infinite;
}

@keyframes configurator-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--success-subtle); }
    50% { opacity: 0.9; box-shadow: 0 0 0 6px transparent; }
}

.configurator-swatches {
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
}

.configurator-swatch {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid transparent;
    padding: 0;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.configurator-swatch:hover {
    transform: scale(1.15);
}

.configurator-swatch.active {
    border-color: var(--text-primary);
    box-shadow: 0 0 0 1px var(--border-default);
}

.configurator-swatch:nth-child(1) { background: var(--accent-1); }
.configurator-swatch:nth-child(2) { background: var(--accent-2); }
.configurator-swatch:nth-child(3) { background: var(--accent-3); }
.configurator-swatch:nth-child(4) { background: var(--accent-gold); }
.configurator-swatch:nth-child(5) { background: var(--swatch-silver); }

.configurator-badge-rotate {
    bottom: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.6rem;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.configurator-spin-icon {
    display: inline-block;
    animation: configurator-spin 3s linear infinite;
}

@keyframes configurator-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

.configurator-badge-3d {
    top: 16px;
    right: 16px;
    padding: 0.35rem 0.65rem;
    font-size: 0.7rem;
    font-weight: 800;
    font-family: var(--font-display);
    letter-spacing: 0.1em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border: 1px solid var(--border-subtle);
}

/* ============================================
   HERO — Style chips & enhanced interactivity
   ============================================ */
.hero-style-chips {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-style-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 1.1rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-default);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all var(--transition-base);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    letter-spacing: 0.01em;
}

.hero-style-chip::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.45;
    flex-shrink: 0;
    transition: opacity var(--transition-fast), background var(--transition-fast);
}

.hero-style-chip:hover {
    border-color: var(--border-accent);
    color: var(--text-primary);
    background: var(--accent-1-subtle);
    transform: translateY(-1px);
}

.hero-style-chip.is-active {
    border-color: var(--accent-1-bright);
    background: rgba(20, 24, 32, 0.10);
    color: var(--accent-1-bright);
    box-shadow: 0 0 0 1px rgba(20, 24, 32, 0.18), 0 4px 20px rgba(20, 24, 32, 0.16);
}

.hero-style-chip.is-active::before {
    opacity: 1;
    background: var(--accent-1-bright);
}

.hero-style-chip[data-style="classic"].is-active {
    border-color: var(--accent-3);
    background: var(--accent-3-subtle);
    color: #94A3B8;
    box-shadow: 0 0 0 1px rgba(100, 116, 139, 0.2), 0 4px 20px rgba(100, 116, 139, 0.18);
}

.hero-style-chip[data-style="classic"].is-active::before { background: var(--accent-3); }

.hero-style-chip[data-style="premium"].is-active {
    border-color: var(--accent-gold);
    background: var(--warning-subtle);
    color: var(--accent-gold);
    box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.2), 0 4px 20px rgba(245, 158, 11, 0.2);
}

.hero-style-chip[data-style="premium"].is-active::before { background: var(--accent-gold); }

.hero-style-chip[data-style="minimalist"].is-active {
    border-color: rgba(226, 232, 240, 0.38);
    background: rgba(226, 232, 240, 0.06);
    color: #CBD5E1;
    box-shadow: 0 0 0 1px rgba(226, 232, 240, 0.14), 0 4px 20px rgba(226, 232, 240, 0.08);
}

.hero-style-chip[data-style="minimalist"].is-active::before { background: #CBD5E1; }

/* Device frame — breathing interactive glow */
.device-frame--glowing {
    animation: deviceGlowPulse 4s ease-in-out infinite;
}

@keyframes deviceGlowPulse {
    0%, 100% {
        box-shadow:
            var(--shadow-lg),
            0 0 0 1px rgba(255, 255, 255, 0.04),
            0 32px 80px rgba(20, 24, 32, 0.16);
    }
    50% {
        box-shadow:
            var(--shadow-lg),
            0 0 0 1px rgba(20, 24, 32, 0.18),
            0 32px 80px rgba(20, 24, 32, 0.28),
            0 0 60px rgba(20, 24, 32, 0.12);
    }
}

/* Live price flash animation */
#heroPriceDisplay {
    transition: color 0.25s ease;
}

#heroPriceDisplay.price-flash {
    animation: priceFlash 0.65s ease forwards;
}

@keyframes priceFlash {
    0%   { color: var(--text-primary); }
    25%  { color: var(--success); }
    65%  { color: var(--success); }
    100% { color: var(--text-primary); }
}

/* Hero inner — give slightly more width to the configurator stage */
.hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
}

/* ============================================
   RESPONSIVE — chips (tablet + mobile)
   ============================================ */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-style-chips {
        justify-content: center;
        margin-bottom: 1.5rem;
    }

    .hero-style-chip {
        font-size: 0.8125rem;
        padding: 0.4rem 0.9rem;
    }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.scroll-indicator.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(10px);
}

.scroll-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--accent-1), transparent);
    border-radius: 2px;
    overflow: hidden;
}

.scroll-dot {
    display: block;
    width: 4px;
    height: 4px;
    margin: 0 auto;
    background: var(--accent-1);
    border-radius: 50%;
    animation: scrollDot 2.2s ease-in-out infinite;
}

@keyframes scrollDot {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(44px); opacity: 0; }
}

/* Scroll progress bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 1001;
    transition: width 0.08s ease-out;
}

/* ============================================
   SECTIONS
   ============================================ */
section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-badge {
    display: inline-block;
    background: var(--accent-1-subtle);
    border: 1px solid var(--border-accent);
    color: var(--accent-1-bright);
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-pill);
    margin-top: 12px;
    margin-left: auto;
    margin-right: auto;
}

.section-header .section-title::after {
    margin-left: auto;
    margin-right: auto;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    background: var(--bg-secondary);
}

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

.feature-card {
    background: var(--gradient-card);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid var(--border-subtle);
}

.feature-card:hover {
    border-color: var(--border-accent);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
}

.feature-icon {
    margin-bottom: 1.5rem;
}

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

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

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products {
    background: var(--bg-primary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--gradient-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid var(--border-subtle);
}

.product-card:hover {
    border-color: var(--border-accent);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
}

.product-image {
    height: 250px;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.product-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
}

.building-1,
.building-2,
.building-3 {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 150px;
    background: var(--accent-1-subtle);
    border-radius: 8px;
}

.building-2 {
    background: var(--accent-2-subtle);
    height: 180px;
}

.building-3 {
    background: var(--accent-2-subtle);
    height: 120px;
    opacity: 0.9;
}

.product-content {
    padding: 2rem;
}

.product-content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.product-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.product-link {
    color: var(--accent-1);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.product-link:hover {
    gap: 1rem;
    color: var(--accent-1-bright);
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-it-works {
    background: var(--bg-secondary);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.step-item {
    text-align: center;
    position: relative;
}

.step-number {
    font-size: 4rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    opacity: 0.35;
}

.step-content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
    background: var(--bg-primary);
}

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

.testimonial-card {
    background: var(--gradient-card);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    border-color: var(--border-accent);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
}

.testimonial-rating {
    color: var(--accent-gold);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-inverse);
    font-weight: 700;
    font-size: 1.1rem;
}

.author-name {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.author-role {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: var(--gradient-primary);
    color: var(--text-inverse);
    text-align: center;
    padding: 8rem 0;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background: var(--text-inverse);
    color: var(--accent-1-dim);
}

.cta-section .btn-secondary {
    background: var(--bg-on-accent);
    border: 2px solid var(--border-on-accent);
    color: var(--text-inverse);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    width: 52px;
    height: 52px;
    background: var(--gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--text-inverse);
}

.contact-icon svg {
    flex-shrink: 0;
}

.contact-item h4 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-item p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.contact-form {
    background: var(--gradient-card);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-subtle);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: all var(--transition-base);
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--border-accent);
    box-shadow: 0 0 0 3px var(--accent-1-subtle);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-subtle);
}

hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-default), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo .logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    display: block;
}

.footer-logo .logo-image {
    height: 70px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
    display: block;
}

.footer-brand p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--accent-1);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    flex-wrap: wrap;
    gap: 1rem;
}

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

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--text-secondary);
}

/* ============================================
   LAPTOP (13-inch MacBook, 1280–1440): fit viewport, no clip
   ============================================ */
@media (min-width: 769px) and (max-width: 1440px) {
    .hero-title {
        font-size: clamp(2.3rem, 3.8vw, 3.45rem);
        margin-bottom: 1.1rem;
    }

    .hero-description {
        margin-bottom: 1.5rem;
    }

    .hero-cta {
        margin-bottom: 1.5rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .hero-inner {
        gap: clamp(1.5rem, 2.5vw, 2.25rem);
    }

    .device-frame__viewport {
        max-height: min(42svh, 380px);
        aspect-ratio: 16 / 10;
    }

    .hero-preview-panel {
        width: min(104px, 32%);
        padding: 0.5rem 0.45rem;
    }

    .hero-preview-panel__step {
        font-size: 0.58rem;
    }
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE OPTIMIZATION
   ============================================ */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--bg-secondary);
        border-bottom: 1px solid var(--border-subtle);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        padding: 5rem 1rem 4rem;
        min-height: 100vh;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

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

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
        flex-direction: row;
    }

    .hero-cta .btn {
        flex: 1;
        min-width: 140px;
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        gap: 2rem;
    }

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

    .hero-stage {
        order: -1;
        align-items: stretch;
    }

    .hero-stage__caption {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }

    .hero-visual {
        min-height: 320px;
    }

    .device-frame__viewport {
        min-height: 260px;
        max-height: min(48svh, 360px);
        aspect-ratio: 4 / 3;
    }

    .device-frame .hero-configurator-wrap {
        min-height: 0;
    }

    .hero-configurator-wrap {
        min-height: 0;
    }

    .hero-preview-panel {
        display: none;
    }

    .hero-preview-dock {
        padding: 0.4rem 0.5rem;
    }

    .hero-preview-dock__cta {
        font-size: 0.58rem;
        padding: 0.28rem 0.5rem;
    }

    .device-frame .configurator-swatches {
        bottom: 2.75rem;
    }

    .device-frame .configurator-badge-rotate {
        bottom: 2.75rem;
    }

    .configurator-badge-live,
    .configurator-badge-3d {
        font-size: 0.65rem;
        padding: 0.3rem 0.5rem;
    }

    .configurator-swatches {
        padding: 0.4rem 0.5rem;
    }

    .configurator-swatch {
        width: 16px;
        height: 16px;
    }

    .scroll-indicator .scroll-label {
        display: none;
    }

    .features-grid,
    .products-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    section {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

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

    .section-title {
        font-size: 2rem;
    }

    .feature-card,
    .product-card,
    .testimonial-card,
    .contact-form {
        padding: 1.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* ============================================
   ANIMATIONS & INTERACTIONS
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Smooth scroll reveal animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

