/* ==========================================================================
   That's The Plan! — Landing Page Styles
   Liquid Glass aesthetic · Mobile-first · No dependencies
   ========================================================================== */

/* ---------- Reset & Base ---------- */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: #0a0a0f;
    color: #e8e8ed;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

/* ---------- Gradient & Glass tokens ---------- */

:root {
    --rainbow: linear-gradient(135deg, #22C55E, #3B82F5, #8B5CF6, #EC4899, #FF9500);
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: 20px;
    --radius: 16px;
    --radius-sm: 10px;
    --max-width: 1120px;
    --nav-height: 64px;
}

/* ---------- Language Toggle ---------- */

/* Hide alt-language content; default to NL in HTML, JS overrides */
.lang-en { display: none !important; }
body.en .lang-en { display: revert !important; }
body.en .lang-nl { display: none !important; }

/* ---------- Navigation ---------- */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--nav-height);
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--glass-border);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.nav-title {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-toggle {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    padding: 6px 14px;
    color: #9898a8;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
    font-family: inherit;
}

.lang-toggle:hover {
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.nav-cta {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 100px;
    background: var(--rainbow);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    transition: opacity 0.2s;
}

.nav-cta:hover {
    opacity: 0.88;
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--nav-height) + 40px) 20px 60px;
    overflow: hidden;
}

/* Floating gradient orbs */
.hero-orbs {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: #8B5CF6;
    top: -10%;
    left: -5%;
    animation: float 18s ease-in-out infinite;
}

.orb-2 {
    width: 350px;
    height: 350px;
    background: #EC4899;
    bottom: 5%;
    right: -8%;
    animation: float 22s ease-in-out infinite reverse;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: #22C55E;
    top: 40%;
    left: 55%;
    animation: float 20s ease-in-out infinite 3s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -25px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
}

