:root {
    --bg-dark: #0a0a0b;
    --surface: #141416;
    --primary: #10b981; /* Emerald */
    --accent: #f59e0b; /* Amber */
    --blue: #3b82f6;
    --text-main: #f3f4f6;
    --text-dim: #9ca3af;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .nav-links span {
    font-family: 'Space Grotesk', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Glass Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 11, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 16px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), var(--blue));
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Buttons */
.btn-primary {
    background: var(--primary);
    color: white !important;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 700 !important;
}

.btn-primary-large {
    background: var(--primary);
    color: white;
    text-decoration: none;
    padding: 18px 36px;
    border-radius: 16px;
    font-weight: 800;
    display: inline-block;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-secondary-large {
    background: var(--glass);
    color: white;
    text-decoration: none;
    padding: 18px 36px;
    border-radius: 16px;
    font-weight: 800;
    display: inline-block;
    border: 1px solid var(--glass-border);
    transition: background 0.3s;
}

.btn-primary-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(16, 185, 129, 0.3);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.05) 0%, transparent 40%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.badge {
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 24px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.hero h1 {
    font-size: 72px;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.gradient-text {
    background: linear-gradient(to right, var(--primary), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 18px;
    color: var(--text-dim);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat-item strong {
    display: block;
    font-size: 24px;
    font-family: 'Space Grotesk';
}

.stat-item span {
    font-size: 14px;
    color: var(--text-dim);
}

/* Phone Mockup */
.hero-visual {
    position: relative;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: #000;
    border-radius: 40px;
    padding: 12px;
    border: 4px solid #1a1a1c;
    box-shadow: 0 50px 100px rgba(0,0,0,0.5), 0 0 50px rgba(16, 185, 129, 0.1);
}

.screen {
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    border-radius: 30px;
    overflow: hidden;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.app-header {
    height: 150px;
    background: var(--glass);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
}

.pulse-ring {
    width: 60px;
    height: 60px;
    border: 4px solid var(--primary);
    border-radius: 50%;
    margin-bottom: 12px;
    position: relative;
}

.pulse-ring::after {
    content: '';
    position: absolute;
    top: -4px; left: -4px; right: -4px; bottom: -4px;
    border: 4px solid var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

.app-card {
    height: 100px;
    background: var(--glass);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid var(--glass-border);
}

.match-score {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.2);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-family: 'Space Grotesk';
}

.bar { height: 8px; background: var(--glass-border); border-radius: 4px; width: 100px; margin-bottom: 8px; }
.bar.short { width: 60px; }

/* Features */
.features {
    padding: 100px 0;
}

.section-title {
    font-size: 48px;
    text-align: center;
    margin-bottom: 64px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--glass);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(16, 185, 129, 0.3);
}

.feature-card i {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 16px;
}

.feature-card p {
    color: var(--text-dim);
    font-size: 15px;
}

.icon-emerald { color: var(--primary); }
.icon-amber { color: var(--accent); }
.icon-blue { color: var(--blue); }
.icon-purple { color: #a855f7; }

/* CTA */
.cta-section {
    padding: 100px 0;
}

.cta-box {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(59, 130, 246, 0.1));
    border-radius: 40px;
    padding: 80px;
    text-align: center;
    border: 1px solid var(--glass-border);
}

.cta-content h2 {
    font-size: 48px;
    margin-bottom: 24px;
}

.cta-content p {
    font-size: 20px;
    color: var(--text-dim);
    margin-bottom: 40px;
}

/* Footer */
footer {
    padding: 60px 0;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
}

.logo-icon.small {
    width: 24px;
    height: 24px;
}

footer p {
    color: var(--text-dim);
    font-size: 14px;
}

footer a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 20px;
}

/* Detailed Features */
.details {
    padding: 100px 0;
}

.detail-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
}

.detail-row.reverse {
    direction: rtl;
}

.detail-row.reverse .detail-text {
    direction: ltr;
}

.badge-mini {
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.detail-text h2 {
    font-size: 40px;
    margin-bottom: 24px;
    line-height: 1.2;
}

.detail-text p {
    font-size: 18px;
    color: var(--text-dim);
    margin-bottom: 32px;
}

.detail-list {
    list-style: none;
}

.detail-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 16px;
}

.detail-list i {
    color: var(--primary);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.detail-visual {
    display: flex;
    justify-content: center;
}

.glass-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

/* Engine Demo */
.engine-demo {
    text-align: center;
}

.demo-header {
    font-size: 12px;
    color: var(--text-dim);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.demo-pulse {
    width: 100px;
    height: 100px;
    border: 6px solid var(--primary);
    border-radius: 50%;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.demo-pulse::after {
    content: '740';
    font-family: 'Space Grotesk';
    font-weight: 800;
    font-size: 24px;
}

.demo-stats {
    display: flex;
    justify-content: space-around;
    border-top: 1px solid var(--glass-border);
    padding-top: 20px;
}

.d-stat span { display: block; font-size: 10px; color: var(--text-dim); }
.d-stat strong { color: var(--text-main); }

/* Score Demo */
.score-demo {
    text-align: center;
}

.score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
    font-weight: 900;
    color: var(--primary);
    font-family: 'Space Grotesk';
}

.score-label {
    font-size: 12px;
    color: var(--text-dim);
    margin-bottom: 24px;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.tag {
    background: var(--glass);
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 12px;
    border: 1px solid var(--glass-border);
}

/* Consultant Demo */
.swap-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-dark);
    padding: 16px;
    border-radius: 16px;
    margin-bottom: 20px;
}

.swap-item .old { color: var(--text-dim); text-decoration: line-through; }
.swap-item .new { color: var(--primary); font-weight: 700; }

.swap-impact {
    font-size: 14px;
    color: var(--accent);
    font-weight: 800;
    text-align: center;
}

/* Vault Demo */
.vault-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--glass-border);
}

.vault-item:last-child { border: none; }
/* Hero Visual - Scanner */
.scanner-view {
    display: flex;
    flex-direction: column;
    padding: 0 !important;
    position: relative;
}

.scanner-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    background: #000;
}

