/* ============================================================
   Travel Wise Hub — app.css
   Single stylesheet, all theming via CSS custom properties.
   ============================================================ */

:root {
    /* Brand */
    --primary:          #F5A623;
    --primary-light:    #FFCB6B;
    --primary-pale:     #FFF1D6;
    --primary-dark:     #C4841A;
    --primary-darker:   #0A0E1A;

    /* Surfaces (darkest → lightest) */
    --surface-1:        #0A0E1A;
    --surface-2:        #111627;
    --surface-3:        #151A2E;
    --surface-4:        #1A2038;
    --surface-input:    #0E1224;

    /* Text */
    --text:             #F0F0F5;
    --text-muted:       #8B8FA3;
    --text-branded:     #F5A623;
    --text-tertiary:    #5A5E72;

    /* Border */
    --border:           rgba(255,255,255,0.06);
    --border-subtle:    rgba(255,255,255,0.06);
    --border-card:      rgba(245,166,35,0.2);
    --border-card-strong: rgba(245,166,35,0.4);

    /* Shadows */
    --shadow-card:      0 4px 24px rgba(0,0,0,0.4);
    --shadow-glow:      0 0 40px rgba(245,166,35,0.15);
    --shadow-glow-strong: 0 0 60px rgba(245,166,35,0.25);
    --shadow-xl:        0 25px 60px -12px rgba(0,0,0,0.5);

    /* Gradients */
    --gradient-text:    linear-gradient(123deg, #F5A623 13%, #0A0E1A 147%);
    --gradient-text-alt:linear-gradient(147deg, #000 13%, #F5A623 79%);
    --gradient-btn:     linear-gradient(254deg, #fff 1%, #999 121%);
    --gradient-bar:     linear-gradient(90deg, #C4841A 0%, #111627 100%);

    /* Typography */
    --font-heading:     'Sora', sans-serif;
    --font-body:        'DM Sans', sans-serif;
    --font-ui:          'JetBrains Mono', monospace;

    /* Spacing */
    --section-pad:      clamp(60px, 8vw, 120px) clamp(20px, 4vw, 80px);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-weight: 400;
    background: var(--surface-1);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5C20 15 10 20 5 30C10 40 20 45 30 55C40 45 50 40 55 30C50 20 40 15 30 5Z' fill='none' stroke='%23ffffff' stroke-width='0.3' opacity='0.02'/%3E%3C/svg%3E");
    background-size: 60px 60px;
}

#main_content {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
#main_content > .site-footer { margin-top: auto; }

a { color: var(--text); text-decoration: none; transition: color 0.25s; }
a:hover { color: var(--text-branded); }
img { max-width: 100%; height: auto; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes pixFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes pixFadeDown {
    from { opacity: 0; transform: translateY(-30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes pixFadeLeft {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes pixFadeRight {
    from { opacity: 0; transform: translateX(-30px); }
    to   { opacity: 1; transform: translateX(0); }
}
.pixFadeUp    { animation-name: pixFadeUp; }
.pixFadeDown  { animation-name: pixFadeDown; }
.pixFadeLeft  { animation-name: pixFadeLeft; }
.pixFadeRight { animation-name: pixFadeRight; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.4; }
    50%      { opacity: 0.8; }
}

@keyframes gradient-shift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes border-rotate {
    0%   { --angle: 0deg; }
    100% { --angle: 360deg; }
}

@keyframes badge-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245,166,35,0.3); }
    50%      { box-shadow: 0 0 0 6px rgba(245,166,35,0); }
}

/* ============================================================
   HEADER — glass morphism, 60px, refined
   ============================================================ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(10, 14, 26, 0.8);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid var(--border);
    padding: 0 clamp(20px, 4vw, 48px);
    height: 60px;
}

.site-header__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.site-header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.site-header__logo-icon {
    width: 32px; height: 32px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(245,166,35,0.4));
}

.site-header__logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: -0.02em;
    color: var(--text);
    -webkit-text-fill-color: var(--text);
    background: none;
}

.site-header__nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.site-header__nav a {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 0.01em;
    transition: color 0.25s;
}

.site-header__nav a:hover { color: var(--text); }

/* Mobile Toggle */
.site-header__toggle {
    display: none;
    background: none; border: none; cursor: pointer;
    flex-direction: column; gap: 5px; padding: 5px;
}
.site-header__toggle span {
    display: block; width: 20px; height: 1.5px;
    background: var(--text-muted); border-radius: 2px;
    transition: all 0.3s ease;
}
.site-header__mobile-menu {
    display: none; position: absolute;
    top: 60px; left: 0; right: 0;
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 24px clamp(20px, 4vw, 48px);
}
.site-header__mobile-menu.active { display: block; }
.site-header__mobile-nav {
    display: flex; flex-direction: column; gap: 16px;
}
.site-header__mobile-nav a {
    font-family: var(--font-body);
    font-weight: 400; font-size: 15px;
    color: var(--text-muted);
}

/* ============================================================
   INSTALL BUTTON — solid gold, confident
   ============================================================ */
.btn-install {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    background: var(--primary);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    cursor: pointer;
}

/* Shine sweep on hover */
.btn-install::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}
.btn-install:hover::before {
    left: 120%;
}
.btn-install::after { display: none; }

.btn-install:hover {
    background: var(--primary-light);
    box-shadow: var(--shadow-glow-strong);
    transform: translateY(-1px);
    color: var(--surface-1);
}

.btn-install__text {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.02em;
    color: var(--surface-1);
    -webkit-text-fill-color: var(--surface-1);
    background: none;
}

.btn-install__arrow {
    color: var(--surface-1);
    display: flex;
    align-items: center;
    opacity: 0.7;
}

.btn-install__arrow svg {
    width: 12px; height: 12px;
    transition: transform 0.3s ease;
}

.btn-install:hover .btn-install__arrow svg {
    transform: translate(2px, -2px);
}

.btn-install--large {
    padding: 14px 40px;
    border-radius: 10px;
    box-shadow: var(--shadow-glow), var(--shadow-xl);
}

.btn-install--large .btn-install__text {
    font-size: 14px;
}

/* Outlined variant for mobile menu */
.btn-install--mobile {
    background: transparent;
    border: 1px solid var(--border-card);
}
.btn-install--mobile .btn-install__text {
    color: var(--primary);
    -webkit-text-fill-color: var(--primary);
}
.btn-install--mobile .btn-install__arrow { color: var(--primary); opacity: 0.5; }

/* ============================================================
   HERO — split layout: text left, mockup right
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero__inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero__text { text-align: left; }

.hero__visual {
    display: flex;
    justify-content: flex-end;
    perspective: 1200px;
    position: relative;
    overflow: visible;
}

.hero__mockup-wrap {
    position: relative;
    transform: rotateY(-8deg) rotateX(4deg);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__mockup-wrap:hover {
    transform: rotateY(-2deg) rotateX(1deg) scale(1.02);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* Noise grain texture */
.hero__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 128px 128px;
    z-index: 1;
}

.hero__bg-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 40% at 50% 40%, rgba(245,166,35,0.07) 0%, transparent 100%),
        radial-gradient(ellipse 80% 60% at 50% 50%, transparent 0%, var(--surface-1) 100%);
}

/* Decorative golden arc */
.hero__glow-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.hero__glow-orb--primary {
    top: 15%; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(245,166,35,0.08) 0%, transparent 60%);
    animation: pulse-glow 6s ease-in-out infinite;
}
.hero__glow-orb--secondary {
    bottom: 10%; left: 50%;
    transform: translateX(-50%);
    width: 800px; height: 300px;
    background: radial-gradient(ellipse, rgba(245,166,35,0.04) 0%, transparent 70%);
}

