/* ============================================
   Mark It — Complete Site Styles
   Black & Red theme
   ============================================ */

/* --- Design Tokens --- */
:root {
    --color-bg: #0a0a0a;
    --color-bg-raised: #0f0f0f;
    --color-bg-card: #141414;
    --color-surface: #1a1a1a;
    --color-border: rgba(255, 255, 255, 0.06);
    --color-border-hover: rgba(255, 77, 77, 0.35);

    --color-primary: #ff4d4d;
    --color-primary-hover: #e63939;
    --color-primary-glow: rgba(255, 77, 77, 0.25);
    --color-primary-subtle: rgba(255, 77, 77, 0.08);

    --color-text: #d4d4d4;
    --color-text-muted: #808080;
    --color-text-dim: #4a4a4a;
    --color-white: #ffffff;

    --color-green: #22c55e;
    --color-yellow: #eab308;
    --color-blue: #3b82f6;

    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Outfit', sans-serif;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
    --shadow-glow: 0 0 40px rgba(220, 38, 38, 0.1);

    --ease: cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition: all 0.3s var(--ease);

    --container-max: 1100px;
    --section-padding: 6rem 0;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    overflow-x: clip;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; }

/* --- Utilities --- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center { text-align: center; }

.text-gradient {
    background: linear-gradient(135deg, #ff4d4d 0%, #ff8a8a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-white);
    line-height: 1.15;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); letter-spacing: -0.02em; }
h3 { font-size: 1.2rem; }
h4 { font-size: 0.95rem; font-weight: 600; }

/* --- Pill / Tag --- */
.pill {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-primary);
    background: var(--color-primary-subtle);
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 77, 77, 0.15);
}

.pill--subtle {
    background: transparent;
    border-color: transparent;
    padding-left: 0;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.6rem;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
    line-height: 1.4;
}

.btn__icon { flex-shrink: 0; }

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 20px rgba(255, 77, 77, 0.35);
}
.btn-primary:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 77, 77, 0.5);
}

.btn-ghost {
    background: transparent;
    color: var(--color-text-muted);
    border-color: var(--color-border);
}
.btn-ghost:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}
.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn--nav { padding: 0.55rem 1.2rem; font-size: 0.825rem; }
.btn--sm { padding: 0.55rem 1.2rem; font-size: 0.825rem; }
.btn--lg { padding: 1rem 2.25rem; font-size: 1rem; }

.submit-btn { width: 100%; margin-top: 0.5rem; }

/* ============================================
   HEADER & NAV
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background-color: rgba(10, 10, 10, 0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
    will-change: background-color, backdrop-filter;
}

.header--solid {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
}

.header.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0.75rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid var(--color-border);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0;
}

.logo__icon {
    width: 34px;
    height: 34px;
    object-fit: contain;
}
.logo__icon--sm { width: 26px; height: 26px; }

.logo__wordmark {
    height: 32px;
    width: auto;
    object-fit: contain;
}
.logo__wordmark--sm { height: 16px; }

.logo__text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
    margin-left: -0.5rem;
    transform: translateY(4px);
}

.logo__text--accent {
    color: var(--color-white);
}

.logo__text--sm {
    font-size: 1rem;
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links li a:not(.btn) {
    font-weight: 500;
    color: var(--color-text-muted);
    font-size: 0.875rem;
    position: relative;
    transition: var(--transition);
}

.nav-links li a:not(.btn):hover,
.nav-links li a:not(.btn).active {
    color: var(--color-white);
}

.nav-links li a:not(.btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--color-primary);
    transition: var(--transition);
    border-radius: 1px;
}

.nav-links li a:not(.btn):hover::after { width: 100%; }

/* Nav Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown__trigger {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
}

.nav-dropdown__trigger:hover { color: var(--color-white); }

.nav-dropdown__trigger svg {
    transition: var(--transition);
}

.nav-dropdown.open .nav-dropdown__trigger svg {
    transform: rotate(180deg);
}

.nav-dropdown__menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 0.5rem;
    min-width: 180px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-8px);
    transition: var(--transition);
    z-index: 100;
}

.nav-dropdown.open .nav-dropdown__menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown__menu li a {
    display: block;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-muted);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-dropdown__menu li a:hover,
.nav-dropdown__menu li a.active {
    background: var(--color-primary-subtle);
    color: var(--color-white);
}

.nav-dropdown__menu li a::after { display: none; }

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 4px;
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-white);
    margin: 5px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 100vh;
    padding: 7rem 1.5rem 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: var(--container-max);
    margin: 0 auto;
    gap: 3rem;
    position: relative;
}

.hero__glow {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 77, 77, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero__content {
    flex: 1;
    position: relative;
    z-index: 1;
    max-width: 540px;
}

.hero h1 { margin-bottom: 1.25rem; }

.hero__subtitle {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    line-height: 1.75;
}

.hero__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Phone Mockup */
.hero__phone {
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.phone-mockup {
    width: 260px;
    height: 520px;
    background: var(--color-bg-card);
    border-radius: 34px;
    border: 3px solid rgba(255, 255, 255, 0.07);
    padding: 10px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.02);
    position: relative;
    overflow: hidden;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 22px;
    background: var(--color-bg);
    border-radius: 0 0 14px 14px;
    z-index: 2;
}

