/* PROOF OF PULSE TECHNOLOGIES - ADVANCED HIGH-TECH DESIGN SYSTEM */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Orbitron:wght@400;600;700;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --bg-dark: #050714;
    --bg-card: rgba(13, 17, 38, 0.75);
    --bg-card-hover: rgba(20, 27, 58, 0.85);
    --bg-glass: rgba(15, 23, 50, 0.65);
    
    --cyan-primary: #00f0ff;
    --cyan-glow: rgba(0, 240, 255, 0.4);
    --purple-primary: #a855f7;
    --purple-glow: rgba(168, 85, 247, 0.4);
    --magenta-primary: #ec4899;
    --emerald-primary: #10b981;
    --yellow-warning: #f59e0b;
    --gold-accent: #fbbf24;
    
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --text-dim: #6b7280;
    
    --border-cyan: rgba(0, 240, 255, 0.25);
    --border-purple: rgba(168, 85, 247, 0.25);
    --border-gold: rgba(251, 191, 36, 0.35);
    --border-glass: rgba(255, 255, 255, 0.08);
    
    --font-heading: 'Orbitron', sans-serif;
    --font-subheading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
    width: 100%;
    min-height: 100vh;
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Background Canvas & Effects */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
    pointer-events: none;
}

.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.35;
    z-index: 1;
    pointer-events: none;
    animation: pulseGlow 12s infinite alternate ease-in-out;
}

.glow-top-left {
    top: -150px;
    left: -150px;
    width: 600px;
    height: 600px;
    background: var(--cyan-primary);
}

.glow-bottom-right {
    bottom: -150px;
    right: -150px;
    width: 650px;
    height: 650px;
    background: var(--purple-primary);
}

@keyframes pulseGlow {
    0% { transform: scale(1) translate(0, 0); opacity: 0.3; }
    50% { transform: scale(1.15) translate(30px, -20px); opacity: 0.45; }
    100% { transform: scale(0.95) translate(-20px, 30px); opacity: 0.3; }
}

/* Page Layout */
.app-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header Navbar - Optimized for Perfect Full Visibility */
.header-navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 1.2rem;
    background: rgba(5, 7, 20, 0.94);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-cyan);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    gap: 0.8rem;
    width: 100%;
}

.brand-container {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    cursor: pointer;
    flex-shrink: 0;
}

.brand-logo-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid var(--cyan-primary);
    border-radius: 10px;
    box-shadow: 0 0 15px var(--cyan-glow);
    position: relative;
    flex-shrink: 0;
}

.pulse-ring-icon {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    border: 1px solid var(--cyan-primary);
    animation: ringPulse 2s infinite linear;
}

@keyframes ringPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.35); opacity: 0; }
}

.brand-titles h1 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    background: linear-gradient(90deg, #ffffff 0%, var(--cyan-primary) 60%, var(--purple-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}

.brand-tagline-badge {
    font-size: 0.62rem;
    font-family: var(--font-subheading);
    color: var(--text-muted);
    letter-spacing: 0.4px;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
}

.brand-tagline-badge span.pulse-dot {
    width: 5px;
    height: 5px;
    background-color: var(--emerald-primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--emerald-primary);
}

/* Nav Tabs - Aligned, No Cut-Offs */
.nav-tabs {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    background: rgba(15, 23, 50, 0.8);
    padding: 0.25rem 0.35rem;
    border-radius: 10px;
    border: 1px solid var(--border-glass);
    flex: 1;
    justify-content: center;
    max-width: fit-content;
}

.nav-tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-subheading);
    font-size: 0.74rem;
    font-weight: 600;
    padding: 0.4rem 0.65rem;
    border-radius: 7px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
}

.nav-tab-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.nav-tab-btn.active {
    color: var(--cyan-primary);
    background: rgba(0, 240, 255, 0.12);
    border: 1px solid var(--border-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.nav-tab-btn.gold-tab {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(168, 85, 247, 0.15));
    border: 1px solid var(--gold-accent);
    color: var(--gold-accent);
}

.nav-tab-btn.gold-tab:hover, .nav-tab-btn.gold-tab.active {
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.25), rgba(168, 85, 247, 0.25));
    color: #fff;
}

