@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── Root Variables ────────────────────────────────────── */
:root {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --accent: #a78bfa;
    --green: #22c55e;
    --bg: #0a0a0f;
    --bg-2: #0f0f1a;
    --card-bg: rgba(255, 255, 255, 0.04);
    --card-border: rgba(255, 255, 255, 0.08);
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.15);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
    --radius: 16px;
    --radius-lg: 24px;

    /* Aliases for backward-compatible CSS variables */
    --border: rgba(255, 255, 255, 0.08);
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    --text-light: #f1f5f9;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ── Layout ─────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

main { flex: 1; }

/* ── Navbar ─────────────────────────────────────────────── */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    gap: 1rem;
    position: relative;
}

.brand {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
    z-index: 2;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0.25rem;
    flex-wrap: nowrap;
}

.nav-links li a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}

.nav-links li a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.nav-links .btn {
    padding: 0.45rem 1.1rem;
    font-size: 0.875rem;
    margin-left: 0.25rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--card-border);
    color: var(--text);
    font-size: 1.1rem;
    padding: 0.45rem 0.65rem;
    border-radius: 8px;
    cursor: pointer;
    z-index: 2;
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s;
}

.menu-toggle:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.15);
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.4rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--card-border);
}

.btn-ghost:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 0.85rem 2rem;
    font-size: 1rem;
    border-radius: 12px;
}

/* ── Eyebrow Labels ──────────────────────────────────────── */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.25);
    padding: 0.3rem 0.9rem;
    border-radius: 100px;
    margin-bottom: 1.25rem;
}

/* ── Hero Section ─────────────────────────────────────────── */
.hero {
    position: relative;
    padding: 7rem 0 5rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(99, 102, 241, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 80% 60%, rgba(167, 139, 250, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

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

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.04em;
    color: #fff;
    margin-bottom: 1.25rem;
}

.hero-content h1 span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content > p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 480px;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero-proof {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    flex-wrap: wrap;
}

.hero-proof strong {
    color: var(--text);
}

.avatar-stack {
    display: flex;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: 2px solid var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 700;
    color: white;
    margin-left: -8px;
}

.avatar:first-child { margin-left: 0; }

/* ── Hero Visual ─────────────────────────────────────────── */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
}

.dashboard-preview {
    width: 100%;
    background: rgba(15, 15, 26, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.05);
    position: relative;
    overflow: hidden;
}

.dashboard-preview::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99,102,241,0.6), transparent);
}

.dash-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.dash-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dash-dot:nth-child(1) { background: #ff5f57; }
.dash-dot:nth-child(2) { background: #febc2e; }
.dash-dot:nth-child(3) { background: #28c840; }

.dash-title {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--text-dim);
    font-weight: 500;
}

.dash-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.dash-stat {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 0.875rem;
    text-align: center;
    opacity: 0;
    animation: dashStatIn 0.5s ease forwards;
}
.dash-stat:nth-child(1) { animation-delay: 0.15s; }
.dash-stat:nth-child(2) { animation-delay: 0.30s; }
.dash-stat:nth-child(3) { animation-delay: 0.45s; }

@keyframes dashStatIn {
    from { opacity: 0; transform: translateY(10px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0)   scale(1); }
}

.dash-stat-value {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    display: block;
}

.dash-stat-label {
    font-size: 0.68rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dash-chart {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 1rem;
    height: 80px;
    display: flex;
    align-items: flex-end;
    gap: 6px;
    overflow: hidden;
}

.dash-bar {
    flex: 1;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(180deg, var(--primary) 0%, rgba(99,102,241,0.3) 100%);
    animation: barGrow 1s ease forwards;
    transform-origin: bottom;
}

@keyframes barGrow {
    from { transform: scaleY(0); }
    to   { transform: scaleY(1); }
}

.dash-messages {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dash-msg {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    background: rgba(255,255,255,0.03);
    opacity: 0;
    animation: dashMsgIn 0.45s ease forwards;
}
.dash-msg:nth-child(1) { animation-delay: 0.55s; }
.dash-msg:nth-child(2) { animation-delay: 0.70s; }
.dash-msg:nth-child(3) { animation-delay: 0.85s; }
.dash-msg:nth-child(4) { animation-delay: 1.00s; }

@keyframes dashMsgIn {
    from { opacity: 0; transform: translateX(-10px); }
    to   { opacity: 1; transform: translateX(0); }
}

.dash-msg-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
    animation: dotPulse 2.2s ease-in-out infinite;
}
.dash-msg:nth-child(2) .dash-msg-dot { animation-delay: 0.4s; }
.dash-msg:nth-child(3) .dash-msg-dot { animation-delay: 0.8s; }
.dash-msg:nth-child(4) .dash-msg-dot { animation-delay: 1.2s; }

@keyframes dotPulse {
    0%, 100% { opacity: 1;   transform: scale(1);    box-shadow: 0 0 0 0 currentColor; }
    50%       { opacity: 0.6; transform: scale(0.75); }
}

.dash-msg-dot.green  { background: var(--green);   color: var(--green); }
.dash-msg-dot.yellow { background: #eab308;         color: #eab308; }
.dash-msg-dot.blue   { background: var(--primary);  color: var(--primary); }

.dash-msg-text { color: var(--text-muted); flex: 1; }
.dash-msg-time { color: var(--text-dim); font-size: 0.65rem; }

/* Floating stat cards */
.floating-card {
    position: absolute;
    background: rgba(15, 15, 26, 0.95);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 0.875rem 1.2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    backdrop-filter: blur(12px);
    animation: floatCard 4s ease-in-out infinite;
}

.floating-card.card-secondary {
    animation-delay: -2s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-8px); }
}

.floating-card {
    bottom: 10%;
    right: -5%;
    z-index: 2;
}

.floating-card.card-secondary {
    top: 8%;
    left: -8%;
    z-index: 2;
}

.card-label {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.floating-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.1rem;
}

.floating-card p {
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* ── Section Head ─────────────────────────────────────────── */
.section-head {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-head h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 0.875rem;
    line-height: 1.15;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Features ─────────────────────────────────────────────── */
.features {
    padding: 5rem 0;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 50% at 50% 100%, rgba(99,102,241,0.08) 0%, transparent 60%);
    pointer-events: none;
}

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

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    opacity: 0;
    transform: translateY(20px);
}

.feature-card.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.3s, box-shadow 0.3s;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99,102,241,0), transparent);
    transition: background 0.3s;
}

