/* Practivo landing — inspired by divRIOTS (divriots.com) */

:root {
    color-scheme: light;
    --primary: #111827;
    --primary-hover: #000000;
    --primary-soft: rgba(17, 24, 39, 0.06);
    --primary-ring: rgba(17, 24, 39, 0.12);
    --accent: #6366f1;
    --accent-soft: rgba(99, 102, 241, 0.1);
    --ink: #0a0a0a;
    --ink-muted: #6b7280;
    --bg: #ffffff;
    --bg-elevated: #ffffff;
    --surface: #f9fafb;
    --border: #e5e7eb;
    --border-strong: #d1d5db;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.08);
    --radius: 12px;
    --radius-lg: 16px;
    --header-bg: rgba(255, 255, 255, 0.92);
    --danger: #ef4444;
    --font-display: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

[data-theme="dark"] {
    color-scheme: dark;
    --primary: #f9fafb;
    --primary-hover: #ffffff;
    --primary-soft: rgba(249, 250, 251, 0.06);
    --primary-ring: rgba(249, 250, 251, 0.12);
    --accent: #818cf8;
    --accent-soft: rgba(129, 140, 248, 0.12);
    --ink: #f9fafb;
    --ink-muted: #9ca3af;
    --bg: #0a0a0a;
    --bg-elevated: #111111;
    --surface: #171717;
    --border: #262626;
    --border-strong: #404040;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
    --header-bg: rgba(10, 10, 10, 0.92);
    --danger: #f87171;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.dr-page { position: relative; }

/* Ambient hero background */
.dr-hero-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.dr-hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, black 20%, transparent 75%);
    opacity: 0.35;
}

[data-theme="dark"] .dr-hero-grid-bg { opacity: 0.12; }

.dr-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    will-change: transform;
}

.dr-hero-glow--1 {
    width: 480px;
    height: 480px;
    top: -120px;
    left: 50%;
    transform: translateX(-60%);
    background: var(--accent);
    opacity: 0.22;
}

.dr-hero-glow--2 {
    width: 360px;
    height: 360px;
    top: 40px;
    right: -80px;
    background: #a78bfa;
    opacity: 0.14;
}

[data-theme="dark"] .dr-hero-glow--1 { opacity: 0.18; }
[data-theme="dark"] .dr-hero-glow--2 { opacity: 0.12; }

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

/* Reveal */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* ===== Header ===== */
.dr-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--header-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.dr-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 16px;
}

.dr-logo {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.03em;
    text-decoration: none;
    color: var(--ink);
    flex-shrink: 0;
}

.dr-logo-bracket {
    color: var(--ink-muted);
    font-weight: 500;
}

.dr-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.dr-nav a {
    text-decoration: none;
    color: var(--ink-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.2s;
}

.dr-nav a:hover,
.dr-nav a.is-active { color: var(--ink); }

.dr-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dr-theme-toggle {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    color: var(--ink-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.dr-theme-toggle:hover {
    color: var(--ink);
    border-color: var(--border-strong);
}

.dr-theme-toggle svg { width: 17px; height: 17px; }

[data-theme="light"] .icon-moon,
[data-theme="dark"] .icon-sun { display: none; }

.dr-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-elevated);
    cursor: pointer;
}

.dr-nav-toggle span {
    display: block;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
}

/* Buttons */
.dr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    white-space: nowrap;
    font-family: var(--font-body);
}

.dr-btn--lg { padding: 13px 24px; font-size: 15px; }

.dr-btn--primary {
    background: var(--ink);
    color: var(--bg);
}

.dr-btn--primary:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

[data-theme="dark"] .dr-btn--primary {
    background: #fff;
    color: #0a0a0a;
}

.dr-btn--ghost {
    color: var(--ink-muted);
    background: transparent;
}

.dr-btn--ghost:hover { color: var(--ink); }

.dr-btn--outline {
    color: var(--ink);
    background: transparent;
    border: 1.5px solid var(--border-strong);
}

.dr-btn--outline:hover {
    border-color: var(--ink);
}

.dr-btn--dark {
    background: var(--ink);
    color: var(--bg);
}

[data-theme="dark"] .dr-btn--dark {
    background: #fff;
    color: #0a0a0a;
}

.dr-btn--white {
    background: #fff;
    color: #0a0a0a;
}

.dr-btn--white:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }

.dr-btn--ghost-light {
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    background: transparent;
}