/* Dot grid */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 24px 24px;
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 45%, black, transparent);
    mask-image: radial-gradient(ellipse 60% 50% at 50% 45%, black, transparent);
    z-index: 0;
    pointer-events: none;
}

.hero::after { display: none; }

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 100%;
}

/* Kept for subpages that may use hero__content */

.hero__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(32px, 4.5vw, 60px);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    text-transform: none;
}

.hero__title .accent {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 50%, var(--primary-dark) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 6s ease infinite;
}

.hero__title .white {
    color: var(--text);
    -webkit-text-fill-color: var(--text);
}

.hero__subtitle {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: clamp(15px, 1.2vw, 18px);
    color: var(--text-muted);
    max-width: 460px;
    margin: 0 0 36px;
    line-height: 1.7;
}

/* Hero badge */
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 10px;
    border-radius: 100px;
    background: rgba(245,166,35,0.08);
    border: 1px solid rgba(245,166,35,0.2);
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 500;
    color: var(--primary);
    letter-spacing: 0.03em;
    margin-bottom: 28px;
    animation: badge-pulse 3s ease-in-out infinite;
}

.hero__badge-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--primary);
    display: inline-block;
    box-shadow: 0 0 6px var(--primary);
}

.hero__cta {
    display: flex;
    justify-content: flex-start;
    gap: 16px;
}