.feature-card:hover {
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(99,102,241,0.15);
}

.feature-card:hover::before {
    background: linear-gradient(90deg, transparent, rgba(99,102,241,0.7), transparent);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 1.25rem;
    transition: background 0.3s, transform 0.3s;
}

.feature-card:hover .feature-icon {
    background: rgba(99, 102, 241, 0.25);
    transform: scale(1.05);
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ── Trust / Testimonials ─────────────────────────────────── */
.trust {
    padding: 5rem 0;
    background: var(--bg-2);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem 2.5rem;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(16px);
}

.logo-row.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.logo-row span {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dim);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.2s;
}

.logo-row span:hover {
    color: var(--text-muted);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: border-color 0.3s, transform 0.3s;
    opacity: 0;
    transform: translateY(20px);
}

.testimonial-card.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.3s;
}

.testimonial-card:hover {
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-3px);
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-size: 0.925rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-card span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dim);
}

/* ── Pricing ─────────────────────────────────────────────── */
.pricing {
    padding: 5rem 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: stretch;
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    transition: border-color 0.3s, transform 0.3s;
    opacity: 0;
    transform: translateY(20px);
    display: flex;
    flex-direction: column;
}

.pricing-card.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.3s;
}

.pricing-card:hover {
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-3px);
}

.pricing-card.highlight {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.4);
}

.pricing-card.highlight:hover {
    border-color: rgba(99, 102, 241, 0.7);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 0.25rem 0.65rem;
    border-radius: 100px;
    white-space: nowrap;
}

/* Hero section badge */
.hero-badge { margin-bottom: 1.5rem; }

/* Badge color variants */
.badge-success {
    color: #34d399;
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.25);
}
.badge-danger {
    color: #f87171;
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.25);
}
.badge-info {
    color: #a78bfa;
    background: rgba(167, 139, 250, 0.12);
    border-color: rgba(167, 139, 250, 0.25);
}
.badge-warning {
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.25);
}

/* Spacing helpers */
.mt-large { padding-top: 2.5rem; }
.mt-xl    { padding-top: 4rem; }

