/* ====================================================
   Slottika Landing — Dark Theme
   Design System: matches app tokens exactly
   ==================================================== */

:root {
    /* ── Base (dark) ── */
    --bg:           #0B1020;
    --surface:      #121A2F;
    --surface2:     #182241;
    --border:       #24304F;

    /* ── Text ── */
    --text-primary:   #EAF0FF;
    --text-secondary: #B8C2E0;
    --text-muted:     #7F8BB3;

    /* ── Accents ── */
    --master:        #8E7BFF;
    --master-2:      #B436E8;
    --master-soft:   rgba(142, 123, 255, 0.16);
    --master-grad:   linear-gradient(135deg, #8E7BFF 0%, #B436E8 100%);

    --client:        #3F51B5;
    --client-2:      #5B57E6;
    --client-soft:   rgba(63, 81, 181, 0.14);
    --client-grad:   linear-gradient(135deg, #3F51B5 0%, #5B57E6 100%);

    --brand-grad:    linear-gradient(135deg, #3F51B5 0%, #6B6FEA 50%, #9C7DFF 100%);

    /* ── Semantic ── */
    --success: #22C55E;
    --warning: #F59E0B;
    --error:   #EF4444;

    /* ── Radius ── */
    --r-sm:   12px;
    --r-md:   16px;
    --r-lg:   20px;
    --r-xl:   24px;
    --r-pill: 999px;

    /* ── Spacing ── */
    --s-xs:  4px;
    --s-sm:  8px;
    --s-md:  12px;
    --s-lg:  16px;
    --s-xl:  24px;
    --s-2xl: 32px;
    --s-3xl: 48px;
    --s-4xl: 64px;

    /* ── Typography ── */
    --font: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* ── Shadow ── */
    --shadow-soft: 0 10px 30px rgba(63, 81, 181, 0.18);
    --shadow-glow-master: 0 0 40px rgba(142, 123, 255, 0.25);
    --shadow-glow-client: 0 0 40px rgba(63, 81, 181, 0.22);

    /* ── Transition ── */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --t-fast:   120ms;
    --t-normal: 220ms;
    --t-slow:   300ms;
}

/* ====================================================
   Reset & Base
   ==================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ====================================================
   Layout
   ==================================================== */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 var(--s-xl);
}

.section {
    padding: var(--s-4xl) 0;
    position: relative;
    overflow: hidden;
}

.section--alt {
    background: var(--surface);
}

/* ====================================================
   Header
   ==================================================== */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(11, 16, 32, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: background var(--t-normal) var(--ease),
                border-color var(--t-normal) var(--ease);
}

.header .container {
    display: flex;
    align-items: center;
    gap: var(--s-2xl);
    height: 60px;
}

.header.scrolled {
    background: rgba(11, 16, 32, 0.97);
    border-color: rgba(36, 48, 79, 0.8);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--s-sm);
    flex-shrink: 0;
}

.logo-icon { flex-shrink: 0; }

.logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 8px;
}

.logo-img--sm {
    width: 28px;
    height: 28px;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: var(--text-primary);
}

/* Nav */
.nav {
    display: flex;
    align-items: center;
    gap: var(--s-xl);
    margin-left: auto;
}

.nav-link {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color var(--t-fast) var(--ease);
}

.nav-link:hover { color: var(--text-primary); }

/* Burger */
.burger {
    display: none;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    margin-left: auto;
    padding: var(--s-xs);
}

/* Mobile nav */
.mobile-nav {
    display: none;
    flex-direction: column;
    padding: var(--s-lg) var(--s-xl);
    border-top: 1px solid var(--border);
    gap: var(--s-sm);
}

.mobile-nav.open { display: flex; }

.mobile-nav-link {
    font-size: 15px;
    color: var(--text-secondary);
    padding: var(--s-sm) 0;
    border-bottom: 1px solid var(--border);
    transition: color var(--t-fast) var(--ease);
}

.mobile-nav-link:last-child { border-bottom: none; }
.mobile-nav-link:hover, .mobile-nav-link.accent { color: var(--master); font-weight: 600; }