.phone-mockup__screen {
    width: 100%;
    height: 100%;
    border-radius: 26px;
    overflow: hidden;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-mockup__screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* Screenshot Placeholder */
.screenshot-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--color-text-dim);
    background: repeating-linear-gradient(
        45deg, transparent, transparent 10px,
        rgba(255, 255, 255, 0.012) 10px, rgba(255, 255, 255, 0.012) 20px
    );
    width: 100%;
    height: 100%;
    border: 2px dashed rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
}

.screenshot-placeholder__logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    opacity: 0.25;
}
.screenshot-placeholder__logo--sm {
    width: 36px;
    height: 36px;
}

.screenshot-placeholder span {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.screenshot-placeholder--card {
    min-height: 280px;
    border-radius: var(--radius-lg);
}

/* ============================================
   SECTION HEADER
   ============================================ */
.section-header { margin-bottom: 3.5rem; }

.section-header h2 { margin-bottom: 0; }

/* ============================================
   FEATURES (Horizontal Scroll Carousel)
   ============================================ */
.features {
    background: var(--color-bg-raised);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
}

.features__track {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(90deg, transparent 0%, black 4%, black 96%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 4%, black 96%, transparent 100%);
}

.features__scroll {
    display: flex;
    gap: 1.25rem;
    padding: 0 1.5rem 1rem;
    width: max-content;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Feature Nav Controls */
.features__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.75rem 1.5rem 0;
}

.features__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: var(--color-bg-card);
    color: var(--color-text-muted);
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.features__arrow:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: var(--color-primary-subtle);
}

.features__dots {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.features__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-text-dim);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: var(--transition);
}

.features__dot:hover {
    background: var(--color-text-muted);
}

.features__dot--active {
    background: var(--color-primary);
    box-shadow: 0 0 8px rgba(255, 77, 77, 0.4);
}

/* Feature Card */
.feature-card {
    width: 300px;
    min-width: 300px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    opacity: 0.15;
    transform: scale(0.9);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, opacity 0.5s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--color-primary) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 1;
}

/* Progressive fade-out classes based on physical distance from active center */
.feature-card--dist-2 {
    opacity: 0.15;
    transform: scale(0.9);
}
.feature-card--dist-2:hover {
    opacity: 0.5;
    transform: scale(0.92);
    border-color: var(--color-border-hover);
    box-shadow: var(--shadow-glow);
}
.feature-card--dist-2:hover::before { opacity: 0.5; }

.feature-card--dist-1 {
    opacity: 0.55;
    transform: scale(0.95);
}
.feature-card--dist-1:hover {
    opacity: 0.8;
    transform: scale(0.97);
    border-color: var(--color-border-hover);
    box-shadow: var(--shadow-glow);
}
.feature-card--dist-1:hover::before { opacity: 0.8; }

.feature-card--active {
    opacity: 1;
    transform: scale(1);
}
.feature-card--active:hover {
    opacity: 1;
    transform: scale(1.02);
    border-color: var(--color-border-hover);
    box-shadow: var(--shadow-glow);
}
.feature-card--active:hover::before { opacity: 1; }

.feature-card h3 {
    margin-bottom: 0.25rem;
    padding: 0 1.25rem;
    font-size: 0.95rem;
}

.feature-card p {
    color: var(--color-text-muted);
    font-size: 0.78rem;
    line-height: 1.55;
    padding: 0 1.25rem 1.25rem;
}

/* ---- Feature Card Visuals ---- */
.feature-card__visual {
    height: 180px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    overflow: hidden;
    padding: 0;
    margin: 1.25rem 1.25rem 0.75rem;
    position: relative;
}

.feature-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), filter 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.feature-card:hover .feature-card__img {
    transform: scale(1.03);
    filter: brightness(1.02);
}

/* Custom positioning for each screenshot to focus on the feature content */
.feature-card__img[src*="pet-profile"] {
    object-position: center 10%;
}

.feature-card__img[src*="progression"] {
    object-position: center 22%;
}

