/* ═══════════════════════════════════════
   watch.ly Marketing — Refined Industrial Victorian
   ═══════════════════════════════════════ */

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

:root {
    /* Primary (Polished Brass) */
    --brass: #c49a1a;
    --brass-light: #e0b83a;
    --brass-dark: #96750e;
    --copper: #b87333;
    --bronze: #cd7f32;

    /* Backgrounds */
    --bg-dark: #13100c;
    --bg-card: #1c1812;
    --bg-surface: #231e16;
    --bg-paper: #2a2318;
    --bg-input: #0e0c09;

    /* Text */
    --text-primary: #ede5d4;
    --text-secondary: #b5a48a;
    --text-muted: #7d6f58;

    /* Borders */
    --border: #342c20;
    --border-brass: #5c4d36;

    /* Status */
    --success: #6fa834;
    --warning: #e8a000;
    --error: #c43030;
    --info: #3a8fd4;

    /* Gradient */
    --gradient: linear-gradient(135deg, #c49a1a 0%, #cd7f32 50%, #b87333 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'EB Garamond', Georgia, serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 1.0625rem;
    /* Blueprint grid background */
    background-image:
        linear-gradient(rgba(196, 154, 26, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(196, 154, 26, 0.03) 1px, transparent 1px),
        radial-gradient(ellipse at 30% 20%, rgba(196, 154, 26, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 60%, rgba(184, 115, 51, 0.03) 0%, transparent 50%);
    background-size:
        48px 48px,
        48px 48px,
        100% 100%,
        100% 100%;
    background-attachment: fixed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* ─── Typography ─── */

h1, h2, h3, h4 {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: 1.25rem; }

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Typewriter cursor */
.typed-cursor {
    display: inline-block;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: cursorBlink 0.7s steps(1) infinite;
    margin-left: 2px;
    font-weight: 400;
}

@keyframes cursorBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
}

.header-line {
    flex: 1;
    max-width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-brass), transparent);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 48px;
}

/* ─── Buttons ─── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 2px;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid var(--brass);
    position: relative;
}

.btn-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.btn-primary {
    background: linear-gradient(180deg, var(--brass-light) 0%, var(--brass) 100%);
    color: var(--bg-dark);
    box-shadow: 0 2px 8px rgba(196, 154, 26, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(180deg, var(--brass) 0%, var(--brass-dark) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(196, 154, 26, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--brass-light);
    border-color: var(--border-brass);
}

.btn-secondary:hover {
    background: rgba(196, 154, 26, 0.08);
    border-color: var(--brass);
}

.btn-large {
    padding: 18px 36px;
    font-size: 0.9rem;
}

/* ─── Navbar ─── */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(19, 16, 12, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-icon {
    color: var(--brass);
    display: flex;
    align-items: center;
}

.logo-icon svg {
    width: 24px;
    height: 24px;
}

.logo-text span { color: var(--brass); margin-left: 1px; }

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--brass-light); }

/* ─── Hero ─── */

