:root {
    --color-bg: #11131C;                 /* HauteObsidian — background */
    --color-surface: #181B28;
    --color-surface-high: #21253A;
    --color-champagne: #B8C3FF;          /* HauteBlueOnDark — primary on dark */
    --color-rose: #2E5BFF;               /* HauteElectricBlue — CTA accent */
    --color-lavender: #D8B9FF;           /* HauteLavender — secondary */
    --color-electric: #2E5BFF;           /* HauteElectricBlue — primary-container */
    --color-inverse-blue: #124AF0;       /* HauteInverseBlue — on light */
    --color-text: #ffffff;
    --color-text-secondary: #C3C8E0;
    --color-text-muted: rgba(195, 200, 224, 0.5);
    --color-border: rgba(120, 132, 190, 0.22);
    --gradient-signature: linear-gradient(135deg, #2E5BFF 0%, #6E8BFF 45%, #D8B9FF 100%);
    --gradient-bg: linear-gradient(160deg, #161A2A 0%, #11131C 60%, #15131F 100%);
    --radius-card: 20px;
    --radius-sm: 12px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: var(--gradient-bg);
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'San Francisco', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    line-height: 1.65;
    color: var(--color-text);
}

/* ─── Language Selector ─── */
.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 8px;
    z-index: 1000;
}

.language-button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid var(--color-border);
    cursor: pointer;
    padding: 2px;
    background-color: rgba(30, 28, 28, 0.85);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.language-button:hover {
    transform: scale(1.1);
    border-color: var(--color-champagne);
}

.language-button.active {
    border-color: var(--color-champagne);
    box-shadow: 0 0 0 2px rgba(184, 195, 255, 0.3);
}

.language-button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* ─── Header ─── */
.header {
    text-align: center;
    padding: 80px 20px 50px;
    background: linear-gradient(180deg, rgba(216, 185, 255, 0.06) 0%, transparent 100%);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 0;
}

.logo {
    width: 120px;
    height: 120px;
    border-radius: 28px;
    object-fit: cover;
    box-shadow: 0 8px 40px rgba(216, 185, 255, 0.25), 0 0 0 1px rgba(184, 195, 255, 0.08);
    margin-bottom: 24px;
}

.main-title {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -1px;
    background: var(--gradient-signature);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.main-subtitle {
    font-size: 18px;
    color: var(--color-text-secondary);
    max-width: 520px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

/* ─── Header Buttons ─── */
.header-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.header-button {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    letter-spacing: 0.3px;
}

.header-button:hover {
    transform: translateY(-2px);
}

.header-button.privacy-button {
    background: rgba(216, 185, 255, 0.12);
    color: var(--color-lavender);
    border-color: rgba(216, 185, 255, 0.25);
}

.header-button.privacy-button:hover {
    background: rgba(216, 185, 255, 0.2);
}

.header-button.terms-button {
    background: rgba(216, 185, 255, 0.12);
    color: var(--color-lavender);
    border-color: rgba(216, 185, 255, 0.25);
}

.header-button.terms-button:hover {
    background: rgba(216, 185, 255, 0.2);
}

.header-button.ads-button {
    background: rgba(184, 195, 255, 0.08);
    color: var(--color-champagne);
    border-color: rgba(184, 195, 255, 0.2);
}

.header-button.ads-button:hover {
    background: rgba(184, 195, 255, 0.15);
}

.header-button.support-button {
    background: rgba(46, 91, 255, 0.1);
    color: var(--color-rose);
    border-color: rgba(46, 91, 255, 0.25);
}

.header-button.support-button:hover {
    background: rgba(46, 91, 255, 0.18);
}

.header-button.delete-button {
    background: rgba(239, 68, 68, 0.08);
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.2);
}

.header-button.delete-button:hover {
    background: rgba(239, 68, 68, 0.15);
}

/* ─── Section Wrapper ─── */
.section {
    padding: 80px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.section-divider {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 0 20px;
}

.section-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: var(--gradient-signature);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-size: 34px;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 14px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.section-desc {
    font-size: 17px;
    color: var(--color-text-secondary);
    max-width: 600px;
    line-height: 1.75;
    margin-bottom: 56px;
}

/* ─── About ─── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.about-text {
    font-size: 17px;
    color: var(--color-text-secondary);
    line-height: 1.8;
}

.feature-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.pill {
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    background: rgba(184, 195, 255, 0.08);
    color: var(--color-champagne);
    border: 1px solid rgba(184, 195, 255, 0.15);
}

/* ─── Steps ─── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.step-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-signature);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step-card:hover {
    border-color: rgba(184, 195, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.step-card:hover::before {
    opacity: 1;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--gradient-signature);
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.step-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 10px;
}

.step-card p {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

/* ─── Media Placeholder ─── */
.media-placeholder {
    background: rgba(255, 255, 255, 0.03);
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-sm);
    padding: 40px 20px;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-height: 180px;
    justify-content: center;
}

.media-placeholder .placeholder-icon {
    font-size: 32px;
    opacity: 0.4;
}

.media-placeholder img,
.media-placeholder video {
    max-width: 100%;
    max-height: 300px;
    border-radius: 10px;
    object-fit: contain;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

/* ─── Feature Highlight (full-width) ─── */
.feature-highlight {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    padding: 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 28px;
}

.feature-highlight.reverse {
    direction: rtl;
}

.feature-highlight.reverse > * {
    direction: ltr;
}

.feature-icon-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 50px;
    background: rgba(216, 185, 255, 0.1);
    border: 1px solid rgba(216, 185, 255, 0.2);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-lavender);
    margin-bottom: 20px;
}

.feature-icon-badge .brand-logo {
    width: 15px;
    height: 15px;
    display: block;
    fill: currentColor;
}

.feature-highlight h3 {
    font-size: 26px;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 14px;
    letter-spacing: -0.3px;
    line-height: 1.25;
}

.feature-highlight p {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.75;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    color: var(--color-text-secondary);
}

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

/* ─── Small Feature Cards ─── */
.features-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.feature-mini-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    padding: 28px 24px;
    transition: all 0.3s ease;
}