.pricing-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-dim);
    letter-spacing: 0;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.pricing-card ul li {
    font-size: 0.875rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-card ul li::before {
    content: '✓';
    color: var(--green);
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.pricing-card ul li:has(> i)::before {
    display: none;
}

.pricing-card ul li > i {
    width: 16px;
    text-align: center;
    flex-shrink: 0;
    color: var(--primary);
    font-size: 0.85rem;
}

.pricing-card .btn {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
    background: var(--bg-2);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 3.5rem 0 2rem;
    margin-top: auto;
}

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

.footer-brand p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-top: 0.75rem;
    max-width: 260px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.logo-mark {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 8px;
    display: inline-block;
    flex-shrink: 0;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.footer-social a:hover {
    border-color: rgba(255,255,255,0.2);
    color: var(--text);
    background: rgba(255,255,255,0.08);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-links h4 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 1.5rem;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-dim);
    text-align: center;
}

/* ── Form Elements ─────────────────────────────────────── */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 0.7rem 0.9rem;
    font-size: 0.9rem;
    color: var(--text);
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group input::placeholder {
    color: var(--text-dim);
}

.alert {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

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

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

/* ── Dashboard ──────────────────────────────────────────── */
.dashboard-page {
    padding: 2rem 0;
}

.dashboard-container {
    padding: 1.5rem 1rem 4rem;
}

.dash-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

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

.stat-card:hover {
    border-color: rgba(99,102,241,0.3);
    transform: translateY(-2px);
}

.stat-card h4 {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-dim);
    margin-bottom: 0.5rem;
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
}

/* ── Tables ─────────────────────────────────────────────── */
.table-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

table, thead, tbody, tfoot, tr, th, td {
    background-color: transparent;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
}

thead tr {
    border-bottom: 1px solid var(--card-border);
}

thead th {
    padding: 0.875rem 1.25rem;
    text-align: left;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-dim);
    white-space: nowrap;
}

tbody tr {
    background-color: transparent;
}

tbody td {
    padding: 0.875rem 1.25rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255,255,255,0.03);
    background-color: transparent;
}

tbody tr:last-child td {
    border-bottom: none;
}

tbody tr:hover td {
    background-color: rgba(255,255,255,0.025) !important;
    color: var(--text);
}

/* ── Pill Badges ─────────────────────────────────────────── */
.pill {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
}

.pill-green  { background: rgba(34,197,94,0.12); color: #86efac; }
.pill-yellow { background: rgba(234,179,8,0.12); color: #fde047; }
.pill-red    { background: rgba(239,68,68,0.12); color: #fca5a5; }
.pill-blue   { background: rgba(99,102,241,0.12); color: #a5b4fc; }

/* ── Reveal Animation ─────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ── AI Orb ─────────────────────────────────────────────── */
.ai-orb {
    display: none;
}

/* ── Scrollbar ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.12);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

/* ── Compatibility: classes used by auth/dashboard/admin pages ── */

.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--card-border);
}

.card-body {
    padding: 1.5rem;
}

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

/* Auth layout wrapper */
.auth-container {
    min-height: calc(100dvh - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1rem;
    position: relative;
}

/* ── Animated mesh gradient blobs ── */
@keyframes auth-blob-1 {
    0%   { transform: translate(-50%, -50%) scale(1);    }
    33%  { transform: translate(-42%, -58%) scale(1.12); }
    66%  { transform: translate(-58%, -44%) scale(0.92); }
    100% { transform: translate(-50%, -50%) scale(1);    }
}
@keyframes auth-blob-2 {
    0%   { transform: translate(0%, 0%)   scale(1);    }
    33%  { transform: translate(8%, -10%) scale(1.1);  }
    66%  { transform: translate(-6%, 8%)  scale(0.95); }
    100% { transform: translate(0%, 0%)   scale(1);    }
}
@keyframes auth-blob-3 {
    0%   { transform: translate(-50%, -50%) scale(1);    }
    50%  { transform: translate(-50%, -62%) scale(1.15); }
    100% { transform: translate(-50%, -50%) scale(1);    }
}

.auth-bg-glow {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.auth-bg-glow::before,
.auth-bg-glow::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
}

/* Blob 1 — neon purple, top-left area */
.auth-bg-glow::before {
    width: 520px;
    height: 520px;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.18) 0%, transparent 70%);
    top: 25%;
    left: 30%;
    animation: auth-blob-1 14s ease-in-out infinite;
}

/* Blob 2 — neon blue, bottom-right area */
.auth-bg-glow::after {
    width: 440px;
    height: 440px;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.14) 0%, transparent 70%);
    bottom: 15%;
    right: 20%;
    animation: auth-blob-2 18s ease-in-out infinite;
    animation-delay: -6s;
}

/* Blob 3 — accent violet, top-center */
.auth-container::before {
    content: '';
    position: fixed;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    filter: blur(80px);
    background: radial-gradient(ellipse, rgba(167, 139, 250, 0.12) 0%, transparent 70%);
    top: 10%;
    left: 50%;
    pointer-events: none;
    z-index: 0;
    animation: auth-blob-3 20s ease-in-out infinite;
    animation-delay: -10s;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    padding: 1.75rem 2rem;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.04), 0 8px 40px rgba(0,0,0,0.5), 0 0 60px rgba(99,102,241,0.08);
}

/* Brand mark inside card */
.auth-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.auth-brand-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #fff;
    flex-shrink: 0;
}

.auth-brand-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text);
    letter-spacing: -0.01em;
}