.hero {
    min-height: 100vh;
    padding: 140px 0 80px;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin-bottom: 64px;
    animation: fadeIn 0.6s ease both;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(196, 154, 26, 0.08);
    border: 1px solid var(--border-brass);
    border-radius: 2px;
    color: var(--brass-light);
    font-size: 0.8rem;
    font-family: 'Cinzel', serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.badge-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.hero h1 { margin-bottom: 24px; }

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 1.25rem;
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* ─── Flow Visualization ─── */

.hero-flow {
    width: 100%;
    overflow-x: auto;
    padding: 20px 0;
    animation: fadeIn 0.8s ease 0.2s both;
}

.flow-visualization {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    min-width: 900px;
}

.flow-node {
    position: relative;
}

.node-plate {
    background: var(--bg-card);
    border: 1px solid var(--border-brass);
    padding: 24px 32px;
    text-align: center;
    position: relative;
    min-width: 160px;
}

.node-plate::before {
    content: '';
    position: absolute;
    inset: -1px;
    pointer-events: none;
    background:
        linear-gradient(var(--brass), var(--brass)) 0 0 / 10px 1px no-repeat,
        linear-gradient(var(--brass), var(--brass)) 0 0 / 1px 10px no-repeat,
        linear-gradient(var(--brass), var(--brass)) 100% 0 / 10px 1px no-repeat,
        linear-gradient(var(--brass), var(--brass)) 100% 0 / 1px 10px no-repeat,
        linear-gradient(var(--brass), var(--brass)) 0 100% / 10px 1px no-repeat,
        linear-gradient(var(--brass), var(--brass)) 0 100% / 1px 10px no-repeat,
        linear-gradient(var(--brass), var(--brass)) 100% 100% / 10px 1px no-repeat,
        linear-gradient(var(--brass), var(--brass)) 100% 100% / 1px 10px no-repeat;
}

.node-icon {
    margin-bottom: 8px;
    color: var(--brass);
    display: flex;
    justify-content: center;
}

.node-icon svg {
    width: 28px;
    height: 28px;
}

.node-label {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.node-detail {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: 'Share Tech Mono', monospace;
}

/* Flow connector (replaces pipes) */
.flow-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 8px;
}

.connector-line {
    width: 64px;
    height: 1px;
    background: linear-gradient(90deg, var(--border-brass), var(--brass), var(--border-brass));
    position: relative;
}

.connector-line::after {
    content: '';
    position: absolute;
    right: -4px;
    top: -3px;
    width: 0;
    height: 0;
    border-left: 6px solid var(--brass);
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
}

.connector-label {
    font-size: 0.625rem;
    color: var(--text-muted);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Cinzel', serif;
}

/* ─── Notification Device (hero) ─── */

.notification-device {
    width: 240px;
}

.device-frame {
    background: var(--bg-card);
    border: 1px solid var(--brass);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.device-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: linear-gradient(180deg, var(--brass) 0%, var(--brass-dark) 100%);
    color: var(--bg-dark);
    font-family: 'Cinzel', serif;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.device-indicator {
    width: 6px;
    height: 6px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--success);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.device-screen {
    padding: 12px;
    background: var(--bg-input);
}

.device-message {
    background: rgba(196, 154, 26, 0.04);
    border: 1px solid var(--border-brass);
    padding: 12px;
}

.msg-header {
    text-align: center;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.625rem;
    color: var(--warning);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.msg-body {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.5;
    margin-bottom: 12px;
}

.msg-body strong {
    color: var(--brass-light);
}

.device-actions {
    display: flex;
    gap: 8px;
}

.action-btn {
    flex: 1;
    padding: 8px;
    border: 1px solid;
    font-family: 'Cinzel', serif;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
}

.action-approve {
    background: rgba(111, 168, 52, 0.15);
    border-color: var(--success);
    color: var(--success);
}

.action-approve:hover {
    background: rgba(111, 168, 52, 0.25);
}

.action-deny {
    background: rgba(196, 48, 48, 0.1);
    border-color: var(--border-brass);
    color: var(--text-secondary);
}

.action-deny:hover {
    background: rgba(196, 48, 48, 0.15);
}

.device-footer {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 6px;
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
}

.device-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--border-brass);
}

/* ─── Channels Section ─── */

.channels {
    padding: 120px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(28, 24, 18, 0.5) 100%);
}

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

.channel-card {
    background: var(--bg-card);
    border: 1px solid var(--border-brass);
    padding: 32px;
    position: relative;
    transition: all 0.2s ease;
}

.channel-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    pointer-events: none;
    z-index: 1;
    background:
        linear-gradient(var(--brass), var(--brass)) 0 0 / 14px 1px no-repeat,
        linear-gradient(var(--brass), var(--brass)) 0 0 / 1px 14px no-repeat,
        linear-gradient(var(--brass), var(--brass)) 100% 0 / 14px 1px no-repeat,
        linear-gradient(var(--brass), var(--brass)) 100% 0 / 1px 14px no-repeat,
        linear-gradient(var(--brass), var(--brass)) 0 100% / 14px 1px no-repeat,
        linear-gradient(var(--brass), var(--brass)) 0 100% / 1px 14px no-repeat,
        linear-gradient(var(--brass), var(--brass)) 100% 100% / 14px 1px no-repeat,
        linear-gradient(var(--brass), var(--brass)) 100% 100% / 1px 14px no-repeat;
}

.channel-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border-color: var(--brass);
}

.channel-icon {
    margin-bottom: 16px;
    color: var(--brass);
    display: flex;
}