/* ====================================================
   Buttons
   ==================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--s-sm);
    font-family: var(--font);
    font-weight: 600;
    border-radius: var(--r-pill);
    cursor: pointer;
    transition: opacity var(--t-fast) var(--ease),
                transform var(--t-fast) var(--ease),
                box-shadow var(--t-normal) var(--ease);
    border: none;
    white-space: nowrap;
}

.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn:active { transform: translateY(0); opacity: 1; }

.btn-sm {
    font-size: 13px;
    padding: 7px 18px;
}

.btn-primary {
    background: var(--brand-grad);
    color: #fff;
    font-size: 14px;
    padding: 9px 22px;
    box-shadow: 0 4px 16px rgba(142, 123, 255, 0.3);
}

.btn-master {
    background: var(--master-grad);
    color: #fff;
    font-size: 15px;
    padding: 13px 28px;
    box-shadow: 0 6px 20px rgba(142, 123, 255, 0.35);
}

.btn-client {
    background: var(--client-grad);
    color: #fff;
    font-size: 15px;
    padding: 13px 28px;
    box-shadow: 0 6px 20px rgba(63, 81, 181, 0.35);
}

/* ====================================================
   Section headers
   ==================================================== */
.section-header {
    text-align: center;
    margin-bottom: var(--s-4xl);
}

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: var(--s-md);
}

.section-title {
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    margin-bottom: var(--s-lg);
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Role tags */
.role-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--s-xs);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: var(--r-pill);
    margin-bottom: var(--s-md);
}

.role-tag--master {
    color: var(--master);
    background: var(--master-soft);
    border: 1px solid rgba(142, 123, 255, 0.25);
}

.role-tag--client {
    color: var(--client-2);
    background: var(--client-soft);
    border: 1px solid rgba(63, 81, 181, 0.25);
}

/* Role accent strips */
.role-accent {
    position: absolute;
    top: 0; left: 0;
    width: 4px;
    height: 100%;
}

.role-accent--master { background: var(--master-grad); }
.role-accent--client { background: var(--client-grad); }

/* ====================================================
   Hero
   ==================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    padding-bottom: var(--s-4xl);
    position: relative;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
    z-index: 0;
}

.hero-glow--blue {
    width: 600px; height: 600px;
    background: rgba(63, 81, 181, 0.15);
    top: -150px; right: -100px;
}

.hero-glow--purple {
    width: 500px; height: 500px;
    background: rgba(142, 123, 255, 0.12);
    bottom: 0; left: -80px;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: var(--s-4xl);
    position: relative;
    z-index: 1;
}

.hero-content { flex: 1; min-width: 0; }

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: var(--s-sm);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: var(--s-lg);
}

.dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.dot--purple { background: var(--master); }
.dot--blue { background: var(--client); }

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

.hero-title {
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--text-primary);
    margin-bottom: var(--s-xl);
}

.hero-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: var(--s-2xl);
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: var(--s-lg);
    flex-wrap: wrap;
    margin-bottom: var(--s-2xl);
}

.hero-badges {
    display: flex;
    gap: var(--s-md);
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--s-xs);
    font-size: 12px;
    color: var(--text-muted);
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 5px 12px;
    border-radius: var(--r-pill);
}

.badge svg { color: var(--text-muted); }

/* Hero phones */
.hero-phones {
    display: flex;
    gap: var(--s-xl);
    align-items: flex-end;
    flex-shrink: 0;
}

.phone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--s-md);
}

.phone--master { margin-bottom: 40px; }
.phone--client { margin-top: 0; }

.phone-frame {
    width: 188px;
    background: var(--surface);
    border-radius: 28px;
    border: 1px solid var(--border);
    padding: 14px 12px 16px;
    position: relative;
    box-shadow: var(--shadow-soft);
}

.phone--master .phone-frame {
    box-shadow: 0 12px 40px rgba(142, 123, 255, 0.22);
}

.phone--client .phone-frame {
    box-shadow: 0 12px 40px rgba(63, 81, 181, 0.22);
}

.phone-notch {
    width: 60px; height: 6px;
    background: var(--border);
    border-radius: var(--r-pill);
    margin: 0 auto 12px;
}

