/* PEAK Design System - Professional Dark Theme */
:root {
    --bg-app: var(--peak-bg, #121212);
    --bg-panel: var(--peak-bg-surface, #1e1e1e);
    --bg-card: var(--peak-bg-surface, #1c1c1c);
    --bg-header: var(--peak-bg-elevated, #2a2a2a);

    --border-subtle: var(--peak-border-subtle, #2a2a2a);
    --border-highlight: var(--peak-border-strong, #4a4a4a);

    --accent-primary: var(--peak-red, #d90037);
    --accent-glow: var(--peak-red-glow, rgba(217, 0, 55, 0.25));

    --status-green: var(--peak-success, #2ecc71);
    --status-blue: var(--peak-info, #3498db);
    --status-orange: var(--peak-warning, #f39c12);

    --text-primary: var(--peak-text-primary, #ffffff);
    --text-secondary: var(--peak-text-secondary, #b0b0b0);
    --text-tertiary: var(--peak-text-tertiary, #888888);

    --font-main: var(--peak-font-sans, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif);
    --font-mono: var(--peak-font-mono, 'JetBrains Mono', 'SF Mono', Consolas, monospace);

    --shadow-card: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-depth: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-app);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;

    /* Mining/Tech Background Pattern */
    background-image:
        radial-gradient(circle at 15% 50%, rgba(217, 0, 55, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 30%, rgba(33, 150, 243, 0.06) 0%, transparent 40%),
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 50px 50px, 50px 50px;
    background-attachment: fixed;
}

.container {
    max-width: 1000px;
    /* Matching app's constraint feel */
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

/* --- Navigation --- */
.navbar {
    height: 70px;
    background-color: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

.navbar .container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--accent-primary), #a00028);
    border-radius: 4px;
    box-shadow: 0 0 10px var(--accent-glow);
    position: relative;
    overflow: hidden;
}

/* Subtle inner shine for the logo */
.logo-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }

    20% {
        transform: translateX(100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

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

.nav-link {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    color: #fff;
}

/* --- Hero Section --- */
.hero {
    padding-top: 140px;
    /* Reduced top padding */
    padding-bottom: 100px;
    position: relative;
    /* Removed solid gradient to let body pattern show, added subtle overlay */
    background: linear-gradient(to bottom, rgba(18, 18, 18, 0.3) 0%, var(--bg-app) 100%);
    overflow: hidden;
}

/* "PEAK" / Profit Graph Graphic Background */
.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 60%;
    background: repeating-linear-gradient(45deg,
            transparent,
            transparent 10px,
            rgba(217, 0, 55, 0.03) 10px,
            rgba(217, 0, 55, 0.03) 20px);
    mask-image: linear-gradient(to top, black, transparent);
    -webkit-mask-image: linear-gradient(to top, black, transparent);
    pointer-events: none;
    z-index: -1;
}

/* Stylized Chart Line */
.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 150px;
    background:
        linear-gradient(to right, transparent 0%, rgba(217, 0, 55, 0.1) 40%, rgba(33, 150, 243, 0.1) 60%, transparent 100%);
    clip-path: polygon(0% 100%,
            10% 80%,
            25% 90%,
            40% 60%,
            55% 70%,
            70% 30%,
            85% 50%,
            100% 0%,
            100% 100%);
    pointer-events: none;
    filter: blur(8px);
    z-index: -1;
}

/* Hero Layout Grid */
.hero-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
    text-align: left;
    max-width: 600px;
    z-index: 10;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 300;
    letter-spacing: -1px;
    margin-bottom: 24px;
    color: #fff;
    line-height: 1.1;
}

.hero h1 span {
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, #aaa 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtext {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 400;
    max-width: 90%;
    line-height: 1.6;
}

/* Hero Visual - Dashboard Replica */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
    z-index: 10;
}

/* Mock Window Container */
.mock-window {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    width: 340px;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.mock-window:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.glow-effect::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(102, 187, 106, 0.1), transparent 60%);
    pointer-events: none;
    z-index: -1;
}

/* Window Bar (Mac Style) */
.window-bar {
    background: #252525;
    padding: 12px 16px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.window-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red {
    background: #ff5f56;
}

.dot-yellow {
    background: #ffbd2e;
}

.dot-green {
    background: #27c93f;
}

/* Dashboard Replica Content */
.dashboard-replica {
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    background: #121212;
    /* Match app bg */
}

/* Status Badges */
.status-row {
    display: flex;
    gap: 10px;
}

.app-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.05);
    color: #888;
    border: 1px solid rgba(255, 255, 255, 0.05);
    letter-spacing: 0.5px;
}

.app-badge.badge-running {
    background: rgba(76, 175, 80, 0.1);
    color: #66bb6a;
    border-color: rgba(76, 175, 80, 0.3);
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.1);
}

/* Control Ring */
.control-ring-wrapper {
    position: relative;
    width: 150px;
    /* Match new app size */
    height: 150px;
}

.control-btn {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #2a2a2a 0%, #121212 100%);
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.6),
        inset 0 1px 1px rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.ring-svg {
    position: absolute;
    top: -5px;
    left: -5px;
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    transform: rotate(-90deg);
}

.ring-track {
    fill: none;
    stroke: rgba(255, 255, 255, 0.03);
    stroke-width: 6;
}

.ring-progress {
    fill: none;
    stroke: #66bb6a;
    /* App Green */
    stroke-width: 6;
    stroke-dasharray: 630;
    /* Full circle approx */
    stroke-dashoffset: 100;
    /* Partial progress */
    stroke-linecap: round;
    filter: drop-shadow(0 0 6px rgba(102, 187, 106, 0.4));
    animation: ring-pulse 3s infinite alternate;
}

@keyframes ring-pulse {
    0% {
        filter: drop-shadow(0 0 4px rgba(102, 187, 106, 0.3));
        stroke-opacity: 0.9;
    }

    100% {
        filter: drop-shadow(0 0 10px rgba(102, 187, 106, 0.6));
        stroke-opacity: 1;
    }
}

.control-icon {
    width: 48px;
    height: 48px;
    fill: #fff;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
    z-index: 2;
}

/* Dashboard Summary Card (New Design) */
.dashboard-summary-card {
    display: flex;
    gap: 15px;
    width: 100%;
    max-width: 500px;
    margin-top: 10px;
}

.dashboard-summary-card .stat-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 0;
    min-width: 0;
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dashboard-summary-card .stat-row h2 {
    margin: 0 0 8px 0;
    font-size: 0.7rem;
    /* Smaller for landing page scale */
    color: #888;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.revenue-display {
    font-size: 1.4rem;
    /* Adjusted for landing page scale */
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.5px;
    text-align: center;
    width: 100%;
}

.revenue-period {
    font-size: 0.8rem;
    color: #666;
    margin-left: 2px;
    font-weight: normal;
}

/* Neon Earnings Style */
.earnings-pill {
    background: transparent;
    color: #2ecc71;
    padding: 0;
    border-radius: 0;
    font-family: inherit;
    font-weight: 600;
    font-size: 1.4rem;
    /* Adjusted for landing page scale */
    font-variant-numeric: tabular-nums;
    border: none;
    box-shadow: none;
    white-space: nowrap;
    display: inline-block;
    text-shadow: 0 0 15px rgba(46, 204, 113, 0.4);
}

/* Main CTA Button - Mimicking Dashboard Control Button */
.cta-button-wrapper {
    display: inline-flex;
    position: relative;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.03);
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-cta {
    background: linear-gradient(135deg, var(--accent-primary), #990025);
    color: #fff;
    padding: 14px 36px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px var(--accent-glow);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--accent-glow);
}

.btn-cta svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* --- Platform Stats Section --- */
.stats-section {
    padding: 60px 0;
    background: linear-gradient(180deg, var(--bg-app) 0%, rgba(30, 30, 30, 0.5) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-highlight);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 300;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #fff 0%, #ccc 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-tertiary);
    font-weight: 600;
}

/* Responsive adjustments for stats */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-card {
        padding: 20px 15px;
    }

    .stat-number {
        font-size: 2rem;
    }
}

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

/* --- Features Grid --- */
.features-section {
    padding: 80px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-tertiary);
    font-weight: 700;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

/* Feature Card - Styled like App Device Cards */
.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-card);
    position: relative;
}

/* Tech/Mining Accent Line */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-highlight), transparent);
    opacity: 0.5;
    transition: opacity 0.3s;
}

.card:hover {
    border-color: var(--border-highlight);
    transform: translateY(-4px);
    box-shadow: var(--shadow-depth);
    background-color: #2a2a2a;
}

.card:hover::before {
    opacity: 1;
    background: linear-gradient(90deg, var(--accent-primary), var(--status-blue));
    height: 2px;
}

.card-header {
    padding: 16px 20px;
    background-color: var(--bg-header);
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #e0e0e0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.badge-active {
    background: rgba(76, 175, 80, 0.1);
    color: var(--status-green);
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.badge-blue {
    background: rgba(33, 150, 243, 0.1);
    color: var(--status-blue);
    border: 1px solid rgba(33, 150, 243, 0.2);
}

.badge-orange {
    background: rgba(255, 152, 0, 0.1);
    color: var(--status-orange);
    border: 1px solid rgba(255, 152, 0, 0.2);
}

.card-body {
    padding: 20px;
}

.card-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* --- Feature Visuals (App Replicas) --- */
.feature-visual-wrapper {
    margin-bottom: 20px;
    /* Ensure the wrapper doesn't clip shadows */
    padding: 5px;
}

/* Small Mock Window Variant */
.mock-window.small {
    width: 100%;
    border-radius: 6px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.08);
    transform: none;
    /* Keep flat for cards */
    background: #1e1e1e;
    /* Match panel bg */
}

.mock-window.small:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.15);
}