.channel-icon svg {
    width: 28px;
    height: 28px;
}

.channel-card h3 {
    margin-bottom: 8px;
    font-family: 'Cinzel', serif;
}

.channel-card > p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.channel-preview {
    background: var(--bg-input);
    border: 1px solid var(--border);
    padding: 16px;
    border-radius: 2px;
}

/* SMS Preview */
.sms-notification {
    background: var(--bg-card);
    border: 1px solid var(--border-brass);
    padding: 12px;
}

.sms-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.625rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-family: 'Share Tech Mono', monospace;
}

.sms-body {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.sms-actions {
    display: flex;
    gap: 8px;
}

.sms-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    border: 1px solid;
}

.sms-btn svg {
    width: 14px;
    height: 14px;
}

.sms-btn.approve {
    background: rgba(111, 168, 52, 0.15);
    border-color: var(--success);
    color: var(--success);
}

.sms-btn.deny {
    background: rgba(196, 48, 48, 0.1);
    border-color: var(--border-brass);
    color: var(--text-muted);
}

/* SMS Conversation Preview */
.sms-preview {
    position: relative;
}

.sms-accent-bar {
    position: absolute;
    left: -16px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--brass), var(--border-brass));
}

.sms-bubble {
    padding: 10px 14px;
    margin-bottom: 8px;
    margin-left: 8px;
    font-size: 0.8rem;
    line-height: 1.4;
    position: relative;
}

.sms-bubble.incoming {
    background: var(--bg-card);
    border: 1px solid var(--border-brass);
    border-left: 2px solid var(--brass);
}

.sms-bubble.outgoing {
    background: linear-gradient(180deg, var(--brass) 0%, var(--brass-dark) 100%);
    color: var(--bg-dark);
    font-weight: 600;
    text-align: right;
    margin-left: auto;
    margin-right: 0;
    max-width: 60%;
}

.bubble-icon {
    color: var(--brass);
    margin-right: 4px;
}

.bubble-icon svg {
    width: 10px;
    height: 10px;
    vertical-align: middle;
}

/* Slack/Discord Preview */
.slack-message {
    display: flex;
    gap: 12px;
}

.slack-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(180deg, var(--brass) 0%, var(--brass-dark) 100%);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    flex-shrink: 0;
}

.slack-avatar svg {
    width: 20px;
    height: 20px;
}

.slack-content { flex: 1; }

.slack-header { margin-bottom: 4px; }

.slack-name {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: 0.8rem;
}

.slack-time {
    font-size: 0.625rem;
    color: var(--text-muted);
    margin-left: 8px;
}

.slack-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.5;
}

.slack-buttons {
    display: flex;
    gap: 8px;
}

.slack-btn {
    padding: 5px 12px;
    font-size: 0.625rem;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 2px;
    border: 1px solid;
}

.slack-btn.approve {
    background: rgba(111, 168, 52, 0.15);
    border-color: var(--success);
    color: var(--success);
}

.slack-btn.deny {
    background: rgba(196, 48, 48, 0.1);
    border-color: var(--error);
    color: var(--error);
}

.slack-btn.details {
    background: transparent;
    border-color: var(--border-brass);
    color: var(--text-secondary);
}

/* ─── How It Works — Schematic ─── */

.how-it-works {
    padding: 120px 0;
}

.schematic {
    max-width: 800px;
    margin: 0 auto;
}

.schematic-step {
    display: flex;
    gap: 32px;
    margin-bottom: 0;
    position: relative;
}

.step-marker {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--brass);
    background: var(--bg-card);
}

.step-marker::before {
    content: '';
    position: absolute;
    inset: -1px;
    pointer-events: none;
    background:
        linear-gradient(var(--brass), var(--brass)) 0 0 / 8px 1px no-repeat,
        linear-gradient(var(--brass), var(--brass)) 0 0 / 1px 8px no-repeat,
        linear-gradient(var(--brass), var(--brass)) 100% 0 / 8px 1px no-repeat,
        linear-gradient(var(--brass), var(--brass)) 100% 0 / 1px 8px no-repeat,
        linear-gradient(var(--brass), var(--brass)) 0 100% / 8px 1px no-repeat,
        linear-gradient(var(--brass), var(--brass)) 0 100% / 1px 8px no-repeat,
        linear-gradient(var(--brass), var(--brass)) 100% 100% / 8px 1px no-repeat,
        linear-gradient(var(--brass), var(--brass)) 100% 100% / 1px 8px no-repeat;
}