.nav-tab-btn.highlight-tab {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(0, 240, 255, 0.2));
    border: 1px solid var(--purple-primary);
    color: #fff;
}

.nav-tab-btn.highlight-tab.active {
    border-color: var(--cyan-primary);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

/* Navbar Right Status & CTA */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.status-pill {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--font-heading);
    font-size: 0.62rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--emerald-primary);
    padding: 0.3rem 0.55rem;
    border-radius: 20px;
    white-space: nowrap;
}

.btn-primary-glow {
    background: linear-gradient(135deg, var(--cyan-primary) 0%, #0099ff 100%);
    color: #040817;
    border: none;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.45rem 0.85rem;
    border-radius: 7px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 0 15px var(--cyan-glow);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

.btn-primary-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.6);
}

.btn-gold-glow {
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    color: #040817;
    border: none;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.45rem 0.85rem;
    border-radius: 7px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.4);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

.btn-gold-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(251, 191, 36, 0.7);
}

/* Main Content Area */
.main-content {
    flex: 1;
    padding: 2rem;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.4s ease-out forwards;
}

.tab-pane.active {
    display: block;
}

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

/* TAB 1: OVERVIEW HERO & VISION */
.hero-section {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 3.5rem;
}

.hero-text-side {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid var(--border-cyan);
    color: var(--cyan-primary);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    width: fit-content;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.1rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.gradient-text-cyan {
    background: linear-gradient(135deg, #ffffff 0%, var(--cyan-primary) 50%, var(--purple-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-family: var(--font-subheading);
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.btn-secondary-outline {
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    border: 1px solid var(--border-purple);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.65rem 1.4rem;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary-outline:hover {
    border-color: var(--cyan-primary);
    box-shadow: 0 0 15px var(--purple-glow);
    transform: translateY(-2px);
}

/* Hero Visual Box */
.hero-visual-card {
    position: relative;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-cyan);
    padding: 1rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 240, 255, 0.15);
    overflow: hidden;
}

.hero-visual-card img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 14px;
    filter: brightness(1.05) contrast(1.1);
}

.overlay-telemetry-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    background: rgba(5, 7, 20, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-cyan);
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.telemetry-item {
    display: flex;
    flex-direction: column;
}

.telemetry-label {
    font-size: 0.65rem;
    color: var(--text-dim);
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.telemetry-value {
    font-size: 0.95rem;
    font-family: var(--font-heading);
    color: var(--cyan-primary);
    font-weight: 700;
}

/* Telemetry Grid Stats Banner */
.stats-ticker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
    margin-bottom: 3.5rem;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 1.4rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.stat-card:hover {
    border-color: var(--border-cyan);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 240, 255, 0.15);
}

.stat-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

.stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(0, 240, 255, 0.1);
    color: var(--cyan-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.stat-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-subheading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-number {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: #fff;
}

.stat-trend {
    font-size: 0.75rem;
    color: var(--emerald-primary);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.3rem;
}

/* Feature Grid Columns */
.section-header-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2.5rem auto;
}

.section-tag {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: var(--purple-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.section-desc {
    color: var(--text-muted);
    font-family: var(--font-subheading);
    font-size: 1rem;
    line-height: 1.6;
}

/* Products Grid Showcase */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.8rem;
    margin-bottom: 3.5rem;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 18px;
    padding: 2rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    border-color: var(--border-cyan);
    box-shadow: 0 12px 30px rgba(0, 240, 255, 0.15);
    transform: translateY(-5px);
}

.product-badge-pill {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    font-family: var(--font-heading);
    font-size: 0.65rem;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--border-cyan);
    color: var(--cyan-primary);
}

.product-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(168, 85, 247, 0.15));
    border: 1px solid var(--border-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--cyan-primary);
}

.product-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
}

.product-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

.product-card .specs-mini {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: var(--text-main);
    border-top: 1px solid var(--border-glass);
    padding-top: 0.8rem;
}

.product-card .specs-mini span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-card .specs-mini span i {
    color: var(--cyan-primary);
}

/* TAB: INVESTOR HUB & VALUATION (INSTITUTIONAL SUITE) */
.deal-terms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.8rem;
    margin-bottom: 3rem;
}