.menu-bg {
    flex: 1;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    opacity: 0.5;
}

.menu-line {
    font-size: 10px;
    color: var(--text-dim);
    font-family: monospace;
    white-space: nowrap;
}

.menu-line.active {
    color: var(--primary);
    font-weight: bold;
    text-shadow: 0 0 10px var(--primary);
}

.scan-beam {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    box-shadow: 0 0 20px var(--primary), 0 0 40px var(--primary);
    animation: scanMove 3s infinite ease-in-out;
}

@keyframes scanMove {
    0%, 100% { top: 10%; }
    50% { top: 90%; }
}

.analysis-hud {
    position: absolute;
    bottom: 40px;
    left: 20px;
    right: 20px;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    animation: slideUpHUD 0.5s ease-out forwards;
}

@keyframes slideUpHUD {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.hud-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hud-label {
    font-size: 8px;
    color: var(--text-dim);
    margin-bottom: 4px;
}

.hud-value {
    font-size: 14px;
    font-weight: 800;
    font-family: 'Space Grotesk';
}

.grade-a .hud-value {
    color: var(--primary);
}

/* Pulse Cube - Liquid Glass Design 2026 */
.pulse-cube-container {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.liquid-cube {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 40px;
    position: relative;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.liquid-cube::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    animation: rotateGradient 10s linear infinite;
}

@keyframes rotateGradient {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.pulse-wave {
    width: 120px;
    height: 60px;
    border: 3px solid var(--primary);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    border-bottom: none;
    position: relative;
    filter: drop-shadow(0 0 15px var(--primary));
}

.pulse-wave::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.floating-spheres .sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.2), transparent);
}

.s1 { width: 40px; height: 40px; background-color: var(--primary); top: 10%; right: 10%; opacity: 0.6; animation: float 6s infinite ease-in-out; }
.s2 { width: 25px; height: 25px; background-color: var(--blue); bottom: 15%; left: 5%; opacity: 0.4; animation: float 8s infinite ease-in-out reverse; }
.s3 { width: 30px; height: 30px; background-color: var(--accent); top: 40%; left: -10%; opacity: 0.5; animation: float 7s infinite ease-in-out 1s; }

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.1); }
}

.problem-viz {
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05), transparent);
}

.fragmented-data {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.fragmented-data span {
    background: var(--glass);
    padding: 10px 20px;
    border-radius: 12px;
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
    font-family: 'Space Grotesk';
    font-weight: bold;
    animation: shake 4s infinite;
}

@keyframes shake {
    0%, 100% { transform: translate(0); }
    25% { transform: translate(-2px, 2px); }
    75% { transform: translate(2px, -2px); }
}

.disclaimer-section {
    padding: 40px 0;
    background: rgba(0,0,0,0.2);
}

.disclaimer-box {
    max-width: 900px;
    margin: 0 auto;
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.6;
    text-align: center;
}

.disclaimer-box p {
    margin-bottom: 12px;
}

/* Policy Page Styles */
.policy-page .policy-content {
    padding: 160px 24px 100px;
    max-width: 800px;
}

.policy-content h1 {
    font-size: 48px;
    margin-bottom: 8px;
}

.last-updated {
    color: var(--text-dim);
    font-size: 14px;
    margin-bottom: 48px;
}

.policy-content section {
    margin-bottom: 40px;
}

.policy-content h2 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 16px;
}

.policy-content p, .policy-content ul {
    color: var(--text-dim);
    line-height: 1.8;
}

.policy-content ul {
    padding-left: 20px;
    margin-top: 16px;
}

.policy-content li {
    margin-bottom: 12px;
}

.policy-content strong {
    color: var(--text-main);
}