.auth-card h2 {
    font-size: 1.65rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.35rem;
    letter-spacing: -0.03em;
}

.auth-subtitle {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
}

.auth-alert {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.auth-alert i { margin-top: 0.1rem; flex-shrink: 0; }

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

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

/* Input group with icon */
.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group-icon {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    font-size: 0.85rem;
    pointer-events: none;
    z-index: 1;
    line-height: 1;
}

/* Default: no extra padding */
.input-group .form-control {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
}

/* Left icon present */
.input-group--icon-left .form-control {
    padding-left: 2.5rem;
}

/* Right toggle present — always reserve space */
.input-group--has-toggle .form-control {
    padding-right: 2.5rem;
}

.input-group-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    padding: 0.25rem;
    font-size: 0.85rem;
    line-height: 1;
    transition: color 0.2s;
}

.input-group-toggle:hover { color: var(--text-muted); }

/* Kill browser-native password reveal / clear buttons (Edge, Chrome, IE) */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear { display: none !important; }
input[type="password"]::-webkit-credentials-auto-fill-button { display: none !important; }
input[type="password"]::-webkit-strong-password-auto-fill-button { display: none !important; }

/* Terms checkbox */
.auth-terms {
    margin: 0.65rem 0;
}

.auth-terms-label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.auth-terms-checkbox {
    flex-shrink: 0;
    margin-top: 0.2rem;
    width: 1.05rem;
    height: 1.05rem;
    accent-color: var(--primary);
    cursor: pointer;
}

.auth-terms-label a {
    color: var(--primary);
    text-decoration: none;
}

.auth-terms-label a:hover { text-decoration: underline; }

.auth-terms-error {
    color: #f87171;
    font-size: 0.8rem;
    margin-top: 0.4rem;
    padding-left: 1.65rem;
}

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1rem 0 0.75rem;
    color: var(--text-dim);
    font-size: 0.8rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--card-border);
}

/* Register CTA button */
.auth-register-btn {
    width: 100%;
    justify-content: center;
    font-size: 0.9rem;
}

/* Verify code input */
.verify-code-input {
    text-align: center;
    font-size: 1.6rem;
    letter-spacing: 0.5em;
    font-weight: 700;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

/* Verify success / error state */
.verify-state {
    text-align: center;
    padding: 0.5rem 0;
}

.verify-state-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.25rem;
}

.verify-state-icon--success {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
}

.verify-state-icon--error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.verify-state h2 { margin-bottom: 0.35rem; }
.verify-state .auth-subtitle { margin-bottom: 0; }

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 0.55rem 0.9rem;
    font-size: 0.9rem;
    color: var(--text);
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.form-control:focus {
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-control::placeholder { color: var(--text-dim); }

.auth-button {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
}

.auth-footer {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover { text-decoration: underline; }

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    border: 1px solid var(--card-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    transform: translateY(-1px);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
}

.stat-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
}

.stat-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.3rem;
}

.stat-card p {
    font-size: 0.75rem;
    color: var(--text-dim);
}

.stat-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    min-width: 480px;
}

.table thead tr {
    border-bottom: 1px solid var(--card-border);
}

.table thead th {
    padding: 0.875rem 1.25rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.02);
    white-space: nowrap;
}

.table tbody tr {
    background-color: transparent;
}

.table tbody td {
    padding: 0.9rem 1.25rem;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    background-color: transparent;
}

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

.table tbody tr:hover td {
    background-color: rgba(255, 255, 255, 0.025) !important;
    color: var(--text);
}

.page-content {
    padding: 2rem 0 4rem;
}

.auth-card .form-group label,
.form-group label {
    display: block;
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.form-group {
    margin-bottom: 0.65rem;
}

.card a { color: var(--primary); }

/* ── Legal Pages (Terms / Privacy) ──────────────────────── */
.legal-page {
    padding: 5rem 0 4rem;
    min-height: calc(100vh - 130px);
}

.legal-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 3.5rem;
}

.legal-card h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 0.4rem;
}

.legal-card .legal-updated {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--card-border);
}

.legal-card h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin: 2rem 0 0.5rem;
}

.legal-card p {
    color: var(--text-secondary);
    line-height: 1.75;
    font-size: 0.95rem;
}

.legal-back {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--card-border);
    text-align: center;
}

@media (max-width: 768px) {
    .legal-card {
        padding: 2rem 1.5rem;
    }
    .legal-card h1 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .legal-card {
        padding: 1.5rem 1.25rem;
    }
}

select.form-control option {
    background: #1a1a2e;
    color: var(--text);
}

input[type="checkbox"] {
    accent-color: var(--primary);
    width: 15px;
    height: 15px;
}

