/*
 * IGM Unified Stylesheet (Inter 4.1)
 * Single CSS for: homepage, demo, auth UI
 */

/* ===== Font: Inter Variable (local, v4.1) ===== */

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("/assets/v2/fonts/inter/InterVariable.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
    src: url("/assets/v2/fonts/inter/InterVariable-Italic.woff2") format("woff2");
}

/* ===== Variables ===== */

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a24;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --accent-secondary: #06b6d4;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6b6b7b;
    --border: rgba(255,255,255,0.08);
    --border-solid: #3f3f46;
    --gradient: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
}

/* ===== Reset ===== */

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

html {
    scroll-behavior: smooth;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);
}

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

a:hover {
    color: #60a5fa;
}

/* ===== Layout ===== */

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

/* ===== Navigation ===== */

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(10,10,15,0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

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

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

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

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-cta {
    background: var(--gradient);
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: opacity 0.2s;
}

.nav-cta:hover {
    opacity: 0.9;
    color: white !important;
}

/* ===== Buttons ===== */

.btn,
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    background: var(--accent);
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.15s, opacity 0.15s;
    text-decoration: none;
    font-family: inherit;
}

.btn:hover,
.btn-primary:hover {
    background-color: var(--accent-hover);
    color: #fff;
}

.btn:focus,
.btn-primary:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

/* Gradient variant for CTA buttons */
.btn-gradient {
    background: var(--gradient);
    padding: 1rem 2rem;
    border-radius: 10px;
}

.btn-gradient:hover {
    opacity: 0.9;
    background: var(--gradient);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    text-decoration: none;
    font-family: inherit;
}

.btn-secondary:hover {
    border-color: var(--accent);
    background: rgba(59,130,246,0.1);
    color: var(--text-primary);
}

.btn-block {
    width: 100%;
}

/* ===== Card ===== */

.card {
    background-color: rgba(24, 24, 27, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(63, 63, 70, 0.5);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.1),
        0 20px 25px -5px rgba(0, 0, 0, 0.25),
        0 8px 10px -6px rgba(0, 0, 0, 0.25);
}

/* ===== Centered Page Layout (auth, demo forms) ===== */

