/* ============================================
   Road Reporter — 802 Flamingo App Portfolio
   Light Mode · iOS Blue Accent · DM Typography
   ============================================ */

:root {
    /* Light mode tokens */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F5F5F7;
    --bg-tertiary: #E5E5EA;
    --text-primary: #000000;
    --text-secondary: #3C3C43;
    --text-tertiary: #8E8E93;
    --text-muted: #AEAEB2;
    --border: #E5E5EA;
    --border-subtle: #F2F2F7;

    /* App accent */
    --app-accent: #007AFF;
    --app-accent-subtle: rgba(0, 122, 255, 0.08);
    --app-accent-hover: #0063CC;

    /* Status */
    --status-success: #34C759;
    --status-success-bg: rgba(52, 199, 89, 0.1);
    --status-warning: #FF9500;
    --status-error: #FF3B30;

    /* Typography */
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-app: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Animation */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============================================
   Header
   ============================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.back-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.back-link:hover { color: var(--text-primary); }

.header-app-name {
    font-family: var(--font-app);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
    text-transform: uppercase;
}

/* ============================================
   Hero
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 2rem 4rem;
}

.road-lines-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-label {
    display: inline-block;
    font-family: var(--font-app);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--app-accent);
    background: var(--app-accent-subtle);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(10px);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(15px);
}

/* ============================================
   Shared Section Styles
   ============================================ */

.section-label {
    font-family: var(--font-app);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--app-accent);
    margin-bottom: 1.5rem;
}

.section-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.section-subheading {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

/* ============================================
   The Brief
   ============================================ */

.brief {
    padding: 6rem 2rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.brief-content {
    max-width: 700px;
    margin: 0 auto;
}

.brief-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* ============================================
   Speed Demo
   ============================================ */

.speed-section {
    padding: 6rem 2rem;
    border-bottom: 1px solid var(--border);
}

.speed-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.speed-demo {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    text-align: left;
    margin-top: 1rem;
}

.speed-timer {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    padding: 1.5rem;
    background: var(--app-accent-subtle);
    border-radius: 16px;
    min-width: 120px;
}

.speed-timer-number {
    font-family: var(--font-app);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--app-accent);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.speed-timer-unit {
    font-family: var(--font-app);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--app-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.25rem;
}

.speed-steps {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.speed-step {
    display: flex;
    gap: 1rem;
    opacity: 0.4;
    transition: opacity 0.4s ease;
}

.speed-step.active {
    opacity: 1;
}

.speed-step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0.35rem;
}

.speed-step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    flex-shrink: 0;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.speed-step.active .speed-step-dot {
    background: var(--app-accent);
    box-shadow: 0 0 0 4px var(--app-accent-subtle);
}

.speed-step-line {
    width: 2px;
    flex: 1;
    min-height: 32px;
    background: var(--border);
    margin: 4px 0;
}

.speed-step-content {
    padding-bottom: 1.5rem;
}

.speed-step-time {
    font-family: var(--font-app);
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.speed-step.active .speed-step-time {
    color: var(--app-accent);
}

.speed-step-title {
    font-family: var(--font-app);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0.25rem 0;
}

.speed-step-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ============================================
   Interactive Report Form
   ============================================ */

.demo-section {
    padding: 6rem 2rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.demo-container {
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
}

.report-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    text-align: left;
    position: relative;
    overflow: hidden;
}

/* Form Groups */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-family: var(--font-app);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.65rem;
}

.form-label-optional {
    font-weight: 400;
    color: var(--text-muted);
}

/* Issue Type Chips */
.issue-chips {
    display: flex;
    gap: 0.625rem;
}

.issue-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    min-width: 100px;
    border-radius: 12px;
    background: var(--bg-secondary);
    border: 1.5px solid transparent;
    font-family: var(--font-app);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s var(--ease-spring);
    justify-content: center;
}

.issue-chip .chip-icon {
    color: var(--app-accent);
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.issue-chip:hover {
    border-color: var(--app-accent);
    background: var(--app-accent-subtle);
}

.issue-chip.selected {
    background: var(--app-accent);
    color: white;
    border-color: var(--app-accent);
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.25);
}

.issue-chip.selected .chip-icon {
    color: white;
}

/* Textarea */
.textarea-wrap {
    position: relative;
}

.form-textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    padding-bottom: 1.75rem;
    background: var(--bg-secondary);
    border: 1.5px solid transparent;
    border-radius: 12px;
    font-family: var(--font-app);
    font-size: 0.9rem;
    color: var(--text-primary);
    resize: none;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
    line-height: 1.5;
}