.deal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.deal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(251, 191, 36, 0.2);
}

.deal-card-badge {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    font-family: var(--font-heading);
    font-size: 0.68rem;
    color: var(--gold-accent);
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid var(--border-gold);
    padding: 0.35rem 0.8rem;
    border-radius: 20px;
}

.deal-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.deal-amount {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--gold-accent);
    margin: 0.8rem 0;
}

.deal-cap {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
}

.deal-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: var(--text-main);
}

.deal-bullets li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.deal-bullets li i {
    color: var(--emerald-primary);
}

/* Arbitrage Table */
.arbitrage-table-container {
    background: var(--bg-card);
    border: 1px solid var(--border-cyan);
    border-radius: 18px;
    padding: 1.8rem;
    margin-bottom: 3rem;
    overflow-x: auto;
}

.tech-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
}

.tech-table th {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: var(--cyan-primary);
    text-transform: uppercase;
    padding: 1rem;
    border-bottom: 1px solid var(--border-cyan);
    background: rgba(0, 240, 255, 0.05);
}

.tech-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-glass);
    color: var(--text-main);
}

.tech-table tr:hover td {
    background: rgba(255, 255, 255, 0.03);
}

.highlight-row td {
    background: rgba(16, 185, 129, 0.08);
    font-weight: 600;
}

/* Financial Projections Table */
.financial-table-box {
    background: var(--bg-card);
    border: 1px solid var(--border-purple);
    border-radius: 18px;
    padding: 1.8rem;
    margin-bottom: 3rem;
    overflow-x: auto;
}

/* Downloadable Investor Package */
.investor-docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.4rem;
    margin-bottom: 3rem;
}

.doc-download-card {
    background: rgba(15, 23, 50, 0.8);
    border: 1px solid var(--border-glass);
    border-radius: 14px;
    padding: 1.4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
    cursor: pointer;
}

.doc-download-card:hover {
    border-color: var(--cyan-primary);
    background: rgba(0, 240, 255, 0.08);
    transform: translateY(-3px);
}

.doc-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(168, 85, 247, 0.15);
    color: var(--purple-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.doc-details h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: #fff;
}

.doc-details p {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Spiritual & Vision Quote Box */
.cosmic-vision-card {
    background: linear-gradient(135deg, rgba(13, 17, 38, 0.9), rgba(30, 20, 60, 0.9));
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.cosmic-vision-card quote {
    font-family: var(--font-subheading);
    font-size: 1.15rem;
    font-style: italic;
    color: #fff;
    line-height: 1.7;
    display: block;
    margin-bottom: 1.2rem;
}

.cosmic-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid var(--border-gold);
    color: var(--gold-accent);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
}

/* TAB: AI & SPACE DEPIN INFRASTRUCTURE */
.infra-showcase-container {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.infra-banner-box {
    position: relative;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-purple);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.infra-banner-text {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.infra-banner-img img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

.spec-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-main);
    font-size: 0.95rem;
}

.spec-item i {
    color: var(--cyan-primary);
}

/* TAB: PULSE AI COPILOT & TELEMETRY */
.ai-copilot-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* AI Terminal Box */
.terminal-window {
    background: #090d21;
    border: 1px solid var(--border-cyan);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    height: 620px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 240, 255, 0.1);
    overflow: hidden;
}

.terminal-header {
    background: rgba(15, 23, 50, 0.9);
    padding: 0.8rem 1.2rem;
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.terminal-dots {
    display: flex;
    gap: 0.4rem;
}

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

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.terminal-title {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    color: var(--cyan-primary);
    letter-spacing: 1px;
}

.terminal-body {
    flex: 1;
    padding: 1.2rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-family: 'Space Grotesk', monospace;
    font-size: 0.9rem;
}

.msg-bubble {
    padding: 1rem 1.2rem;
    border-radius: 12px;
    line-height: 1.5;
    max-width: 88%;
}

.msg-ai {
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid var(--border-cyan);
    color: #e2e8f0;
    align-self: flex-start;
}

.msg-user {
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid var(--border-purple);
    color: #fff;
    align-self: flex-end;
}

.preset-prompts-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
    background: rgba(10, 14, 34, 0.8);
    border-top: 1px solid var(--border-glass);
}