.feature-mini-card:hover {
    border-color: rgba(184, 195, 255, 0.2);
    transform: translateY(-3px);
}

.feature-mini-icon {
    font-size: 28px;
    margin-bottom: 14px;
    display: block;
}

.feature-mini-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
}

.feature-mini-card p {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.65;
}

/* ─── Platform Tabs ─── */
.platform-tabs {
    display: flex;
    gap: 8px;
    margin: 0 auto 48px;
    padding: 4px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--color-border);
    border-radius: 50px;
    width: fit-content;
}

.platform-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    background: transparent;
    color: var(--color-text-secondary);
    transition: all 0.3s ease;
}

.platform-tab .brand-logo {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.platform-tab.active {
    background: var(--gradient-signature);
    color: #ffffff;
}

/* ─── Shortcut Stage (Keynote Switcher) ─── */
.shortcut-stage {
    --m-phone-top: #0A0E17;
    --m-phone-bottom: #11182A;
    max-width: 1040px;
    margin: 0 auto;
}

.sc-panel { display: none; }
.sc-panel.is-active {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.sc-row {
    display: grid;
    grid-template-columns: clamp(196px, 21vw, 236px) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
}
.sc-row.reverse { direction: rtl; }
.sc-row.reverse > * { direction: ltr; }

.sc-media {
    position: relative;
    display: flex;
    justify-content: center;
}
.sc-media::before {
    content: '';
    position: absolute;
    width: 70%;
    height: 60%;
    top: 20%;
    left: 15%;
    background: var(--gradient-signature);
    filter: blur(60px);
    opacity: 0.10;
    border-radius: 50%;
    z-index: -1;
}
.sc-media .phone-frame {
    width: 100%;
    max-width: clamp(196px, 21vw, 236px);
    transition: transform 0.3s ease;
}
.sc-media:hover .phone-frame { transform: translateY(-4px); }

.sc-text {
    max-width: 520px;
    align-self: start;
    padding-top: 8px;
}

.sc-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(11, 13, 20, 0.45);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.9;
    transition: opacity 0.3s ease;
    z-index: 3;
}
.sc-play.is-playing { opacity: 0; }
.sc-media:hover .sc-play { opacity: 0; }

/* Desktop: hover-play on the video; overlay never blocks pointer */
@media (hover: hover) and (pointer: fine) {
    .sc-play { pointer-events: none; }
}

/* ─── Shortcut Cards ─── */
.platform-group {
    margin-bottom: 56px;
}

.platform-group:last-child {
    margin-bottom: 0;
}

.platform-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.platform-heading .feature-icon-badge {
    margin-bottom: 0;
}

.platform-heading .line {
    flex: 1;
    height: 1px;
    background: var(--color-border);
}

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

.shortcut-grid.two {
    grid-template-columns: repeat(2, 1fr);
    max-width: 760px;
}

.shortcut-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.shortcut-card:hover {
    border-color: rgba(216, 185, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.shortcut-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #0b0d14;
    display: block;
}

.shortcut-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.shortcut-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.shortcut-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: contain;
    background: rgba(184, 195, 255, 0.08);
    border: 1px solid var(--color-border);
    padding: 6px;
    flex-shrink: 0;
}

.shortcut-head h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.25;
}