.feature-card__img[src*="sessions"] {
    object-position: center 38%;
}

.feature-card__img[src*="library"] {
    object-position: center 26%;
}

.feature-card__img[src*="video-playback"] {
    object-position: center 18%;
}

.feature-card__img[src*="teams"] {
    object-position: center 20%;
}

.feature-card__img[src*="dashboard"] {
    object-position: center 32%;
}

/* ============================================
   ABOUT / PHILOSOPHY
   ============================================ */
.about {
    background: var(--color-bg);
}

.about__layout {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about__content { flex: 1; }

.about__body {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.about__body strong { color: var(--color-text); }

.about__highlights {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--color-border);
}

.about-highlight {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.about-highlight__icon {
    color: var(--color-primary);
    flex-shrink: 0;
}

.about-highlight div {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.about-highlight strong {
    font-size: 0.95rem;
    color: var(--color-text);
}

.about-highlight span {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Data Viz Card */
.about__visual {
    flex: 1;
    max-width: 400px;
}

/* ============================================
   APP PREVIEW — Real app component styles
   Values mirrored from the actual app's
   variables.css and dashboard.css
   ============================================ */
.app-preview {
    background: var(--color-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow), 0 0 60px rgba(255, 77, 77, 0.06);
    font-family: var(--font-body);
}

/* Top bar — mirrors app's top-bar component */
.app-preview__topbar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid var(--color-surface-hover);
    background: var(--color-surface);
}

.app-preview__logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.app-preview__dog-name {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--color-text);
}

.app-preview__dot-menu {
    margin-left: auto;
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

/* Card — mirrors app's info-card component */
.app-preview__card {
    margin: 0.5rem 0.6rem;
    padding: 0.65rem 1rem;
    background: var(--color-surface);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    box-shadow: var(--shadow-base);
}

.app-preview__card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.app-preview__card-title {
    font-weight: 600;
    font-size: 0.78rem;
    color: var(--color-text);
    margin: 0;
    border: none;
}

.app-preview__card-filter {
    font-size: 0.6rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* Training Activity Stats — mirrors app's dashboard stats row */
.app-preview__stats-row {
    display: flex;
    justify-content: space-around;
    text-align: center;
    gap: 0.5rem;
}

.app-preview__stat {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.app-preview__stat-number {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-text);
}

.app-preview__stat-label {
    font-size: 0.6rem;
    color: var(--color-text-muted);
}

/* Decay List — mirrors app's decay-list-item component */
.app-preview__decay-list {
    display: flex;
    flex-direction: column;
}

.app-preview__decay-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 0;
}

.app-preview__decay-info {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.app-preview__decay-name {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--color-text);
}

.app-preview__decay-badge {
    font-size: 0.5rem;
    font-weight: 600;
    color: var(--color-text-muted);
    padding: 0.1rem 0.25rem;
    border-radius: 4px;
    border: 1px solid var(--color-surface-hover);
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: 0.03em;
}

.app-preview__decay-days {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

.app-preview__decay-days--danger {
    color: var(--color-danger);
}

.app-preview__decay-days--warning {
    color: var(--color-warning);
}

/* Trainer Footprint — mirrors app's trainer-footprint component */
.app-preview__footprint {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 0.25rem;
}

.app-preview__donut {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 50%;
    background: conic-gradient(
        var(--color-chart-1) 0% 62%,
        var(--color-chart-2) 62% 90%,
        var(--color-chart-3) 90% 100%
    );
    position: relative;
}

.app-preview__donut-hole {
    position: absolute;
    inset: 30%;
    border-radius: 50%;
    background: var(--color-surface);
}

.app-preview__legend {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.app-preview__legend-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.app-preview__legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.app-preview__legend-name {
    font-size: 0.8rem;
    color: var(--color-text);
}

.app-preview__legend-pct {
    font-size: 0.72rem;
    color: var(--color-text-muted);
    margin-left: auto;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
    background: var(--color-bg-raised);
    border-top: 1px solid var(--color-border);
}

.steps-row {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.step-compact {
    flex: 1;
    text-align: center;
    padding: 0 1rem;
}

.step-compact__number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-primary-subtle);
    border: 2px solid rgba(220, 38, 38, 0.2);
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.step-compact h3 { margin-bottom: 0.4rem; font-size: 1.05rem; }

.step-compact p {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

.step-compact__connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-border) 0%, rgba(220, 38, 38, 0.2) 50%, var(--color-border) 100%);
    flex-shrink: 0;
    margin-top: 21px;
}

/* ============================================
   SCREENSHOT CAROUSEL (in Hero)
   ============================================ */

.screenshot-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.screenshot-carousel__phone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.phone-mockup--showcase {
    width: 280px;
    height: 560px;
}

.screenshot-carousel__label {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    transition: opacity 0.25s ease;
}

.screenshot-carousel__btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: var(--color-bg-card);
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.screenshot-carousel__btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: var(--color-primary-subtle);
    transform: scale(1.08);
}

.screenshot-carousel__btn:active {
    transform: scale(0.95);
}

.screenshot-carousel__dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.screenshot-carousel__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-border);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: var(--transition);
}