.nav-badge {
    background: var(--primary);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 4px;
    margin-left: 4px;
    vertical-align: middle;
}

/* Phone input wrapper */
.phone-input-container {
    display: flex;
    gap: 0.6rem;
    align-items: stretch;
}

.phone-input-container select {
    flex: 0 0 130px;
    min-width: 0;
}

.phone-input-container input {
    flex: 1;
    min-width: 0;
}

/* Admin search input group */
.input-group {
    display: flex;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.input-group .form-control {
    border: none;
    border-radius: 0;
    box-shadow: none;
    flex: 1;
    min-width: 0;
}

.input-group .btn {
    border-radius: 0;
    flex-shrink: 0;
}

/* ── Tablet: 1024px ─────────────────────────────────────── */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .hero-grid {
        gap: 2.5rem;
    }
}

/* ── Mobile: 768px ───────────────────────────────────────── */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    /* Nav */
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.98);
        border-bottom: 1px solid var(--card-border);
        padding: 0.75rem;
        flex-direction: column;
        align-items: stretch;
        gap: 0.2rem;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links li a {
        padding: 0.65rem 0.875rem;
        width: 100%;
        font-size: 0.95rem;
        border-radius: 8px;
    }

    .nav-links .btn {
        margin-left: 0;
        margin-top: 0.25rem;
        width: 100%;
        justify-content: center;
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }

    /* Hero */
    .hero {
        padding: 4rem 0 3rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .hero-content {
        align-items: center;
    }

    .hero-content > p {
        max-width: 100%;
    }

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

    .hero-visual {
        display: none;
    }

    /* Sections */
    .features { padding: 3.5rem 0; }
    .trust    { padding: 3.5rem 0; }
    .pricing  { padding: 3.5rem 0; }

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

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

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

    .section-head {
        margin-bottom: 2.5rem;
    }

    .logo-row {
        gap: 1rem 1.5rem;
        margin-bottom: 2.5rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.75rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .site-footer {
        padding: 2.5rem 0 1.5rem;
    }

    /* Dashboard */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* Tables - ensure they scroll */
    .table-container {
        border-radius: 12px;
        overflow-x: auto;
    }

    .table {
        min-width: 540px;
    }
}

/* ── Mobile: 480px ───────────────────────────────────────── */
@media (max-width: 480px) {
    .container {
        padding: 0 0.875rem;
    }

    /* Hero */
    .hero {
        padding: 3rem 0 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

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

    /* Auth */
    .auth-container {
        min-height: calc(100dvh - 64px);
        align-items: center;
        justify-content: center;
        padding: 1.5rem 1rem;
    }

    .auth-card {
        padding: 2rem 1.5rem;
        width: 100%;
        max-width: 100%;
    }

    .auth-card h2 {
        font-size: 1.45rem;
    }

    /* Phone input: stack on very small screens */
    .phone-input-container {
        flex-direction: column;
        gap: 0.5rem;
    }

    .phone-input-container select {
        flex: none;
        width: 100%;
    }

    /* Dashboard */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .stat-card {
        padding: 1.25rem 1rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-brand {
        grid-column: auto;
    }

    .site-footer {
        padding: 2rem 0 1.25rem;
    }

    /* Leaderboard */
    .leaderboard-list {
        padding-left: 0.75rem !important;
    }

    /* Feature cards */
    .feature-card {
        padding: 1.5rem;
    }

    /* Pricing cards */
    .pricing-grid {
        max-width: 100%;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    /* Buttons */
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    /* Section head */
    .section-head {
        margin-bottom: 2rem;
    }

    /* Daily page card */
    .dashboard-container .card {
        margin: 1rem auto !important;
        padding: 1.75rem 1.25rem !important;
    }

    /* Transfer history */
    .table {
        min-width: 600px;
    }

    /* Admin search input */
    .input-group {
        flex-direction: column;
        border-radius: 12px;
        overflow: hidden;
    }

    .input-group .form-control {
        height: 52px !important;
        border-bottom: 1px solid var(--border);
        border-radius: 0;
    }

    .input-group > div:first-child {
        display: none !important;
    }

    .input-group .btn {
        height: 52px !important;
        border-radius: 0 0 12px 12px !important;
        padding: 0 2rem !important;
    }
}

/* ── Hero Stats Row ──────────────────────────────────────── */
.hero-stats-row {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-stat-item strong {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.hero-stat-item span {
    font-size: 0.78rem;
    color: var(--text-dim);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hero-stat-divider {
    width: 1px;
    height: 28px;
    background: rgba(255,255,255,0.1);
    flex-shrink: 0;
}

/* ── Feature Showcase ────────────────────────────────────── */
.showcase {
    padding: 5rem 0;
    background: var(--bg-2);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.showcase-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
    margin-bottom: 5rem;
    opacity: 0;
    transform: translateY(24px);
}

.showcase-item:last-child {
    margin-bottom: 0;
}

.showcase-item.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.showcase-reverse {
    direction: rtl;
}

.showcase-reverse > * {
    direction: ltr;
}

.showcase-image {
    border-radius: var(--radius-lg);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-card);
    background: var(--card-bg);
    overflow: visible;
    width: 100%;
}

.showcase-image img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    display: block;
    object-fit: contain !important;
    border-radius: var(--radius-lg);
}

.showcase-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.showcase-content h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0;
}

.showcase-content > p {
    font-size: 0.975rem;
    color: var(--text-muted);
    line-height: 1.75;
}

.showcase-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.showcase-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.showcase-list li i {
    color: var(--green);
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* ── System Status ───────────────────────────────────────── */
.system-status {
    padding: 5rem 0;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.25rem;
    transition: opacity 0.3s;
}

.status-stat-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: border-color 0.3s, transform 0.3s;
}

.status-stat-card:hover {
    border-color: rgba(99,102,241,0.3);
    transform: translateY(-2px);
}

.status-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(99,102,241,0.12);
    border: 1px solid rgba(99,102,241,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--primary);
    flex-shrink: 0;
}

.status-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.status-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.status-label {
    font-size: 0.78rem;
    color: var(--text-dim);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.status-dot-live {
    color: #22c55e !important;
    animation: pulse-dot 2s infinite;
}

.status-dot-down {
    color: #f87171 !important;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.5; }
}

.status-error-msg {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(239,68,68,0.08);
    border: 1px solid rgba(239,68,68,0.2);
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
    color: #f87171;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.status-refresh-note {
    font-size: 0.8rem;
    color: var(--text-dim);
    text-align: center;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.status-refresh-note i {
    color: var(--primary);
}

/* ── Pricing — Single Featured Card ─────────────────────── */
.pricing-single-wrap {
    display: flex;
    justify-content: center;
}

.pricing-featured {
    max-width: 520px;
    width: 100%;
}

.pricing-featured ul {
    margin-bottom: 1.75rem;
}

.pricing-featured ul li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.pricing-featured ul li::before {
    display: none;
}

.pricing-featured ul li i {
    color: var(--primary);
    width: 16px;
    flex-shrink: 0;
}

.pricing-featured ul li strong {
    color: #fff;
    font-weight: 700;
}

.diamond-explainer {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    background: rgba(99,102,241,0.08);
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.diamond-explainer strong {
    display: block;
    color: #fff;
    font-size: 0.875rem;
    margin-bottom: 0.3rem;
}

.diamond-explainer p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.diamond-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(99,102,241,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ── Responsive — Showcase & Status ─────────────────────── */
@media (max-width: 900px) {
    .showcase-item,
    .showcase-reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 2rem;
    }

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

@media (max-width: 600px) {
    .hero-stats-row {
        gap: 0.85rem;
    }

    .hero-stat-divider {
        height: 22px;
    }

    .showcase {
        padding: 3rem 0;
    }

    .showcase-item {
        margin-bottom: 3rem;
        overflow: visible !important;
    }

    .showcase-image {
        overflow: visible !important;
        max-height: none !important;
    }

    .showcase-image img {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        object-fit: contain !important;
    }

    .system-status {
        padding: 3rem 0;
    }

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

    .status-stat-card {
        padding: 1rem;
        gap: 0.75rem;
    }

    .status-value {
        font-size: 1.2rem;
    }

    .pricing-featured {
        max-width: 100%;
    }
}

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

    .hero-stats-row {
        gap: 0.6rem;
    }

    .showcase-image {
        overflow: visible !important;
    }

    .showcase-image img {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        object-fit: contain !important;
    }
}

/* ── Extra small: 360px ─────────────────────────────────── */
@media (max-width: 360px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .nav-inner {
        height: 56px;
    }

    .hero-content h1 {
        font-size: 1.9rem;
    }
}

/* ── Hero Orbs (updated hero bg) ─────────────────────────── */
.hero-bg-orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.18;
}
.orb-1 {
    width: 600px; height: 600px;
    background: var(--primary);
    top: -200px; left: 50%;
    transform: translateX(-50%);
}
.orb-2 {
    width: 400px; height: 400px;
    background: var(--accent);
    bottom: -100px; right: -100px;
    opacity: 0.12;
}
.orb-3 {
    width: 300px; height: 300px;
    background: #22c55e;
    top: 40%; left: -80px;
    opacity: 0.08;
}
.hero-grid { position: relative; z-index: 1; }

/* ── Hero Trust Row ──────────────────────────────────────── */
.hero-trust {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    flex-wrap: wrap;
}
.trust-avatars {
    display: flex;
}
.trust-avatars .avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--bg);
    object-fit: cover;
    margin-left: -8px;
    display: block;
    flex-shrink: 0;
}
.trust-avatars .avatar:first-child { margin-left: 0; }
.hero-trust strong { color: var(--text); }

/* ── Feature tag ─────────────────────────────────────────── */
.feature-icon-wrap { margin-bottom: 0; }
.feature-tag {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.2);
    padding: 0.2rem 0.65rem;
    border-radius: 100px;
    letter-spacing: 0.03em;
}

.opacity-\[0\.9\] { opacity: 0.9; }

/* ── Stats Bar ───────────────────────────────────────────── */
.stats-bar {
    padding: 2.5rem 0;
    background: var(--bg-2);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.stats-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}
.stats-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0 3rem;
}
.stats-bar-item strong {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #fff, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stats-bar-item span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}
.stats-bar-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    flex-shrink: 0;
}

/* ── How It Works ────────────────────────────────────────── */
.how-it-works {
    padding: 5rem 0;
    position: relative;
}
.how-it-works::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(99,102,241,0.07) 0%, transparent 70%);
    pointer-events: none;
}
.steps-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: stretch;
    gap: 0;
    position: relative;
    z-index: 1;
}
.step-card {
    height: 100%;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    text-align: center;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    position: relative;
    box-sizing: border-box;
}
.step-card:hover {
    border-color: rgba(99,102,241,0.4);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(99,102,241,0.15);
}
.step-number {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--primary);
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.2);
    display: inline-block;
    padding: 0.2rem 0.65rem;
    border-radius: 100px;
    margin-bottom: 1.25rem;
}
.step-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(99,102,241,0.12);
    border: 1px solid rgba(99,102,241,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary);
    margin: 0 auto 1.25rem;
    transition: background 0.3s, transform 0.3s;
}
.step-card:hover .step-icon {
    background: rgba(99,102,241,0.22);
    transform: scale(1.05);
}
.step-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
}
.step-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
}
.step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.25rem;
    padding-top: 3rem;
    color: var(--text-dim);
    font-size: 1rem;
    flex-shrink: 0;
}

