/* =========================================
   AUTOMIND GLOBAL STYLES 2.0 (CONSOLIDATED)
   Theme: "Wall Street + AI" - Deep Black & Neon Green
   ========================================= */

:root {
    --bg-deep: #000000;
    --bg-panel: #0a0a0a;
    --bg-glass: rgba(10, 10, 10, 0.85);

    --primary: #00FF9D;
    /* Neon Green */
    --primary-dim: rgba(0, 255, 157, 0.1);
    --secondary: #10B981;
    /* Emerald */

    --text-main: #FFFFFF;
    --text-muted: #64748B;
    --text-dark: #333333;

    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(0, 255, 157, 0.3);

    --font-main: 'Outfit', sans-serif;
    --font-mono: 'Space Mono', monospace;

    --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html,
body {
    background-color: #050505;
    min-height: 100vh;
    color: var(--text-main);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
    font-weight: 300;
}

/* --- TYPOGRAPHY --- */
h1,
h2,
h3,
h4 {
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--text-main);
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.mono {
    font-family: var(--font-mono);
}

.green {
    color: var(--primary);
}

.gradient-text {
    background: linear-gradient(180deg, #FFFFFF, #94A3B8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-center {
    text-align: center;
}

/* --- UTILITIES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
}

.section {
    padding: 8rem 0;
    position: relative;
}

.page-content {
    padding-top: 100px;
    /* Increased buffer for fixed header */
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* --- BACKGROUNDS & LAYERS --- */
.vertical-bg-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.v-text {
    position: absolute;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    color: var(--primary);
    opacity: 0.06;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 8vh;
    animation: flowUp 60s linear infinite;
    user-select: none;
}

@keyframes flowUp {
    0% {
        transform: translateY(100vh);
    }

    100% {
        transform: translateY(-100%);
    }
}

/* --- NAVIGATION --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.05em;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
    font-weight: 600;
}

.glass-panel,
.finance-card,
.team-card,
.swot-item,
.price-card,
.feature-block {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.4s var(--ease-premium);
    position: relative;
    overflow: hidden;
}

.glass-panel:hover,
.finance-card:hover,
.team-card:hover,
.price-card:hover {
    border-color: var(--border-highlight);
    box-shadow: var(--primary-glow);
    transform: translateY(-5px);
}

/* Spotlight Effect Layer */
.glass-panel::after,
.finance-card::after,
.team-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(600px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(0, 255, 157, 0.06), transparent 40%);
    z-index: 1;
    pointer-events: none;
}

.nav-links a.active {
    border-bottom: 1px solid var(--primary);
}

/* Hamburger Menu Toggle (Hidden by default) */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 2000;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s linear;
}

/* --- BUTTONS --- */
.btn {
    padding: 0.5rem 1.4rem;
    border-radius: 50px;
    border: none;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.4s var(--ease-premium);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-block;
    text-decoration: none;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
}

.btn-primary {
    background: var(--primary);
    color: #050505;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(0, 255, 157, 0.4);
    transform: translateY(-2px);
}