/* Trust strip */
.hero__trust {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.hero__trust > span {
    font-family: var(--font-body);
    font-size: 11px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.hero__trust-logos {
    display: flex;
    gap: 24px;
}

.hero__trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 400;
    color: var(--text-muted);
}

.hero__trust-item svg {
    opacity: 0.5;
}

.hero__mockup-glow {
    position: absolute;
    inset: -100px;
    background: radial-gradient(ellipse at 50% 50%, rgba(245,166,35,0.2) 0%, rgba(245,166,35,0.06) 40%, transparent 60%);
    z-index: -1;
    pointer-events: none;
    filter: blur(50px);
    animation: pulse-glow 4s ease-in-out infinite;
}

/* Orbital ring around mockup */
.hero__orbit {
    position: absolute;
    top: 50%; left: 50%;
    width: 130%; height: 110%;
    transform: translate(-50%, -50%) rotateX(65deg);
    border: 1px solid rgba(245,166,35,0.12);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    animation: orbit-spin 20s linear infinite;
}

.hero__orbit::before {
    content: '';
    position: absolute;
    top: -3px; left: 20%;
    width: 6px; height: 6px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--primary), 0 0 24px rgba(245,166,35,0.4);
}

@keyframes orbit-spin {
    from { transform: translate(-50%, -50%) rotateX(65deg) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotateX(65deg) rotate(360deg); }
}

/* Floating logo above the mockup */
.hero__floating-logo {
    position: absolute;
    top: -48px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(245,166,35,0.5));
}

.hero__floating-logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

/* Stacked card behind main mockup */
.hero__stack-card {
    position: absolute;
    top: 12px; left: 12px; right: -12px; bottom: -20px;
    background: var(--surface-3);
    border: 1px solid rgba(245,166,35,0.1);
    border-radius: 14px;
    z-index: -1;
    transform: rotate(3deg) scale(0.97);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    overflow: hidden;
    padding: 44px 16px 16px;
}

.hero__stack-card-inner {
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0.5;
}

.hero__stack-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 11px;
    color: var(--text-muted);
    background: rgba(245,166,35,0.08);
    border: 1px solid rgba(245,166,35,0.1);
    border-radius: 6px;
    padding: 8px 10px;
}

.hero__stack-item strong {
    color: var(--text);
    font-weight: 500;
}

.hero__stack-item svg { color: var(--primary); flex-shrink: 0; }

/* Sparkle particles */
.hero__sparkle {
    position: absolute;
    width: 4px; height: 4px;
    background: var(--primary);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    animation: sparkle 3s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0) translateY(0); }
    20% { opacity: 1; transform: scale(1) translateY(-10px); }
    80% { opacity: 0.3; transform: scale(0.5) translateY(-40px); }
}

.hero__sparkle--1 { top: 20%; left: 15%; animation-delay: 0s; }
.hero__sparkle--2 { top: 40%; right: 10%; animation-delay: -0.5s; width: 3px; height: 3px; }
.hero__sparkle--3 { bottom: 30%; left: 8%; animation-delay: -1s; }
.hero__sparkle--4 { top: 10%; right: 25%; animation-delay: -1.5s; width: 3px; height: 3px; }
.hero__sparkle--5 { bottom: 20%; right: 20%; animation-delay: -2s; width: 5px; height: 5px; box-shadow: 0 0 8px var(--primary); }
.hero__sparkle--6 { top: 55%; left: 25%; animation-delay: -2.5s; }