/* ── Testimonials ────────────────────────────────────────── */
.testimonials {
    padding: 5rem 0;
    background: var(--bg-2);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.testimonial-stars {
    color: #f59e0b;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 0.2rem;
}
.testimonial-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.t-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.1);
    display: block;
}
.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
    color: #fff;
    font-weight: 600;
}
.testimonial-author span {
    font-size: 0.78rem;
    color: var(--text-dim);
}

/* ── FAQ ─────────────────────────────────────────────────── */
.faq {
    padding: 5rem 0;
}
.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.3s;
}
.faq-item.open {
    border-color: rgba(99,102,241,0.35);
}
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 0.975rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
    transition: color 0.2s;
}
.faq-question:hover { color: var(--accent); }
.faq-question i {
    color: var(--text-dim);
    font-size: 0.8rem;
    flex-shrink: 0;
    transition: transform 0.3s;
}
.faq-item.open .faq-question i {
    transform: rotate(180deg);
    color: var(--primary);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.faq-answer p {
    padding: 0 1.5rem 1.25rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ── CTA Section ─────────────────────────────────────────── */
.cta-section {
    padding: 5rem 0;
}
.cta-inner {
    position: relative;
    text-align: center;
    background: linear-gradient(135deg, rgba(99,102,241,0.12) 0%, rgba(167,139,250,0.08) 100%);
    border: 1px solid rgba(99,102,241,0.25);
    border-radius: 28px;
    padding: 4rem 2rem;
    overflow: hidden;
}
.cta-orb {
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99,102,241,0.2) 0%, transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.cta-inner h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.15;
    position: relative;
    z-index: 1;
}
.cta-inner > p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}
.cta-inner > p strong { color: #fff; }
.cta-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.cta-inner .eyebrow { margin-bottom: 1rem; position: relative; z-index: 1; }

/* ── Responsive: new sections ─────────────────────────────── */
@media (max-width: 900px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .step-card {
        height: auto;
    }
    .step-connector {
        display: flex;
        justify-content: center;
        padding: 0;
        transform: rotate(90deg);
        height: auto;
        margin: 0 auto;
    }
    .stats-bar-item { padding: 0.75rem 1.5rem; }
}
@media (max-width: 768px) {
    .stats-bar-inner {
        gap: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .stats-bar-divider { display: none; }
    .stats-bar-item { padding: 1rem; }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .cta-inner { padding: 2.5rem 1.25rem; }
}

/* ── Hybrid Pricing Grid ─────────────────────────────────── */
.pricing-hybrid-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

/* ── Diamond Calculator Card ─────────────────────────────── */
.diamond-calc-card {
    position: relative;
    background: rgba(10, 10, 20, 0.85);
    border: 1px solid rgba(99, 102, 241, 0.35);
    border-radius: var(--radius-lg);
    padding: 1rem 1.5rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    height: auto;
}

.diamond-calc-glow {
    position: absolute;
    top: -80px; left: 50%;
    transform: translateX(-50%);
    width: 500px; height: 300px;
    background: radial-gradient(ellipse, rgba(99,102,241,0.18) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.diamond-calc-card > :not(.diamond-calc-glow) { position: relative; z-index: 1; }

/* Header */
.diamond-calc-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.diamond-calc-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(99,102,241,0.25), rgba(167,139,250,0.15));
    border: 1px solid rgba(99,102,241,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent);
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(99,102,241,0.2);
}

.diamond-calc-header h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.2rem;
    letter-spacing: -0.02em;
}

.diamond-calc-header p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}