.phone-screen { font-size: 11px; }

.phone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.phone-header-title { font-size: 13px; font-weight: 700; color: var(--text-primary); }

.phone-avatar {
    width: 26px; height: 26px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700; color: #fff;
}

.phone-avatar--master { background: var(--master-grad); }
.phone-avatar--client { background: var(--client-grad); }

.phone-section-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.phone-card {
    background: var(--surface2);
    border-radius: var(--r-sm);
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    border-left: 2px solid transparent;
}

.phone-card--master { border-left-color: var(--master); }
.phone-card--client { border-left-color: var(--client); }
.phone-card--break { border-left-color: var(--border); opacity: 0.65; }

.phone-card-time {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    text-align: center;
    min-width: 28px;
    line-height: 1.3;
}

.phone-card-info { flex: 1; min-width: 0; }
.phone-card-title { font-size: 11px; font-weight: 600; color: var(--text-primary); }
.phone-card-sub { font-size: 10px; color: var(--text-muted); margin-top: 1px; }

.phone-card-status {
    width: 18px; height: 18px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 9px; font-weight: 700; flex-shrink: 0;
}

.phone-card-status.confirmed { background: rgba(34, 197, 94, 0.18); color: var(--success); }

.phone-masters {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.phone-master-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--r-pill);
    padding: 3px 8px;
    color: var(--text-secondary);
}

.phone-master-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
}

.phone-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: var(--r-pill);
}

.phone-label--master {
    color: var(--master);
    background: var(--master-soft);
}

.phone-label--client {
    color: var(--client-2);
    background: var(--client-soft);
}

/* ====================================================
   How It Works
   ==================================================== */
.steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    max-width: 860px;
    margin: 0 auto;
}

.step {
    flex: 1;
    text-align: center;
    padding: var(--s-xl);
}

.step-num {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: var(--s-lg);
}

.step-icon {
    width: 60px; height: 60px;
    border-radius: var(--r-lg);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto var(--s-lg);
}

.step-icon--purple { background: var(--master-soft); color: var(--master); border: 1px solid rgba(142, 123, 255, 0.25); }
.step-icon--blue { background: var(--client-soft); color: var(--client-2); border: 1px solid rgba(63, 81, 181, 0.2); }
.step-icon--gradient { background: linear-gradient(135deg, var(--master-soft), var(--client-soft)); color: var(--text-secondary); border: 1px solid var(--border); }

.step-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--s-sm);
}

.step-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-connector {
    display: flex;
    align-items: center;
    padding-top: 90px;
    color: var(--border);
    flex-shrink: 0;
}

/* ====================================================
   Features grid
   ==================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-lg);
}

.feature-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: var(--s-xl);
    position: relative;
    overflow: hidden;
    transition: border-color var(--t-normal) var(--ease),
                transform var(--t-slow) var(--ease),
                box-shadow var(--t-slow) var(--ease);
}

/* Shimmer sweep on hover */
.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        transparent 30%,
        rgba(255,255,255,0.04) 50%,
        transparent 70%
    );
    transform: translateX(-100%);
    transition: transform 0.6s var(--ease);
    pointer-events: none;
}

.feature-card:hover::after { transform: translateX(100%); }

.section--alt .feature-card { background: var(--surface2); }

.feature-card--master:hover {
    border-color: rgba(142, 123, 255, 0.55);
    transform: translateY(-3px);
    box-shadow: 0 0 0 1px rgba(142,123,255,0.18), 0 12px 40px rgba(142,123,255,0.18);
}

.feature-card--client:hover {
    border-color: rgba(63, 81, 181, 0.55);
    transform: translateY(-3px);
    box-shadow: 0 0 0 1px rgba(63,81,181,0.18), 0 12px 40px rgba(63,81,181,0.18);
}

.feature-icon {
    width: 44px; height: 44px;
    border-radius: var(--r-md);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: var(--s-lg);
    transition: transform var(--t-normal) var(--ease);
}

.feature-card:hover .feature-icon {
    transform: scale(1.12) rotate(5deg);
}