.chip-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    font-size: 0.72rem;
    font-family: var(--font-body);
    padding: 0.35rem 0.75rem;
    border-radius: 15px;
    cursor: pointer;
    transition: var(--transition);
}

.chip-btn:hover {
    border-color: var(--cyan-primary);
    color: var(--cyan-primary);
}

.terminal-input-bar {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    background: #060919;
    border-top: 1px solid var(--border-cyan);
}

.terminal-input-bar input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.terminal-input-bar button {
    background: var(--cyan-primary);
    color: #050714;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition);
}

.terminal-input-bar button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 12px var(--cyan-primary);
}

/* Simulator Panel */
.simulator-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sim-slider-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.slider-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-family: var(--font-subheading);
}

.slider-info span.val {
    color: var(--cyan-primary);
    font-family: var(--font-heading);
    font-weight: 700;
}

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

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

.sim-results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    background: rgba(5, 7, 20, 0.6);
    padding: 1.2rem;
    border-radius: 12px;
    border: 1px solid var(--border-cyan);
}

/* TAB: EMBEDDED BLOCKCHAIN MAINNET DASHBOARD */
.dashboard-iframe-container {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 120px);
    background: var(--bg-dark);
    border: 1px solid var(--border-cyan);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

.iframe-top-toolbar {
    background: rgba(13, 17, 38, 0.95);
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid var(--border-cyan);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.iframe-title-badge {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    color: #fff;
}

.iframe-action-btns {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.iframe-action-btns button, .iframe-action-btns a {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-glass);
    color: var(--text-main);
    font-family: var(--font-subheading);
    font-size: 0.78rem;
    padding: 0.45rem 0.9rem;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.iframe-action-btns button:hover, .iframe-action-btns a:hover {
    border-color: var(--cyan-primary);
    color: var(--cyan-primary);
}

.blockchain-dashboard-iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: #000;
}

/* TAB: TECHNICAL WHITEPAPER & ARCHITECTURE */
.whitepaper-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.math-card {
    background: var(--bg-card);
    border: 1px solid var(--border-purple);
    border-radius: 16px;
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.formula-box {
    background: rgba(5, 7, 20, 0.9);
    border: 1px dashed var(--cyan-primary);
    padding: 1.2rem;
    border-radius: 10px;
    font-family: 'Space Grotesk', monospace;
    font-size: 1rem;
    color: var(--cyan-primary);
    text-align: center;
}

/* Roadmap */
.roadmap-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.roadmap-step {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 14px;
    padding: 1.5rem;
    position: relative;
}

.roadmap-step.active {
    border-color: var(--cyan-primary);
    box-shadow: 0 0 15px var(--cyan-glow);
}

.step-phase {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    color: var(--cyan-primary);
    margin-bottom: 0.4rem;
}

.roadmap-step h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
}

.roadmap-step ul {
    list-style: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

.roadmap-step ul li {
    margin-bottom: 0.4rem;
    position: relative;
    padding-left: 1rem;
}

.roadmap-step ul li::before {
    content: "•";
    color: var(--cyan-primary);
    position: absolute;
    left: 0;
}

/* TAB: COMMAND CENTER */
.command-center-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.8rem;
}

.console-box {
    background: #070a1a;
    border: 1px solid var(--border-cyan);
    border-radius: 14px;
    padding: 1.2rem;
    font-family: 'Space Grotesk', monospace;
    font-size: 0.85rem;
    height: 380px;
    overflow-y: auto;
    color: #38bdf8;
    line-height: 1.6;
}

.log-entry {
    margin-bottom: 0.4rem;
    display: flex;
    gap: 0.8rem;
}

.log-time { color: var(--text-dim); }
.log-tag { color: var(--purple-primary); font-weight: bold; }
.log-text { color: var(--text-main); }

/* Footer */
.app-footer {
    background: rgba(5, 7, 20, 0.95);
    border-top: 1px solid var(--border-glass);
    padding: 2.5rem 2rem 1.5rem 2rem;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    max-width: 350px;
}

.footer-links-group {
    display: flex;
    gap: 3.5rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-col h5 {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 0.4rem;
}

.footer-col a {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-glass);
    color: var(--text-dim);
    font-size: 0.8rem;
}

/* Responsive Rules */
@media (max-width: 1350px) {
    .header-navbar {
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav-tabs {
        order: 3;
        width: 100%;
        max-width: 100%;
        justify-content: space-around;
        margin-top: 0.4rem;
    }
}

@media (max-width: 1100px) {
    .hero-section {
        grid-template-columns: 1fr;
    }
    .infra-banner-box {
        grid-template-columns: 1fr;
    }
    .ai-copilot-grid, .whitepaper-grid, .command-center-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 850px) {
    .header-navbar {
        flex-direction: column;
        gap: 0.8rem;
        padding: 0.8rem;
    }
    .hero-title {
        font-size: 2.2rem;
    }
}

/* -------------------------------------------------------------
   7. INTERACTIVE TECHNOLOGY ECOSYSTEM SUB-NAV WORKSPACE
------------------------------------------------------------- */
.tech-ecosystem-workspace {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2rem;
    margin-top: 2rem;
    min-height: 700px;
}

.tech-sub-nav {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    background: rgba(10, 15, 35, 0.7);
    border: 1px solid var(--border-glass);
    padding: 1.2rem;
    border-radius: 16px;
    height: fit-content;
}

.tech-sub-nav-header {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: var(--cyan-primary);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
    text-transform: uppercase;
}

.tech-sub-btn {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    font-family: var(--font-subheading);
    font-size: 0.82rem;
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
}

.tech-sub-btn:hover {
    color: #fff;
    background: rgba(255,255,255,0.06);
    border-color: var(--border-cyan);
}

.tech-sub-btn.active {
    background: rgba(0, 240, 255, 0.08);
    border-color: var(--cyan-primary);
    color: var(--cyan-primary);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
}

.tech-sub-pane {
    display: none;
    animation: fadeIn 0.4s ease-out forwards;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    flex-direction: column;
    gap: 1.5rem;
}

.tech-sub-pane.active {
    display: flex;
}

.tech-pane-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 1.2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.tech-pane-badge {
    font-family: var(--font-heading);
    font-size: 0.68rem;
    background: rgba(168, 85, 247, 0.12);
    border: 1px solid var(--border-purple);
    color: var(--purple-primary);
    padding: 0.35rem 0.8rem;
    border-radius: 20px;
    text-transform: uppercase;
}

.tech-pane-badge.cyan-badge {
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--cyan-primary);
    color: var(--cyan-primary);
}

.tech-pane-badge.gold-badge {
    background: rgba(251, 191, 36, 0.12);
    border-color: var(--gold-accent);
    color: var(--gold-accent);
}

.tech-pane-title-box h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 0.3rem;
}