/* Rate pill */
.diamond-calc-rate {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem 0.6rem;
    background: rgba(99,102,241,0.07);
    border: 1px solid rgba(99,102,241,0.15);
    border-radius: 10px;
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.diamond-calc-rate .fa-gem { color: var(--accent); }
.diamond-calc-eq { color: var(--text-dim); }
.diamond-calc-usd { color: var(--accent); font-weight: 700; }
.diamond-calc-sep { color: var(--text-dim); }

/* Body */
.diamond-calc-body {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.diamond-calc-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: -0.25rem;
}
.diamond-calc-label .fa-gem { color: var(--accent); }

/* Input */
.diamond-calc-input-row {
    position: relative;
    display: flex;
    align-items: center;
}

.diamond-input-field {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1.5px solid rgba(99,102,241,0.4);
    border-radius: 12px;
    padding: 0.6rem 3rem 0.6rem 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    font-family: inherit;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s;
    -moz-appearance: textfield;
}
.diamond-input-field::-webkit-outer-spin-button,
.diamond-input-field::-webkit-inner-spin-button { -webkit-appearance: none; }
.diamond-input-field:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.18), 0 0 20px rgba(99,102,241,0.15);
}

.diamond-input-suffix {
    position: absolute;
    right: 1rem;
    color: var(--accent);
    font-size: 1rem;
    pointer-events: none;
}