.feature-icon--master { background: var(--master-soft); color: var(--master); }
.feature-icon--client { background: var(--client-soft); color: var(--client-2); }

.feature-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--s-sm);
}

.feature-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ====================================================
   Philosophy / Comparison
   ==================================================== */
.comparison {
    display: flex;
    gap: 0;
    max-width: 880px;
    margin: 0 auto var(--s-4xl);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    overflow: hidden;
}

.comparison-col {
    flex: 1;
    padding: var(--s-2xl);
}

.comparison-col--no { border-right: none; }

.comparison-head {
    display: flex;
    align-items: center;
    gap: var(--s-md);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--s-xl);
}

.comparison-icon {
    width: 32px; height: 32px;
    border-radius: var(--r-sm);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.comparison-icon--no { background: rgba(239, 68, 68, 0.12); color: var(--error); }
.comparison-icon--yes { background: rgba(34, 197, 94, 0.12); color: var(--success); }

.comparison-list { display: flex; flex-direction: column; gap: var(--s-md); }

.comparison-list li {
    font-size: 14px;
    color: var(--text-secondary);
    padding-left: var(--s-lg);
    position: relative;
    line-height: 1.5;
}

.comparison-col--no .comparison-list li::before {
    content: '×';
    position: absolute;
    left: 0;
    color: var(--error);
    font-weight: 700;
    font-size: 13px;
}

.comparison-col--yes .comparison-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
    font-size: 13px;
}

.comparison-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 var(--s-md);
    position: relative;
}

.comparison-divider::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    background: var(--border);
    z-index: 0;
}

.comparison-vs {
    width: 36px; height: 36px;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.manifesto {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.manifesto-quote {
    font-size: clamp(18px, 2.5vw, 22px);
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
    padding: 0 var(--s-2xl);
}

.manifesto-quote::before, .manifesto-quote::after {
    content: '"';
    font-size: 48px;
    font-style: normal;
    font-weight: 800;
    background: var(--brand-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: absolute;
    line-height: 1;
}

.manifesto-quote::before { top: -8px; left: 0; }
.manifesto-quote::after { bottom: -24px; right: 0; content: '"'; }

/* ====================================================
   Screens Preview
   ==================================================== */
.preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-xl);
    align-items: start;
}

.preview-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--s-lg);
}

.preview-phone { position: relative; }

.preview-phone-frame {
    width: 200px;
    border-radius: 28px;
    border: 1px solid var(--border);
    padding: 14px 12px 16px;
    position: relative;
    overflow: hidden;
}

.preview-phone-frame--master {
    background: var(--surface);
    box-shadow: 0 16px 48px rgba(142, 123, 255, 0.2);
    border-color: rgba(142, 123, 255, 0.2);
}

.preview-phone-frame--client {
    background: var(--surface);
    box-shadow: 0 16px 48px rgba(63, 81, 181, 0.2);
    border-color: rgba(63, 81, 181, 0.2);
}

.pf-notch {
    width: 60px; height: 6px;
    background: var(--border);
    border-radius: var(--r-pill);
    margin: 0 auto 12px;
}

.pf-content { font-size: 11px; }

.pf-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.pf-title { font-size: 13px; font-weight: 700; color: var(--text-primary); }
.pf-dot { width: 8px; height: 8px; border-radius: 50%; }

.pf-kpi-row {
    display: flex;
    gap: var(--s-xs);
    margin-bottom: 10px;
}

.pf-kpi {
    flex: 1;
    background: var(--surface2);
    border-radius: var(--r-sm);
    padding: 6px 5px;
    text-align: center;
}

.pf-kpi-val { font-size: 13px; font-weight: 800; color: var(--master); }
.pf-kpi-label { font-size: 9px; color: var(--text-muted); margin-top: 1px; }

.pf-mini-card {
    display: flex;
    gap: 7px;
    align-items: center;
    background: var(--surface2);
    border-radius: var(--r-sm);
    padding: 7px 8px;
    margin-bottom: 5px;
    border-left: 2px solid var(--master);
}

