/* ==========================================================================
   VALLE CAPITAL — ULTRA-MODERN FINTECH ARCHITECTURE (STRIPE / LINEAR / MERCURY)
   Harmonious Carbon, Platinum & Deep Ruby Palette — Zero Clashing Colors
   ========================================================================== */

:root,
[data-theme="dark"] {
    --bg-base: #08090C;
    --bg-alt: #0D0F14;
    --bg-card: #12151C;
    --bg-card-elevated: #171B24;
    --bg-glass: rgba(18, 21, 28, 0.78);
    --bg-nav: rgba(8, 9, 12, 0.82);
    --bg-subtle: rgba(255, 255, 255, 0.035);

    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;

    /* Refined Single Brand Accent: Institutional Ruby Crimson + Warm Platinum */
    --brand: #E11D48;
    --brand-hover: #F43F5E;
    --brand-soft: rgba(225, 29, 72, 0.12);
    --brand-border: rgba(225, 29, 72, 0.28);

    --emerald: #10B981;
    --emerald-soft: rgba(16, 185, 129, 0.12);

    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.18);
    --border-strong: rgba(255, 255, 255, 0.24);

    --btn-primary-bg: #F8FAFC;
    --btn-primary-text: #08090C;
    --btn-primary-hover: #E2E8F0;

    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 24px 60px -12px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.07);
    --hero-mesh: radial-gradient(ellipse 80% 50% at 50% -15%, rgba(225, 29, 72, 0.16), transparent 70%),
                 radial-gradient(ellipse 60% 40% at 85% 20%, rgba(99, 102, 241, 0.08), transparent 65%);
}

[data-theme="light"] {
    --bg-base: #FAFAFC;
    --bg-alt: #F2F4F8;
    --bg-card: #FFFFFF;
    --bg-card-elevated: #F8FAFC;
    --bg-glass: rgba(255, 255, 255, 0.88);
    --bg-nav: rgba(250, 250, 252, 0.85);
    --bg-subtle: rgba(15, 23, 42, 0.035);

    --text-primary: #090D16;
    --text-secondary: #475569;
    --text-muted: #64748B;

    --brand: #E11D48;
    --brand-hover: #BE123C;
    --brand-soft: rgba(225, 29, 72, 0.08);
    --brand-border: rgba(225, 29, 72, 0.22);

    --emerald: #059669;
    --emerald-soft: rgba(5, 150, 105, 0.1);

    --border: #E2E8F0;
    --border-hover: #CBD5E1;
    --border-strong: #94A3B8;

    --btn-primary-bg: #090D16;
    --btn-primary-text: #FFFFFF;
    --btn-primary-hover: #1E293B;

    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 24px 50px -12px rgba(15, 23, 42, 0.09), 0 0 0 1px rgba(15, 23, 42, 0.06);
    --hero-mesh: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(225, 29, 72, 0.08), transparent 70%),
                 radial-gradient(ellipse 60% 40% at 85% 15%, rgba(15, 23, 42, 0.04), transparent 65%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-base);
    background-image: var(--hero-mesh);
    background-repeat: no-repeat;
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.25s ease, color 0.25s ease;
}

h1, h2, h3, h4, .font-display {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    letter-spacing: -0.03em;
}

code, .mono {
    font-family: 'JetBrains Mono', monospace;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 28px;
}

/* Subtle Architectural Grid Overlay (Static, Ultra Clean) */
.arch-backdrop {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background-size: 64px 64px;
    background-image: 
        linear-gradient(to right, var(--border) 1px, transparent 1px),
        linear-gradient(to bottom, var(--border) 1px, transparent 1px);
    mask-image: radial-gradient(ellipse 70% 55% at 50% 15%, #000 15%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 15%, #000 15%, transparent 75%);
    opacity: 0.35;
}

/* ==========================================================================
   FLOATING PILL NAVBAR
   ========================================================================== */
.navbar-wrap {
    position: fixed;
    top: 16px;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 20px;
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--bg-nav);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
}

.brand-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 19px;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.brand-name span {
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-item {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

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

.nav-cta-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.theme-switch {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg-subtle);
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 17px;
    transition: all 0.2s ease;
}

.theme-switch:hover {
    border-color: var(--border-hover);
    background: var(--bg-card);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
}

.btn-HighContrast {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
}

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

.btn-brand {
    background: var(--brand);
    color: #FFFFFF;
    box-shadow: 0 8px 20px -4px rgba(225, 29, 72, 0.45);
}

.btn-brand:hover {
    background: var(--brand-hover);
    transform: translateY(-1px);
    box-shadow: 0 12px 26px -4px rgba(225, 29, 72, 0.55);
}

.btn-outline {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-elevated);
}

.btn-lg {
    padding: 14px 26px;
    font-size: 15px;
    border-radius: 12px;
}

/* ==========================================================================
   ASYMMETRICAL 2-COLUMN HERO (EDITORIAL + INTERACTIVE PRODUCT STUDIO)
   ========================================================================== */
