/* ============================================
   PREDICTINGAPI – PREDICTION MARKET ANALYTICS
   ============================================ */

:root {
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --black: #030712;

    --accent: #f97316;
    --accent-light: #fb923c;
    --accent-dark: #ea580c;
    --accent-pale: #fff7ed;

    --success: #10b981;
    --error: #ef4444;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Georgia', 'Times New Roman', serif;
    --font-mono: 'SF Mono', 'Fira Code', monospace;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.15);

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-snap-type: y proximity;
}

body {
    font-family: var(--font-sans);
    background: var(--white);
    color: var(--gray-700);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--accent);
    color: var(--white);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 2rem;
    transition: all 0.3s var(--ease);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--gray-900);
    font-weight: 600;
    font-size: 1.125rem;
}

.brand-icon {
    width: 28px;
    height: 28px;
    color: var(--accent);
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-menu a {
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s var(--ease);
}

.nav-menu a:hover {
    color: var(--gray-900);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link-login {
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
}

.nav-btn {
    padding: 0.625rem 1.25rem;
    background: var(--gray-900);
    color: var(--white);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s var(--ease);
}

.nav-btn:hover {
    background: var(--black);
    transform: translateY(-1px);
}

/* ============================================
   SECTIONS (Common)
   ============================================ */

.section {
    min-height: 100vh;
    padding: 8rem 2rem;
    scroll-snap-align: start;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--gray-500);
    max-width: 500px;
    line-height: 1.7;
}

/* ============================================
   HERO SECTION
   ============================================ */

.section-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 10rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 700px;
    margin-bottom: 4rem;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--accent-pale);
    color: var(--accent-dark);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    border-radius: 100px;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.6s var(--ease-out);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 400;
    color: var(--gray-900);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s var(--ease-out);
}

.hero-title .highlight {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--gray-500);
    max-width: 500px;
    margin: 0 auto 2rem;
    line-height: 1.7;
    animation: fadeInUp 0.8s var(--ease-out) 0.1s both;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s var(--ease);
    border: none;
    cursor: pointer;
}

.btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s var(--ease);
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-ghost {
    background: transparent;
    color: var(--gray-600);
    border: 1px solid var(--gray-200);
}

.btn-ghost:hover {
    border-color: var(--gray-300);
    color: var(--gray-900);
}

/* Hero Graphic */
.hero-graphic {
    width: 100%;
    max-width: 700px;
    animation: fadeIn 1s var(--ease-out) 0.4s both;
}

.data-flow {
    width: 100%;
    height: auto;
}

.flow-line {
    stroke: var(--gray-200);
    stroke-width: 2;
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: drawLine 1.5s var(--ease-out) forwards;
}

.line-1 { animation-delay: 0.5s; }
.line-2 { animation-delay: 0.6s; }
.line-3 { animation-delay: 0.7s; }
.line-4 { animation-delay: 0.8s; }
.line-5 { animation-delay: 0.9s; }
.line-6 { animation-delay: 1s; }

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

.node rect,
.node circle {
    fill: var(--gray-50);
    stroke: var(--gray-200);
    stroke-width: 1.5;
    transition: all 0.3s var(--ease);
}

.node:hover rect,
.node:hover circle {
    fill: var(--accent-pale);
    stroke: var(--accent);
}

.node text {
    font-family: var(--font-mono);
    font-size: 12px;
    fill: var(--gray-600);
}

.hub circle {
    fill: var(--accent);
    stroke: none;
}

.hub-text {
    fill: var(--white);
    font-weight: 600;
}

.data-point {
    fill: var(--accent);
    opacity: 0;
}

.point-1 { animation: flowPoint 3s linear infinite 0s; }
.point-2 { animation: flowPoint 3s linear infinite 0.5s; }
.point-3 { animation: flowPoint 3s linear infinite 1s; }
.point-4 { animation: flowPoint2 3s linear infinite 0.2s; }
.point-5 { animation: flowPoint2 3s linear infinite 0.7s; }
.point-6 { animation: flowPoint2 3s linear infinite 1.2s; }