.step-number {
    font-family: 'Cinzel', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brass);
}

.step-marker.success {
    border-color: var(--success);
}

.step-marker.success .step-number {
    color: var(--success);
}

.step-marker.success::before {
    background:
        linear-gradient(var(--success), var(--success)) 0 0 / 8px 1px no-repeat,
        linear-gradient(var(--success), var(--success)) 0 0 / 1px 8px no-repeat,
        linear-gradient(var(--success), var(--success)) 100% 0 / 8px 1px no-repeat,
        linear-gradient(var(--success), var(--success)) 100% 0 / 1px 8px no-repeat,
        linear-gradient(var(--success), var(--success)) 0 100% / 8px 1px no-repeat,
        linear-gradient(var(--success), var(--success)) 0 100% / 1px 8px no-repeat,
        linear-gradient(var(--success), var(--success)) 100% 100% / 8px 1px no-repeat,
        linear-gradient(var(--success), var(--success)) 100% 100% / 1px 8px no-repeat;
}

.step-content {
    flex: 1;
    padding-top: 4px;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-brass);
    padding: 24px;
    position: relative;
}

.step-card.success {
    border-color: var(--success);
    background: rgba(111, 168, 52, 0.04);
}

.step-card h3 {
    margin-bottom: 8px;
    font-family: 'Cinzel', serif;
}

.step-card > p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.step-connector {
    position: absolute;
    left: 27px;
    top: 56px;
    bottom: -24px;
    width: 1px;
    background: linear-gradient(180deg, var(--brass), var(--border-brass));
}

.schematic-step.final .step-connector {
    display: none;
}

/* Ticker tape */
.ticker-tape {
    background: var(--bg-input);
    border: 1px solid var(--border);
    padding: 12px 16px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.8rem;
    color: var(--brass-light);
    overflow: hidden;
}

.ticker-tape.success {
    border-color: var(--success);
    color: var(--success);
}

.ticker-tape .check {
    color: var(--success);
    margin-right: 8px;
}

/* Rules table (replaces Ledger) */
.rules-check {
    background: var(--bg-input);
    border: 1px solid var(--border);
    padding: 12px;
}

.rules-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 0.8rem;
    border-bottom: 1px solid var(--border);
}

.rules-row:last-child {
    border-bottom: none;
}

.rules-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.rules-row.pending .rules-icon {
    color: var(--warning);
}

.rules-name {
    flex: 1;
    font-family: 'Share Tech Mono', monospace;
}

.rules-status {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.rules-row.pending .rules-status {
    color: var(--warning);
}

/* Notification methods */
.notification-methods {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.method-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--bg-input);
    border: 1px solid var(--border-brass);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.method-badge svg {
    width: 14px;
    height: 14px;
    color: var(--brass);
}

/* Action buttons */
.action-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.action-button {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border: 1px solid;
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    border-radius: 2px;
}

.action-button svg {
    width: 14px;
    height: 14px;
}

.action-button.approve {
    background: rgba(111, 168, 52, 0.15);
    border-color: var(--success);
    color: var(--success);
}

.action-button.create-rule {
    background: rgba(196, 154, 26, 0.1);
    border-color: var(--brass);
    color: var(--brass-light);
}

.action-button.deny {
    background: rgba(196, 48, 48, 0.05);
    border-color: var(--border-brass);
    color: var(--text-secondary);
}

/* ─── Features ─── */

.features {
    padding: 120px 0;
    background: linear-gradient(180deg, rgba(28, 24, 18, 0.5) 0%, transparent 100%);
}

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

.feature-card {
    transition: all 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
}

.feature-plate {
    background: var(--bg-card);
    border: 1px solid var(--border-brass);
    padding: 32px;
    height: 100%;
    position: relative;
}

.feature-plate::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brass), transparent);
}