.form-textarea::placeholder {
    color: var(--text-muted);
}

.form-textarea:focus {
    border-color: var(--app-accent);
    background: var(--bg-primary);
}

.char-count {
    position: absolute;
    bottom: 0.5rem;
    right: 0.75rem;
    font-family: var(--font-app);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

/* Photo Section */
.photo-section {
    min-height: 80px;
}

.photo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.75rem;
    border: 2px dashed var(--border);
    border-radius: 12px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.photo-placeholder:hover {
    border-color: var(--app-accent);
    color: var(--app-accent);
    background: var(--app-accent-subtle);
}

.photo-placeholder-text {
    font-family: var(--font-app);
    font-size: 0.85rem;
    font-weight: 500;
}

.photo-preview-inner {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--app-accent);
    aspect-ratio: 4/3;
}

.photo-mock {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #87CEEB 0%, #87CEEB 35%, #6B7280 35%, #6B7280 50%, #4B5563 50%, #4B5563 100%);
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.photo-mock-road {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, #6B7280 0%, #4B5563 100%);
}

.photo-mock-road::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40%;
    height: 3px;
    background: #F5F5F7;
    border-radius: 2px;
}

.photo-mock-pothole {
    position: absolute;
    bottom: 20%;
    left: 35%;
    width: 30%;
    height: 12%;
    border-radius: 50%;
    background: radial-gradient(ellipse, #374151 0%, #4B5563 60%, transparent 100%);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
}

.photo-mock-label {
    position: absolute;
    bottom: 0.5rem;
    left: 0.75rem;
    font-family: var(--font-app);
    font-size: 0.7rem;
    font-weight: 500;
    color: white;
    background: rgba(0,0,0,0.5);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    backdrop-filter: blur(4px);
}

.photo-remove {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    backdrop-filter: blur(4px);
}

.photo-remove:hover {
    background: rgba(255, 59, 48, 0.9);
}

/* Location Card */
.location-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border);
}

.location-address {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-family: var(--font-app);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.location-pin {
    color: var(--app-accent);
    flex-shrink: 0;
}

.location-confirmed {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-app);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--status-success);
    background: var(--status-success-bg);
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    width: fit-content;
}

/* Official Card */
.official-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-left: 3px solid var(--status-success);
    border-radius: 12px;
    padding: 1.25rem;
}

.official-info {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

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

.official-avatar span {
    font-family: var(--font-app);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--app-accent);
}

.official-avatar.small {
    width: 36px;
    height: 36px;
}

.official-avatar.small span {
    font-size: 0.7rem;
}

.official-details {
    min-width: 0;
}

.official-name {
    font-family: var(--font-app);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.15rem;
}

.official-title {
    font-family: var(--font-app);
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.1rem;
}

.official-org {
    font-family: var(--font-app);
    font-size: 0.75rem;
    color: var(--text-tertiary);
    margin-bottom: 0.1rem;
}

.official-email {
    font-family: var(--font-app);
    font-size: 0.75rem;
    color: var(--app-accent);
}

.official-check {
    flex-shrink: 0;
    margin-left: 0.75rem;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    height: 48px;
    border-radius: 12px;
    background: var(--app-accent);
    color: white;
    font-family: var(--font-app);
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    margin-top: 0.5rem;
}

.submit-btn:hover {
    background: var(--app-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 122, 255, 0.3);
}

.submit-btn:active {
    transform: scale(0.98);
}

.submit-btn.loading {
    pointer-events: none;
}

.submit-btn.success {
    background: var(--status-success);
    pointer-events: none;
}

.submit-btn-text,
.submit-btn-spinner,
.submit-btn-check {
    position: absolute;
}