.screenshot-carousel__dot:hover {
    background: var(--color-text-muted);
}

.screenshot-carousel__dot--active {
    background: var(--color-primary);
    box-shadow: 0 0 8px rgba(255, 77, 77, 0.4);
    transform: scale(1.25);
}

/* Crossfade for screenshot swap */
.phone-mockup__screenshot {
    transition: opacity 0.35s ease;
}

.phone-mockup__screenshot.fading {
    opacity: 0;
}

/* ============================================
   REVIEWS
   ============================================ */
.reviews {
    background: var(--color-bg-raised);
    border-top: 1px solid var(--color-border);
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.review-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: var(--transition);
}

.review-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-3px);
}

.review-card__stars {
    color: var(--color-warning);
    font-size: 1rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.review-card__quote {
    font-size: 0.925rem;
    color: var(--color-text);
    font-style: italic;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.review-card__author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.review-card__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.review-card__author strong {
    display: block;
    color: var(--color-white);
    font-size: 0.875rem;
}

.review-card__author span {
    font-size: 0.75rem;
    color: var(--color-text-dim);
}

/* ============================================
   DOWNLOAD CTA
   ============================================ */
.download {
    padding: 7rem 0;
    background: var(--color-bg);
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--color-border);
}

.download__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(220, 38, 38, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.download__logo {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.download h2 { position: relative; z-index: 1; margin-bottom: 0.5rem; }

.download__subtitle {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

/* Pricing Comparison Table */
/* ============================================
   PRICING CARDS (3-Tier)
   ============================================ */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    max-width: 960px;
    margin: 0 auto 2.5rem;
    position: relative;
    z-index: 1;
    text-align: left;
}

.pricing-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.pricing-card:hover {
    border-color: var(--color-border-hover);
    box-shadow: var(--shadow-2xl);
    transform: translateY(-4px);
}

/* Featured card (Plus) */
.pricing-card--featured {
    border-color: var(--color-primary);
    box-shadow: 0 0 40px rgba(255, 77, 77, 0.12);
}

.pricing-card--featured:hover {
    box-shadow: 0 0 60px rgba(255, 77, 77, 0.2);
}

.pricing-card__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-white);
    background: var(--color-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    white-space: nowrap;
}

.pricing-card__header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--color-border);
}

.pricing-card__name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.pricing-card__name--pro {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-card__price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.15rem;
    margin-bottom: 0.5rem;
}

.pricing-card__amount {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-white);
    line-height: 1;
}

.pricing-card__period {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.pricing-card__desc {
    font-size: 0.825rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
    line-height: 1.4;
}

.pricing-card__features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    flex: 1;
    margin-bottom: 1.5rem;
}

.pricing-card__feature {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.825rem;
    color: var(--color-text);
    line-height: 1.4;
}

.pricing-card__icon {
    flex-shrink: 0;
    font-size: 0.9rem;
    font-weight: 700;
    width: 18px;
    text-align: center;
}

.pricing-card__icon--yes { color: var(--color-green); }
.pricing-card__icon--no { color: var(--color-text-dim); opacity: 0.4; }

.pricing-card__btn {
    width: 100%;
    margin-top: auto;
}

.pricing-card__was {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-text-dim);
    text-decoration: line-through;
    margin-right: 0.35rem;
    opacity: 0.5;
}

.download .btn { position: relative; z-index: 1; }

.download__note {
    font-size: 0.75rem;
    color: var(--color-text-dim);
    margin-top: 1rem;
    position: relative;
    z-index: 1;
}

/* ============================================
   PRICING TOGGLE (Month / Year)
   ============================================ */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.pricing-toggle__label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-dim);
    transition: color 0.3s ease;
    cursor: pointer;
    user-select: none;
}

.pricing-toggle__label--active {
    color: var(--color-white);
}

.pricing-toggle__save {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.15rem 0.45rem;
    border-radius: 99px;
    vertical-align: middle;
    margin-left: 0.25rem;
}

.pricing-toggle__switch {
    width: 44px;
    height: 24px;
    border-radius: 12px;
    border: 2px solid var(--color-border);
    background: var(--color-surface);
    cursor: pointer;
    position: relative;
    transition: background 0.3s ease, border-color 0.3s ease;
    padding: 0;
    flex-shrink: 0;
}