.window-bar.small {
    padding: 8px 12px;
    gap: 6px;
}

.window-bar.small .window-dot {
    width: 8px;
    height: 8px;
}

/* Replica 1: Device Card */
.device-card-replica {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.replica-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 10px;
}

.replica-title {
    font-weight: 700;
    color: #e0e0e0;
    font-size: 0.9em;
}

.replica-badge {
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7em;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-mining {
    background: rgba(76, 175, 80, 0.15);
    color: var(--status-green);
}

.replica-activity {
    display: flex;
    justify-content: space-between;
}

.replica-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rep-label {
    font-size: 0.65em;
    color: #777;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.rep-val {
    font-size: 0.85em;
    color: #ccc;
    font-family: var(--font-mono);
}

/* Replica 2: Benchmark List */
.benchmark-replica {
    padding: 0;
    display: flex;
    flex-direction: column;
}

.bench-row {
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

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

.bench-algo {
    font-size: 0.8em;
    color: #aaa;
    font-weight: 500;
}

.bench-val {
    font-size: 0.8em;
    color: #fff;
    font-family: var(--font-mono);
}

.active-bench {
    background: rgba(52, 152, 219, 0.1);
}

.bench-status {
    font-size: 0.75em;
    color: var(--status-blue);
    font-style: italic;
}

/* Replica 3: Log Viewer */
.log-replica {
    padding: 12px;
    background: #151515;
    font-family: var(--font-mono);
    font-size: 0.7em;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.log-line {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #ccc;
}

.log-time {
    color: #555;
    margin-right: 6px;
}

.log-info {
    color: #bbb;
}

.log-ms {
    color: var(--status-blue);
    margin-left: 6px;
}

/* Replica 4: Wallet Config */
.wallet-replica {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wallet-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wallet-label {
    font-size: 0.7em;
    font-weight: 700;
    color: #888;
}

.wallet-input-mock {
    background: #111;
    border: 1px solid #333;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.75em;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 140px;
    justify-content: space-between;
}

.wallet-check {
    color: var(--status-green);
}

.toggle-mock {
    width: 32px;
    height: 18px;
    background: #333;
    border-radius: 9px;
    position: relative;
}

.toggle-mock.active {
    background: var(--status-green);
}

.toggle-mock::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    transition: left 0.2s;
}

.toggle-mock.active::after {
    left: 16px;
}

/* Replica 5: Plugin Manager */
.plugin-replica {
    padding: 0;
    display: flex;
    flex-direction: column;
}

.plugin-item-mock {
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.plugin-item-mock:last-child {
    border-bottom: none;
}

.plugin-info {
    display: flex;
    flex-direction: column;
}

.plugin-name {
    font-weight: 700;
    font-size: 0.85em;
    color: #e0e0e0;
}

.plugin-ver {
    font-size: 0.7em;
    color: #777;
    font-family: var(--font-mono);
}

.plugin-status {
    font-size: 0.7em;
    padding: 2px 6px;
    border-radius: 4px;
    background: #2a2a2a;
    color: #aaa;
}

.plugin-status.update {
    background: rgba(33, 150, 243, 0.15);
    color: var(--status-blue);
    font-weight: 600;
}

/* Replica 6: Security Status */
.security-replica {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sec-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.02);
    padding: 8px;
    border-radius: 6px;
}

.sec-icon {
    font-size: 1.2em;
}

.sec-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sec-title {
    font-size: 0.8em;
    font-weight: 600;
    color: #ddd;
}

.sec-status {
    font-size: 0.65em;
    color: #777;
    font-family: var(--font-mono);
}

.sec-check {
    color: var(--status-green);
    font-weight: 700;
}

/* Metrics - Monospace Technical Look */
.metric-row {
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.metric-label {
    color: var(--text-tertiary);
    text-transform: uppercase;
}

.metric-value {
    color: var(--text-primary);
    font-weight: 600;
}

.val-green {
    color: var(--status-green);
}

.val-blue {
    color: var(--status-blue);
}

/* --- Footer --- */
.footer {
    padding: 40px 0;
    text-align: center;
    color: var(--text-tertiary);
    font-size: 0.85rem;
    border-top: 1px solid var(--border-subtle);
    margin-top: 60px;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-layout {
        flex-direction: column;
        text-align: center;
        gap: 60px;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-subtext {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-visual {
        justify-content: center;
        width: 100%;
    }

    .mock-card {
        transform: none;
        /* Remove 3D effect on mobile for cleaner look */
    }
}

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

    .nav-links {
        display: none;
    }
}

/* ============================================================
   Work Schedule Replica (from Settings.css)
   ============================================================ */
.schedule-replica {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #181818;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.timeline-bar-wrap {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.timeline-bar {
    position: relative;
    width: 100%;
    height: 20px;
    background: #1e1e1e;
    border: 1px solid #303030;
    border-radius: 5px;
    overflow: hidden;
}

.timeline-segment {
    position: absolute;
    top: 2px;
    height: calc(100% - 4px);
    background: var(--accent-primary);
    opacity: 0.85;
    border-radius: 3px;
}

.timeline-bar-labels {
    display: flex;
    justify-content: space-between;
    padding: 0 1px;
}

.timeline-bar-labels span {
    font-size: 0.62em;
    color: #555;
    font-family: var(--font-mono);
    user-select: none;
}

.timeline-legend-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.72em;
    color: #777;
    margin-top: 2px;
}

.timeline-legend-active,
.timeline-legend-idle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.legend-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.legend-dot.active {
    background: var(--accent-primary);
    box-shadow: 0 0 5px var(--accent-glow);
}

.legend-dot.idle {
    background: #444;
}

.timeline-legend-hint {
    margin-left: auto;
    color: #555;
    font-size: 0.85em;
}

/* Schedule Rule Card Replica (from Settings.css) */
.schedule-rule-card {
    background: #222;
    border: 1px solid #2e2e2e;
    border-radius: 8px;
    overflow: hidden;
    text-align: left;
}

.rule-card-peek {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

.rule-index {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #333;
    color: #aaa;
    font-size: 0.7em;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rule-summary {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    overflow: hidden;
    min-width: 0;
}

.rule-summary-days {
    color: #ddd;
    font-size: 0.82em;
    font-weight: 600;
    white-space: nowrap;
}

.rule-summary-sep {
    color: #555;
    font-size: 0.8em;
    flex-shrink: 0;
}

.rule-summary-time {
    color: #aaa;
    font-size: 0.78em;
    font-family: var(--font-mono);
    white-space: nowrap;
}

.rule-summary-dur {
    color: #777;
    font-size: 0.74em;
    font-family: var(--font-mono);
    white-space: nowrap;
}

.schedule-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.74rem;
    color: var(--text-tertiary);
    padding: 0 2px;
}

.schedule-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.schedule-meta-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--status-green);
    box-shadow: 0 0 5px rgba(46, 204, 113, 0.4);
}

/* ============================================================
   Two-Tier Fintech Payout Ticket (from Wallets.css)
   ============================================================ */
.payout-summary-card {
    background: #1a1a1a;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    box-shadow: var(--shadow-card);
}

.payout-summary-body {
    padding: 16px 20px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.payout-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    font-size: 0.88rem;
    line-height: 1.4;
}

.payout-summary-label {
    color: var(--text-secondary);
    font-weight: 500;
    flex-shrink: 0;
}

.payout-summary-val-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1px;
}

.payout-summary-crypto-wrap {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
}

.payout-summary-num {
    font-size: 0.88rem;
    color: var(--text-primary);
    font-weight: 500;
}

.payout-summary-num.text-muted {
    color: var(--text-tertiary);
}

.payout-summary-coin {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-tertiary);
}

.payout-summary-fiat {
    font-size: 0.72rem;
    color: var(--text-tertiary);
    font-family: var(--font-mono);
}

.payout-summary-row.payout-total-deducted-row {
    border-top: 1px dashed var(--border-highlight);
    padding-top: 10px;
    margin-top: 2px;
}

.payout-summary-row.payout-total-deducted-row .payout-summary-label,
.payout-summary-row.payout-total-deducted-row .payout-summary-num {
    color: var(--text-primary);
    font-weight: 600;
}

.payout-summary-total {
    background: rgba(46, 204, 113, 0.08);
    border-top: 1px solid rgba(46, 204, 113, 0.25);
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

.payout-total-label-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.payout-total-icon {
    color: var(--status-green);
    display: flex;
    align-items: center;
}

.payout-total-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--status-green);
}