.hero {
    padding: 148px 0 80px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.pill-announcement {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px 6px 8px;
    border-radius: 999px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.pill-tag {
    background: var(--brand-soft);
    color: var(--brand);
    border: 1px solid var(--brand-border);
    padding: 2px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.hero-headline {
    font-size: clamp(38px, 4.6vw, 60px);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.035em;
    margin-bottom: 22px;
    color: var(--text-primary);
}

.hero-headline .accent-underline {
    color: var(--brand);
}

.hero-lead {
    font-size: 17.5px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 32px;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.hero-trust-row {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-weight: 500;
}

.hero-trust-item i {
    color: var(--emerald);
    font-size: 16px;
}

/* Interactive Product Studio Widget (Right Column) */
.product-studio {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

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

.studio-tabs {
    display: flex;
    gap: 6px;
}

.studio-tab {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.studio-tab.active {
    background: var(--bg-card);
    color: var(--text-primary);
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.studio-body {
    padding: 24px;
}

.vault-hero-card {
    background: linear-gradient(135deg, #0F131A 0%, #181D27 100%);
    color: #FFFFFF;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 18px;
    position: relative;
    overflow: hidden;
}

.vault-hero-card::after {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(225, 29, 72, 0.35), transparent 70%);
    pointer-events: none;
}

.vault-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 12px;
    color: #94A3B8;
}

.vault-big-num {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 14px;
}

.vault-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.vault-mini-pill {
    font-size: 11.5px;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.07);
    color: #E2E8F0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.studio-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.studio-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    transition: border-color 0.2s ease;
}

.studio-row:hover {
    border-color: var(--border-hover);
}

.studio-row-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.row-badge {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
}

/* ==========================================================================
   TRUST & STANDARDS BAR
   ========================================================================== */
.standards-bar {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-alt);
    padding: 28px 0;
}

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

.standard-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.standard-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--brand);
    flex-shrink: 0;
}

.standard-item h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.standard-item p {
    font-size: 12.5px;
    color: var(--text-muted);
}

/* ==========================================================================
   TRUE ASYMMETRIC BENTO ARCHITECTURE (12-COL)
   ========================================================================== */
.section {
    padding: 104px 0;
}

.section-alt {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-header {
    max-width: 680px;
    margin-bottom: 56px;
}

.section-eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--brand);
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: clamp(28px, 3.6vw, 44px);
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 17px;
    color: var(--text-secondary);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 22px;
}

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.bento-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg);
}

.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }
.span-4 { grid-column: span 4; }

.bento-visual {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 26px;
}

.bento-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.bento-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ==========================================================================
   INTERACTIVE TREASURY SIMULATOR / ROI CALCULATOR
   ========================================================================== */
.calc-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 44px;
    box-shadow: var(--shadow-lg);
    align-items: center;
}

.slider-group {
    margin-bottom: 28px;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.slider-val {
    color: var(--brand);
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
}

input[type="range"] {
    width: 100%;
    accent-color: var(--brand);
    height: 6px;
    border-radius: 999px;
    cursor: pointer;
}

.calc-output {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 32px;
}

.calc-stat {
    margin-bottom: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--border);
}

.calc-stat:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.calc-stat-num {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 34px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.calc-stat-label {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ==========================================================================
   PRICING TIERS
   ========================================================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.price-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 36px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.price-card.featured {
    border: 2px solid var(--brand);
    box-shadow: var(--shadow-lg);
}

.badge-featured {
    position: absolute;
    top: -13px;
    left: 30px;
    background: var(--brand);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 4px 12px;
    border-radius: 999px;
}

.price-title {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 6px;
}

.price-amount {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 34px;
    font-weight: 800;
    margin: 14px 0;
    letter-spacing: -1px;
}

.price-amount span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
}

.price-list {
    list-style: none;
    margin: 22px 0 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.price-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.price-list li i {
    color: var(--emerald);
    font-size: 17px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ==========================================================================
   CONTACT / DEMO FORM
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

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

.field {
    margin-bottom: 18px;
}

.field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 7px;
}

.field input,
.field select {
    width: 100%;
    height: 48px;
    padding: 0 15px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg-alt);
    color: var(--text-primary);
    font-size: 14.5px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease;
}

.field input:focus,
.field select:focus {
    border-color: var(--brand);
}

.antibot-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: 10px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    margin-bottom: 20px;
    cursor: pointer;
    user-select: none;
}

.antibot-bar.verified {
    border-color: var(--emerald);
    background: var(--emerald-soft);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
    border-top: 1px solid var(--border);
    padding: 64px 0 44px;
    background: var(--bg-alt);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 28px;
}

.footer-legal {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .hero-grid,
    .calc-wrapper,
    .contact-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    . standards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .span-7, .span-5, .span-4 {
        grid-column: span 12;
    }
    .nav-menu {
        display: none;
    }
}

@media (max-width: 600px) {
    .standards-grid {
        grid-template-columns: 1fr;
    }
    .calc-wrapper, .form-card, .bento-card {
        padding: 24px;
    }
}