.pf-mini-time { font-size: 10px; font-weight: 700; color: var(--text-muted); min-width: 28px; }
.pf-mini-name { font-size: 11px; font-weight: 600; color: var(--text-primary); }
.pf-mini-sub { font-size: 9px; color: var(--text-muted); margin-top: 1px; }

/* Booking steps */
.pf-step-row {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.pf-step {
    width: 22px; height: 22px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; font-weight: 700;
    background: var(--surface2);
    color: var(--text-muted);
    border: 1px solid var(--border);
    flex-shrink: 0;
}

.pf-step--done { background: var(--client); color: #fff; border-color: var(--client); }
.pf-step--active { background: var(--surface2); color: var(--client-2); border-color: var(--client-2); }

.pf-step-line {
    flex: 1;
    height: 1px;
    background: var(--border);
}

.pf-step-line--done { background: var(--client); }

.pf-service-item {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    padding: 8px 10px;
    margin-bottom: 5px;
    cursor: pointer;
    transition: border-color var(--t-fast) var(--ease);
}

.pf-service-item--active {
    border-color: var(--client);
    background: rgba(63, 81, 181, 0.1);
}

.pf-service-name { font-size: 11px; font-weight: 600; color: var(--text-primary); }
.pf-service-meta { font-size: 10px; color: var(--text-muted); margin-top: 2px; }

/* Client rows */
.pf-client-row {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 7px 0;
    border-bottom: 1px solid var(--border);
}

.pf-client-row:last-child { border-bottom: none; }

.pf-client-avatar {
    width: 28px; height: 28px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700; color: #fff;
    flex-shrink: 0;
}

.pf-client-name { font-size: 11px; font-weight: 600; color: var(--text-primary); }
.pf-client-sub { font-size: 9px; color: var(--text-muted); margin-top: 1px; }

.preview-caption {
    font-size: 13px;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.4;
    max-width: 180px;
}

.preview-caption--master { color: var(--master); opacity: 0.85; }
.preview-caption--client { color: var(--client-2); opacity: 0.85; }

/* ====================================================
   CTA Section
   ==================================================== */
.cta-section {
    text-align: center;
    position: relative;
}

.cta-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(100px);
}

.cta-glow--purple {
    width: 500px; height: 400px;
    background: rgba(142, 123, 255, 0.12);
    top: 0; left: 50%;
    transform: translateX(-50%);
}

.cta-glow--blue {
    width: 400px; height: 300px;
    background: rgba(63, 81, 181, 0.1);
    bottom: 0; left: 50%;
    transform: translateX(-50%);
}

.cta-content { position: relative; z-index: 1; }

.cta-title {
    font-size: clamp(30px, 4.5vw, 48px);
    font-weight: 800;
    letter-spacing: -0.8px;
    color: var(--text-primary);
    margin-bottom: var(--s-md);
}

.cta-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: var(--s-2xl);
}

.cta-buttons {
    display: flex;
    gap: var(--s-lg);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--s-2xl);
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--s-sm);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-pill);
    padding: 12px 26px;
    transition: border-color var(--t-normal) var(--ease),
                transform var(--t-fast) var(--ease),
                box-shadow var(--t-normal) var(--ease);
}

.store-btn--rustore {
    padding: 14px 32px;
}