.mobile-beta-btn {
    display: none;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* --- HERO & HOME --- */
.hero {
    padding-top: 140px;
    text-align: center;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.status-pill {
    margin: 0 auto 2rem;
    border: 1px solid #333;
    padding: 5px 15px;
    border-radius: 20px;
    color: var(--primary);
    display: inline-block;
    font-size: 0.8rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* --- 3 STEPS ICONIC SECTION --- */
.step-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    padding: 3rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s;
}

.step-card:hover {
    border-color: var(--border-highlight);
}

/* Visuals for Steps */
.step-visual {
    height: 150px;
    background: #000;
    margin-bottom: 2rem;
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Animation: Matrix Flow */
.matrix-col {
    width: 20%;
    height: 100%;
    border-right: 1px solid #111;
    position: absolute;
    top: 0;
}

.matrix-dot {
    width: 4px;
    border-radius: 50%;
    height: 4px;
    background: var(--primary);
    position: absolute;
    animation: drip 2s infinite;
    opacity: 0;
    left: 50%;
    transform: translateX(-50%);
}

@keyframes drip {
    0% {
        top: -10%;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        top: 110%;
        opacity: 0;
    }
}

/* Animation: Analyze Pulse */
.pulse-ring {
    width: 60px;
    height: 60px;
    border: 2px solid var(--secondary);
    border-radius: 50%;
    opacity: 0;
    position: absolute;
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {

    75%,
    100% {
        transform: scale(2);
        opacity: 0;
    }

    0% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Animation: Score Card */
.score-box {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-mono);
}

.micro-copy {
    margin-top: 2rem;
    font-size: 0.75rem;
    font-family: var(--font-mono);
}

.status-ok {
    color: var(--secondary);
}

.status-warn {
    color: #F59E0B;
}

/* Value Prop & Stats */
.stat-box {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-panel);
    border-radius: 8px;
}

.big-num {
    display: block;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.inner-grid {
    gap: 1rem;
    grid-template-columns: 1fr 1fr;
}

/* --- FOOTER --- */
footer {
    border-top: 1px solid var(--border-subtle);
    padding: 4rem 2rem;
    margin-top: 8rem;
    background: #050505;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
}


/* ===========================
   PAGES SPECIFIC STYLES
   =========================== */

/* Funzionalità Page */
.subtitle-max {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 1rem auto;
}

.feature-block {
    background: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.3s;
}

.feature-block:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.icon-circle {
    width: 50px;
    height: 50px;
    background: rgba(0, 255, 157, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

/* Mockup Animation */
.mockup-section {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
    perspective: 1000px;
}

.mockup-window {
    width: 80%;
    max-width: 800px;
    height: 450px;
    background: #0f0f0f;
    border: 1px solid #333;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: rotateX(5deg);
}

.mockup-header {
    background: #1a1a1a;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.red {
    background: #ff5f56;
}

.yellow {
    background: #ffbd2e;
}

.green {
    background: #27c93f;
}

.address-bar {
    background: #000;
    color: #666;
    font-size: 0.8rem;
    padding: 2px 10px;
    border-radius: 4px;
    margin-left: 20px;
    font-family: var(--font-mono);
    width: 60%;
}

.mockup-body {
    flex: 1;
    display: flex;
    position: relative;
}

.dash-sidebar {
    width: 60px;
    border-right: 1px solid #333;
    background: #141414;
}

.dash-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dash-card {
    background: #222;
    border-radius: 4px;
    height: 100px;
    position: relative;
}

.dash-card.wide {
    height: 60px;
}

.dash-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.active-card {
    border: 1px solid var(--primary);
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.score-badge {
    background: var(--primary);
    color: #050505;
    font-weight: bold;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.02em;
}

.sim-cursor {
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white' stroke='black' stroke-width='2'%3E%3Cpath d='M3 3l7.07 16.97 2.51-7.39 7.39-2.51L3 3z'/%3E%3C/svg%3E");
    position: absolute;
    top: 100%;
    left: 100%;
    animation: mouseFloater 6s infinite;
}

@keyframes mouseFloater {
    0% {
        top: 80%;
        left: 80%;
    }

    40% {
        top: 60%;
        left: 75%;
    }

    100% {
        top: 80%;
        left: 80%;
    }
}

/* Pricing Grid */
.pricing-grid {
    gap: 2rem;
    align-items: flex-end;
}

.pricing-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    padding: 2rem;
    border-radius: 8px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.elite {
    border: 1px solid var(--primary);
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.1);
}

.price {
    font-size: 2.5rem;
    color: #fff;
    margin: 1rem 0;
    font-weight: 700;
}

.price span {
    font-size: 1rem;
    color: #666;
    font-weight: 400;
}

.pop-tag {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--primary);
    color: #050505;
    font-weight: bold;
    text-align: center;
    font-size: 0.8rem;
    padding: 4px 0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.full-width {
    width: 100%;
    margin-top: 2rem;
}

.features-list {
    list-style: none;
    margin: 2rem 0;
    flex-grow: 1;
}

.features-list li {
    margin-bottom: 0.8rem;
    color: var(--text-muted);
    display: flex;
    gap: 0.5rem;
}

.features-list li.active {
    color: var(--text-main);
}

.features-list li::before {
    content: "•";
    color: var(--primary);
}

/* Financial Table */
.financial-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
}

.financial-table th {
    text-align: left;
    color: #666;
    padding: 1rem;
    font-size: 0.8rem;
    border-bottom: 1px solid #333;
}

.financial-table td {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-weight: bold;
}

/* Demo Page Styles */
.demo-wrapper {
    display: grid;
    grid-template-columns: 350px 1fr;
    height: 100vh;
}

.console-panel {
    background: #080808;
    border-right: 1px solid #222;
    display: flex;
    flex-direction: column;
}

.console-header {
    padding: 15px;
    border-bottom: 1px solid #222;
    display: flex;
    gap: 8px;
    align-items: center;
    color: #666;
}

.console-body {
    padding: 15px;
    font-size: 0.85rem;
    color: #888;
    flex: 1;
    overflow-y: auto;
}

.log-entry {
    margin-bottom: 5px;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}

.log-entry.system {
    color: #888;
}

.log-entry.process {
    color: #fff;
}

.log-entry.success {
    color: var(--primary);
}

.log-entry.warn {
    color: #facc15;
}

.visual-panel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, #111 0%, #000 100%);
    overflow: hidden;
}

.scan-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(0deg, transparent, transparent 1px, #111 2px, #111 3px);
    opacity: 0.2;
    pointer-events: none;
}

.target-card {
    width: 500px;
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid #333;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    padding: 2rem;
    position: relative;
}

.card-status-bar {
    border-bottom: 1px solid #333;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #888;
}

.car-visual-box {
    width: 100%;
    height: 200px;
    background: #000;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scanning-beam {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--primary);
    box-shadow: 0 0 15px var(--primary);
    animation: scanDown 2s infinite ease-in-out;
}

@keyframes scanDown {
    0% {
        top: 0
    }

    50% {
        top: 100%
    }

    100% {
        top: 0
    }
}

.analysis-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 1rem;
    opacity: 0;
}

.a-box {
    background: #1a1a1a;
    padding: 10px;
    border-radius: 4px;
}

.a-box label {
    font-size: 0.7rem;
    color: #666;
    display: block;
}

.a-box .val {
    font-size: 1.1rem;
    font-weight: bold;
}

.a-box.big {
    grid-column: span 2;
    text-align: center;
    border: 1px solid rgba(0, 255, 157, 0.3);
}

.final-decision {
    text-align: center;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
}

.circular-chart {
    display: block;
    margin: 0 auto;
    max-width: 100px;
    max-height: 100px;
    margin-bottom: 1rem;
}

.circle {
    stroke: var(--primary);
    fill: none;
    stroke-width: 2.8;
    stroke-linecap: round;
    animation: progress 1s ease-out forwards;
}

.circle-bg {
    stroke: #333;
    fill: none;
    stroke-width: 3.8;
}

.percentage {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
    margin-top: -70px;
    margin-bottom: 40px;
}

/* Animations Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes progress {
    0% {
        stroke-dasharray: 0 100;
    }
}

.scale-in-center {
    animation: scaleIn 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s var(--ease-premium);
}

.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hidden {
    display: none !important;
}

.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Team Cards */
.team-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.role-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #222;
    margin-bottom: 1.5rem;
    color: #fff;
}

.role-icon.green {
    color: var(--primary);
    background: rgba(0, 255, 157, 0.1);
}

.role-icon.blue {
    color: #3B82F6;
    background: rgba(59, 130, 246, 0.1);
}

.role-icon.yellow {
    color: #facc15;
    background: rgba(250, 204, 21, 0.1);
}

.role-icon.purple {
    color: #a855f7;
    background: rgba(168, 85, 247, 0.1);
}

/* TECH PAGE Styles */
.pipeline-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.pipe-node {
    flex: 1;
    background: #111;
    border: 1px solid #333;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

.active-node {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.05);
}

.node-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: #222;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.node-icon.green {
    background: rgba(0, 255, 157, 0.1);
    color: var(--primary);
}

.tech-list {
    text-align: left;
    margin-top: 1.5rem;
    list-style: none;
    font-size: 0.85rem;
    color: #888;
}

.tech-list li {
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-list strong {
    color: var(--primary);
}

.pipe-arrow {
    font-size: 2rem;
    color: #333;
}

.stat-bar-container {
    width: 100%;
}

.sb-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #fff;
    margin-bottom: 5px;
}

.sb-bg {
    width: 100%;
    height: 6px;
    background: #333;
    border-radius: 3px;
    overflow: hidden;
}

.sb-fill {
    height: 100%;
    background: var(--primary);
}

/* ===========================
   RESPONSIVE MEDIA QUERIES
   =========================== */

/* Tablet & Mobile (Max Width 900px) */
@media (max-width: 900px) {

    /* Navigation: Hamburger & Overlay */
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        /* Full screen width */
        height: 100vh;
        /* Full screen height */
        background: rgba(5, 5, 5, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1500;
        border-left: none;
        /* No border needed for full screen */
        box-shadow: none;
        padding-top: 120px;
        padding-bottom: 80px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-links.mobile-active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
        margin: 1.2rem 0;
        color: var(--text-main);
        width: 100%;
        text-align: center;
    }

    .navbar>.btn-primary {
        display: none;
    }

    .nav-links .mobile-beta-btn {
        display: block !important;
        margin: 3rem auto 0;
        /* More spacing */
        flex-shrink: 0;
        /* Don't squash button */
    }

    /* Grid Stacking - Universal Vertical Layout */
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pipeline-grid {
        flex-direction: column;
        /* Center boxes on top of each other */
        align-items: stretch;
        gap: 1rem;
    }

    .pipe-node {
        width: 100%;
        max-width: 100%;
    }

    /* Typography Adjustments */
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .section {
        padding: 4rem 0;
    }

    .container {
        padding: 0 1.5rem;
    }

    .hero {
        padding-top: 120px;
        min-height: auto;
        padding-bottom: 4rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        display: block;
        margin-bottom: 12px;
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
        border-radius: 50px;
    }

    /* Adjust specific components for Mobile */
    .step-visual {
        height: 120px;
    }

    /* Mockup */
    .mockup-window {
        height: auto;
        min-height: 250px;
        width: 100%;
        transform: none;
        box-shadow: none;
    }

    .dash-sidebar {
        display: none;
    }

    .dash-grid {
        grid-template-columns: 1fr;
    }

    /* Demo Page Mobile */
    .demo-wrapper {
        display: flex;
        flex-direction: column;
        height: auto;
        margin-top: 70px;
        overflow-y: auto;
    }

    body {
        overflow-y: auto !important;
    }

    .console-panel {
        display: none;
    }

    /* Hide logs on mobile to save space */
    .visual-panel {
        height: auto;
        padding: 2rem 1rem;
        min-height: 70vh;
    }

    .target-card {
        width: 100%;
        padding: 1.5rem;
    }

    /* Pricing */
    .pricing-grid {
        align-items: stretch;
    }

    /* Tech Diagram */
    .pipe-arrow {
        transform: rotate(90deg);
        margin: 1rem auto;
        display: block;
        width: fit-content;
    }

    .tech-diagram-container {
        padding: 1.5rem;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    /* Financial Table Scroll */
    .financial-table-wrapper {
        overflow-x: auto;
    }

    .financial-table {
        min-width: 600px;
    }

    /* Hide Background Flow Text on Mobile for Performance/Cleaner Look */
    .v-text {
        display: none;
    }
}

/* --- BETA SECTION STYLES --- */
.beta-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
}

.beta-form-group {
    margin-bottom: 2rem;
}

.beta-form-group label {
    display: block;
    font-family: var(--font-mono);
    color: var(--primary);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.input-glow,
.textarea-glow {
    width: 100%;
    padding: 1rem;
    background: #000;
    border: 1px solid #333;
    color: #fff;
    border-radius: 4px;
    font-family: var(--font-main);
    transition: all 0.3s;
}

.input-glow:focus,
.textarea-glow:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.1);
}