.shortcut-subtitle {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 18px;
}

.shortcut-steps {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    counter-reset: step;
}

.shortcut-steps li {
    position: relative;
    padding-left: 32px;
    font-size: 13.5px;
    color: var(--color-text-secondary);
    line-height: 1.5;
    counter-increment: step;
}

.shortcut-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(46, 91, 255, 0.15);
    color: var(--color-champagne);
    border: 1px solid rgba(184, 195, 255, 0.25);
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shortcut-highlight {
    background: rgba(46, 91, 255, 0.08);
    border: 1px solid rgba(46, 91, 255, 0.2);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    margin-bottom: 18px;
}

.shortcut-highlight .label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-lavender);
    margin-bottom: 4px;
}

.shortcut-highlight .text {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-champagne);
    line-height: 1.5;
}

.shortcut-cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    background: var(--color-electric);
    transition: all 0.3s ease;
}

.shortcut-cta:hover {
    background: var(--color-inverse-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(46, 91, 255, 0.35);
}

/* ─── Download ─── */
.download-section {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(180deg, transparent 0%, rgba(216, 185, 255, 0.04) 50%, transparent 100%);
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.store-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    border-radius: 14px;
    text-decoration: none;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
    color: var(--color-text);
    font-weight: 600;
}

.store-button:hover {
    border-color: rgba(184, 195, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    color: var(--color-text);
}

.store-button img {
    height: 52px;
    width: auto;
}

/* ─── Footer ─── */
.footer {
    border-top: 1px solid var(--color-border);
    padding: 32px 20px;
    text-align: center;
}

.footer p {
    color: var(--color-text-muted);
    font-size: 14px;
}

.footer a {
    color: var(--color-champagne);
    text-decoration: none;
    opacity: 0.8;
}

.footer a:hover {
    opacity: 1;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .main-title { font-size: 32px; }
    .section-title { font-size: 26px; }
    .section { padding: 56px 16px; }

    .about-grid,
    .feature-highlight {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px 24px;
    }

    .feature-highlight.reverse { direction: ltr; }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .features-mini-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .sc-panel.is-active { gap: 44px; }

    .sc-row {
        grid-template-columns: 1fr;
        gap: 28px;
        justify-items: center;
        text-align: center;
    }
    .sc-row.reverse { direction: ltr; }

    .sc-media .phone-frame { max-width: 210px; }

    .sc-text {
        max-width: 480px;
        margin: 0 auto;
        text-align: center;
    }
    .sc-text .shortcut-steps { text-align: left; }
    .sc-text .shortcut-cta { align-self: center; }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .header-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .main-title { font-size: 26px; }
    .logo { width: 90px; height: 90px; }
    .header { padding: 60px 16px 40px; }
    .step-card { padding: 24px 20px; }
    .section-title { font-size: 22px; }
    .sc-panel.is-active { gap: 36px; }
    .sc-media .phone-frame { max-width: 200px; }
    .platform-tab { padding: 11px 22px; }
}
