/* ===================================
   EKANTIK CAPITAL ADVISORS
   Guardrailed Buy, Borrow & Die
   Brand Colors: Dark Navy #1a2332, Gold #f5a623
   =================================== */

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy-dark: #0f1419;
    --navy-primary: #1a2332;
    --navy-light: #2a3a4f;
    --gold-primary: #f5a623;
    --gold-hover: #d98f1a;
    --gold-light: #ffc04d;
    --text-light: #ffffff;
    --text-muted: #a8b2c1;
    --text-dark: #1a1a1a;
    --green-safe: #10b981;
    --amber-caution: #f59e0b;
    --red-danger: #ef4444;
    --border-color: #3a4a5f;
    --card-bg: rgba(42, 58, 79, 0.5);
    --card-hover: rgba(42, 58, 79, 0.8);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--navy-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Grid Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(245, 166, 35, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 166, 35, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-family: 'Playfair Display', serif;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

.section-title {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Hidden Text Toggle */
.hidden {
    display: none !important;
}

/* ===================================
   SOFT LAUNCH BANNER
   =================================== */

.soft-launch-banner {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-hover) 100%);
    color: var(--navy-dark);
    padding: 0.75rem 0;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    border-bottom: 2px solid var(--gold-primary);
    position: relative;
    z-index: 1001;
}

.banner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* ===================================
   STICKY NAVIGATION
   =================================== */