@keyframes flowPoint {
    0% { opacity: 0; transform: translate(100px, 200px); }
    10% { opacity: 1; }
    50% { opacity: 1; transform: translate(300px, 200px); }
    90% { opacity: 1; }
    100% { opacity: 0; transform: translate(500px, 200px); }
}

@keyframes flowPoint2 {
    0% { opacity: 0; transform: translate(300px, 200px); }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 0; transform: translate(500px, 80px); }
}

/* Scroll Hint */
.scroll-hint {
    position: absolute;
    bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-400);
    font-size: 0.75rem;
    animation: fadeInUp 0.8s var(--ease-out) 1s both;
}

.scroll-arrow {
    width: 20px;
    height: 30px;
    border: 2px solid var(--gray-300);
    border-radius: 10px;
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scrollBounce 1.5s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(8px); opacity: 0.5; }
}

/* ============================================
   PLATFORM SECTION
   ============================================ */

.section-platform {
    background: var(--gray-50);
}

.section-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 6rem;
    align-items: start;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-row {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--gray-100);
    transition: all 0.3s var(--ease);
}

.feature-row:hover {
    border-color: var(--accent-pale);
    box-shadow: var(--shadow-md);
    transform: translateX(8px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-pale);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.feature-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.feature-content p {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ============================================
   METRICS SECTION
   ============================================ */

.section-metrics {
    background: var(--white);
    text-align: center;
}

.metrics-header {
    text-align: center;
    margin-bottom: 4rem;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto 4rem;
}

.metric-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.metric-chart {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
}

.chart-ring {
    transform: rotate(-90deg);
}

.ring-bg {
    fill: none;
    stroke: var(--gray-100);
    stroke-width: 8;
}

.ring-fill {
    fill: none;
    stroke: var(--accent);
    stroke-width: 8;
    stroke-linecap: round;
    transition: stroke-dashoffset 1.5s var(--ease-out);
}

.chart-value,
.chart-unit {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 700;
}

.chart-value {
    top: 42px;
    font-size: 1.75rem;
    color: var(--gray-900);
}

.chart-unit {
    top: 70px;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.metric-number {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.number-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gray-900);
}

.number-unit {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-400);
}

.metric-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.metric-desc {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* Activity Graph */
.activity-graph {
    max-width: 800px;
    margin: 0 auto;
    background: var(--gray-50);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--gray-100);
}

.graph-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.graph-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
}

.graph-live {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--success);
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.graph-container {
    position: relative;
    height: 150px;
}

.line-graph {
    width: 100%;
    height: 100%;
}

.graph-line {
    stroke: var(--accent);
}

.graph-area {
    opacity: 0.5;
}

.graph-labels {
    display: flex;
    justify-content: space-between;
    padding-top: 0.5rem;
    font-size: 0.7rem;
    color: var(--gray-400);
}

/* ============================================
   PRICING SECTION
   ============================================ */

.section-pricing {
    background: var(--gray-50);
}

.pricing-header {
    text-align: center;
    margin-bottom: 4rem;
}

.pricing-header .section-desc {
    max-width: 100%;
}

.pricing-table-wrapper {
    max-width: 900px;
    margin: 0 auto;
    overflow: visible;
    padding-top: 1.5rem;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 16px;
    overflow: visible;
    box-shadow: var(--shadow-lg);
}

.pricing-table th,
.pricing-table td {
    padding: 1.25rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--gray-100);
}

.pricing-table th {
    background: var(--gray-50);
    vertical-align: top;
    padding: 2rem 1.5rem;
    position: relative;
}

.pricing-table th.feature-col {
    text-align: left;
    background: var(--white);
    width: 200px;
}

.pricing-table th.highlighted {
    background: var(--accent);
    position: relative;
}

.pricing-table td.highlighted {
    background: var(--accent-pale);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.25rem 0.75rem;
    background: var(--white);
    color: var(--accent);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 100px;
    box-shadow: var(--shadow-sm);
}

.plan-name {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.highlighted .plan-name {
    color: var(--white);
}

.plan-price {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
}

.highlighted .plan-price {
    color: var(--white);
}

.plan-price small {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--gray-500);
}