/* Floating destination tags */
.hero__float-tag {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 500;
    color: var(--primary-light);
    background: rgba(245,166,35,0.06);
    border: 1px solid rgba(245,166,35,0.15);
    padding: 6px 14px;
    border-radius: 100px;
    pointer-events: none;
    white-space: nowrap;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.hero__float-tag svg { color: var(--primary); flex-shrink: 0; }

.hero__float-tag--1 {
    top: 12%; right: 18%;
    animation: float 5s ease-in-out infinite;
}
.hero__float-tag--2 {
    top: 22%; left: 2%;
    animation: float 6s ease-in-out infinite;
    animation-delay: -1s;
}
.hero__float-tag--3 {
    bottom: 12%; right: 8%;
    animation: float 5.5s ease-in-out infinite;
    animation-delay: -2s;
}
.hero__float-tag--4 {
    bottom: 4%; left: 8%;
    animation: float 4.5s ease-in-out infinite;
    animation-delay: -0.5s;
}
.hero__float-tag--5 {
    top: 50%; right: 4%;
    animation: float 5s ease-in-out infinite;
    animation-delay: -3s;
}
.hero__float-tag--6 {
    top: 68%; left: 2%;
    animation: float 5.8s ease-in-out infinite;
    animation-delay: -1.8s;
}

/* Hero mockup — bigger, with gradient border */
.browser-mockup--hero {
    border: 1px solid transparent;
    background-image: linear-gradient(var(--surface-2), var(--surface-2)),
                      linear-gradient(135deg, rgba(245,166,35,0.5), rgba(245,166,35,0.1), rgba(245,166,35,0.3));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6), 0 0 60px rgba(245,166,35,0.08);
}

.browser-mockup--hero .browser-mockup__bar {
    height: 42px;
    padding: 0 16px;
    gap: 7px;
}

.browser-mockup--hero .browser-mockup__dot {
    width: 10px; height: 10px;
}

.browser-mockup__url {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 16px;
    padding: 4px 16px;
    background: rgba(255,255,255,0.05);
    border-radius: 6px;
    flex: 1;
    max-width: 300px;
}

.browser-mockup__url span {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--text-muted);
}

.browser-mockup--hero .browser-mockup__body {
    padding: 8px 16px 16px;
    min-height: auto;
}

.browser-mockup--hero .browser-dropdown {
    border-radius: 12px;
}

.browser-mockup--hero .browser-dropdown__item {
    padding: 12px 14px;
    font-size: 13px;
}

.browser-mockup--hero .browser-dropdown__item--highlighted {
    padding: 12px 14px;
    margin: 4px 6px;
}

/* ============================================================
   CATEGORY STRIP
   ============================================================ */
.categories {
    position: relative;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--surface-2);
    padding: 0;
    overflow: hidden;
}

.categories__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 20px clamp(20px, 4vw, 48px);
}

.categories__item {
    flex: 1;
    text-align: center;
}

.categories__item span {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 14px;
    color: var(--text-muted);
    letter-spacing: 0.02em;
    transition: color 0.3s;
}

.categories__item:hover span {
    color: var(--primary);
}

.categories__divider {
    width: 1px;
    height: 20px;
    background: var(--border);
    flex-shrink: 0;
}

/* ============================================================
   SECTION TITLES
   ============================================================ */
.section-label {
    font-family: var(--font-ui);
    font-weight: 500;
    font-size: 12px;
    color: var(--primary);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
}

.section-heading {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(24px, 2.8vw, 40px);
    text-align: center;
    margin-bottom: 56px;
    letter-spacing: -0.02em;
    color: var(--text);
    -webkit-text-fill-color: var(--text);
    background: none;
    text-transform: none;
}

/* ============================================================
   HOW IT WORKS (STEPS) — clean, editorial layout
   ============================================================ */
.steps-section {
    position: relative;
    padding: var(--section-pad);
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.steps-section__bg-mask { display: none; }

/* Subtle top border */
.steps-section::before {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-card) 50%, transparent);
}