.dr-btn--ghost-light:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ===== Hero (animated-hero style) ===== */
.dr-hero {
    padding: 80px 0 56px;
    text-align: center;
    position: relative;
}

.dr-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    padding: 40px 0 56px;
}

.dr-hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    width: 100%;
}

.dr-hero-badge-wrap {
    display: flex;
    justify-content: center;
}

.dr-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--border);
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.dr-hero-badge:hover {
    border-color: var(--border-strong);
    background: var(--bg-elevated);
    transform: translateY(-1px);
}

.dr-hero-badge svg {
    flex-shrink: 0;
    transition: transform 0.2s;
}

.dr-hero-badge:hover svg {
    transform: translateX(3px);
}

.dr-hero-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1.1;
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.dr-hero-title-static {
    display: block;
    font-weight: 400;
    color: var(--ink);
}

.dr-hero-word-rotator {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: 100%;
    min-height: 1.2em;
    padding: 4px 0 8px;
}

.dr-hero-word {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 600;
    color: var(--accent);
    white-space: nowrap;
    opacity: 0;
    will-change: transform, opacity;
}

.dr-hero-word--active {
    opacity: 1;
}

.dr-hero-lead {
    font-size: clamp(17px, 2.2vw, 20px);
    color: var(--ink-muted);
    max-width: 42rem;
    margin: 0 auto;
    line-height: 1.65;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.dr-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.dr-hero-actions .dr-btn {
    gap: 10px;
    opacity: 1;
    visibility: visible;
}

/* ===== Trust ===== */
.dr-trust {
    padding: 32px 0 64px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.dr-trust-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 20px;
}

.dr-trust-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.dr-trust-pills span {
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-muted);
    background: var(--surface);
}

/* ===== Spotlight ===== */
.dr-spotlight {
    padding: 80px 0;
}

.dr-spotlight-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.dr-spotlight-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 16px;
}

.dr-spotlight-sub {
    font-size: 16px;
    color: var(--ink-muted);
    line-height: 1.65;
    margin-bottom: 24px;
}

.dr-spotlight-list {
    list-style: none;
    margin-bottom: 32px;
}

.dr-spotlight-list li {
    position: relative;
    padding: 8px 0 8px 22px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.5;
}

.dr-spotlight-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.dr-spotlight-visual {
    position: relative;
    perspective: 1000px;
}

.dr-float-badge {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: var(--ink);
    box-shadow: var(--shadow-md);
    white-space: nowrap;
}

.dr-float-badge svg {
    color: var(--accent);
    flex-shrink: 0;
}

.dr-float-badge--1 {
    top: -12px;
    right: -8px;
}

.dr-float-badge--2 {
    bottom: 24px;
    left: -16px;
}

/* Upload mock */
.dr-upload-mock {
    transform-style: preserve-3d;
    backface-visibility: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--bg-elevated);
}

.dr-upload-mock-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.dr-upload-mock-bar span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--border-strong);
}