.highlighted .plan-price small {
    color: rgba(255,255,255,0.8);
}

.pricing-table td {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.pricing-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--gray-700);
}

.check-yes {
    color: var(--success);
    font-weight: bold;
}

.check-no {
    color: var(--gray-300);
}

.cta-row td {
    padding: 1.5rem;
    border-bottom: none;
}

.table-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--white);
    color: var(--gray-700);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    transition: all 0.2s var(--ease);
}

.table-btn:hover {
    border-color: var(--gray-300);
    color: var(--gray-900);
}

.table-btn.primary {
    background: var(--gray-900);
    color: var(--white);
    border-color: var(--gray-900);
}

.table-btn.primary:hover {
    background: var(--black);
}

/* ============================================
   X402 SECTION
   ============================================ */

.section-x402 {
    background: var(--gray-900);
    color: var(--white);
}

.section-x402 .section-label {
    color: var(--accent-light);
}

.section-x402 .section-title {
    color: var(--white);
}

.section-x402 .section-desc {
    color: var(--gray-400);
}

.x402-layout {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: center;
}

.x402-highlights {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

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

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

.highlight-label {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.x402-content .btn-primary {
    margin-top: 1rem;
}

/* X402 Diagram */
.x402-diagram {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.diagram-step {
    text-align: center;
}

.step-marker {
    width: 32px;
    height: 32px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    margin: 0 auto 0.75rem;
}

.step-box {
    padding: 1rem 1.25rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    min-width: 140px;
}

.step-label {
    display: block;
    font-size: 0.7rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.step-box code {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-light);
}

.diagram-arrow {
    color: var(--gray-600);
    font-size: 1.25rem;
}

/* ============================================
   TRUST SECTION
   ============================================ */

.section-trust {
    background: var(--white);
    min-height: auto;
    padding: 6rem 2rem;
    text-align: center;
}

.trust-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-500);
    margin-bottom: 2rem;
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.logo-placeholder {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-300);
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--gray-50);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-600);
}

.badge svg {
    width: 18px;
    height: 18px;
    color: var(--success);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 4rem 2rem 2rem;
    min-height: auto;
}

.footer-main {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .nav-brand {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.footer-col a {
    display: block;
    color: var(--gray-500);
    text-decoration: none;
    font-size: 0.875rem;
    padding: 0.375rem 0;
    transition: color 0.2s var(--ease);
}

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

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    font-size: 0.8rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    transition: color 0.2s var(--ease);
}

.footer-social a:hover {
    color: var(--white);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-out);
}

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

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-container {
    max-width: 1100px;
    margin: 120px auto 60px;
    padding: 0 20px;
}

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

.contact-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--gray-900);
}

.contact-subtitle {
    font-size: 1.125rem;
    color: var(--gray-500);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.contact-card {
    background: var(--white);
    padding: 32px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
}

.contact-card-icon {
    color: var(--accent);
    margin-bottom: 16px;
}

.contact-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.contact-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.contact-form h2 {
    margin-bottom: 30px;
    font-size: 1.5rem;
    font-family: var(--font-serif);
    color: var(--gray-900);
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    color: var(--gray-900);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 14px 32px;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.form-submit:hover {
    background: var(--accent-dark);
}

.form-note {
    margin-top: 16px;
    font-size: 0.75rem;
    color: var(--gray-400);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .section-grid,
    .x402-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

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

@media (max-width: 768px) {
    html {
        scroll-snap-type: none;
    }

    .section {
        padding: 4rem 1.5rem;
        min-height: auto;
    }

    .nav-menu {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

    .hero-graphic {
        display: none;
    }

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

    .pricing-table-wrapper {
        margin: 0 -1.5rem;
        padding: 0 1.5rem;
    }

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

    .contact-title {
        font-size: 2rem;
    }

    .contact-form {
        padding: 24px;
    }

    .x402-diagram {
        flex-direction: column;
    }

    .diagram-arrow {
        transform: rotate(90deg);
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
}