/* Slider */
.diamond-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255,255,255,0.08);
    outline: none;
    cursor: pointer;
    position: relative;
}
.diamond-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    cursor: pointer;
    border: 3px solid var(--bg);
    box-shadow: 0 0 12px rgba(99,102,241,0.5);
    transition: box-shadow 0.2s, transform 0.2s;
}
.diamond-slider::-webkit-slider-thumb:hover {
    box-shadow: 0 0 20px rgba(99,102,241,0.75);
    transform: scale(1.15);
}
.diamond-slider::-moz-range-thumb {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    cursor: pointer;
    border: 3px solid var(--bg);
    box-shadow: 0 0 12px rgba(99,102,241,0.5);
}

.diamond-slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-dim);
    margin-top: -0.5rem;
}

/* Result display */
.diamond-calc-result {
    background: rgba(99,102,241,0.06);
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: 14px;
    padding: 0.75rem 1.25rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.diamond-calc-result::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99,102,241,0.6), rgba(167,139,250,0.6), transparent);
}
.diamond-calc-result-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dim);
    margin-bottom: 0.4rem;
}
.diamond-calc-total {
    font-size: 2.25rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #fff 0%, var(--primary) 40%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.25rem;
    transition: all 0.2s ease;
    text-shadow: none;
    filter: drop-shadow(0 0 16px rgba(99,102,241,0.45));
}
.diamond-calc-breakdown {
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* Preset buttons */
.diamond-calc-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.diamond-preset {
    flex: 1;
    min-width: 70px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-muted);
    border-radius: 8px;
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}
.diamond-preset:hover,
.diamond-preset.active {
    background: rgba(99,102,241,0.15);
    border-color: rgba(99,102,241,0.45);
    color: #fff;
}

/* CTA button */
.diamond-calc-btn {
    width: 100%;
    justify-content: center;
    padding: 0.75rem;
    font-size: 0.95rem;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    border: none;
    box-shadow: 0 4px 24px rgba(99,102,241,0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}
.diamond-calc-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(99,102,241,0.5);
    color: #fff;
    background: linear-gradient(135deg, var(--primary-hover), var(--primary));
}

/* Responsive */
@media (max-width: 900px) {
    .pricing-hybrid-grid {
        grid-template-columns: 1fr;
    }
}