.pricing-toggle__switch:hover {
    border-color: var(--color-primary);
}

.pricing-toggle__knob {
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-white);
    position: absolute;
    top: 2px;
    left: 2px;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-base);
}

.pricing-toggle__switch.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.pricing-toggle__switch.active .pricing-toggle__knob {
    transform: translateX(20px);
}

/* ============================================
   PRICING COMPARISON TABLE
   ============================================ */
.pricing-compare {
    max-width: 780px;
    margin: 0 auto;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-align: left;
}

.pricing-compare__header {
    display: grid;
    grid-template-columns: 1fr 80px 80px 80px;
    background: var(--color-bg-card);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 1.25rem;
    align-items: end;
}

.pricing-compare__feature-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-dim);
}

.pricing-compare__plan {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-muted);
}

.pricing-compare__plan--plus {
    color: var(--color-primary);
}

.pricing-compare__plan--pro {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-compare__group {
    padding: 0.6rem 1.25rem 0.4rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-text-dim);
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--color-border);
}

.pricing-compare__row {
    display: grid;
    grid-template-columns: 1fr 80px 80px 80px;
    padding: 0.65rem 1.25rem;
    border-bottom: 1px solid var(--color-border);
    align-items: center;
    transition: background 0.2s ease;
}

.pricing-compare__row:last-child { border-bottom: none; }
.pricing-compare__row:hover { background: rgba(255, 255, 255, 0.02); }

.pricing-compare__feature {
    font-size: 0.825rem;
    color: var(--color-text);
    line-height: 1.4;
}

.pricing-compare__val {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
}

.pricing-compare__val--yes { color: var(--color-green); }
.pricing-compare__val--no { color: var(--color-text-dim); opacity: 0.4; }
.pricing-compare__val--limit { color: var(--color-yellow); font-size: 0.8rem; }

/* ============================================
   CONTACT
   ============================================ */
.contact {
    background: var(--color-bg-raised);
    border-top: 1px solid var(--color-border);
}

.contact__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact__info p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.contact__details li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.contact__icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-primary-subtle);
    color: var(--color-primary);
    flex-shrink: 0;
}

.contact__form-wrapper {
    background: var(--color-bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.825rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--color-white);
    font-family: inherit;
    font-size: 0.9rem;
    transition: var(--transition);
}

.form-group textarea { resize: vertical; }

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.06);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-dim);
}

.form-status {
    margin-top: 0.75rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.85rem;
    min-height: 20px;
}
.form-status.success { color: var(--color-green); }
.form-status.error { color: var(--color-danger); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-black);
    padding: 3rem 0 1.5rem;
    border-top: 1px solid rgba(220, 38, 38, 0.12);
}

.footer__top {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer__brand p {
    color: var(--color-text-dim);
    font-size: 0.85rem;
    margin-top: 0.75rem;
}

.footer__columns {
    display: flex;
    gap: 3rem;
}

.footer__column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__column h4 {
    color: var(--color-text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}

.footer__column a {
    color: var(--color-text-dim);
    font-size: 0.85rem;
    transition: var(--transition);
}
.footer__column a:hover { color: var(--color-white); }

.footer__bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--color-text-dim);
    font-size: 0.75rem;
}

.footer__legal {
    margin-top: 0.5rem;
}

.footer__legal a {
    color: var(--color-text-dim);
    transition: var(--transition);
}

.footer__legal a:hover {
    color: var(--color-primary);
}

/* ============================================
   PAGE HERO (sub-pages)
   ============================================ */
.page-hero {
    padding: 7rem 0 3rem;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
}

.page-hero h1 { margin-bottom: 0.5rem; }

.page-hero__subtitle {
    color: var(--color-text-muted);
    font-size: 1.05rem;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.8rem;
}

.breadcrumb a {
    color: var(--color-text-dim);
    transition: var(--transition);
}
.breadcrumb a:hover { color: var(--color-primary); }

.breadcrumb__sep { color: var(--color-text-dim); }

.breadcrumb span:last-child { color: var(--color-text-muted); }

/* ============================================
   INFO CONTENT (Getting Started, FAQ, Changelog)
   ============================================ */
.info-content__layout {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

/* Table of Contents */
.toc {
    position: sticky;
    top: 5rem;
    width: 220px;
    flex-shrink: 0;
    max-height: calc(100vh - 8rem);
    overflow-y: auto;
}

.toc__title {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-text-dim);
    margin-bottom: 0.75rem;
}