.page-centered {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background-image:
        radial-gradient(at 50% 0%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(at 100% 0%, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
}

.page-centered .container {
    width: 100%;
    max-width: 28rem;
    padding: 0;
}

.page-centered .container.wide {
    max-width: 42rem;
}

/* Select (dropdowns) */
.select {
    width: 100%;
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: #fafafa;
    background-color: rgba(9, 9, 11, 0.5);
    border: 1px solid var(--border-solid);
    border-radius: 0.5rem;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236b6b7b'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

.select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.select option {
    background: #1a1a24;
    color: #fafafa;
}

/* Inline field group (e.g. dial code + number) */
.field-group {
    display: flex;
    gap: 0.5rem;
}

.field-group .select {
    flex: 0 0 auto;
    width: auto;
    min-width: 8.5rem;
    font-size: 0.9rem;
}

/* ===== Header (within card) ===== */

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

.header .logo {
    height: 2.5rem;
    width: auto;
    margin-bottom: 1.5rem;
}

.title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fafafa;
    letter-spacing: -0.025em;
}

.subtitle {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #a1a1aa;
}

/* ===== Form Elements ===== */

.form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #d4d4d8;
}

.input {
    width: 100%;
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: #fafafa;
    background-color: rgba(9, 9, 11, 0.5);
    border: 1px solid var(--border-solid);
    border-radius: 0.5rem;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    font-family: inherit;
}

.input::placeholder {
    color: #52525b;
}

.input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* ===== Messages / Alerts ===== */

.message {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.message.error {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

.message.success {
    background-color: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #86efac;
}

.message.info {
    background-color: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #93c5fd;
}

.message.warning {
    background-color: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: #fbbf24;
}

/* ===== Links ===== */

.links {
    margin-top: 1.5rem;
    text-align: center;
}

.link {
    font-size: 0.875rem;
    color: var(--accent);
}

.link:hover {
    color: #60a5fa;
}

/* ===== Section ===== */

.section {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1rem;
    font-weight: 600;
    color: #fafafa;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-solid);
}

/* ===== Error Page ===== */

.error {
    text-align: center;
}

.error-code {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.error-message {
    font-size: 1rem;
    color: #a1a1aa;
    margin-bottom: 1.5rem;
}

/* ===== Password Toggle ===== */

.password-toggle {
    position: absolute;
    right: 1px;
    bottom: 1px;
    height: calc(2.5rem - 2px);
    width: 2.5rem;
    background-color: transparent;
    border: none;
    border-radius: 0 0.5rem 0.5rem 0;
    cursor: pointer;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-appearance: none;
    appearance: none;
}

.password-toggle:hover svg {
    stroke: #fafafa;
}

.password-toggle:focus {
    outline: none;
}

.password-toggle svg {
    width: 1.125rem;
    height: 1.125rem;
    stroke: #a1a1aa;
    fill: none;
}

/* ===== HTMX Indicators ===== */

.htmx-indicator {
    display: none;
}

.htmx-request .htmx-indicator {
    display: inline-block;
}

.htmx-request.htmx-indicator {
    display: inline-block;
}

.btn.htmx-request {
    opacity: 0.7;
    cursor: wait;
}

.spinner {
    width: 1rem;
    height: 1rem;
    margin-left: 0.5rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.btn-text {
    display: inline;
}

.htmx-request .btn-text {
    display: none;
}

.btn-loading {
    display: none;
    align-items: center;
    gap: 0.5rem;
}

.htmx-request .btn-loading {
    display: inline-flex;
}

/* ===== Product Toggle Buttons ===== */

.product-toggle {
    flex: 1;
    cursor: pointer;
}

.product-toggle input {
    display: none;
}

.product-toggle span {
    display: block;
    text-align: center;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: rgba(9, 9, 11, 0.5);
    border: 1px solid var(--border-solid);
    border-radius: 0.5rem;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.product-toggle span:hover {
    border-color: var(--accent);
    color: var(--text-primary);
}

.product-toggle input:checked + span {
    background: rgba(59, 130, 246, 0.15);
    border-color: var(--accent);
    color: var(--text-primary);
}

/* ===== Consent / Small Text ===== */

.consent {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.consent a {
    text-decoration: underline;
}

/* ===== Field Validation Error ===== */

.field-error {
    font-size: 0.8rem;
    color: #fca5a5;
    display: none;
}

/* ===== Instructions (post-submit) ===== */

.instructions {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.instructions h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.instructions ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.instructions ul li {
    margin-bottom: 0.5rem;
}

.instructions a {
    font-weight: 500;
}

.instructions hr {
    border: none;
    border-top: 1px solid var(--border-solid);
    margin: 1.25rem 0;
}

.instructions img {
    display: block;
    margin: 1rem auto;
    border-radius: 0.5rem;
}

/* ============================================================
   HOMEPAGE SECTIONS
   ============================================================ */

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/assets/v2/images/picture1-2-2000x1120.png') center/cover no-repeat;
    opacity: 0.3;
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(59,130,246,0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(6,182,212,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59,130,246,0.1);
    border: 1px solid rgba(59,130,246,0.3);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

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

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #a0a0b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    position: relative;
}

.hero-image {
    width: 100%;
    border-radius: 20px;
    border: 1px solid var(--border);
}

/* Stats */
.stats {
    padding: 4rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Products */
.products {
    padding: 6rem 0;
}

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

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: border-color 0.3s;
}

.product-card:hover {
    border-color: var(--accent);
}

.product-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(59,130,246,0.1) 0%, rgba(6,182,212,0.1) 100%);
    border-color: rgba(59,130,246,0.3);
}

.product-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.product-icon svg {
    width: 30px;
    height: 30px;
    stroke: white;
}

.product-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.product-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.product-features li::before {
    content: "";
    width: 20px;
    height: 20px;
    background: rgba(59,130,246,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%233b82f6'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
}

.product-link {
    color: var(--accent);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.2s;
}

.product-link:hover {
    gap: 0.75rem;
}

/* Verified ID Highlight */
.verified-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.verified-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.verified-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

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

.verified-text > p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.verified-list {
    list-style: none;
    margin-bottom: 2rem;
}

.verified-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.verified-list-icon {
    width: 40px;
    height: 40px;
    background: rgba(59,130,246,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.verified-list-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent);
}

.verified-list h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.verified-list p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.verified-visual {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
}

.verified-visual img {
    max-width: 100%;
    border-radius: 10px;
}

/* Features Grid */
.features {
    padding: 6rem 0;
}

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

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

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

.feature-item h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* CTA */
.cta {
    padding: 6rem 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(ellipse at center, rgba(59,130,246,0.2) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* ===== Footer ===== */

footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1rem;
    max-width: 300px;
}

.footer-links h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: block;
    padding: 0.3rem 0;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.85rem;
}

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

.social-links a {
    color: var(--text-muted);
}

.social-links a:hover {
    color: var(--accent);
}

/* ===== Documentation Page ===== */

.page-doc {
    min-height: 100vh;
    padding: 3rem 1rem;
    background-image:
        radial-gradient(at 50% 0%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(at 100% 0%, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
}

.page-doc .container {
    max-width: 52rem;
    padding: 0;
}

.page-doc h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fafafa;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-solid);
}

.page-doc h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #d4d4d8;
    margin: 1.5rem 0 0.75rem;
}

.page-doc p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.page-doc ul {
    margin: 0.75rem 0;
    padding-left: 1.5rem;
}

.page-doc li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.page-doc code {
    background: rgba(59, 130, 246, 0.1);
    color: #93c5fd;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

.code-block {
    background: rgba(9, 9, 11, 0.8);
    border: 1px solid var(--border-solid);
    color: #e2e8f0;
    padding: 1rem;
    border-radius: 0.5rem;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.85rem;
    position: relative;
    overflow-x: auto;
    margin: 0.75rem 0;
    line-height: 1.6;
}

.code-block pre {
    margin: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    white-space: pre;
    overflow-x: auto;
}

.copy-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: var(--bg-card);
    color: var(--text-muted);
    border: 1px solid var(--border-solid);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.15s, border-color 0.15s;
}

.copy-btn:hover {
    color: var(--text-primary);
    border-color: var(--accent);
}

.options-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.75rem 0;
    border: 1px solid var(--border-solid);
    border-radius: 0.5rem;
    overflow: hidden;
    font-size: 0.85rem;
}

.options-table th {
    background: var(--bg-card);
    padding: 0.75rem;
    text-align: left;
    color: #d4d4d8;
    font-weight: 600;
    border-bottom: 1px solid var(--border-solid);
}

.options-table td {
    padding: 0.75rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

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

/* ===== Responsive ===== */

@media (max-width: 1024px) {
    .hero-content,
    .verified-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero p {
        margin: 0 auto 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

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

    .product-card.featured {
        grid-column: span 1;
    }

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

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

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

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

    .nav-links {
        display: none;
    }

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

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

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

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

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

    .page-centered .container {
        max-width: 100%;
        padding: 0 1rem;
    }
}