.feature-icon {
    margin-bottom: 16px;
    color: var(--brass);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-plate h3 {
    margin-bottom: 12px;
    font-family: 'Cinzel', serif;
}

.feature-plate p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ─── Applications ─── */

.applications {
    padding: 120px 0;
}

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

.application-card {
    background: var(--bg-card);
    border: 1px solid var(--border-brass);
    padding: 32px;
    transition: all 0.2s ease;
}

.application-card:hover {
    border-color: var(--brass);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.app-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.app-icon {
    color: var(--brass);
}

.app-icon svg {
    width: 24px;
    height: 24px;
}

.application-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ─── Demonstration ─── */

.demonstration {
    padding: 120px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(28, 24, 18, 0.5) 100%);
}

.demo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.demo-text h2 {
    text-align: left;
    margin-bottom: 16px;
}

.demo-text > p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 32px;
}

.demo-sequence {
    margin-bottom: 32px;
}

.demo-step {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.demo-step-num {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    color: var(--brass);
    min-width: 30px;
}

/* SMS Demo Device */
.sms-demo {
    max-width: 340px;
    margin: 0 auto;
}

.sms-demo-frame {
    background: var(--bg-card);
    border: 1px solid var(--brass);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.sms-demo-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background: linear-gradient(180deg, var(--brass-dark) 0%, rgba(92, 77, 54, 0.8) 100%);
    font-family: 'Cinzel', serif;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--bg-dark);
}

.sms-demo-header .indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-muted);
}

.sms-demo-header .indicator.on {
    background: var(--success);
    box-shadow: 0 0 6px var(--success);
}

.sms-demo-display {
    margin: 12px;
    background: var(--bg-input);
    border: 1px solid var(--border-brass);
}

.sms-demo-display-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 6px;
    background: linear-gradient(180deg, rgba(92, 77, 54, 0.4) 0%, transparent 100%);
    font-family: 'Cinzel', serif;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.sms-demo-messages {
    padding: 16px;
    max-height: 350px;
    overflow-y: auto;
}

.demo-msg {
    margin-bottom: 16px;
}

.demo-msg.incoming {
    padding-left: 12px;
    border-left: 2px solid var(--brass);
}

.demo-msg.outgoing {
    text-align: right;
}

.demo-msg .msg-seal {
    font-size: 0.75rem;
    color: var(--brass);
    margin-bottom: 4px;
}

.demo-msg .msg-seal svg {
    width: 12px;
    height: 12px;
    vertical-align: middle;
}

.demo-msg .msg-content {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.demo-msg.outgoing .msg-content {
    display: inline-block;
    background: linear-gradient(180deg, var(--brass) 0%, var(--brass-dark) 100%);
    color: var(--bg-dark);
    padding: 8px 16px;
    font-weight: 600;
}

.demo-msg .msg-time {
    font-size: 0.625rem;
    color: var(--text-muted);
    margin-top: 4px;
    font-family: 'Share Tech Mono', monospace;
}

.sms-demo-footer {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 12px;
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
}

.sms-demo-dot {
    width: 6px;
    height: 6px;
    background: var(--border-brass);
    border-radius: 50%;
}

.sms-demo-base {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 8px;
    background: linear-gradient(180deg, var(--brass) 0%, var(--brass-dark) 100%);
}

.sms-demo-base-label {
    font-family: 'Cinzel', serif;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--bg-dark);
}

.sms-demo-base-dot {
    width: 6px;
    height: 6px;
    background: radial-gradient(circle at 30% 30%, var(--brass-light), var(--bg-dark));
    border-radius: 50%;
}

/* ─── Pricing ─── */

.pricing {
    padding: 120px 0;
}

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

.pricing-card {
    position: relative;
}

.pricing-card.featured {
    transform: scale(1.02);
}

.featured-banner {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(180deg, var(--brass) 0%, var(--brass-dark) 100%);
    color: var(--bg-dark);
    padding: 5px 20px;
    font-family: 'Cinzel', serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
}

.price-plate {
    background: var(--bg-card);
    border: 1px solid var(--border-brass);
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured .price-plate {
    border-color: var(--brass);
    box-shadow: 0 0 30px rgba(196, 154, 26, 0.08);
}

.price-plate h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    margin-bottom: 16px;
    text-align: center;
}