.toc nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.toc__link {
    font-size: 0.825rem;
    color: var(--color-text-dim);
    padding: 0.4rem 0.75rem;
    border-left: 2px solid transparent;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    transition: var(--transition);
}

.toc__link:hover,
.toc__link.active {
    color: var(--color-white);
    border-left-color: var(--color-primary);
    background: var(--color-primary-subtle);
}

/* Info Article */
.info-article { flex: 1; min-width: 0; }

.info-section {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--color-border);
}

.info-section:last-of-type {
    border-bottom: none;
    margin-bottom: 2rem;
}

.info-section__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.info-section__header h2 { margin-bottom: 0; }

.info-section__step {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-section p {
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.info-section p strong { color: var(--color-text); }

/* Info Callout */
.info-callout {
    background: var(--color-primary-subtle);
    border: 1px solid rgba(220, 38, 38, 0.15);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--color-text);
    line-height: 1.6;
}

.info-callout strong { color: var(--color-primary); }

/* Info List */
.info-list {
    list-style: none;
    margin: 0.75rem 0;
}

.info-list li {
    padding: 0.4rem 0 0.4rem 1.25rem;
    position: relative;
    color: var(--color-text-muted);
    font-size: 0.925rem;
    line-height: 1.6;
}

.info-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
}

.info-list li strong { color: var(--color-text); }

/* Stages Mini */
.stages-mini {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1rem 0;
}

.stage-mini {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1rem;
}

.stage-mini__number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-primary-subtle);
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.stage-mini strong {
    display: block;
    color: var(--color-white);
    font-size: 0.9rem;
    margin-bottom: 0.15rem;
}

.stage-mini p {
    color: var(--color-text-dim);
    font-size: 0.825rem;
    margin-bottom: 0;
    line-height: 1.5;
}

/* Tips Grid */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.tip-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
}

.tip-card h4 {
    color: var(--color-white);
    margin-bottom: 0.35rem;
}

.tip-card p {
    color: var(--color-text-dim);
    font-size: 0.85rem;
    margin-bottom: 0;
    line-height: 1.55;
}

/* Info CTA */
.info-cta {
    text-align: center;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

.info-cta h3 { margin-bottom: 0.35rem; }

.info-cta p {
    color: var(--color-text-muted);
    margin-bottom: 1.25rem;
}

/* ============================================
   FAQ
   ============================================ */
.faq-layout {
    max-width: 760px;
    margin: 0 auto;
}

.faq-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    justify-content: center;
}

.faq-cat-btn {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.825rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.faq-cat-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.faq-cat-btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.hidden { display: none; }

.faq-item__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 0.925rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}

.faq-item__question:hover {
    color: var(--color-primary);
}

.faq-item__chevron {
    flex-shrink: 0;
    color: var(--color-text-dim);
    transition: var(--transition);
}

.faq-item.open .faq-item__chevron {
    transform: rotate(180deg);
    color: var(--color-primary);
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease), padding 0.35s var(--ease);
    padding: 0 1.25rem;
}

.faq-item.open .faq-item__answer {
    max-height: 500px;
    padding: 0 1.25rem 1.25rem;
}

.faq-item__answer p,
.faq-item__answer li {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.faq-item__answer ol {
    padding-left: 1.25rem;
    margin: 0.5rem 0;
}

.faq-item__answer ol li {
    margin-bottom: 0.35rem;
}

.faq-item__answer ol li strong { color: var(--color-text); }

.faq-item__answer a {
    color: var(--color-primary);
    text-decoration: underline;
}

/* ============================================
   CHANGELOG
   ============================================ */
.changelog-layout {
    max-width: 720px;
    margin: 0 auto;
}

.changelog-timeline {
    display: flex;
    flex-direction: column;
}

.changelog-entry {
    display: flex;
    gap: 1.5rem;
}

.changelog-entry__marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 20px;
}

.changelog-entry__dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--color-surface);
    border: 3px solid var(--color-text-dim);
    flex-shrink: 0;
    margin-top: 0.35rem;
}

.changelog-entry__dot--latest {
    border-color: var(--color-primary);
    background: var(--color-primary);
    box-shadow: 0 0 12px rgba(220, 38, 38, 0.4);
}

.changelog-entry__line {
    width: 2px;
    flex: 1;
    background: var(--color-border);
    margin: 0.5rem 0;
}

.changelog-entry__content {
    flex: 1;
    padding-bottom: 3rem;
}

.changelog-entry:last-child .changelog-entry__content {
    padding-bottom: 0;
}

.changelog-entry__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.changelog-entry__header h2 {
    margin-bottom: 0;
    font-size: 1.5rem;
}

