/* ==========================================================================
   LUKUL ATELIER / SWITCH PAGE
   Premium White-Glove Migration Architecture
   ========================================================================== */

:root {
    --bg-main: #06110d;
    --bg-deep: #030806;
    --bg-panel: rgba(255, 255, 255, 0.025);
    --bg-panel-strong: rgba(255, 255, 255, 0.04);
    --bg-glass: rgba(5, 12, 10, 0.78);
    --text-main: #f1f1ec;
    --text-soft: #c7c5bc;
    --text-muted: #8f8b80;
    --border-soft: rgba(230, 179, 74, 0.16);
    --border-strong: rgba(230, 179, 74, 0.28);
    --gold: #e6b34a;
    --gold-deep: #b89643;
    --gold-gradient: linear-gradient(135deg, #e6b34a 0%, #b89643 100%);
    --green: #50fa7b;
    --green-soft: rgba(80, 250, 123, 0.16);
    --white-soft: rgba(255, 255, 255, 0.08);

    --font-primary: 'Manrope', sans-serif;
    --font-heading: 'Cinzel', serif;
    --font-mono: 'Space Mono', monospace;

    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;

    --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.32);
    --shadow-strong: 0 24px 60px rgba(0, 0, 0, 0.48);
    --shadow-gold: 0 0 30px rgba(230, 179, 74, 0.08);

    --container: 1200px;
    --container-narrow: 920px;

    --section-pad: 120px 5%;
    --section-pad-mobile: 72px 5%;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: var(--font-primary);
    color: var(--text-main);
    background:
        radial-gradient(circle at top center, rgba(230, 179, 74, 0.08) 0%, transparent 28%),
        radial-gradient(circle at 18% 80%, rgba(80, 250, 123, 0.05) 0%, transparent 20%),
        linear-gradient(180deg, #07120e 0%, #040907 55%, #020504 100%);
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        linear-gradient(to right, rgba(230, 179, 74, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(230, 179, 74, 0.03) 1px, transparent 1px);
    background-size: 90px 90px;
    mask-image: radial-gradient(circle at center, black 10%, transparent 78%);
    -webkit-mask-image: radial-gradient(circle at center, black 10%, transparent 78%);
}

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

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

button,
input,
textarea,
select {
    font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    margin: 0;
    letter-spacing: 0.02em;
}

p {
    margin: 0;
    line-height: 1.85;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ==========================================================================
   LAYOUT HELPERS
   ========================================================================== */

.site-shell,
.site-header,
.switch-hero,
.switch-section,
.switch-final,
.boutique-footer {
    position: relative;
    z-index: 1;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
}

.container-narrow {
    width: 100%;
    max-width: var(--container-narrow);
    margin: 0 auto;
}

.section-padding {
    padding: var(--section-pad);
}

.section-header {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    color: #fff;
    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 1.18;
    margin-bottom: 18px;
}

.section-header p {
    color: var(--text-soft);
    font-size: 1.02rem;
}

/* ==========================================================================
   BADGES
   ========================================================================== */

.badge-outline,
.badge-green {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    border-radius: var(--radius-xs);
    padding: 9px 14px;
    margin-bottom: 24px;
    white-space: nowrap;
}

.badge-outline {
    color: var(--gold);
    border: 1px solid rgba(230, 179, 74, 0.34);
    background: rgba(230, 179, 74, 0.06);
}

.badge-green {
    color: var(--green);
    border: 1px solid rgba(80, 250, 123, 0.32);
    background: rgba(80, 250, 123, 0.06);
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 10px currentColor;
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 5%;
    z-index: 1000;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(3, 8, 6, 0.72);
    border-bottom: 1px solid rgba(230, 179, 74, 0.12);
}

.header-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-logo {
    font-family: var(--font-heading);
    color: var(--gold);
    font-size: 1.45rem;
    letter-spacing: 0.14em;
    white-space: nowrap;
}

.main-nav {
    display: flex;
    align-items: center;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav a {
    color: var(--text-main);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    transition: color 0.28s ease;
    white-space: nowrap;
}

.main-nav a:hover {
    color: var(--gold);
}

.nav-cta {
    border: 1px solid rgba(230, 179, 74, 0.35);
    padding: 10px 18px;
    border-radius: var(--radius-xs);
    background: rgba(230, 179, 74, 0.04);
}

.nav-cta:hover {
    background: rgba(230, 179, 74, 0.09);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gold);
    border-radius: 999px;
}

/* ==========================================================================
   HERO
   ========================================================================== */

.switch-hero {
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 170px 5% 110px 5%;
    overflow: hidden;
}

.switch-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 24%, rgba(230, 179, 74, 0.16) 0%, transparent 36%),
        radial-gradient(circle at 22% 82%, rgba(80, 250, 123, 0.06) 0%, transparent 22%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.38) 100%);
    pointer-events: none;
}

.switch-hero::after {
    content: '';
    position: absolute;
    width: 760px;
    height: 760px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -46%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(230, 179, 74, 0.08) 0%, transparent 62%);
    filter: blur(30px);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 980px;
    margin: 0 auto;
}