.steps-section::after { display: none; }
.steps-section__glow-left,
.steps-section__glow-right { display: none; }

.steps-section__header {
    text-align: center;
    margin-bottom: 64px;
    position: relative;
    z-index: 1;
}

.steps-container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 80px;
    z-index: 1;
}

/* Vertical connecting line */
.steps-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent 0%, rgba(245,166,35,0.15) 15%, rgba(245,166,35,0.15) 85%, transparent 100%);
    transform: translateX(-50%);
    box-shadow: none;
}

.step {
    display: flex;
    gap: 64px;
    align-items: flex-start;
}

.step--reverse { flex-direction: row-reverse; }

.step__mockup {
    flex-shrink: 0;
    width: 480px;
    position: relative;
}

.step__content {
    flex: 1;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding-top: 24px;
}

.step__number {
    flex-shrink: 0;
    width: 36px; height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    background: var(--primary);
}

.step__number::before { display: none; }

.step__number span {
    position: relative; z-index: 1;
    font-family: var(--font-heading);
    font-weight: 700; font-size: 14px;
    color: var(--surface-1);
}

.step__text { flex: 1; }

.step__title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 22px;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
    color: var(--text);
    -webkit-text-fill-color: var(--text);
    background: none;
    text-transform: none;
}

.step__desc {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

.step__keyword {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    height: auto;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    font-family: var(--font-ui);
    font-weight: 400;
    font-size: 13px;
    color: var(--primary);
    text-transform: none;
    vertical-align: middle;
    background: rgba(245,166,35,0.1);
    border: 1px solid var(--border-card);
}

.step__keyword::before { display: none; }
.step__keyword span { position: relative; z-index: 1; }

/* ============================================================
   BROWSER MOCKUP — refined, glass-like
   ============================================================ */
.browser-mockup {
    background: var(--surface-2);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xl);
    position: relative;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s;
}