.changelog-entry__date {
    font-size: 0.8rem;
    color: var(--color-text-dim);
}

.changelog-badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
}

.changelog-badge--new {
    background: var(--color-primary);
    color: var(--color-white);
}

.changelog-badge--launch {
    background: rgba(34, 197, 94, 0.15);
    color: var(--color-green);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.changelog-entry__body {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.changelog-entry__intro {
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}



.changelog-group__title {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.changelog-group__icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
}

.changelog-group__title--added { color: var(--color-green); }
.changelog-group__title--added .changelog-group__icon {
    background: rgba(34, 197, 94, 0.15);
    color: var(--color-green);
}

.changelog-group__title--improved { color: var(--color-blue); }
.changelog-group__title--improved .changelog-group__icon {
    background: rgba(59, 130, 246, 0.15);
    color: var(--color-blue);
}

.changelog-group__title--fixed { color: var(--color-yellow); }
.changelog-group__title--fixed .changelog-group__icon {
    background: rgba(234, 179, 8, 0.15);
    color: var(--color-yellow);
}

.changelog-group ul {
    list-style: none;
}

.changelog-group ul li {
    padding: 0.3rem 0 0.3rem 1.25rem;
    position: relative;
    color: var(--color-text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
}

.changelog-group ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--color-text-dim);
}

/* ============================================
   ROADMAP
   ============================================ */
.roadmap-layout {
    max-width: 720px;
    margin: 0 auto;
}

/* Timeline */
.roadmap-timeline {
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Milestone */
.roadmap-milestone {
    display: flex;
    gap: 1.5rem;
}

.roadmap-milestone__marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 20px;
}

.roadmap-milestone__dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.25rem;
    border: 3px solid var(--color-text-dim);
    background: var(--color-surface);
}

.roadmap-milestone__dot--active {
    border-color: var(--color-primary);
    background: var(--color-primary);
    box-shadow: 0 0 14px rgba(220, 38, 38, 0.45);
}

.roadmap-milestone__dot--future {
    border-color: var(--color-blue);
    background: var(--color-blue);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

.roadmap-milestone__line {
    width: 2px;
    flex: 1;
    background: var(--color-border);
    margin: 0.5rem 0;
}

.roadmap-milestone__body {
    flex: 1;
    padding-bottom: 3rem;
}

.roadmap-milestone:last-child .roadmap-milestone__body {
    padding-bottom: 0;
}

.roadmap-milestone__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.roadmap-milestone__header h2 {
    margin-bottom: 0;
    font-size: 1.5rem;
}

.roadmap-badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
}

.roadmap-badge--active {
    background: var(--color-primary);
    color: var(--color-white);
}

.roadmap-badge--upcoming {
    background: rgba(59, 130, 246, 0.15);
    color: var(--color-blue);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.roadmap-milestone__desc {
    color: var(--color-text-muted);
    font-size: 0.925rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

/* Feature list inside milestone */
.roadmap-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.roadmap-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-size: 0.9rem;
    line-height: 1.5;
    transition: var(--transition);
}

.roadmap-features li:hover {
    border-color: rgba(255, 255, 255, 0.08);
    transform: translateX(2px);
}

.roadmap-features__icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.1rem;
    color: var(--color-text-dim);
}

.roadmap-features__icon--check {
    color: var(--color-green);
}

/* CTA */
.roadmap-cta {
    text-align: center;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-top: 2rem;
}

.roadmap-cta h3 { margin-bottom: 0.35rem; }

.roadmap-cta p {
    color: var(--color-text-muted);
    margin-bottom: 1.25rem;
}

/* ============================================
   INSTALL GUIDE
   ============================================ */
.install {
    background: var(--color-bg-raised);
    border-top: 1px solid var(--color-border);
}

.install__subtitle {
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.install-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .install-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

.install-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}
.install-card:hover {
    border-color: var(--color-border-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.install-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), #ff8a65);
    opacity: 0;
    transition: opacity 0.25s ease;
}
.install-card:hover::before {
    opacity: 1;
}

.install-card__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.install-card__header h3 {
    margin: 0;
    font-size: 1.15rem;
}
.install-card__header svg {
    color: var(--color-text-muted);
}

.install-card__steps {
    list-style: none;
    counter-reset: install-step;
}

.install-card__steps li {
    position: relative;
    padding-left: 2.25rem;
    margin-bottom: 0.85rem;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}
.install-card__steps li:last-child {
    margin-bottom: 0;
}

.install-card__steps li::before {
    counter-increment: install-step;
    content: counter(install-step);
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--color-primary-subtle);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
}

.install-card__steps a {
    color: var(--color-white);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}