.price {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
    color: var(--brass-light);
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.price-desc {
    color: var(--text-muted);
    margin-bottom: 32px;
    text-align: center;
    font-size: 0.95rem;
}

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

.pricing-features li {
    padding: 8px 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}

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

.pricing-features li::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23c49a1a' stroke-width='1.5'%3E%3Cpath d='M3 8l3.5 3.5L13 5'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.pricing-card .btn {
    width: 100%;
}

/* ─── CTA ─── */

.cta {
    padding: 120px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(28, 24, 18, 0.5) 100%);
}

.cta-frame {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--brass);
    padding: 60px;
    position: relative;
}

.cta-frame::before {
    content: '';
    position: absolute;
    inset: -1px;
    pointer-events: none;
    z-index: 1;
    background:
        linear-gradient(var(--brass-light), var(--brass-light)) 0 0 / 20px 1px no-repeat,
        linear-gradient(var(--brass-light), var(--brass-light)) 0 0 / 1px 20px no-repeat,
        linear-gradient(var(--brass-light), var(--brass-light)) 100% 0 / 20px 1px no-repeat,
        linear-gradient(var(--brass-light), var(--brass-light)) 100% 0 / 1px 20px no-repeat,
        linear-gradient(var(--brass-light), var(--brass-light)) 0 100% / 20px 1px no-repeat,
        linear-gradient(var(--brass-light), var(--brass-light)) 0 100% / 1px 20px no-repeat,
        linear-gradient(var(--brass-light), var(--brass-light)) 100% 100% / 20px 1px no-repeat,
        linear-gradient(var(--brass-light), var(--brass-light)) 100% 100% / 1px 20px no-repeat;
}

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

.cta-icon {
    color: var(--brass);
    margin-bottom: 24px;
}

.cta-icon svg {
    width: 36px;
    height: 36px;
}

.cta h2 {
    margin-bottom: 16px;
}

.cta-content > p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}


/* ─── Footer ─── */

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

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 48px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 12px;
}

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

.footer-column h4 {
    font-family: 'Cinzel', serif;
    color: var(--brass-light);
    font-size: 0.8rem;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.footer-column a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 8px;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--brass-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.footer-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
    color: var(--border-brass);
}

.footer-divider-line {
    width: 40px;
    height: 1px;
    background: var(--border-brass);
}

.footer-divider svg {
    width: 16px;
    height: 16px;
    color: var(--brass);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ─── Animations ─── */

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Entrance animations for grids */
.channels-grid .channel-card,
.features-grid .feature-card,
.applications-grid .application-card,
.pricing-grid .pricing-card {
    animation: fadeIn 0.4s ease both;
}

.channels-grid .channel-card:nth-child(1),
.features-grid .feature-card:nth-child(1),
.applications-grid .application-card:nth-child(1),
.pricing-grid .pricing-card:nth-child(1) { animation-delay: 0s; }

.channels-grid .channel-card:nth-child(2),
.features-grid .feature-card:nth-child(2),
.applications-grid .application-card:nth-child(2),
.pricing-grid .pricing-card:nth-child(2) { animation-delay: 0.05s; }

.channels-grid .channel-card:nth-child(3),
.features-grid .feature-card:nth-child(3),
.applications-grid .application-card:nth-child(3),
.pricing-grid .pricing-card:nth-child(3) { animation-delay: 0.1s; }

.features-grid .feature-card:nth-child(4) { animation-delay: 0.15s; }
.features-grid .feature-card:nth-child(5) { animation-delay: 0.2s; }
.features-grid .feature-card:nth-child(6) { animation-delay: 0.25s; }

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

    html {
        scroll-behavior: auto;
    }
}

/* ─── Responsive ─── */

@media (max-width: 1024px) {
    .flow-visualization {
        flex-direction: column;
        min-width: auto;
        gap: 16px;
    }

    .flow-connector {
        transform: rotate(90deg);
        padding: 16px 0;
    }

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

    .demo-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .demo-sequence {
        display: inline-block;
        text-align: left;
    }

    .pricing-card.featured {
        transform: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-cta {
        flex-direction: column;
    }

    .channels-grid,
    .features-grid,
    .applications-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .schematic-step {
        flex-direction: column;
        text-align: center;
    }

    .step-marker {
        margin: 0 auto;
    }

    .step-connector {
        display: none;
    }

    .action-buttons {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        gap: 48px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 40px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-frame {
        padding: 40px 24px;
    }
}