.payout-total-val-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.payout-total-crypto-wrap {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
}

.payout-total-amount {
    font-size: 1rem;
    font-weight: 700;
    color: var(--status-green);
}

.payout-total-fiat {
    font-size: 0.75rem;
    color: rgba(46, 204, 113, 0.85);
    font-family: var(--font-mono);
}

/* ============================================================
   Economics Section & Two-Column Grid
   ============================================================ */
.economics-section {
    padding: 90px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.economics-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    align-items: center;
    margin-top: 40px;
}

.econ-points {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.econ-point {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.econ-point-num {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-primary);
    background: rgba(217, 0, 55, 0.1);
    border: 1px solid rgba(217, 0, 55, 0.25);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.econ-point-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
}

.econ-point-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================================
   Comparison Table (styled to match media_1789617962523.png)
   ============================================================ */
.comparison-section {
    padding: 90px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #181818;
    box-shadow: var(--shadow-depth);
    margin-top: 40px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 820px;
}

.comparison-table th {
    padding: 18px 20px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    color: var(--text-tertiary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: #141414;
}

.comparison-table th.col-peak {
    color: #ffffff;
    background: rgba(217, 0, 55, 0.14);
    border-top: 2px solid var(--accent-primary);
    border-left: 1px solid rgba(217, 0, 55, 0.2);
    border-right: 1px solid rgba(217, 0, 55, 0.2);
}

.comparison-table td {
    padding: 18px 20px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    vertical-align: middle;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table td.col-metric {
    font-weight: 600;
    color: #ffffff;
    width: 22%;
}

.comparison-table td.col-peak {
    background: rgba(217, 0, 55, 0.06);
    color: var(--status-green);
    font-weight: 700;
    border-left: 1px solid rgba(217, 0, 55, 0.2);
    border-right: 1px solid rgba(217, 0, 55, 0.2);
    width: 22%;
}

.comparison-table td.col-competitor {
    color: #999;
    font-size: 0.84rem;
    width: 18.6%;
}

.comparison-table tr:hover td {
    background-color: rgba(255, 255, 255, 0.015);
}

.comparison-table tr:hover td.col-peak {
    background-color: rgba(217, 0, 55, 0.1);
}

/* ============================================================
   Supported Coins Section
   ============================================================ */
.coins-section {
    padding: 90px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.coins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin-top: 40px;
}

.coin-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-card);
}

.coin-card:hover {
    border-color: var(--border-highlight);
    transform: translateY(-2px);
    box-shadow: var(--shadow-depth);
    background: #232323;
}

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

.coin-identity {
    display: flex;
    align-items: center;
    gap: 12px;
}

.coin-icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    background: #141414;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.coin-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.coin-fallback-text {
    font-weight: 700;
    font-size: 0.72rem;
    color: #bbb;
    font-family: var(--font-mono);
}

