/* ──────────────────────────────────────────────
   CopyPro — Dark Industrial Operations Aesthetic
   ────────────────────────────────────────────── */

:root {
    --bg: #0a0e17;
    --bg-raised: #0f1520;
    --bg-card: #141b2b;
    --bg-card-hover: #1a2338;
    --surface: #1c2540;
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(0, 255, 163, 0.2);

    --text: #e8ecf4;
    --text-muted: #7a8ba8;
    --text-dim: #4a5a78;

    --accent: #00ffa3;
    --accent-dim: rgba(0, 255, 163, 0.15);
    --accent-glow: rgba(0, 255, 163, 0.4);

    --blue: #3b82f6;
    --blue-dim: rgba(59, 130, 246, 0.15);

    --red: #ff4d6a;
    --yellow: #fbbf24;

    --font-display: 'Outfit', sans-serif;
    --font-mono: 'Space Mono', monospace;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;

    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 60px rgba(0, 255, 163, 0.12);
}

/* ── 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-display);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover { color: #33ffb8; }

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

/* ── Grid overlay ── */
.grid-overlay {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

/* ── Shared section styles ── */
.section-index {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent);
    letter-spacing: 0.05em;
}

.section-tag {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

.intro-label {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.section-heading {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 60px;
    color: var(--text);
}

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

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    line-height: 1;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg);
    box-shadow: 0 0 20px var(--accent-dim);
}
.btn-primary:hover {
    background: #33ffb8;
    color: var(--bg);
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1.5px solid rgba(0, 255, 163, 0.3);
}
.btn-outline:hover {
    background: var(--accent-dim);
    color: var(--accent);
    border-color: var(--accent);
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    border: 1.5px solid var(--border);
}
.btn-ghost:hover {
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* ── Navbar ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    background: rgba(10, 14, 23, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s, border-color 0.3s;
}

.navbar.scrolled {
    background: rgba(10, 14, 23, 0.95);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
}

.logo-img {
    height: 34px;
    width: 34px;
    border-radius: 8px;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
    padding: 8px 20px !important;
    background: var(--accent) !important;
    color: var(--bg) !important;
    border-radius: var(--radius-sm) !important;
    font-weight: 600 !important;
}
.nav-cta:hover {
    background: #33ffb8 !important;
    color: var(--bg) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

/* ── Hero ── */
.hero {
    position: relative;
    padding: 140px 0 100px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(0, 255, 163, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--accent-dim);
    border: 1px solid rgba(0, 255, 163, 0.2);
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent);
    margin-bottom: 24px;
}

.tag-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero h1 {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 20px 28px;
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.stat-value {
    display: block;
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
}

/* ── App Window ── */
.app-window {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(59, 130, 246, 0.1);
    animation: app-float 6s ease-in-out infinite;
}

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

.app-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #2d2d2d;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.app-dots {
    display: flex;
    gap: 6px;
}

.app-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.d1 { background: #ff5f57; }
.d2 { background: #febc2e; }
.d3 { background: #28c840; }

.app-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

.app-screenshot {
    display: block;
}

.app-screenshot img {
    width: 100%;
    height: auto;
    display: block;
}

/* scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

/* ── Marquee ── */
.marquee-bar {
    padding: 14px 0;
    background: var(--bg-raised);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.marquee-track {
    display: flex;
    gap: 0;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-dim);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.marquee-track span {
    padding: 0 8px;
}

.marquee-dash {
    color: var(--accent);
    opacity: 0.4;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ── Intro ── */
.intro {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

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

.intro-card {
    padding: 36px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: border-color 0.3s, transform 0.3s;
}

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

.intro-card-dark {
    background: var(--bg-card);
}

.intro-card-accent {
    background: linear-gradient(135deg, rgba(0, 255, 163, 0.08), rgba(0, 255, 163, 0.02));
    border-color: rgba(0, 255, 163, 0.15);
}

.intro-card-icon {
    font-size: 1.6rem;
    margin-bottom: 16px;
    color: var(--accent);
}

.intro-card-dark .intro-card-icon { color: var(--text-dim); }

.intro-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.intro-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ── Features ── */
.features {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

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

.feature-card:hover::before { opacity: 1; }

.feature-card-large {
    grid-column: span 2;
    grid-row: span 2;
    padding: 40px;
}

.feature-card-cta {
    background: linear-gradient(135deg, rgba(0, 255, 163, 0.06), rgba(0, 255, 163, 0.02));
    border-color: rgba(0, 255, 163, 0.12);
    display: flex;
    flex-direction: column;
}

.feature-number {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-bottom: 20px;
}

.feature-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--accent-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.feature-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
}

.feature-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.feature-tags span {
    padding: 4px 12px;
    background: var(--accent-dim);
    color: var(--accent);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
}
.feature-link:hover { gap: 12px; }

/* ── How It Works ── */
.how-it-works {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

.steps-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.step-marker {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
    background: var(--bg);
    z-index: 2;
    flex-shrink: 0;
}

.step-num {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
}

.step-line {
    position: absolute;
    top: 28px;
    left: calc(50% + 28px);
    right: -40px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), rgba(0, 255, 163, 0.15));
    z-index: 1;
}

.step:last-child .step-line { display: none; }

.step-content {
    width: 100%;
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

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

/* ── Screenshots ── */
.screenshots {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

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

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

.screen-frame {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: border-color 0.3s, transform 0.3s;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.screen-item:hover .screen-frame {
    border-color: var(--border-hover);
    transform: translateY(-6px);
}

.screen-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.screen-caption {
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--text-dim);
}

/* ── Use Cases ── */
.use-cases {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

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

.use-case-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 36px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.use-case-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.use-case-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 14px;
}

.use-case-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.use-case-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.use-case-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.04);
}

/* ── Pricing ── */
.pricing {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.pricing-featured {
    border-color: rgba(0, 255, 163, 0.3);
    background: linear-gradient(180deg, rgba(0, 255, 163, 0.06), var(--bg-card));
    transform: scale(1.04);
}

.pricing-featured:hover {
    transform: scale(1.04) translateY(-4px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 16px;
    background: var(--accent);
    color: var(--bg);
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.pricing-name {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    text-align: center;
}

.pricing-amount {
    margin-bottom: 4px;
    text-align: center;
}

.pricing-currency {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    vertical-align: top;
    line-height: 1;
}

.pricing-number {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.03em;
}

.pricing-period {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 24px;
    text-align: center;
    line-height: 1.4;
}

.pricing-yearly {
    color: var(--accent);
    display: block;
}

.pricing-list {
    list-style: none;
    margin-bottom: 24px;
    flex: 1;
}

.pricing-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    font-size: 0.86rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}

.pricing-list li:last-child { border-bottom: none; }

.pricing-list li i {
    color: var(--accent);
    font-size: 0.7rem;
    flex-shrink: 0;
}

.pricing-card .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 16px;
    font-size: 0.88rem;
}

/* ── CTA ── */
.cta {
    padding: 140px 0;
    position: relative;
    z-index: 1;
    text-align: center;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(0, 255, 163, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta h2 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto 36px;
    line-height: 1.6;
}

/* ── Footer ── */
.footer {
    padding: 60px 0 40px;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--text-dim);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }

.footer-bottom {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding-top: 24px;
    margin-top: 8px;
    border-top: 1px solid var(--border);
    font-size: 0.82rem;
    color: var(--text-dim);
}

.footer-bottom a { color: var(--text-dim); }
.footer-bottom a:hover { color: var(--accent); }

/* ── Page Header ── */
.page-header {
    padding: 140px 0 60px;
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
}

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

.page-section {
    padding: 60px 0;
    position: relative;
    z-index: 1;
}

/* ── FAQ ── */
.faq-list {
    max-width: 800px;
}

.faq-item {
    margin-bottom: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.faq-question {
    padding: 20px 24px;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    transition: background 0.2s;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq-question.open {
    color: var(--accent);
}

.faq-question i {
    color: var(--text-dim);
    transition: transform 0.2s;
}

.faq-question.open i {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ── Troubleshooting ── */
.troubleshooting-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 900px;
}

.troubleshooting-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: all 0.3s ease;
}

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

.trouble-icon {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 16px;
}

.troubleshooting-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.troubleshooting-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ── Contact Card ── */
.contact-card {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 700px;
}

.contact-method {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-method:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.contact-method .contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-dim);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin: 0 auto 16px;
}

.contact-method h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-method p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.contact-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
}

/* ── Legal Document ── */
.legal-document {
    max-width: 800px;
}

.legal-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
    margin-bottom: 20px;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.legal-section p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section ul {
    margin: 12px 0 12px 24px;
}

.legal-section li {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 8px;
}

.legal-section li:last-child {
    margin-bottom: 0;
}

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

/* ── Scroll reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Back to top ── */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-visual { order: -1; }

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

    .feature-card-large {
        grid-column: span 2;
        grid-row: span 1;
    }

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

    .pricing-featured { transform: none; }
    .pricing-featured:hover { transform: translateY(-4px); }

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

    .steps-track {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .step-line { display: none; }

    .step { padding: 0; }

    .screens-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
    }

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

    .contact-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(10, 14, 23, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s, opacity 0.3s;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-toggle { display: flex; }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero { padding: 110px 0 60px; }

    .hero h1 { font-size: 2.4rem; }

    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .stat-divider {
        width: 100%;
        height: 1px;
    }

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

    .feature-card-large {
        grid-column: span 1;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .footer-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-brand { flex-direction: column; align-items: flex-start; gap: 8px; }

    .footer-bottom {
        flex-direction: column;
        gap: 4px;
    }

    .marquee-track { font-size: 0.7rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }

    .section-heading { margin-bottom: 40px; }

    .intro, .features, .how-it-works, .screenshots, .use-cases, .pricing, .page-section {
        padding: 80px 0;
    }

    .cta { padding: 100px 0; }

    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
}