.dr-upload-mock-bar span:nth-child(1) { background: #ef4444; }
.dr-upload-mock-bar span:nth-child(2) { background: #f59e0b; }
.dr-upload-mock-bar span:nth-child(3) { background: #10b981; }

.dr-upload-mock-bar em {
    margin-left: auto;
    font-size: 11px;
    font-style: normal;
    color: var(--ink-muted);
    font-family: ui-monospace, monospace;
}

.dr-upload-mock-body { padding: 24px; }

.dr-upload-mock-firm {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
    margin-bottom: 8px;
}

.dr-upload-mock-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.dr-upload-item {
    display: flex;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 10px;
    background: var(--surface);
}

.dr-upload-item--done {
    background: rgba(16, 185, 129, 0.06);
    border-color: rgba(16, 185, 129, 0.2);
}

.dr-upload-check,
.dr-upload-num {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.dr-upload-check {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.dr-upload-num {
    background: var(--accent-soft);
    color: var(--accent);
}

.dr-upload-item strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 2px;
}

.dr-upload-item small {
    font-size: 11px;
    color: #10b981;
    font-weight: 600;
}

.dr-upload-drop {
    margin-top: 8px;
    padding: 12px;
    border: 1.5px dashed var(--border-strong);
    border-radius: 8px;
    font-size: 11px;
    color: var(--ink-muted);
    text-align: center;
}

.dr-upload-submit {
    width: 100%;
    margin-top: 8px;
    padding: 11px;
    border: none;
    border-radius: 8px;
    background: var(--accent);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    opacity: 0.7;
}

/* ===== Split heading (divRIOTS style) ===== */
.dr-split-heading {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 0.95;
    margin-bottom: 48px;
}

.dr-split-heading span {
    display: block;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.dr-split-heading span:last-child {
    color: var(--ink-muted);
}

/* ===== Products ===== */
.dr-products {
    padding: 80px 0;
    border-top: 1px solid var(--border);
}

.dr-category { margin-bottom: 64px; }

.dr-category:last-child { margin-bottom: 0; }

.dr-category-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.dr-category-desc {
    font-size: 15px;
    color: var(--ink-muted);
    margin-bottom: 24px;
}

.dr-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.dr-card-grid--wide {
    grid-template-columns: repeat(4, 1fr);
}

.dr-card {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-elevated);
    transition: border-color 0.2s, box-shadow 0.2s;
    transform-style: preserve-3d;
    will-change: transform;
}

.dr-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.dr-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.dr-card-icon svg { width: 22px; height: 22px; }

.dr-card-icon--blue { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.dr-card-icon--violet { background: rgba(99, 102, 241, 0.1); color: #6366f1; }
.dr-card-icon--teal { background: rgba(20, 184, 166, 0.1); color: #14b8a6; }
.dr-card-icon--amber { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.dr-card-icon--green { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.dr-card-icon--rose { background: rgba(244, 63, 94, 0.1); color: #f43f5e; }
.dr-card-icon--indigo { background: rgba(79, 70, 229, 0.1); color: #4f46e5; }
.dr-card-icon--slate { background: var(--surface); color: var(--ink-muted); }

.dr-card-name {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.dr-card-name span {
    color: var(--accent);
}

.dr-card p {
    font-size: 13px;
    color: var(--ink-muted);
    line-height: 1.55;
}

.dr-card code {
    font-size: 11px;
    background: var(--surface);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: ui-monospace, monospace;
}

/* ===== API panels ===== */
.dr-paths {
    padding: 80px 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.dr-paths-lead {
    font-size: 16px;
    color: var(--ink-muted);
    margin-top: -32px;
    margin-bottom: 40px;
}

.dr-api-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.dr-api-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dr-api-frame {
    flex: 1;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-elevated);
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.dr-api-frame:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md);
}

.dr-api-frame--accent {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
}

.dr-api-frame-inner {
    padding: 28px;
}

.dr-api-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.dr-api-frame h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.dr-api-frame p {
    font-size: 14px;
    color: var(--ink-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.dr-api-frame ul {
    list-style: none;
}

.dr-api-frame li {
    font-size: 13px;
    font-weight: 500;
    padding: 5px 0 5px 16px;
    position: relative;
    color: var(--ink);
}

.dr-api-frame li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.dr-api-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.2s;
}

.dr-api-link:hover { opacity: 0.75; }

/* ===== Steps ===== */
.dr-steps {
    padding: 80px 0;
}

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

.dr-step {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-elevated);
}

.dr-step-num {
    display: block;
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--border-strong);
    margin-bottom: 12px;
    letter-spacing: -0.03em;
}

.dr-step h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.dr-step p {
    font-size: 14px;
    color: var(--ink-muted);
    line-height: 1.55;
}

/* ===== Security ===== */
.dr-security {
    padding: 64px 0;
    border-top: 1px solid var(--border);
}

.dr-security-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.dr-security h2 {
    font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 10px;
}

.dr-security p {
    font-size: 15px;
    color: var(--ink-muted);
    max-width: 480px;
    line-height: 1.6;
}

.dr-security-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dr-security-badges span {
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-muted);
    background: var(--surface);
}

/* ===== CTA ===== */
.dr-cta {
    padding: 80px 0;
    background: var(--ink);
    color: #fff;
}

[data-theme="dark"] .dr-cta {
    background: #171717;
    border-top: 1px solid var(--border);
}

.dr-cta-inner {
    text-align: center;
}

.dr-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.dr-cta p {
    font-size: 16px;
    opacity: 0.75;
    margin-bottom: 28px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.dr-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

/* ===== Footer ===== */
.dr-footer {
    padding: 64px 0 32px;
    border-top: 1px solid var(--border);
}

.dr-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.dr-footer-brand p {
    font-size: 14px;
    color: var(--ink-muted);
    line-height: 1.6;
    margin-top: 14px;
    max-width: 280px;
}

.dr-footer-col h4 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 14px;
}

.dr-footer-col a {
    display: block;
    font-size: 14px;
    color: var(--ink);
    text-decoration: none;
    padding: 4px 0;
    font-weight: 500;
    transition: color 0.2s;
}

.dr-footer-col a:hover { color: var(--accent); }

.dr-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--ink-muted);
}

.dr-footer-bottom a {
    color: inherit;
    text-decoration: none;
}

.dr-footer-bottom a:hover { color: var(--ink); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .dr-spotlight-grid,
    .dr-api-grid { grid-template-columns: 1fr; }

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

    .dr-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .dr-hero-glow,
    .dr-float-badge {
        animation: none !important;
    }

    .dr-card {
        will-change: auto;
        transform: none !important;
    }
}

@media (max-width: 768px) {
    .dr-float-badge--1 { right: 0; top: -20px; font-size: 11px; padding: 8px 12px; }
    .dr-float-badge--2 { left: 0; bottom: 8px; font-size: 11px; }

    .dr-nav {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--bg-elevated);
        border-bottom: 1px solid var(--border);
        padding: 12px 24px 20px;
    }

    .dr-nav.is-open { display: flex; }

    .dr-nav a {
        padding: 12px 0;
        border-bottom: 1px solid var(--border);
    }

    .dr-nav-toggle { display: flex; }

    .dr-header-actions .dr-btn--ghost { display: none; }

    .dr-hero { padding: 72px 0 40px; }

    .dr-card-grid,
    .dr-card-grid--wide,
    .dr-steps-grid { grid-template-columns: 1fr; }

    .dr-footer-grid { grid-template-columns: 1fr; }

    .dr-security-inner { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   Legacy styles — pricing page, static pages (page.blade.php)
   ============================================================ */

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

.ambient-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.ambient-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, var(--border) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.35;
}

.ambient-shape {
    position: absolute;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    opacity: 0.25;
}

.ambient-shape--1 { top: 8%; right: 6%; width: 100px; height: 100px; background: var(--primary-soft); }
.ambient-shape--2 { bottom: 18%; left: 4%; width: 70px; height: 70px; border-radius: 50%; background: var(--accent-soft); }
.ambient-shape--3 { top: 42%; left: 48%; width: 160px; height: 160px; border-radius: 50%; border-style: dashed; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--header-bg);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    color: var(--ink);
}

.logo-box {
    width: 34px;
    height: 34px;
    background: var(--ink);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg);
}

[data-theme="dark"] .logo-box {
    background: #fff;
    color: #0a0a0a;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.site-nav a {
    text-decoration: none;
    color: var(--ink-muted);
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s;
}

.site-nav a:hover,
.site-nav a.is-active { color: var(--ink); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.theme-toggle {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    color: var(--ink-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle svg { width: 17px; height: 17px; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 38px;
    height: 38px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-elevated);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary { background: var(--ink); color: var(--bg); }
[data-theme="dark"] .btn-primary { background: #fff; color: #0a0a0a; }
.btn-ghost { color: var(--ink-muted); background: transparent; }
.btn-ghost:hover { color: var(--ink); }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink-muted);
    margin-bottom: 20px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

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

.page-content { padding: 48px 0 80px; }
.page-content h1 { font-size: 2rem; font-weight: 800; margin-bottom: 8px; color: var(--ink); }
.page-content .lead { color: var(--ink-muted); margin-bottom: 32px; }
.page-content h2 { font-size: 1.25rem; font-weight: 700; margin: 28px 0 12px; color: var(--ink); }
.page-content p, .page-content li { line-height: 1.7; color: var(--ink); }
.page-content ul { padding-left: 1.25rem; margin-bottom: 16px; }
.legal-updated { font-size: 13px; color: var(--ink-muted); margin-bottom: 24px; }
.contact-form .form-group { margin-bottom: 16px; }
.contact-form label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 6px; }
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    background: var(--bg-elevated);
    color: var(--ink);
}
.alert-success {
    padding: 12px 16px;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    border: 1px solid var(--border);
}
.field-error { color: var(--danger); font-size: 13px; }

.site-footer {
    padding: 32px 0;
    border-top: 1px solid var(--border);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: var(--ink-muted);
}

.section-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
    display: block;
}

.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

/* Pricing page */
.page-pricing .pricing-hero { padding: 100px 0 40px; text-align: center; }
.page-pricing .pricing-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 16px;
}
.page-pricing .pricing-hero-inner > p {
    font-size: 17px;
    color: var(--ink-muted);
    max-width: 520px;
    margin: 0 auto 28px;
}

.billing-toggle {
    display: inline-flex;
    padding: 4px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 16px;
}

.billing-toggle-btn {
    padding: 8px 18px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-muted);
    cursor: pointer;
}

.billing-toggle-btn.is-active {
    background: var(--bg-elevated);
    color: var(--ink);
    box-shadow: var(--shadow-sm);
}

.billing-save {
    display: inline-block;
    padding: 2px 8px;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    margin-left: 6px;
}

.pricing-gst-note { font-size: 13px; color: var(--ink-muted); }

.pricing-plans { padding: 24px 0 80px; }

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

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

.pricing-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.pricing-card--featured {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
}

.pricing-popular {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 12px;
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 100px;
}

.pricing-tier {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.pricing-tagline { font-size: 14px; color: var(--ink-muted); margin-bottom: 20px; }

.pricing-amount { display: flex; align-items: baseline; gap: 2px; margin-bottom: 4px; }
.pricing-currency { font-size: 20px; font-weight: 700; }
.pricing-price {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
}
.pricing-period { font-size: 14px; color: var(--ink-muted); margin-left: 4px; }
.pricing-billed-note { font-size: 13px; color: var(--ink-muted); margin-bottom: 20px; }

.pricing-features { list-style: none; flex: 1; margin-bottom: 24px; }
.pricing-features li {
    display: flex;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.pricing-cta { width: 100%; margin-top: auto; }

.pricing-enterprise {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 36px;
    background: var(--ink);
    color: #fff;
    border-radius: var(--radius-lg);
}

[data-theme="dark"] .pricing-enterprise {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--ink);
}

.pricing-enterprise h2 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    margin: 8px 0 10px;
}

.pricing-enterprise-copy p { font-size: 15px; opacity: 0.8; max-width: 520px; }
.pricing-enterprise-actions { display: flex; flex-direction: column; gap: 10px; }
.pricing-enterprise-note { font-size: 12px; opacity: 0.65; }

.pricing-compare {
    padding: 80px 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
}

.compare-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-elevated);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

.compare-table th,
.compare-table td {
    padding: 14px 20px;
    text-align: center;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
}

.compare-table th:first-child,
.compare-table td:first-child { text-align: left; font-weight: 600; }

.compare-table thead th {
    font-weight: 700;
    background: var(--surface);
}

.compare-col-featured {
    background: var(--accent-soft);
    color: var(--accent) !important;
    font-weight: 600 !important;
}

.compare-yes {
    display: inline-flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
}

.pricing-addons { padding: 80px 0; }

.addons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.addon-card {
    padding: 22px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color 0.2s, transform 0.2s;
}

.addon-card:hover { border-color: var(--accent); transform: translateY(-2px); }

.addon-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    border-radius: 10px;
    margin-bottom: 14px;
}

.addon-icon svg { width: 20px; height: 20px; color: var(--accent); }

.addon-card h3 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
}