.step:hover .browser-mockup {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

/* Remove old corner accents */
.browser-mockup::before,
.browser-mockup::after { display: none; }

.browser-mockup__bar {
    height: 36px;
    background: var(--surface-3);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 0 14px;
    gap: 6px;
}

.browser-mockup__dot {
    width: 8px; height: 8px;
    border-radius: 50%;
}
.browser-mockup__dot:nth-child(1) { background: #FF5F57; }
.browser-mockup__dot:nth-child(2) { background: #FFBD2E; }
.browser-mockup__dot:nth-child(3) { background: #28C840; }

.browser-mockup__body {
    padding: 16px;
    min-height: 220px;
}

/* Address bar */
.browser-search-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 8px;
}

.browser-search-bar__icon { color: #bbb; flex-shrink: 0; }
.browser-search-bar__text {
    font-family: var(--font-body);
    font-size: 13px;
    color: #1a1a1a;
}

/* Autocomplete dropdown */
.browser-dropdown {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    overflow: hidden;
    border: 1px solid #eee;
}

.browser-dropdown__item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    font-family: var(--font-body);
    font-size: 12px;
    color: #666;
    border-bottom: 1px solid #f5f5f5;
}

.browser-dropdown__item:last-child { border-bottom: none; }

.browser-dropdown__item svg {
    flex-shrink: 0;
    color: #ccc;
}

.browser-dropdown__item--highlighted {
    background: linear-gradient(135deg, #FFF8E8, #FFF1D2);
    border-radius: 8px;
    margin: 3px 4px;
    padding: 10px 12px;
    border: 1px solid rgba(245,166,35,0.2);
    border-bottom: 1px solid rgba(245,166,35,0.2);
}

.browser-dropdown__item--highlighted .dropdown-label {
    font-weight: 600; color: #C4841A;
}

.browser-dropdown__item--highlighted .dropdown-query {
    color: #1a1a1a; font-weight: 500;
}

.browser-dropdown__favicon {
    width: 18px; height: 18px;
    border-radius: 4px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.browser-dropdown__favicon svg {
    width: 10px; height: 10px; color: #fff;
}

/* Skeleton result lines */
.browser-skeleton { padding: 16px; }

.browser-skeleton__line {
    height: 8px; border-radius: 4px;
    margin-bottom: 10px;
    background: #e8e8ee;
}
.browser-skeleton__line--long   { width: 85%; }
.browser-skeleton__line--medium { width: 65%; }
.browser-skeleton__line--short  { width: 50%; }

.browser-skeleton__block {
    height: 24px; border-radius: 6px;
    margin-bottom: 10px;
    background: #e8e8ee;
}
.browser-skeleton__block--long   { width: 100%; }
.browser-skeleton__block--medium { width: 70%; }

/* ============================================================
   KEY FEATURES — refined cards with depth
   ============================================================ */
.features-section {
    position: relative;
    padding: var(--section-pad);
    overflow: hidden;
}

.features-section::before,
.features-section::after { display: none; }

.features-section__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.features-section__bg-image { display: none; }

.features-section__bg-overlay {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(245,166,35,0.03) 0%, transparent 70%);
}

.features-section__glow-left,
.features-section__glow-right { display: none; }

.features-section__inner {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
}

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

.feature-card {
    position: relative;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--surface-3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    min-height: auto;
    max-width: none;
    box-shadow: none;
    backdrop-filter: none;
    justify-content: flex-start;
}

.feature-card::before,
.feature-card::after { display: none; }

.feature-card:first-child,
.feature-card:nth-child(2),
.feature-card:last-child {
    border-radius: 20px;
    border-color: var(--border);
}

/* Gold accent bar at bottom of card */
.feature-card__accent {
    position: absolute;
    bottom: 0; left: 20%; right: 20%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.5s, left 0.5s, right 0.5s;
}

.feature-card:hover {
    background: var(--surface-4);
    border-color: var(--border-card);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px -15px rgba(245,166,35,0.15), 0 0 80px rgba(245,166,35,0.05);
    z-index: 2;
}

.feature-card:hover .feature-card__accent {
    opacity: 1;
    left: 10%;
    right: 10%;
}

.feature-card:hover .feature-card__number {
    color: var(--primary);
}

.feature-card__icon {
    display: none;
}

.feature-card__number {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 48px;
    line-height: 1;
    color: var(--text-tertiary);
    transition: color 0.5s;
    letter-spacing: -0.03em;
}

.feature-card__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 0;
}

.feature-card__title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 20px;
    color: var(--text);
    letter-spacing: -0.02em;
}

.feature-card__desc {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================================
   BOTTOM CTA
   ============================================================ */
.bottom-cta {
    text-align: center;
    padding: 80px 24px 120px;
    position: relative;
    z-index: 1;
}

.bottom-cta::before {
    content: '';
    position: absolute;
    top: 0; left: 20%; right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-card) 50%, transparent);
}

.bottom-cta__label {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: clamp(20px, 2vw, 28px);
    color: var(--text);
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 40px clamp(20px, 4vw, 80px);
}

.site-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.site-footer__logo-icon {
    width: 28px; height: 28px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(245,166,35,0.3));
}

.site-footer__logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    color: var(--text-muted);
    -webkit-text-fill-color: var(--text-muted);
    background: none;
}

.site-footer__nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-footer__nav a {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 13px;
    color: var(--text-tertiary);
    transition: color 0.25s;
}

.site-footer__nav a:hover { color: var(--text-muted); }


/* ============================================================
   FOOTER BAR
   ============================================================ */
.site-footer-bar {
    text-align: center;
    padding: 16px 24px;
    border-top: 1px solid var(--border);
}

.site-footer-bar__inner { max-width: 1200px; margin: 0 auto; }

.site-footer-bar p {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 12px;
    color: var(--text-tertiary);
    margin: 0;
}

/* ============================================================
   SUBPAGE LAYOUT
   ============================================================ */
.page-content {
    max-width: 680px;
    margin: 0 auto;
    padding: 120px 24px 80px;
    min-height: 60vh;
}

.page-content h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 32px;
    margin-bottom: 24px;
    color: var(--text);
    -webkit-text-fill-color: var(--text);
    background: none;
    letter-spacing: -0.02em;
}