.hero-title {
    color: #fff;
    font-size: clamp(2.7rem, 5vw, 4.85rem);
    line-height: 1.06;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 0.03em;
}

.hero-subtitle {
    max-width: 830px;
    margin: 0 auto 34px auto;
    color: var(--text-soft);
    font-size: 1.1rem;
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.trustline {
    color: var(--text-muted);
    font-size: 0.86rem;
    line-height: 1.8;
    max-width: 760px;
    margin: 0 auto;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 28px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 0.94rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: transform 0.28s ease, opacity 0.28s ease, background 0.28s ease, border-color 0.28s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--gold-gradient);
    color: #121212;
    border: none;
    font-weight: 700;
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    opacity: 0.96;
}

.btn-secondary {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.03);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.38);
    transform: translateY(-2px);
}

/* ==========================================================================
   GENERIC CARD SYSTEM
   ========================================================================== */

.panel,
.card,
.mini-card,
.timeline-item,
.faq-item {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.018) 100%);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
}

.panel {
    border-radius: var(--radius-lg);
    padding: 38px 34px;
}

.card {
    border-radius: var(--radius-md);
    padding: 34px 30px;
}

.card h3,
.panel h3,
.mini-card h3,
.timeline-item h3 {
    color: #fff;
}

.card p,
.panel p,
.mini-card p,
.timeline-item p {
    color: var(--text-soft);
}

.card-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--text-soft);
    font-size: 0.98rem;
    line-height: 1.8;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-list li:last-child {
    border-bottom: none;
}

.card-list li::before {
    content: '✦';
    color: var(--gold);
    font-size: 11px;
    flex-shrink: 0;
    margin-top: 6px;
}

/* ==========================================================================
   SPLIT SECTION
   ========================================================================== */

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: stretch;
}

.split-grid .card h3 {
    font-size: 1.35rem;
    margin-bottom: 18px;
}

.split-grid .card p+p {
    margin-top: 16px;
}

/* ==========================================================================
   PROCESS GRID
   ========================================================================== */

.process-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.process-card {
    border-radius: var(--radius-md);
    padding: 34px 30px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    min-height: 100%;
}

.process-label {
    display: inline-block;
    font-family: var(--font-mono);
    color: var(--green);
    font-size: 0.76rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.process-card h3 {
    font-size: 1.35rem;
    margin-bottom: 16px;
    color: #fff;
}

.process-card p {
    color: var(--text-soft);
    font-size: 0.97rem;
}

/* ==========================================================================
   FEATURE / CATEGORY GRIDS
   ========================================================================== */

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

.grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.mini-card {
    border-radius: var(--radius-md);
    padding: 28px 24px;
    min-height: 100%;
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

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

.mini-card h3 {
    font-size: 1.14rem;
    margin-bottom: 12px;
}

.mini-card p {
    font-size: 0.94rem;
}

.note-inline {
    max-width: 780px;
    margin: 28px auto 0 auto;
    text-align: center;
    color: var(--text-muted);
}

/* ==========================================================================
   TIMELINE
   ========================================================================== */

.timeline {
    max-width: 920px;
    margin: 0 auto;
    display: grid;
    gap: 18px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 24px;
    border-radius: var(--radius-md);
    padding: 24px 26px;
}

.timeline-week {
    font-family: var(--font-mono);
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.8rem;
    white-space: nowrap;
    padding-top: 4px;
}

.timeline-item h3 {
    font-size: 1.12rem;
    margin-bottom: 10px;
}

.timeline-item p {
    font-size: 0.97rem;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-section {
    padding: 100px 5%;
}

.faq-wrap {
    max-width: 920px;
    margin: 0 auto;
}

.faq-title {
    text-align: center;
    color: #fff;
    font-size: clamp(1.9rem, 3vw, 2.4rem);
    margin-bottom: 40px;
}

.faq-item {
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 1.02rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-plus {
    font-family: var(--font-mono);
    color: var(--gold);
    font-size: 1.1rem;
    transition: transform 0.28s ease, color 0.28s ease;
    flex-shrink: 0;
}

.faq-item[open] .faq-plus {
    transform: rotate(45deg);
    color: #fff;
}

.faq-answer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0 24px 22px 24px;
    color: var(--text-soft);
    font-size: 0.96rem;
    line-height: 1.85;
}

/* ==========================================================================
   PROOF BLOCK
   ========================================================================== */

.proof-panel {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
    padding: 46px 36px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.018) 100%);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-strong);
}

.proof-panel h2 {
    color: #fff;
    font-size: clamp(1.9rem, 3vw, 2.3rem);
    margin-bottom: 18px;
}

.proof-panel p {
    color: var(--text-soft);
    font-size: 1rem;
}

/* ==========================================================================
   FINAL CTA
   ========================================================================== */

.switch-final {
    padding: 130px 5% 150px 5%;
    text-align: center;
}

.switch-final::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center bottom, rgba(230, 179, 74, 0.12) 0%, transparent 56%);
    pointer-events: none;
    z-index: -1;
}