.addon-price {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 6px;
}

.addon-price span { font-size: 13px; font-weight: 600; color: var(--ink-muted); }
.addon-desc { font-size: 13px; color: var(--ink-muted); line-height: 1.5; }

.pricing-faq { padding: 80px 0; }

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 960px;
    margin: 0 auto;
}

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

.faq-item[open] { border-color: var(--accent); }

.faq-item summary {
    padding: 16px 18px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    color: var(--ink-muted);
}

.faq-item[open] summary::after { content: '−'; color: var(--accent); }

.faq-item p {
    padding: 0 18px 16px;
    font-size: 14px;
    color: var(--ink-muted);
    line-height: 1.6;
}

.btn-white { background: #fff; color: #0a0a0a; }
.btn-outline {
    background: transparent;
    border: 1.5px solid var(--border-strong);
    color: var(--ink);
}
.btn-lg { padding: 13px 24px; font-size: 15px; }

@media (max-width: 1024px) {
    .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .pricing-card--featured { order: -1; }
    .addons-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-enterprise { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
    .site-nav {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--bg-elevated);
        border-bottom: 1px solid var(--border);
        padding: 12px 24px;
    }

    .site-nav.is-open { display: flex; }
    .nav-toggle { display: flex; }
    .page-pricing .pricing-hero { padding-top: 80px; }
    .faq-grid, .addons-grid { grid-template-columns: 1fr; }
}