.tech-pane-title-box p {
    color: var(--text-muted);
    font-family: var(--font-subheading);
    font-size: 0.98rem;
}

/* WIDGET STYLING */
.tech-widget-box {
    background: rgba(5, 7, 20, 0.7);
    border: 1px solid var(--border-cyan);
    border-radius: 16px;
    padding: 1.5rem;
    overflow: hidden;
    position: relative;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* WhatsApp Simulator style */
.wa-container {
    background: #0b141a;
    border-radius: 12px;
    overflow: hidden;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.wa-header {
    background: #1f2c34;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border-bottom: 1px solid #2d383e;
}

.wa-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--emerald-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    font-size: 1.1rem;
}

.wa-header-text h4 {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
}

.wa-header-text p {
    color: #8696a0;
    font-size: 0.7rem;
    margin: 0;
}

.wa-body {
    padding: 1rem;
    height: 280px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 15px 15px;
}

.wa-msg {
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    max-width: 80%;
    font-size: 0.85rem;
    line-height: 1.4;
}

.wa-msg.in {
    background: #202c33;
    color: #e9edef;
    align-self: flex-start;
}

.wa-msg.out {
    background: #005c4b;
    color: #e9edef;
    align-self: flex-end;
}

.wa-footer {
    background: #1f2c34;
    padding: 0.6rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.wa-input {
    flex: 1;
    background: #2a3942;
    border: none;
    outline: none;
    color: #fff;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    font-size: 0.85rem;
}

.wa-btn {
    background: #00a884;
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Order Book styling for BitPlay */
.ob-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    font-family: monospace;
    font-size: 0.82rem;
}

.ob-list {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.ob-row {
    display: flex;
    justify-content: space-between;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.ob-row.bid { background: rgba(16, 185, 129, 0.08); color: var(--emerald-primary); }
.ob-row.ask { background: rgba(239, 68, 68, 0.08); color: #ef4444; }

/* Keplerian calculator layout */
.kep-calculator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.2rem;
}

/* Responsive workspace */
@media (max-width: 950px) {
    .tech-ecosystem-workspace {
        grid-template-columns: 1fr;
    }
}

/* -------------------------------------------------------------
   8. SECURE CONFIDENTIAL VAULT OVERLAY MODAL & TOASTS
------------------------------------------------------------- */
.secure-vault-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 6, 18, 0.95);
    backdrop-filter: blur(25px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    overflow-y: auto;
}

.secure-vault-card {
    background: rgba(13, 17, 38, 0.85);
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 550px;
    width: 100%;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(251, 191, 36, 0.15);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    animation: scaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scaleUp {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.secure-vault-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(90deg, #ffffff 0%, var(--gold-accent) 60%, var(--purple-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.vault-disclaimer-box {
    background: rgba(251, 191, 36, 0.05);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    padding: 1rem;
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.vault-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.vault-input-group label {
    font-family: var(--font-subheading);
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.vault-pwd-field {
    background: rgba(5, 7, 20, 0.9);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    padding: 0.85rem 1.2rem;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1.1rem;
    letter-spacing: 2px;
    outline: none;
    text-align: center;
    transition: var(--transition);
}

.vault-pwd-field:focus {
    border-color: var(--gold-accent);
    box-shadow: 0 0 12px rgba(251, 191, 36, 0.3);
}

.vault-action-group {
    display: flex;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.vault-action-group button {
    flex: 1;
    padding: 0.85rem;
    font-size: 0.85rem;
    border-radius: 10px;
}

/* Security Warning Toast Alert */
.security-alert-toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: rgba(239, 68, 68, 0.95);
    border: 1px solid #ef4444;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    color: #fff;
    font-family: var(--font-subheading);
    font-size: 0.88rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    gap: 0.8rem;
    z-index: 20000;
    animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Document Viewer layout */
.vault-doc-viewer {
    background: #090d21;
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    padding: 2.5rem;
    color: var(--text-main);
    display: none;
    flex-direction: column;
    gap: 1.5rem;
    animation: fadeIn 0.4s ease-out;
    margin-bottom: 3rem;
}

.vault-doc-viewer h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #fff;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 1rem;
}

.vault-doc-body {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #e2e8f0;
}

.vault-doc-body p {
    margin-bottom: 1.2rem;
}

.vault-doc-body ul {
    list-style: none;
    padding-left: 1rem;
    margin-bottom: 1.2rem;
}

.vault-doc-body ul li {
    position: relative;
    margin-bottom: 0.5rem;
    padding-left: 1.2rem;
}

.vault-doc-body ul li::before {
    content: "•";
    color: var(--gold-accent);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Print & Focus Protection Styles */
@media print {
    body {
        display: none !important;
    }
}

body.pop-screen-blur {
    filter: blur(25px) !important;
    transition: filter 0.1s ease;
}

.sovereign-security-banner {
    background: linear-gradient(90deg, #ef4444 0%, #7f1d1d 50%, #1e1b4b 100%);
    border-bottom: 2px solid var(--border-gold);
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.76rem;
    padding: 0.5rem 1rem;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.5px;
    z-index: 10005;
    position: relative;
}
.sovereign-security-banner .banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}
.sovereign-security-banner .banner-badge {
    background: #fff;
    color: #ef4444;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: bold;
    border: 1px solid #ef4444;
}

/* Print & Focus Protection Styles */
@media print {
    body {
        display: none !important;
    }
}

body.pop-screen-blur {
    filter: blur(25px) !important;
    transition: filter 0.1s ease;
}

.sovereign-security-banner {
    background: linear-gradient(90deg, #ef4444 0%, #7f1d1d 50%, #1e1b4b 100%);
    border-bottom: 2px solid var(--border-gold);
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.76rem;
    padding: 0.5rem 1rem;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.5px;
    z-index: 10005;
    position: relative;
}
.sovereign-security-banner .banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}
.sovereign-security-banner .banner-badge {
    background: #fff;
    color: #ef4444;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: bold;
    border: 1px solid #ef4444;
}

/* Valuations Model Tab Styles */
.valuations-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}
@media (max-width: 900px) {
    .valuations-summary-grid {
        grid-template-columns: 1fr;
    }
}
.valuation-card {
    background: rgba(13, 20, 38, 0.4);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 1.8rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.valuation-card h3 {
    font-family: var(--font-heading);
    color: var(--cyan-primary);
    margin-top: 0;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.valuation-stat-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.valuation-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    padding-bottom: 0.5rem;
}
.valuation-stat-row:last-child {
    border-bottom: none;
}
.valuation-stat-label {
    color: var(--text-muted);
    font-size: 0.88rem;
}
.valuation-stat-value {
    font-family: monospace;
    font-weight: bold;
    color: #fff;
}
.interactive-calc-box {
    background: rgba(5, 8, 16, 0.6);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 1.2rem;
    margin-top: 1rem;
}
.calc-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
}
.calc-input-group label {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-family: var(--font-heading);
}
.calc-input-group input, .calc-input-group select {
    background: rgba(13, 17, 33, 0.95);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    padding: 0.5rem;
    color: #fff;
    font-family: monospace;
    font-size: 0.88rem;
}
.calc-input-group input:focus, .calc-input-group select:focus {
    outline: none;
    border-color: var(--cyan-primary);
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.25);
}
.calc-result-display {
    border-top: 1px dashed rgba(255,255,255,0.1);
    padding-top: 1rem;
    text-align: center;
}
.calc-result-val {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--gold-accent);
    font-weight: bold;
    margin-top: 0.3rem;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
}

/* eSAFE Investment Portal Styles */
.esafe-portal-container {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 4rem;
}
@media (max-width: 1000px) {
    .esafe-portal-container {
        grid-template-columns: 1fr;
    }
}
.esafe-form-box {
    background: rgba(13, 20, 38, 0.5);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(12px);
}
.esafe-preview-box {
    background: rgba(10, 14, 26, 0.85);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 700px;
    overflow-y: auto;
}
.esafe-agreement-paper {
    background: rgba(251, 191, 36, 0.02);
    border: 1px solid rgba(251, 191, 36, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    color: #e2e8f0;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    line-height: 1.6;
    max-height: 480px;
    overflow-y: auto;
    white-space: pre-line;
}
.esafe-agreement-paper h2 {
    font-family: var(--font-heading);
    color: var(--gold-accent);
    font-size: 1.2rem;
    text-align: center;
    margin-top: 0;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}
.esafe-agreement-paper h3 {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 0.95rem;
    margin-top: 1rem;
}
.wallet-connect-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 240, 255, 0.04);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 6px;
    padding: 0.6rem 1rem;
    margin-bottom: 1rem;
}
.wallet-status-badge {
    font-size: 0.76rem;
    font-family: monospace;
    color: var(--cyan-primary);
}
.wallet-status-badge.connected {
    color: var(--emerald-primary);
}
.kyc-warning-banner {
    background: rgba(239, 68, 68, 0.08);
    border: 1px dashed rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    padding: 0.8rem;
    color: #fca5a5;
    font-size: 0.78rem;
    line-height: 1.4;
    margin-top: 1rem;
}

/* Green indicator for live developed technologies */
.tech-sub-btn.live-tech-tab {
    color: var(--emerald-primary) !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
    background: rgba(16, 185, 129, 0.04) !important;
}
.tech-sub-btn.live-tech-tab:hover {
    background: rgba(16, 185, 129, 0.08) !important;
    border-color: var(--emerald-primary) !important;
}
.tech-sub-btn.live-tech-tab.active {
    background: rgba(16, 185, 129, 0.15) !important;
    border-color: var(--emerald-primary) !important;
    color: #fff !important;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.25) !important;
}