.coin-names {
    display: flex;
    flex-direction: column;
}

.coin-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #ffffff;
}

.coin-ticker {
    font-size: 0.72rem;
    color: var(--text-tertiary);
    font-family: var(--font-mono);
}

.coin-badge {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-gpu {
    background: rgba(33, 150, 243, 0.1);
    color: var(--status-blue);
    border: 1px solid rgba(33, 150, 243, 0.25);
}

.badge-cpu {
    background: rgba(255, 152, 0, 0.1);
    color: var(--status-orange);
    border: 1px solid rgba(255, 152, 0, 0.25);
}

.coin-card-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.8rem;
}

.coin-detail-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.coin-detail-label {
    font-size: 0.65rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.coin-detail-val {
    color: #dedede;
    font-family: var(--font-mono);
}

/* ============================================================
   FAQ Section (styled to match media_1789618192983.png)
   ============================================================ */
.faq-section {
    padding: 90px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 860px;
    margin: 40px auto 0;
}

.faq-item {
    background: #181818;
    border: 1px solid #282828;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.faq-item:hover {
    border-color: #383838;
}

.faq-item[open] {
    border-color: rgba(217, 0, 55, 0.4);
    background: #1a1a1a;
}

.faq-question {
    list-style: none;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 0.98rem;
    font-weight: 600;
    color: #e5e5e5;
    user-select: none;
}

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

.faq-toggle-icon {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--accent-primary);
    transition: transform 0.2s ease;
    line-height: 1;
    margin-left: 16px;
    flex-shrink: 0;
}

.faq-item[open] .faq-toggle-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px 22px;
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

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