.page-content h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 18px;
    color: var(--primary);
    margin-top: 36px;
    margin-bottom: 12px;
}

.page-content p {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.page-content ul { padding-left: 20px; margin-bottom: 16px; }

.page-content li {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 8px;
}

.page-content a { color: var(--primary); }
.page-content a:hover { text-decoration: underline; }

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.contact-form__group { display: flex; flex-direction: column; gap: 8px; }

.contact-form__group label {
    font-family: var(--font-heading);
    font-weight: 500; font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.contact-form__group input,
.contact-form__group textarea {
    padding: 12px 16px;
    background: var(--surface-input);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 15px;
    outline: none;
    transition: border-color 0.25s;
}

.contact-form__group input:focus,
.contact-form__group textarea:focus {
    border-color: var(--border-card-strong);
    box-shadow: 0 0 0 3px rgba(245,166,35,0.08);
}

.contact-form__group textarea { min-height: 150px; resize: vertical; }
.contact-form__submit { align-self: flex-start; }

/* Uninstall feedback */
.uninstall-reasons { display: flex; flex-direction: column; gap: 10px; margin: 24px 0; }

.uninstall-reasons label {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px;
    background: var(--surface-3);
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s;
    font-family: var(--font-body);
    font-weight: 400; font-size: 14px;
    color: var(--text-muted);
}

.uninstall-reasons label:hover {
    border-color: var(--border-card);
    background: var(--surface-4);
}
.uninstall-reasons input[type="radio"] { accent-color: var(--primary); }

/* 404 / Removed / Thanks */
.page-centered {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
    min-height: 70vh;
    padding: 120px 24px 80px;
}

.page-centered__icon {
    font-size: 56px;
    margin-bottom: 24px;
    opacity: 0.9;
}

.page-centered__title {
    font-family: var(--font-heading);
    font-weight: 700; font-size: 40px;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    color: var(--text);
    -webkit-text-fill-color: var(--text);
    background: none;
}

.page-centered__desc {
    font-family: var(--font-body);
    font-weight: 300; font-size: 16px;
    color: var(--text-muted);
    max-width: 440px; margin-bottom: 36px;
    line-height: 1.6;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
    .step { gap: 40px; }
    .step__mockup { width: 420px; }
}

@media (max-width: 992px) {
    .site-header__nav { display: none; }
    .site-header .btn-install { display: none; }
    .site-header__toggle { display: flex; }

    .hero { padding: 100px 0 60px; min-height: auto; }
    .hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero__text { text-align: center; }
    .hero__cta { justify-content: center; }
    .hero__trust { align-items: center; }
    .hero__subtitle { margin: 0 auto 36px; }
    .hero__title { font-size: 32px; }
    .hero__visual {
        justify-content: center;
        perspective: none;
        margin-top: 40px;
    }
    .hero__mockup-wrap {
        transform: none;
        max-width: 480px;
        width: 100%;
    }
    .hero__mockup-wrap:hover { transform: none; }
    .hero__float-tag { display: none; }
    .hero__sparkle { display: none; }
    .hero__orbit { display: none; }
    .hero__stack-card { display: none; }
    .hero__floating-logo { top: -36px; }
    .hero__floating-logo img { width: 44px; height: 44px; }
    .categories__inner { flex-wrap: wrap; gap: 8px; }
    .categories__divider { display: none; }
    .categories__item { flex: none; padding: 4px 12px; }

    .step {
        flex-direction: column !important;
        gap: 24px;
        align-items: center;
    }
    .step__mockup { width: 100%; max-width: 480px; }
    .step__content { padding-top: 0; }

    .steps-container::before { display: none; }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .feature-card {
        border-radius: 20px !important;
        border: 1px solid var(--border) !important;
    }

    .site-footer__inner {
        flex-direction: column;
        gap: 20px; text-align: center;
    }
    .site-footer__nav { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 576px) {
    .site-header { padding: 0 16px; }
    .hero__title { font-size: 26px; }
    .hero__subtitle { font-size: 14px; }
    .section-heading { font-size: 22px; }
    .step__title { font-size: 18px; }
    .btn-install--large { padding: 12px 28px; }
}