.install-card__steps a:hover {
    text-decoration-color: var(--color-white);
}

.install-card__inline-icon {
    vertical-align: middle;
    margin: 0 4px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-children .fade-in:nth-child(1) { transition-delay: 0s; }
.stagger-children .fade-in:nth-child(2) { transition-delay: 0.07s; }
.stagger-children .fade-in:nth-child(3) { transition-delay: 0.14s; }
.stagger-children .fade-in:nth-child(4) { transition-delay: 0.21s; }
.stagger-children .fade-in:nth-child(5) { transition-delay: 0.28s; }
.stagger-children .fade-in:nth-child(6) { transition-delay: 0.35s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 6rem;
        gap: 2.5rem;
    }

    .hero__content { max-width: 100%; }
    .hero__actions { justify-content: center; }

    .about__layout {
        flex-direction: column;
        text-align: center;
    }
    .about__highlights { align-items: center; }
    .about__visual { max-width: 100%; width: 100%; }

    .steps-row { flex-direction: column; align-items: center; gap: 1.5rem; }
    .step-compact__connector {
        width: 2px;
        height: 30px;
        margin-top: 0;
    }

    .screenshot-carousel { gap: 1.5rem; }
    .phone-mockup--showcase { width: 240px; height: 480px; }

    .reviews__grid { grid-template-columns: 1fr; }

    .contact__layout { grid-template-columns: 1fr; gap: 2.5rem; }

    .info-content__layout { flex-direction: column; }

    .toc {
        position: static;
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    .toc nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    .toc__link {
        border-left: none;
        border-bottom: 2px solid transparent;
        border-radius: var(--radius-sm);
        padding: 0.35rem 0.6rem;
        font-size: 0.75rem;
    }
    .toc__link:hover,
    .toc__link.active {
        border-left: none;
        border-bottom-color: var(--color-primary);
    }

    .tips-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    :root { --section-padding: 4rem 0; }

    .pricing-cards { grid-template-columns: 1fr; max-width: 380px; }

    .pricing-compare__header,
    .pricing-compare__row { grid-template-columns: 1fr 56px 56px 56px; padding: 0.5rem 0.75rem; }
    .pricing-compare__feature { font-size: 0.75rem; }
    .pricing-compare__plan { font-size: 0.7rem; }
    .pricing-compare__val { font-size: 0.7rem; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 85%;
        max-width: 320px;
        background: var(--color-bg);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 2rem;
        gap: 0.25rem;
        box-shadow: -5px 0 40px var(--color-overlay-max);
        transition: right 0.35s var(--ease);
        z-index: 1000;
        border-left: 1px solid var(--color-border);
    }

    .nav-links.active { right: 0; }

    .nav-links li { width: 100%; }

    .nav-links li a:not(.btn) {
        display: block;
        padding: 0.75rem 0;
        font-size: 1rem;
    }

    .nav-links li a:not(.btn)::after { display: none; }

    .nav-links li .btn {
        margin-top: 1rem;
        width: 100%;
    }

    /* Dropdown in mobile */
    .nav-dropdown__trigger {
        font-size: 1rem;
        padding: 0.75rem 0;
        width: 100%;
        justify-content: flex-start;
    }

    .nav-dropdown__menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0 0 0 1rem;
        display: none;
        min-width: auto;
    }

    .nav-dropdown.open .nav-dropdown__menu {
        display: block;
        transform: none;
    }

    .nav-dropdown__menu li a {
        padding: 0.5rem 0;
        font-size: 0.9rem;
    }

    .mobile-toggle { display: block; }

    .mobile-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .mobile-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .screenshot-carousel { gap: 1rem; }
    .screenshot-carousel__btn { width: 40px; height: 40px; }
    .phone-mockup--showcase { width: 220px; height: 440px; }

    .footer__top { flex-direction: column; }
    .footer__columns { flex-direction: column; gap: 1.5rem; }

    .page-hero { padding: 6rem 0 2rem; }
}

@media (max-width: 480px) {
    .hero__actions {
        flex-direction: column;
        align-items: center;
    }
    .hero__actions .btn { width: 100%; }

    .download .btn { width: 100%; }
    .pricing-cards { grid-template-columns: 1fr; max-width: 380px; }

    .phone-mockup--showcase { width: 200px; height: 400px; }
    .screenshot-carousel__btn { width: 36px; height: 36px; }
    .screenshot-carousel { gap: 0.75rem; }

    .faq-categories { gap: 0.35rem; }
    .faq-cat-btn { padding: 0.4rem 0.75rem; font-size: 0.75rem; }

    .feature-card { width: 260px; min-width: 260px; }


}