.store-btn:hover {
    border-color: rgba(142, 123, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(142, 123, 255, 0.2);
}

.cta-note {
    font-size: 14px;
    color: var(--text-muted);
}

.cta-link {
    color: var(--master);
    font-weight: 600;
    transition: opacity var(--t-fast) var(--ease);
}

.cta-link:hover { opacity: 0.75; }

/* ====================================================
   Footer
   ==================================================== */
.footer {
    padding: var(--s-2xl) 0;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    align-items: center;
    gap: var(--s-xl);
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: var(--s-xl);
    margin-left: auto;
}

.footer-link {
    font-size: 13px;
    color: var(--text-muted);
    transition: color var(--t-fast) var(--ease);
}

.footer-link:hover { color: var(--text-secondary); }

.footer-copy {
    font-size: 13px;
    color: var(--text-muted);
    width: 100%;
    text-align: center;
    padding-top: var(--s-lg);
    border-top: 1px solid var(--border);
    margin-top: var(--s-lg);
}

/* ====================================================
   Scroll animations
   ==================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 80ms; }
.fade-in-delay-2 { transition-delay: 160ms; }
.fade-in-delay-3 { transition-delay: 240ms; }
.fade-in-delay-4 { transition-delay: 320ms; }
.fade-in-delay-5 { transition-delay: 400ms; }
.fade-in-delay-6 { transition-delay: 480ms; }

/* Directional reveals */
.reveal-left  { opacity: 0; transform: translateX(-36px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.reveal-right { opacity: 0; transform: translateX(36px);  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.reveal-up    { opacity: 0; transform: translateY(-24px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.reveal-left.visible, .reveal-right.visible, .reveal-up.visible {
    opacity: 1; transform: translate(0);
}

/* ====================================================
   Keyframes
   ==================================================== */

/* Gradient text shift */
@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.gradient-text {
    background: linear-gradient(135deg, #3F51B5, #8E7BFF, #B436E8, #6B6FEA, #3F51B5);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease infinite;
}

/* Floating chips on phones */
@keyframes floatY {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-7px); }
}

@keyframes floatYReverse {
    0%, 100% { transform: translateY(-4px); }
    50%       { transform: translateY(3px); }
}

/* Phone cards entrance */
@keyframes phoneCardIn {
    from { opacity: 0; transform: translateX(-10px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* Pulse dot */
@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(142,123,255,0.5); }
    50%       { box-shadow: 0 0 0 6px rgba(142,123,255,0); }
}

/* ====================================================
   Float chips on Hero phones
   ==================================================== */
.hero-phones {
    position: relative;
}

.float-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: var(--r-pill);
    white-space: nowrap;
    z-index: 10;
    pointer-events: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.float-chip--master {
    background: linear-gradient(135deg, rgba(142,123,255,0.25), rgba(180,54,232,0.2));
    border: 1px solid rgba(142,123,255,0.4);
    color: var(--master);
    top: 16px; left: -30px;
    animation: floatY 3s ease-in-out infinite;
}

.float-chip--client {
    background: linear-gradient(135deg, rgba(63,81,181,0.25), rgba(91,87,230,0.2));
    border: 1px solid rgba(63,81,181,0.4);
    color: #7B8FFF;
    bottom: 60px; right: -24px;
    animation: floatYReverse 3.5s ease-in-out infinite;
}

.float-chip svg { flex-shrink: 0; }

/* ====================================================
   Canvas particles
   ==================================================== */
#heroParticles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.7;
}

/* ====================================================
   Step icon hover
   ==================================================== */
.step-icon {
    transition: transform var(--t-normal) var(--ease),
                box-shadow var(--t-normal) var(--ease);
}

.step:hover .step-icon--purple {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(142,123,255,0.4);
}

.step:hover .step-icon--blue {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(63,81,181,0.4);
}

.step:hover .step-icon--gradient {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(107,111,234,0.3);
}

/* ====================================================
   Ripple effect
   ==================================================== */
.btn, .store-btn {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.28);
    transform: scale(0);
    animation: rippleAnim 0.55s var(--ease);
    pointer-events: none;
}

@keyframes rippleAnim {
    to { transform: scale(2.8); opacity: 0; }
}

/* ====================================================
   Comparison list staggered
   ==================================================== */
.comparison-list li {
    opacity: 0;
    transform: translateX(-16px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.comparison-col--yes .comparison-list li {
    transform: translateX(16px);
}

.comparison-col.list-revealed .comparison-list li {
    opacity: 1;
    transform: translateX(0);
}

/* Generate delays 0-5 */
.comparison-list li:nth-child(1) { transition-delay: 0ms; }
.comparison-list li:nth-child(2) { transition-delay: 60ms; }
.comparison-list li:nth-child(3) { transition-delay: 120ms; }
.comparison-list li:nth-child(4) { transition-delay: 180ms; }
.comparison-list li:nth-child(5) { transition-delay: 240ms; }
.comparison-list li:nth-child(6) { transition-delay: 300ms; }

/* ====================================================
   Phone card entrance animation
   ==================================================== */
.phone-card.card-animated {
    animation: phoneCardIn 0.4s var(--ease) both;
}

.phone-card.card-animated:nth-child(2) { animation-delay: 0.15s; }
.phone-card.card-animated:nth-child(3) { animation-delay: 0.3s; }
.phone-card.card-animated:nth-child(4) { animation-delay: 0.45s; }

/* ====================================================
   KPI counter glow on count
   ==================================================== */
.pf-kpi-val.counting {
    color: var(--master);
    text-shadow: 0 0 12px rgba(142,123,255,0.5);
    transition: text-shadow 0.3s var(--ease);
}

/* ====================================================
   Parallax phone wrappers
   ==================================================== */
.phone--master, .phone--client {
    will-change: transform;
}

/* ====================================================
   Responsive
   ==================================================== */
@media (max-width: 900px) {
    .hero .container {
        flex-direction: column;
        gap: var(--s-3xl);
    }

    .hero-content { text-align: center; }
    .hero-subtitle { max-width: 100%; }
    .hero-actions, .hero-badges { justify-content: center; }

    .hero-phones {
        justify-content: center;
    }

    .float-chip--master { left: 0; top: -10px; }
    .float-chip--client { right: 0; bottom: 30px; }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .preview-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 0 auto;
    }

    .steps {
        flex-direction: column;
    }

    .step-connector {
        transform: rotate(90deg);
        padding: 0;
        margin: 0 auto;
    }

    .comparison {
        flex-direction: column;
    }

    .comparison-col--no { border-right: none; border-bottom: 1px solid var(--border); }
    .comparison-divider { padding: var(--s-md) 0; }
}

@media (max-width: 640px) {
    .container { padding: 0 var(--s-lg); }
    .section { padding: var(--s-3xl) 0; }

    .hero { padding-top: 70px; min-height: auto; padding-bottom: var(--s-3xl); }
    .hero-title { letter-spacing: -0.5px; }
    .hero-phones { gap: var(--s-md); }
    .phone-frame { width: 160px; }

    .features-grid { grid-template-columns: 1fr; gap: var(--s-md); }

    .nav { display: none; }
    .btn-primary.nav-cta { display: none; }
    .burger { display: flex; }

    .header .container {
        gap: var(--s-md);
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--s-lg);
    }

    .footer-links { margin-left: 0; flex-direction: column; gap: var(--s-md); }
}

@media (max-width: 400px) {
    .hero-phones { gap: var(--s-sm); }
    .phone-frame { width: 140px; border-radius: 22px; }
    .phone-notch { width: 50px; }
}

/* ── Cookie banner ──────────────────────────────────────── */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(15, 20, 40, 0.97);
    border-top: 1px solid rgba(142, 123, 255, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: var(--s-lg) 0;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.4);
}

.cookie-banner.is-visible {
    transform: translateY(0);
}

.cookie-banner__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--s-xl);
    display: flex;
    align-items: center;
    gap: var(--s-xl);
}

.cookie-banner__text {
    display: flex;
    align-items: flex-start;
    gap: var(--s-md);
    flex: 1;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--text-secondary);
}