.final-inner {
    max-width: 920px;
    margin: 0 auto;
}

.final-inner h2 {
    color: #fff;
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    line-height: 1.2;
    margin-bottom: 18px;
}

.final-inner p {
    color: var(--text-soft);
    font-size: 1.04rem;
    max-width: 780px;
    margin: 0 auto 34px auto;
}

.final-note {
    margin-top: 18px;
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.boutique-footer {
    background: rgba(1, 3, 2, 0.72);
    border-top: 1px solid rgba(230, 179, 74, 0.12);
    padding: 80px 5% 30px 5%;
}

.footer-inner {
    max-width: var(--container);
    margin: 0 auto 56px auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.footer-brand {
    max-width: 340px;
}

.footer-logo {
    font-family: var(--font-heading);
    color: var(--gold);
    font-size: 1.75rem;
    letter-spacing: 0.16em;
    display: block;
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.8;
}

.footer-col h4 {
    color: #fff;
    font-size: 0.98rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-size: 0.92rem;
    transition: color 0.28s ease;
}

.footer-col a:hover {
    color: var(--gold);
}

.footer-bottom {
    max-width: var(--container);
    margin: 0 auto;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: #666257;
    letter-spacing: 0.14em;
}

/* ==========================================================================
   BACK TO TOP
   ========================================================================== */

#back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(230, 179, 74, 0.25);
    background: rgba(5, 12, 10, 0.82);
    color: var(--gold);
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

#back-to-top:hover {
    transform: translateY(-2px);
    border-color: rgba(230, 179, 74, 0.42);
    background: rgba(8, 18, 14, 0.92);
}

/* ==========================================================================
   INLINE CTA ALIGNMENT HELPERS
   ========================================================================== */

.inline-cta {
    text-align: center;
    margin-top: 40px;
}

.inline-cta .btn-primary,
.inline-cta .btn-secondary {
    margin: 0 6px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1180px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 980px) {
    .main-nav ul {
        gap: 16px;
    }

    .main-nav a {
        font-size: 0.7rem;
        letter-spacing: 0.11em;
    }

    .split-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 100px;
    }

    .site-header {
        padding: 18px 5%;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 78px;
        left: 0;
        width: 100%;
        background: rgba(3, 8, 6, 0.98);
        border-top: 1px solid rgba(230, 179, 74, 0.10);
        border-bottom: 1px solid rgba(230, 179, 74, 0.10);
        padding: 24px 20px 28px 20px;
        box-shadow: var(--shadow-strong);
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .switch-hero {
        min-height: auto;
        padding: 140px 5% 82px 5%;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        max-width: 340px;
        margin: 0 auto 24px auto;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .section-padding,
    .faq-section,
    .switch-final {
        padding: var(--section-pad-mobile);
    }

    .section-header {
        margin-bottom: 42px;
    }

    .panel,
    .card,
    .process-card,
    .mini-card,
    .timeline-item {
        padding: 26px 22px;
    }

    .grid-4,
    .grid-5 {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 34px;
        text-align: center;
        margin-bottom: 40px;
    }

    .footer-brand {
        margin: 0 auto;
    }

    #back-to-top {
        right: 16px;
        bottom: 16px;
        width: 40px;
        height: 40px;
    }
}

/* =========================================
   MIGRATION SYNCHRONIZATION PRELOADER
   ========================================= */
#switch-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #02140f; /* Deep obsidian matching the switch theme */
    z-index: 999999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease-in-out, visibility 0.6s;
}

.sync-container {
    position: relative;
    width: 160px;
    height: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.sync-crest {
    width: 70px;
    height: auto;
    object-fit: contain;
    z-index: 2;
    opacity: 0.8;
    filter: drop-shadow(0 0 10px rgba(230, 179, 74, 0.4));
}

/* The scanning laser effect pulling the data */
.scanline {
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 2px;
    background: #e6b34a;
    box-shadow: 0 0 15px #e6b34a, 0 0 30px #e6b34a;
    z-index: 3;
    animation: scan 1.5s ease-in-out forwards;
}

/* The Data Orbits */
.orbital-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid transparent;
}

.ring-1 {
    border-top: 2px solid #50fa7b; /* Fast green data channel */
    border-left: 2px solid rgba(80, 250, 123, 0.2);
    animation: spin 1s linear infinite;
}

.ring-2 {
    border-bottom: 2px solid #e6b34a; /* Golden structural channel */
    border-right: 2px solid rgba(230, 179, 74, 0.2);
    width: 85%;
    height: 85%;
    margin: 7.5%;
    animation: spin-reverse 1.5s linear infinite;
}

.sync-terminal {
    margin-top: 35px;
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: #e6b34a;
    z-index: 1;
}

.blinking-cursor {
    animation: blink 1s step-end infinite;
}

@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes spin-reverse { 100% { transform: rotate(-360deg); } }
@keyframes scan {
    0% { top: -10%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 110%; opacity: 0; }
}
@keyframes blink { 50% { opacity: 0; } }