.hero-icon {
    width: 140px;
    height: 140px;
    border-radius: 32px;
    margin: 0 auto 32px;
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.hero-headline {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.15;
    margin-bottom: 16px;
    background: linear-gradient(to bottom right, #ffffff, #a0a0b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.05rem;
    color: #9898a8;
    max-width: 460px;
    margin: 0 auto 36px;
    line-height: 1.65;
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 100px;
    background: var(--rainbow);
    background-size: 200% 200%;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 24px rgba(139, 92, 246, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.45);
}

.apple-logo {
    flex-shrink: 0;
}

/* ---------- Section Shared ---------- */

.section-title {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 48px;
    background: linear-gradient(to right, #ffffff, #c0c0d0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------- USP Section ---------- */

.usps {
    padding: 80px 20px;
}

.usps-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

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

/* Glass Card */
.usp-card {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.usp-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius);
    padding: 1px;
    background: var(--rainbow);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.usp-card:hover {
    transform: scale(1.02);
}

.usp-card:hover::before {
    opacity: 0.5;
}

.usp-icon {
    font-size: 2rem;
    margin-bottom: 14px;
    line-height: 1;
}

.usp-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
}

.usp-card p {
    font-size: 0.93rem;
    color: #9898a8;
    line-height: 1.6;
}

/* ---------- Screenshots / Preview Section ---------- */

.preview {
    padding: 20px 20px 80px;
}

.preview-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.preview-scroll {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 8px 0 32px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.preview-scroll::-webkit-scrollbar {
    display: none;
}

/* Each frame: iPhone 15 Pro Max ratio ≈ 1:2.167 */
.preview-frame {
    flex-shrink: 0;
    width: 280px;
    height: 607px;
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    scroll-snap-align: center;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.preview-frame-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.pf-1 .preview-frame-bg { background: linear-gradient(170deg, #1a1035 0%, #0d0b1a 40%, #0f1520 100%); }
.pf-2 .preview-frame-bg { background: linear-gradient(170deg, #0f1520 0%, #0d0b1a 40%, #1a1035 100%); }
.pf-3 .preview-frame-bg { background: linear-gradient(170deg, #1a0f2e 0%, #0d0b1a 40%, #0f1a1a 100%); }
.pf-4 .preview-frame-bg { background: linear-gradient(170deg, #0f1a1a 0%, #0d0b1a 40%, #1a1035 100%); }
.pf-5 .preview-frame-bg { background: linear-gradient(170deg, #1a1035 0%, #0d0b1a 40%, #0f1520 100%); }

.preview-frame-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 40px 20px 20px;
}

.preview-headline {
    text-align: center;
    margin-bottom: 24px;
    flex-shrink: 0;
}

.preview-headline h3 {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
    color: #fff;
}

.preview-headline .accent {
    background: var(--rainbow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.preview-headline p {
    font-size: 0.75rem;
    color: #8888a0;
    line-height: 1.5;
}

/* Simulated app screen */
.preview-screen {
    flex: 1;
    background: #161622;
    border-radius: 18px 18px 0 0;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: none;
    overflow: hidden;
}

.preview-screen-inner {
    padding: 14px;
    height: 100%;
    overflow: hidden;
    font-size: 0.75rem;
    color: #c0c0d0;
}

/* --- Screen 1: Calendar --- */
.scr-cal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.scr-cal-month {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.scr-cal-nav {
    display: flex;
    gap: 6px;
}

.scr-cal-nav span {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: #666;
}

.scr-cal-legend {
    display: flex;
    gap: 14px;
    margin-bottom: 10px;
    font-size: 0.65rem;
    color: #888;
}

.scr-cal-legend span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.scr-cal-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.scr-cal-dot-a { background: #22C55E; }
.scr-cal-dot-b { background: #3B82F5; }

.scr-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    text-align: center;
    margin-bottom: 12px;
}

.scr-cal-grid .dlabel {
    font-size: 0.6rem;
    color: #555;
    padding: 3px 0;
    font-weight: 600;
}

.scr-cal-grid .d {
    font-size: 0.65rem;
    color: #888;
    padding: 5px 0;
    border-radius: 6px;
}

.scr-cal-grid .d.pa { background: rgba(34, 197, 94, 0.15); color: #22C55E; }
.scr-cal-grid .d.pb { background: rgba(59, 130, 245, 0.15); color: #3B82F5; }
.scr-cal-grid .d.today { background: rgba(139, 92, 246, 0.3); color: #fff; font-weight: 700; }

.scr-event {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    margin-bottom: 6px;
}

.scr-event-ico {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.scr-event-ico.grn { background: rgba(34, 197, 94, 0.15); }
.scr-event-ico.blu { background: rgba(59, 130, 245, 0.15); }
.scr-event-ico.pur { background: rgba(139, 92, 246, 0.15); }

.scr-event h4 { font-size: 0.75rem; font-weight: 600; color: #fff; }
.scr-event p { font-size: 0.6rem; color: #666; }

/* --- Screen 2: SMS + Browser split --- */
.scr-split {
    display: flex;
    gap: 8px;
    height: 100%;
}

.scr-phone {
    flex: 1;
    background: #1a1a2e;
    border-radius: 14px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
}

.scr-phone-label {
    font-size: 0.5rem;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
    text-align: center;
}

.scr-sms {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 10px;
    padding: 8px;
    font-size: 0.6rem;
    line-height: 1.5;
    margin-bottom: 6px;
}

.scr-sms-sender {
    font-size: 0.55rem;
    color: #22C55E;
    font-weight: 600;
    margin-bottom: 3px;
}

.scr-sms-link {
    color: #3B82F5;
    font-size: 0.55rem;
    word-break: break-all;
}

.scr-browser-bar {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 6px 6px 0 0;
    padding: 5px 8px;
    font-size: 0.5rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 4px;
}

.scr-bdot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    flex-shrink: 0;
}

.scr-browser-body {
    flex: 1;
    background: #1e1e34;
    border-radius: 0 0 10px 10px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-top: none;
}

.scr-browser-body h4 {
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.scr-bfield {
    margin-bottom: 6px;
}

.scr-bfield label {
    font-size: 0.5rem;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.scr-bfield .val {
    font-size: 0.65rem;
}

.scr-bbtn {
    width: 100%;
    padding: 7px;
    border-radius: 8px;
    border: none;
    font-size: 0.65rem;
    font-weight: 700;
    text-align: center;
    margin-top: 4px;
}

.scr-bbtn.accept { background: #22C55E; color: #0a0a0f; }
.scr-bbtn.decline { background: rgba(255, 255, 255, 0.1); color: #888; }

/* --- Screen 3: Chat / Tone filter --- */
.scr-chat {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.scr-chat-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 10px;
}

.scr-chat-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3B82F5, #8B5CF6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.scr-chat-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
}

.scr-chat-msgs {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 6px;
}

.scr-msg {
    max-width: 85%;
    padding: 8px 12px;
    border-radius: 14px;
    font-size: 0.7rem;
    line-height: 1.5;
}

.scr-msg.in {
    background: rgba(255, 255, 255, 0.06);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.scr-msg.out {
    background: rgba(139, 92, 246, 0.25);
    color: #e0e0f0;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.scr-tone {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 12px;
    padding: 10px;
    margin-top: 4px;
}

.scr-tone-label {
    font-size: 0.6rem;
    font-weight: 700;
    color: #8B5CF6;
    margin-bottom: 5px;
}

.scr-tone-text {
    font-size: 0.7rem;
    line-height: 1.5;
    margin-bottom: 8px;
}

.scr-tone-btns {
    display: flex;
    gap: 6px;
}

.scr-tone-btn {
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 0.6rem;
    font-weight: 600;
    border: none;
}

.scr-tone-btn.accept { background: #22C55E; color: #0a0a0f; }
.scr-tone-btn.reject { background: rgba(255, 255, 255, 0.08); color: #888; }

.scr-chat-input {
    margin-top: 8px;
    display: flex;
    gap: 6px;
    align-items: center;
}

.scr-chat-field {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 7px 12px;
    font-size: 0.6rem;
    color: #ff6b6b;
}

.scr-chat-send {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #8B5CF6;
    border: none;
    color: #fff;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* --- Screen 4: Expenses --- */
.scr-exp-balance {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(59, 130, 245, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 14px;
    text-align: center;
    margin-bottom: 12px;
}

.scr-exp-balance-label {
    font-size: 0.55rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 3px;
}

.scr-exp-balance-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #22C55E;
    margin-bottom: 2px;
}

.scr-exp-balance-who {
    font-size: 0.6rem;
    color: #888;
}

.scr-exp-settle {
    width: 100%;
    padding: 9px;
    border-radius: 10px;
    background: #22C55E;
    color: #0a0a0f;
    font-size: 0.75rem;
    font-weight: 700;
    border: none;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.scr-exp-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 5px;
}

.scr-exp-ico {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.scr-exp-item h4 { font-size: 0.7rem; font-weight: 600; color: #fff; }
.scr-exp-item p { font-size: 0.55rem; color: #666; }
.scr-exp-amount { font-size: 0.75rem; font-weight: 700; color: #fff; margin-left: auto; flex-shrink: 0; }

/* --- Screen 5: SharePlay --- */
.scr-sp-bar {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(59, 130, 245, 0.15));
    border-radius: 10px;
    padding: 9px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.scr-sp-bar-icon { font-size: 1rem; }
.scr-sp-bar h4 { font-size: 0.7rem; font-weight: 600; color: #22C55E; }
.scr-sp-bar p { font-size: 0.55rem; color: #888; }

.scr-sp-live {
    background: #22C55E;
    color: #0a0a0f;
    font-size: 0.5rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: auto;
    flex-shrink: 0;
}

.scr-sp-week {
    display: grid;
    grid-template-columns: 36px repeat(5, 1fr);
    gap: 2px;
    font-size: 0.55rem;
}

.scr-sp-week .ts {
    color: #444;
    padding: 6px 0;
    text-align: right;
    padding-right: 6px;
}

.scr-sp-week .dh {
    text-align: center;
    color: #666;
    font-weight: 600;
    padding: 3px;
}

.scr-sp-week .sl {
    border-radius: 5px;
    padding: 3px 4px;
    font-size: 0.5rem;
    font-weight: 600;
    min-height: 28px;
    display: flex;
    align-items: center;
}

.sl.sg { background: rgba(34, 197, 94, 0.15); color: #22C55E; border: 1px solid rgba(34, 197, 94, 0.2); }
.sl.sb { background: rgba(59, 130, 245, 0.15); color: #3B82F5; border: 1px solid rgba(59, 130, 245, 0.2); }
.sl.se { background: transparent; }

.scr-sp-cursor {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    padding: 7px 10px;
    background: rgba(59, 130, 245, 0.1);
    border: 1px solid rgba(59, 130, 245, 0.2);
    border-radius: 8px;
    font-size: 0.6rem;
    color: #3B82F5;
}

.scr-sp-cursor-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #3B82F5;
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ---------- How It Works ---------- */

.how-it-works {
    padding: 40px 20px 80px;
}

.how-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 640px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 24px;
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--rainbow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.step-content h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.step-content p {
    font-size: 0.9rem;
    color: #9898a8;
    line-height: 1.6;
}

/* ---------- Feature Pills ---------- */

.features {
    padding: 20px 20px 80px;
}

.features-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.feature-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.feature-pill {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 100px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    font-size: 0.85rem;
    font-weight: 500;
    color: #c0c0d0;
    white-space: nowrap;
    transition: border-color 0.25s, color 0.25s;
}

.feature-pill:hover {
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
}

/* ---------- All Features Link ---------- */

.all-features-link {
    padding: 20px 20px 60px;
    text-align: center;
}

.features-link-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 100px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    color: #c0c0d0;
    font-size: 0.95rem;
    font-weight: 600;
    transition: border-color 0.25s, color 0.25s, transform 0.2s;
}

.features-link-button:hover {
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
    transform: translateY(-2px);
}

/* ---------- Pricing Hint ---------- */

.pricing-hint {
    text-align: center;
    margin-top: 16px;
    font-size: 0.9rem;
    color: #787888;
}

.pricing-hint strong {
    color: #c0c0d0;
    font-weight: 600;
}

/* ---------- Download CTA ---------- */

.download {
    padding: 80px 20px 100px;
    text-align: center;
}

.download-inner {
    max-width: 480px;
    margin: 0 auto;
}

.download-logo {
    width: 120px;
    height: 120px;
    border-radius: 28px;
    margin: 0 auto 20px;
    box-shadow: 0 16px 48px rgba(139, 92, 246, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.download-tagline {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 8px;
    background: var(--rainbow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.download-subtitle {
    font-size: 1.05rem;
    color: #9898a8;
    margin-bottom: 28px;
}

.app-store-badge {
    display: inline-block;
    transition: transform 0.2s, opacity 0.2s;
}

.app-store-badge:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* ---------- Footer ---------- */

.footer {
    border-top: 1px solid var(--glass-border);
    padding: 40px 20px;
    text-align: center;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-brand {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 14px;
    color: #fff;
}

.footer-links {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-bottom: 18px;
}

.footer-links a {
    font-size: 0.875rem;
    color: #787888;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #c0c0d0;
}

.footer-copy {
    font-size: 0.78rem;
    color: #4a4a5a;
}

/* ---------- Scroll Animations ---------- */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for USP cards */
.usp-grid .animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.usp-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.08s; }
.usp-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.16s; }
.usp-grid .animate-on-scroll:nth-child(4) { transition-delay: 0.24s; }
.usp-grid .animate-on-scroll:nth-child(5) { transition-delay: 0.32s; }
.usp-grid .animate-on-scroll:nth-child(6) { transition-delay: 0.40s; }

/* Stagger delays for steps */
.steps .animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.steps .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.steps .animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }

/* Stagger delays for feature pills */
.feature-pills .animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.feature-pills .animate-on-scroll:nth-child(2) { transition-delay: 0.06s; }
.feature-pills .animate-on-scroll:nth-child(3) { transition-delay: 0.12s; }
.feature-pills .animate-on-scroll:nth-child(4) { transition-delay: 0.18s; }
.feature-pills .animate-on-scroll:nth-child(5) { transition-delay: 0.24s; }
.feature-pills .animate-on-scroll:nth-child(6) { transition-delay: 0.30s; }
.feature-pills .animate-on-scroll:nth-child(7) { transition-delay: 0.36s; }
.feature-pills .animate-on-scroll:nth-child(8) { transition-delay: 0.42s; }

/* Stagger delays for preview frames */
.preview-scroll .animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.preview-scroll .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.preview-scroll .animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.preview-scroll .animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.preview-scroll .animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }

/* ---------- Responsive: Tablet (768px+) ---------- */

@media (min-width: 768px) {
    .hero-icon {
        width: 160px;
        height: 160px;
        border-radius: 36px;
    }

    .hero-headline {
        font-size: 3rem;
    }

    .hero-sub {
        font-size: 1.15rem;
    }

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

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

    .download-logo {
        width: 140px;
        height: 140px;
        border-radius: 32px;
    }

    .preview-frame {
        width: 300px;
        height: 650px;
    }
}

/* ---------- Responsive: Desktop (1024px+) ---------- */

@media (min-width: 1024px) {
    .hero-icon {
        width: 180px;
        height: 180px;
        border-radius: 40px;
    }

    .hero-headline {
        font-size: 3.5rem;
    }

    .hero-sub {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 56px;
    }

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

    .usp-card {
        padding: 32px 28px;
    }

    .nav-icon {
        width: 40px;
        height: 40px;
    }

    .preview-frame {
        width: 320px;
        height: 693px;
    }

    .preview-scroll {
        justify-content: center;
        overflow-x: visible;
        flex-wrap: wrap;
    }
}

/* ---------- Pricing ---------- */

.pricing {
    padding: 40px 20px 80px;
}

.pricing-inner {
    max-width: 640px;
    margin: 0 auto;
}

.pricing-free {
    text-align: center;
    margin-bottom: 32px;
}

.pricing-free-badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 100px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #22C55E;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.pricing-free p {
    font-size: 0.9rem;
    color: #787888;
}

.pricing-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.pricing-card {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 24px 20px;
    text-align: center;
    transition: border-color 0.25s;
}

.pricing-card.popular {
    border-color: rgba(139, 92, 246, 0.4);
}

.pricing-card.popular::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius);
    padding: 1px;
    background: var(--rainbow);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.4;
    pointer-events: none;
}

.pricing-save {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    padding: 3px 12px;
    border-radius: 100px;
    background: var(--rainbow);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.pricing-period {
    font-size: 0.8rem;
    color: #787888;
    font-weight: 600;
    margin-bottom: 12px;
}

.pricing-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.pricing-amount small {
    font-size: 0.85rem;
    font-weight: 500;
    color: #787888;
}

.pricing-per-month {
    font-size: 0.75rem;
    color: #555;
}

.pricing-note {
    text-align: center;
    margin-top: 20px;
    font-size: 0.8rem;
    color: #555;
}

/* ---------- Reduced Motion ---------- */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .orb {
        animation: none;
    }

    .animate-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .cta-button,
    .app-store-badge,
    .usp-card {
        transition: none;
    }

    .scr-sp-cursor-dot {
        animation: none;
    }
}