.cookie-banner__text svg {
    flex-shrink: 0;
    margin-top: 1px;
    opacity: 0.7;
}

.cookie-banner__link {
    color: var(--master);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}

.cookie-banner__link:hover {
    color: var(--text-primary);
}

.cookie-banner__actions {
    display: flex;
    align-items: center;
    gap: var(--s-md);
    flex-shrink: 0;
}

.cookie-banner__more {
    font-size: 0.813rem;
    color: var(--text-secondary);
    text-decoration: underline;
    text-underline-offset: 2px;
    white-space: nowrap;
    transition: color 0.2s;
}

.cookie-banner__more:hover {
    color: var(--text-primary);
}

.cookie-banner__accept {
    padding: 10px 22px;
    background: var(--master);
    color: #fff;
    border: none;
    border-radius: var(--r-md);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s, transform 0.15s;
}

.cookie-banner__accept:hover {
    background: #7a68f0;
    transform: translateY(-1px);
}

.cookie-banner__accept:active {
    transform: translateY(0);
}

@media (max-width: 720px) {
    .cookie-banner__inner {
        flex-direction: column;
        align-items: stretch;
        gap: var(--s-lg);
        padding: 0 var(--s-lg);
    }

    .cookie-banner__actions {
        justify-content: flex-end;
    }
}