/* Spinner */
.spinner {
    width: 22px;
    height: 22px;
    border: 2.5px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   Success State
   ============================================ */

.report-success {
    text-align: center;
    padding: 2rem 0;
}

.success-checkmark {
    margin-bottom: 1.5rem;
}

.success-check-svg {
    overflow: visible;
}

.success-circle {
    stroke-dasharray: 201;
    stroke-dashoffset: 201;
    animation: drawCircle 0.6s ease-out forwards;
}

.success-tick {
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    animation: drawTick 0.4s ease-out 0.4s forwards;
}

@keyframes drawCircle {
    to { stroke-dashoffset: 0; }
}

@keyframes drawTick {
    to { stroke-dashoffset: 0; }
}

.success-heading {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.success-subtext {
    font-family: var(--font-app);
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.success-official-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: left;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.5s ease-out 0.8s forwards;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-official-row {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.success-official-info h4 {
    font-family: var(--font-app);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.15rem;
}

.success-official-info p {
    font-family: var(--font-app);
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.1rem;
}

.success-email {
    color: var(--app-accent) !important;
}

.reset-btn {
    font-family: var(--font-app);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--app-accent);
    background: var(--app-accent-subtle);
    padding: 0.75rem 2rem;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.reset-btn:hover {
    background: rgba(0, 122, 255, 0.15);
}

/* ============================================
   Features
   ============================================ */

.features-section {
    padding: 6rem 2rem;
    border-top: 1px solid var(--border);
}

.features-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.feature-card {
    padding: 2rem 1.5rem;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--app-accent);
    box-shadow: 0 4px 16px rgba(0, 122, 255, 0.08);
    transform: translateY(-2px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--app-accent-subtle);
    color: var(--app-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.feature-title {
    font-family: var(--font-app);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.feature-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* ============================================
   More from 802 Flamingo
   ============================================ */

.more-section {
    padding: 6rem 2rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.more-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.more-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.more-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    border-radius: 16px;
    aspect-ratio: 4/3;
    background: var(--card-gradient);
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.more-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%);
}

.more-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.more-card-title {
    position: relative;
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 0.35rem;
}

.more-card-desc {
    position: relative;
    font-size: 0.8rem;
    opacity: 0.8;
    line-height: 1.4;
}

/* ============================================
   CTA
   ============================================ */

.cta-section {
    padding: 6rem 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.cta-container {
    max-width: 500px;
    margin: 0 auto;
}

.cta-heading {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.cta-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    font-family: var(--font-app);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: white;
    background: var(--text-primary);
    padding: 1rem 2.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.cta-button:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
    padding: 3rem 2rem;
    border-top: 1px solid var(--border);
}

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

.footer-brand {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.2s ease;
}

.footer-brand:hover { color: var(--app-accent); }

.footer-portfolio-link {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.footer-portfolio-link:hover { color: var(--text-primary); }

.footer-copy {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 768px) {
    .site-header {
        padding: 1rem 1.25rem;
    }

    .hero {
        padding: 5rem 1.5rem 3rem;
        min-height: 85vh;
    }

    .brief { padding: 4rem 1.5rem; }
    .brief-text { font-size: 1.1rem; }

    .speed-section { padding: 4rem 1.5rem; }

    .speed-demo {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .speed-timer {
        flex-direction: row;
        gap: 0.75rem;
        min-width: auto;
        padding: 1rem 1.5rem;
    }

    .demo-section { padding: 4rem 1.5rem; }
    .report-card { padding: 1.5rem; }

    .issue-chips {
        flex-wrap: wrap;
    }

    .issue-chip {
        min-width: 0;
        flex: 1;
    }

    .features-section { padding: 4rem 1.5rem; }

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

    .more-section { padding: 4rem 1.5rem; }

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

    .more-card { aspect-ratio: 16/9; }

    .cta-section { padding: 4rem 1.5rem; }

    .site-footer .footer-content {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .issue-chips {
        gap: 0.5rem;
    }

    .issue-chip {
        padding: 0.55rem 0.75rem;
        font-size: 0.8rem;
        min-width: 0;
    }

    .official-info {
        flex-direction: column;
        gap: 0.75rem;
    }

    .speed-demo {
        gap: 1.5rem;
    }
}

/* ============================================
   Animations
   ============================================ */

:focus-visible {
    outline: 2px solid var(--app-accent);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* GSAP fallback — if animations haven't fired in 4s, show everything */
@keyframes gsap-fallback {
    to { opacity: 1; transform: none; }
}

.hero-label, .hero-title, .hero-subtitle {
    animation: gsap-fallback 0s 4s forwards;
}