.textarea-glow {
    resize: vertical;
    min-height: 120px;
}

.loader-container {
    display: none;
    text-align: center;
    padding: 5rem 2rem;
}

.loader-bar {
    width: 250px;
    height: 4px;
    background: #111;
    margin: 1.5rem auto;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.loader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary);
    animation: loadingSlide 2s infinite;
}

@keyframes loadingSlide {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.result-card {
    display: none;
    animation: fadeIn 0.8s forwards;
}

.analysis-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid #222;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.badge-valuation {
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-deal {
    background: var(--primary-dim);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.badge-inline {
    background: rgba(59, 130, 246, 0.1);
    color: #3B82F6;
    border: 1px solid #3B82F6;
}

.badge-over {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
    border: 1px solid #EF4444;
}

.grid-analysis {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.analysis-item h4 {
    font-size: 0.7rem;
    color: #555;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    letter-spacing: 0.05em;
}

.analysis-item p {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
}

@media (max-width: 768px) {
    .grid-analysis {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .analysis-header {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* --- FINANCIAL TABLE STYLES --- */
.financial-table-wrapper {
    overflow-x: auto;
    margin-top: 3rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
}

.financial-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-main);
    min-width: 700px;
}

.financial-table th {
    text-align: left;
    padding: 20px;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
}

.financial-table td {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    font-weight: 500;
}

.financial-table tr:hover {
    background: rgba(0, 255, 157, 0.03);
}

.white-premium {
    background: linear-gradient(135deg, #fff 0%, #bbb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}