@media (max-width: 400px) {
    .cookie-banner__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-banner__accept {
        text-align: center;
    }
}

/* ===== TIMELINE (Our Journey) ===== */
.timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-left: 40px;
    max-width: 720px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 12px;
    bottom: 12px;
    width: 2px;
    background: linear-gradient(to bottom, var(--master), var(--client), transparent);
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    padding: var(--s-2xl) 0 var(--s-2xl) var(--s-xl);
}

.timeline-dot {
    position: absolute;
    left: -35px;
    top: calc(var(--s-2xl) + 4px);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--surface);
    transition: all var(--t-normal) var(--ease);
    z-index: 1;
}

.timeline-item--done .timeline-dot {
    background: var(--surface2);
    border-color: var(--text-muted);
}

.timeline-item--current .timeline-dot {
    width: 18px;
    height: 18px;
    left: -37px;
    top: calc(var(--s-2xl) + 2px);
    background: var(--master);
    border-color: var(--master);
    box-shadow: 0 0 0 4px rgba(142, 123, 255, 0.2);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 4px rgba(142, 123, 255, 0.2); }
    50% { box-shadow: 0 0 0 8px rgba(142, 123, 255, 0.08); }
}

.timeline-date {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: var(--s-sm);
}

.timeline-now-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--master);
    background: rgba(142, 123, 255, 0.1);
    border: 1px solid rgba(142, 123, 255, 0.25);
    border-radius: var(--r-pill);
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.timeline-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 var(--s-sm);
}

.timeline-item--done .timeline-title {
    color: var(--text-secondary);
}

.timeline-text {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-muted);
    margin: 0;
    max-width: 540px;
}

.timeline-item--current .timeline-text {
    color: var(--text-secondary);
}

.timeline-item + .timeline-item {
    border-top: 1px solid var(--border);
}

@media (max-width: 600px) {
    .timeline {
        padding-left: 32px;
    }
    .timeline-dot {
        left: -27px;
    }
    .timeline-item--current .timeline-dot {
        left: -29px;
    }
    .timeline-title {
        font-size: 16px;
    }
    .timeline-text {
        font-size: 14px;
    }
}

/* ===== ROADMAP ===== */
.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-xl);
}

.roadmap-card {
    background: var(--surface);
    border-radius: var(--r-lg);
    padding: var(--s-xl);
    display: flex;
    flex-direction: column;
    gap: var(--s-md);
    border: 1px solid var(--border);
    transition: transform var(--t-normal) var(--ease), box-shadow var(--t-normal) var(--ease);
}

.roadmap-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

.roadmap-card--in-progress {
    border-color: rgba(142, 123, 255, 0.3);
    background: linear-gradient(135deg, var(--surface) 0%, rgba(142, 123, 255, 0.06) 100%);
}

.roadmap-card--planned {
    opacity: 0.85;
}

.roadmap-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--r-pill);
    padding: 4px 10px;
    align-self: flex-start;
}

.roadmap-status--in-progress {
    color: var(--master);
    background: rgba(142, 123, 255, 0.12);
    border: 1px solid rgba(142, 123, 255, 0.25);
}

.roadmap-status--planned {
    color: var(--client);
    background: rgba(63, 81, 181, 0.12);
    border: 1px solid rgba(63, 81, 181, 0.25);
}

.roadmap-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--r-md);
    background: var(--surface2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    margin-top: var(--s-sm);
}

.roadmap-card--in-progress .roadmap-icon {
    background: rgba(142, 123, 255, 0.1);
    color: var(--master);
}

.roadmap-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.roadmap-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
    flex: 1;
}

@media (max-width: 560px) {
    .roadmap-grid {
        grid-template-columns: 1fr;
    }
}
