/* ============================================
   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;
}

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

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;
    transition: var(--transition);
}

.header--solid {
    background: 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: 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;
}

/* 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
   ============================================ */
.features {
    background: var(--color-bg-raised);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

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

.feature-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.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: var(--transition);
}

.feature-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}
.feature-card:hover::before { opacity: 1; }

.feature-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--color-primary-subtle);
    color: var(--color-primary);
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 77, 77, 0.1);
}

.feature-card h3 { margin-bottom: 0.4rem; }

.feature-card p {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    line-height: 1.65;
}

/* ============================================
   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__stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--color-border);
}

.stat { display: flex; flex-direction: column; align-items: flex-start; gap: 0.15rem; }

.stat__icon {
    color: var(--color-primary);
    opacity: 0.7;
    margin-bottom: 0.25rem;
}

.stat__number {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.1;
}

.stat__label {
    font-size: 0.75rem;
    color: var(--color-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

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

/* App Dashboard Mockup */
.app-mockup {
    background: #0d0d0d;
    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);
}

.app-mockup__topbar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
}

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

.app-mockup__dog-name {
    font-weight: 600;
    font-size: 0.85rem;
    color: #f5f5f5;
}

.app-mockup__dot-menu {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.1rem;
    letter-spacing: 0;
}

.app-mockup__card {
    margin: 0.6rem;
    padding: 0.7rem 0.85rem;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

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

.app-mockup__card-title {
    font-weight: 600;
    font-size: 0.78rem;
    color: #e5e5e5;
}

.app-mockup__card-filter {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 500;
}

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

.app-mockup__decay-left {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.app-mockup__cmd-name {
    font-weight: 600;
    font-size: 0.8rem;
    color: #f0f0f0;
}

.app-mockup__badge {
    font-size: 0.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    padding: 0.1rem 0.3rem;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: 0.03em;
}

.app-mockup__days {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.3);
}

.app-mockup__days--overdue {
    color: #ef4444;
}

.app-mockup__days--warn {
    color: #f59e0b;
}

.app-mockup__footprint {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: 0.25rem;
}

.app-mockup__donut {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 50%;
    background: conic-gradient(
        #6C5CE7 0% 62%,
        #00B894 62% 90%,
        #FDCB6E 90% 100%
    );
    position: relative;
}

.app-mockup__donut-hole {
    position: absolute;
    inset: 30%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.025);
    /* match .app-mockup__card bg for seamless hole */
    background: #0f0f0f;
}

.app-mockup__legend {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1;
}

.app-mockup__legend-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

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

.app-mockup__legend-name {
    font-size: 0.75rem;
    color: #e0e0e0;
}

.app-mockup__legend-pct {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.35);
    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;
}

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

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

.screenshot-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

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

/* ============================================
   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: #f59e0b;
    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;
}

.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;
}

/* ============================================
   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); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #050505;
    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;
}

/* ============================================
   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;
}

.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 {}

.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);
}

/* ============================================
   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; }

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

    .about__layout {
        flex-direction: column;
        text-align: center;
    }
    .about__stats { justify-content: 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;
    }

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

    .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; }

    .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 rgba(0, 0, 0, 0.8);
        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);
    }

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

    .hero__phone { display: none; }

    .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%; }

    .screenshots__grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }

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