.sticky-nav {
    position: sticky;
    top: 0;
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-box {
    width: 50px;
    height: 50px;
    background: var(--gold-primary);
    color: var(--navy-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    border-radius: 4px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.company-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-light);
}

.tagline {
    font-size: 0.75rem;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu li a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav-menu li a:hover {
    color: var(--gold-primary);
}

.nav-cta {
    margin-left: 1rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===================================
   BUTTONS
   =================================== */

.cta-btn {
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-btn.primary {
    background: var(--gold-primary);
    color: var(--navy-dark);
}

.cta-btn.primary:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 166, 35, 0.4);
}

.cta-btn.secondary {
    background: transparent;
    color: var(--gold-primary);
    border: 2px solid var(--gold-primary);
}

.cta-btn.secondary:hover {
    background: var(--gold-primary);
    color: var(--navy-dark);
}

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

.hero {
    padding: 6rem 0;
    position: relative;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-left {
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.hero-accent {
    color: var(--gold-primary);
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.guardrail-bullets {
    margin-bottom: 2rem;
}

.bullet-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: var(--card-bg);
    border-left: 3px solid var(--gold-primary);
    border-radius: 4px;
}

.bullet-item i {
    color: var(--gold-primary);
    font-size: 1.25rem;
}

.hero-toggle {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.toggle-btn {
    padding: 0.5rem 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.toggle-btn.active {
    background: var(--gold-primary);
    color: var(--navy-dark);
    border-color: var(--gold-primary);
}

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

.hero-right {
    z-index: 2;
}

.system-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.system-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.system-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gold-primary);
}

.system-card.buy::before {
    background: var(--gold-primary);
}

.system-card.borrow::before {
    background: var(--gold-primary);
}

.system-card.die::before {
    background: var(--gold-primary);
}

.system-card:hover {
    background: var(--card-hover);
    border-color: var(--gold-primary);
    transform: translateX(5px);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(245, 166, 35, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.card-icon i {
    font-size: 1.75rem;
    color: var(--gold-primary);
}

.system-card h3 {
    color: var(--gold-primary);
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.system-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===================================
   NOTICE BANNER
   =================================== */

.notice-banner {
    background: rgba(245, 166, 35, 0.1);
    border-top: 2px solid var(--gold-primary);
    border-bottom: 2px solid var(--gold-primary);
    padding: 1.25rem 0;
    text-align: center;
    font-weight: 500;
}

.notice-banner i {
    color: var(--gold-primary);
    margin-right: 0.75rem;
}

/* ===================================
   PROBLEM SECTION
   =================================== */

.problem-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, rgba(15, 20, 25, 0) 0%, rgba(26, 35, 50, 0.5) 100%);
}

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

.problem-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s;
}

.problem-card:hover {
    background: var(--card-hover);
    border-color: var(--gold-primary);
    transform: translateY(-5px);
}

.problem-icon {
    width: 80px;
    height: 80px;
    background: rgba(245, 166, 35, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.problem-icon i {
    font-size: 2rem;
    color: var(--gold-primary);
}

.problem-card h3 {
    color: var(--gold-primary);
    margin-bottom: 1rem;
}

.problem-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===================================
   HOW IT WORKS SECTION
   =================================== */

.how-it-works-section {
    padding: 6rem 0;
}

.stepper-timeline {
    max-width: 1100px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
}

.step-item::after {
    content: '';
    position: absolute;
    left: 30px;
    top: 70px;
    width: 2px;
    height: calc(100% + 40px);
    background: var(--border-color);
}

.step-item:last-child::after {
    display: none;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gold-primary);
    color: var(--navy-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 800;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.step-content {
    flex: 1;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
}

.step-content h3 {
    color: var(--gold-primary);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

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

.step-specs {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: rgba(15, 20, 25, 0.5);
    border-radius: 6px;
    border-left: 3px solid var(--gold-primary);
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

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

.spec-value {
    color: var(--gold-primary);
    font-weight: 600;
}

.guardrail-dashboard-preview {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.gauge-preview {
    background: rgba(15, 20, 25, 0.5);
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
}

.gauge-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.gauge-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.gauge-fill {
    height: 100%;
    transition: width 0.3s;
}

.gauge-fill.safe {
    background: var(--green-safe);
}

.gauge-fill.amber {
    background: var(--amber-caution);
}

.gauge-fill.red {
    background: var(--red-danger);
}

.gauge-status {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
}

.borrow-triggers {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--red-danger);
    border-radius: 6px;
}

.borrow-triggers h4 {
    color: var(--red-danger);
    margin-bottom: 1rem;
}

.borrow-triggers ul {
    list-style: none;
}

.borrow-triggers li {
    padding: 0.5rem 0;
    color: var(--text-muted);
}

.borrow-triggers li i {
    color: var(--red-danger);
    margin-right: 0.5rem;
}

.estate-checklist {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--green-safe);
    border-radius: 6px;
}

.estate-checklist h4 {
    color: var(--green-safe);
    margin-bottom: 1rem;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--text-muted);
}

.checklist-item i {
    color: var(--green-safe);
}

/* ===================================
   GUARDRAILS SECTION
   =================================== */

.guardrails-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, rgba(26, 35, 50, 0.5) 0%, rgba(15, 20, 25, 0) 100%);
}

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

.dashboard-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s;
}

.dashboard-card:hover {
    border-color: var(--gold-primary);
}

.dashboard-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.dashboard-header i {
    color: var(--gold-primary);
    font-size: 1.5rem;
}

.dashboard-header h3 {
    color: var(--text-light);
    margin: 0;
}

.tooltip-trigger {
    color: var(--text-muted);
    cursor: help;
    margin-left: auto;
}

.dashboard-gauge {
    margin: 1.5rem 0;
}

.gauge-zones {
    display: flex;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.zone {
    flex: 1;
    padding: 1rem 0.5rem;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
}

.zone.green {
    background: rgba(16, 185, 129, 0.2);
    color: var(--green-safe);
}

.zone.amber {
    background: rgba(245, 158, 11, 0.2);
    color: var(--amber-caution);
}

.zone.red {
    background: rgba(239, 68, 68, 0.2);
    color: var(--red-danger);
}

.dashboard-status {
    padding: 0.75rem;
    background: rgba(15, 20, 25, 0.5);
    border-radius: 4px;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 1rem 0;
}

.dashboard-status strong {
    color: var(--gold-primary);
}

.failure-modes-panel, .requirements-panel {
    margin-top: 3rem;
    padding: 2.5rem;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 8px;
}

.failure-modes-panel h3, .requirements-panel h3 {
    color: var(--gold-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.failure-modes-panel h3 i, .requirements-panel h3 i {
    font-size: 1.5rem;
}

.failure-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.failure-item {
    background: rgba(15, 20, 25, 0.5);
    padding: 1.5rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.failure-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--gold-primary);
}

.failure-header i {
    font-size: 1.25rem;
}

.failure-item ul {
    list-style: none;
    color: var(--text-muted);
}

.failure-item li {
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.requirement-item {
    display: flex;
    gap: 1rem;
}

.requirement-item i {
    color: var(--gold-primary);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.requirement-item strong {
    color: var(--text-light);
    display: block;
    margin-bottom: 0.5rem;
}

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

/* ===================================
   CALCULATOR SECTION
   =================================== */

.calculator-section {
    padding: 6rem 0;
}

.calculator-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.calc-tab-btn {
    padding: 1rem 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.calc-tab-btn:hover {
    border-color: var(--gold-primary);
    color: var(--text-light);
}

.calc-tab-btn.active {
    background: var(--gold-primary);
    color: var(--navy-dark);
    border-color: var(--gold-primary);
}

.calculator-panel {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
}

.calc-disclaimer {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--red-danger);
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.calc-disclaimer i {
    color: var(--red-danger);
    font-size: 1.25rem;
}

.calc-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.calc-inputs, .calc-outputs {
    background: rgba(15, 20, 25, 0.5);
    padding: 2rem;
    border-radius: 6px;
}

.calc-inputs h3, .calc-outputs h3 {
    color: var(--gold-primary);
    margin-bottom: 1.5rem;
}

/* Collapsible Calculator Sections */
.calc-section-collapsible {
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: rgba(26, 35, 50, 0.3);
    overflow: hidden;
}

.calc-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    cursor: pointer;
    background: rgba(26, 35, 50, 0.5);
    border: none;
    width: 100%;
    text-align: left;
    transition: background 0.2s ease;
}

.calc-section-header:hover {
    background: rgba(42, 58, 79, 0.5);
}

.calc-section-header h4 {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.calc-section-header h4 i {
    color: var(--gold-primary);
}

.calc-section-toggle {
    color: var(--gold-primary);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.calc-section-collapsible.collapsed .calc-section-toggle {
    transform: rotate(-90deg);
}

.calc-section-content {
    padding: 1.5rem 1.25rem;
    max-height: 5000px;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.calc-section-collapsible.collapsed .calc-section-content {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.input-group input[type="number"],
.input-group input[type="text"],
.input-group input[type="email"],
.input-group input[type="tel"],
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: rgba(26, 35, 50, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: #ffffff !important;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Ensure input text is visible */
.input-with-prefix input {
    color: #ffffff !important;
    padding-left: 2rem;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    background: rgba(26, 35, 50, 1);
}

.input-with-prefix {
    position: relative;
}

.input-with-prefix .prefix {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold-primary);
    font-weight: 700;
    font-size: 1rem;
    pointer-events: none;
    z-index: 10;
}

.input-with-prefix input {
    padding-left: 2rem;
}

.input-group input[type="range"] {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    outline: none;
}

.input-group input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 18px;
    height: 18px;
    background: var(--gold-primary);
    border-radius: 50%;
    cursor: pointer;
}

.input-group input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: var(--gold-primary);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.range-value {
    text-align: center;
    color: var(--gold-primary);
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.input-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.radio-label input[type="radio"] {
    width: auto;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 100%;
}

.toggle-switch input[type="checkbox"] {
    display: none;
}

.toggle-switch label {
    display: block;
    padding: 0.75rem 1rem;
    background: rgba(26, 35, 50, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.toggle-switch input[type="checkbox"]:checked + label {
    background: rgba(16, 185, 129, 0.2);
    border-color: var(--green-safe);
}

.toggle-switch input[type="checkbox"]:not(:checked) + label {
    background: rgba(239, 68, 68, 0.2);
    border-color: var(--red-danger);
}

.toggle-label-on, .toggle-label-off {
    font-weight: 500;
}

.toggle-switch input[type="checkbox"]:checked + label .toggle-label-off {
    display: none;
}

.toggle-switch input[type="checkbox"]:not(:checked) + label .toggle-label-on {
    display: none;
}

.input-group-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.input-group-section h4 {
    color: var(--gold-primary);
    margin-bottom: 1rem;
}

.dual-input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dual-input input {
    flex: 1;
}

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

.output-placeholder {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}

.output-placeholder i {
    font-size: 4rem;
    color: var(--gold-primary);
    margin-bottom: 1rem;
}

/* Calculator Outputs */
.output-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.output-card {
    background: rgba(26, 35, 50, 0.8);
    padding: 1.5rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.output-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.output-value {
    font-size: 1.75rem;
    color: var(--gold-primary);
    font-weight: 700;
}

.output-status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    margin-top: 1rem;
}

.output-status-badge.green {
    background: rgba(16, 185, 129, 0.2);
    color: var(--green-safe);
}

.output-status-badge.amber {
    background: rgba(245, 158, 11, 0.2);
    color: var(--amber-caution);
}

.output-status-badge.red {
    background: rgba(239, 68, 68, 0.2);
    color: var(--red-danger);
}

.output-chart {
    margin: 2rem 0;
    height: 400px;
    background: rgba(26, 35, 50, 0.8);
    border-radius: 6px;
    padding: 1rem;
}

.output-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
}

.output-table th {
    background: rgba(26, 35, 50, 0.8);
    padding: 0.75rem;
    text-align: left;
    color: var(--gold-primary);
    font-weight: 600;
    border-bottom: 2px solid var(--border-color);
}

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

.output-table tr:hover {
    background: rgba(245, 166, 35, 0.05);
}

/* Stress Test Layout */
.stress-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.stress-controls, .stress-results {
    background: rgba(15, 20, 25, 0.5);
    padding: 2rem;
    border-radius: 6px;
}

.scenario-selector {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.scenario-btn {
    padding: 1.25rem;
    background: rgba(26, 35, 50, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.scenario-btn:hover {
    border-color: var(--gold-primary);
}

.scenario-btn.active {
    background: rgba(245, 166, 35, 0.1);
    border-color: var(--gold-primary);
}

.scenario-btn i {
    color: var(--gold-primary);
    margin-right: 0.5rem;
}

.scenario-btn strong {
    color: var(--text-light);
    font-size: 1.05rem;
}

.scenario-btn span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.custom-scenario {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.custom-scenario h4 {
    color: var(--gold-primary);
    margin-bottom: 1rem;
}

.calculator-footer {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

/* ===================================
   RISKS SECTION
   =================================== */

.risks-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, rgba(15, 20, 25, 0) 0%, rgba(26, 35, 50, 0.5) 100%);
}

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

.risk-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s;
}

.risk-card:hover {
    border-color: var(--red-danger);
}

.risk-icon {
    width: 70px;
    height: 70px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.risk-icon i {
    font-size: 1.75rem;
    color: var(--red-danger);
}

.risk-card h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.risk-content p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.risk-response {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: rgba(16, 185, 129, 0.1);
    border-left: 3px solid var(--green-safe);
    border-radius: 4px;
}

.risk-response strong {
    color: var(--green-safe);
    display: block;
    margin-bottom: 0.75rem;
}

.risk-response ul {
    list-style: none;
}

.risk-response li {
    padding: 0.5rem 0;
    color: var(--text-muted);
}

.risk-response li i {
    color: var(--green-safe);
    margin-right: 0.5rem;
}

.trust-statement {
    background: var(--card-bg);
    border: 2px solid var(--gold-primary);
    border-radius: 8px;
    padding: 2.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.trust-statement i {
    font-size: 3rem;
    color: var(--gold-primary);
    flex-shrink: 0;
}

.trust-statement h3 {
    color: var(--gold-primary);
    margin-bottom: 0.75rem;
}

.trust-statement p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===================================
   WHO SECTION
   =================================== */

.who-section {
    padding: 6rem 0;
}

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

.who-card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 2.5rem;
}

.who-card.for {
    border-color: var(--green-safe);
}

.who-card.not-for {
    border-color: var(--red-danger);
}

.who-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.who-header i {
    font-size: 2rem;
}

.who-card.for .who-header i {
    color: var(--green-safe);
}

.who-card.not-for .who-header i {
    color: var(--red-danger);
}

.who-card h3 {
    color: var(--text-light);
    margin: 0;
}

.who-card ul {
    list-style: none;
}

.who-card li {
    padding: 1rem 0;
    color: var(--text-muted);
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    border-bottom: 1px solid rgba(58, 74, 95, 0.3);
}

.who-card li:last-child {
    border-bottom: none;
}

.who-card.for li i {
    color: var(--green-safe);
    margin-top: 0.25rem;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.who-card.not-for li i {
    color: var(--red-danger);
    margin-top: 0.25rem;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.who-item-content {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem;
}

.who-item-content .who-label {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.who-item-content strong {
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.95rem;
}

.who-item-content .who-detail {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.qualification-note {
    background: rgba(245, 166, 35, 0.1);
    border: 1px solid var(--gold-primary);
    border-radius: 6px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.qualification-note i {
    color: var(--gold-primary);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.qualification-note p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===================================
   FAQ SECTION
   =================================== */

.faq-section {
    padding: 6rem 0;
}

.faq-category {
    margin-bottom: 2.5rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.faq-category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.15) 0%, rgba(26, 35, 50, 0.8) 100%);
    border: 2px solid var(--gold-primary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 1rem;
}

.faq-category-header:hover {
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.25) 0%, rgba(26, 35, 50, 0.9) 100%);
    transform: translateY(-2px);
}

.faq-category-header > i:first-child {
    font-size: 1.5rem;
    color: var(--gold-primary);
    flex-shrink: 0;
}

.faq-category-header h3 {
    color: var(--text-light);
    margin: 0;
    font-size: 1.35rem;
    font-weight: 600;
    flex-grow: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.faq-category-header > i:last-child {
    color: var(--gold-primary);
    transition: transform 0.3s;
    font-size: 1.2rem;
}

.faq-category.active .faq-category-header > i:last-child {
    transform: rotate(180deg);
}

.faq-category-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.faq-category.active .faq-category-content {
    max-height: 10000px;
}

.faq-grid {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
}

.faq-question:hover {
    background: var(--card-hover);
}

.faq-question i {
    color: var(--gold-primary);
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-question h3 {
    color: var(--text-light);
    margin: 0;
    font-size: 1.15rem;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* ===================================
   QUALIFY SECTION
   =================================== */

.qualify-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, rgba(26, 35, 50, 0.5) 0%, rgba(15, 20, 25, 0) 100%);
}

.qualify-header {
    margin-bottom: 3rem;
}

.qualify-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.qualify-left h3 {
    color: var(--gold-primary);
    margin-bottom: 1.5rem;
}

.next-steps {
    margin-bottom: 2rem;
}

.next-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.step-num {
    width: 50px;
    height: 50px;
    background: var(--gold-primary);
    color: var(--navy-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    flex-shrink: 0;
}

.step-desc strong {
    color: var(--text-light);
    display: block;
    margin-bottom: 0.5rem;
}

.step-desc p {
    color: var(--text-muted);
    line-height: 1.6;
}

.contact-info {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 6px;
    border-left: 3px solid var(--gold-primary);
}

.contact-info h4 {
    color: var(--gold-primary);
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: var(--gold-primary);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.qualify-form {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.qualify-form h3 {
    color: var(--gold-primary);
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 400 !important;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.25rem;
    width: auto;
    flex-shrink: 0;
}

.submit-btn {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
}

.form-disclaimer {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 1rem;
    line-height: 1.5;
}

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

.footer {
    background: var(--navy-primary);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
}

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

.footer-col h4 {
    color: var(--gold-primary);
    margin-bottom: 1rem;
}

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

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

.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-company strong {
    color: var(--text-light);
    display: block;
    margin-bottom: 0.25rem;
}

.footer-company p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-disclaimers {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-disclaimers h4 {
    color: var(--gold-primary);
    margin-bottom: 1rem;
}

.footer-disclaimers p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.footer-copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    margin-top: 2rem;
}

/* ===================================
   MODAL
   =================================== */

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    overflow-y: auto;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-content {
    background: var(--navy-primary);
    border-radius: 8px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border: 2px solid var(--gold-primary);
}

.modal-header {
    background: var(--navy-light);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    color: var(--gold-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--text-light);
}

.modal-body {
    padding: 2rem;
}

.modal-body h3 {
    color: var(--gold-primary);
    margin-bottom: 1.5rem;
}

.risk-disclosure-section {
    margin-bottom: 2rem;
}

.risk-disclosure-section h4 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.risk-disclosure-section ul {
    list-style: none;
    padding-left: 1rem;
}

.risk-disclosure-section li {
    color: var(--text-muted);
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.risk-disclosure-section li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--red-danger);
}

.risk-summary {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--red-danger);
    border-radius: 6px;
    padding: 1.5rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-top: 2rem;
}

.risk-summary strong {
    color: var(--red-danger);
}

/* ===================================
   TOOLTIPS
   =================================== */

.tooltips-container {
    display: none;
}

.tooltip-content {
    position: absolute;
    background: var(--navy-primary);
    border: 1px solid var(--gold-primary);
    border-radius: 6px;
    padding: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 300px;
    z-index: 10000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    line-height: 1.5;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip-content.show {
    opacity: 1;
}

.tooltip-content strong {
    color: var(--gold-primary);
    display: block;
    margin-bottom: 0.5rem;
}

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

@media (max-width: 1200px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .calc-layout {
        grid-template-columns: 1fr;
    }
    
    .stress-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 968px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .problem-grid {
        grid-template-columns: 1fr;
    }
    
    .failure-grid {
        grid-template-columns: 1fr;
    }
    
    .requirements-grid {
        grid-template-columns: 1fr;
    }
    
    .risks-grid {
        grid-template-columns: 1fr;
    }
    
    .who-grid {
        grid-template-columns: 1fr;
    }
    
    .qualify-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .output-cards {
        grid-template-columns: 1fr;
    }
    
    .guardrail-dashboard-preview {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-cta {
        display: none;
    }
    
    .hero-ctas {
        flex-direction: column;
    }
    
    .cta-btn {
        width: 100%;
        justify-content: center;
    }
    
    .calculator-tabs {
        flex-direction: column;
    }
    
    .calc-tab-btn {
        width: 100%;
    }
    
    /* Responsive: Soft Launch Banner */
    .soft-launch-banner {
        font-size: 0.85rem;
        padding: 0.5rem 0;
    }
    
    /* Responsive: Start Here 2-col grid */
    section[id="start-here"] > .container > div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Responsive: Founding Members 2-col grids */
    .founding-members-section div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Responsive: Scorecard 2-col grid */
    .scorecard-section div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Responsive: Final CTA 2-col grid */
    section[id="apply"] div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    h1, .hero-title {
        font-size: 2rem;
    }
    
    h2, .section-title {
        font-size: 1.75rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--navy-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-hover);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--gold-primary);
    color: var(--navy-dark);
}
