/* Global Variables */
:root {
    --bg-dark: #050505;
    --bg-panel: rgba(255, 255, 255, 0.02);
    --bg-card: rgba(20, 20, 20, 0.7);
    --border-color: rgba(18, 100, 110, 0.15);
    
    --accent-cyan: #12646e;
    --accent-blue: #1e3a8a;
    --accent-glow: rgba(18, 100, 110, 0.4);
    
    --text-main: #ffffff;
    --text-muted: #9ca3af;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s ease;
}

/* Reset & Scaffolding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--accent-cyan);
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

.mt-4 { margin-top: 1.5rem; }

/* Utilities */
.gradient-text {
    background: linear-gradient(90deg, #fff 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #1a8c9b 0%, var(--accent-cyan) 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(18, 100, 110, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 28px rgba(18, 100, 110, 0.5);
    transform: translateY(-2px);
    color: #fff;
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-panel);
    border-color: var(--accent-cyan);
    color: var(--text-main);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.125rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    color: var(--text-main);
    letter-spacing: 1px;
}

.logo-r {
    font-size: 1.8rem;
}

.logo svg {
    margin-top: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a:not(.btn) {
    color: var(--text-muted);
    font-weight: 500;
}

.nav-links a:not(.btn):hover {
    color: var(--accent-cyan);
}

.btn-nav {
    padding: 8px 20px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 28px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 73px;
    left: 0;
    width: 100%;
    background: var(--bg-dark);
    padding: 24px;
    z-index: 99;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu.active {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-link {
    display: block;
    color: var(--text-main);
    font-size: 1.125rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: 10%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 136, 255, 0.15) 0%, rgba(5, 5, 5, 0) 70%);
    filter: blur(60px);
    z-index: -1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 24px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.stat-icon {
    color: var(--accent-cyan);
    margin-right: 8px;
    font-weight: bold;
}

/* Custom Mockup Art */
.hero-image-container {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.mockup-placeholder {
    width: 300px;
    height: 600px;
    background: linear-gradient(180deg, #111111 0%, #050505 100%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 40px rgba(18, 100, 110, 0.1);
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.mockup-placeholder:hover {
    transform: rotateY(-5deg) rotateX(2deg);
}

.mockup-content {
    background: #000000;
    height: 100%;
    border-radius: 32px;
    padding: 30px 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #222222;
}

.mockup-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 20px;
    display: flex;
    align-items: center;
}

.mockup-status {
    margin-top: 40px;
    background: rgba(18, 100, 110, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    color: var(--accent-cyan);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 8px var(--accent-cyan);
}

.mockup-growth {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--accent-cyan);
    margin-top: 20px;
    line-height: 1;
}

.mockup-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 8px;
}

.mockup-chart {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><path d="M0,100 L0,80 Q25,90 50,60 T100,20 L100,100 Z" fill="rgba(18,100,110,0.1)"/><path d="M0,80 Q25,90 50,60 T100,20" fill="none" stroke="%2312646e" stroke-width="2"/></svg>');
    background-size: 100% 100%;
}

.floating-bulb {
    position: absolute;
    background: rgba(30, 30, 30, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 16px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: float 6s ease-in-out infinite;
}

.floating-element1 {
    top: 20%;
    right: -20px;
    animation-delay: 0s;
}

.floating-element2 {
    bottom: 25%;
    left: -40px;
    animation-delay: 2s;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #080808 100%);
    border-top: 1px solid rgba(255,255,255,0.02);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
}

.process-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.process-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 40px 24px;
    border-radius: 16px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    border-color: var(--border-color);
    box-shadow: 0 10px 30px rgba(18, 100, 110,0.05);
}

.icon-circle {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: rgba(18, 100, 110, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(18, 100, 110, 0.2);
}

.icon-circle svg {
    width: 32px;
    height: 32px;
}

.process-step h4 {
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.process-step p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.process-arrow {
    color: var(--accent-cyan);
    font-size: 1.5rem;
    opacity: 0.5;
}

/* Benefits Section */
.benefits-section {
    padding: 100px 0;
    border-top: 1px solid rgba(255,255,255,0.02);
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.relax-placeholder {
    width: 100%;
    height: 450px;
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.relax-bg-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(18, 100, 110, 0.1) 0%, transparent 60%);
}

.relax-overlay-text {
    padding: 30px;
    background: linear-gradient(0deg, #050505 0%, transparent 100%);
    width: 100%;
    position: relative;
    z-index: 2;
}

.placeholder-caption {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 12px;
    font-style: italic;
}

.benefits-content h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.benefit-card {
    display: flex;
    gap: 20px;
    background: rgba(255,255,255,0.02);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.03);
    transition: var(--transition);
}

.benefit-card:hover {
    background: rgba(255,255,255,0.04);
    border-color: rgba(18, 100, 110, 0.2);
}

.benefit-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(18, 100, 110, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-card h4 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.benefit-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: linear-gradient(0deg, var(--bg-dark) 0%, #080808 100%);
    border-top: 1px solid rgba(255,255,255,0.02);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    background: var(--bg-card);
    overflow: hidden;
}

.faq-title {
    width: 100%;
    text-align: left;
    padding: 24px;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-title:hover {
    color: var(--accent-cyan);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--accent-cyan);
    transition: transform 0.3s ease;
}

.faq-title.active .faq-icon {
    transform: rotate(45deg);
}

.faq-content {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-title.active + .faq-content {
    padding-bottom: 24px;
}

.faq-content p {
    color: var(--text-muted);
}

/* Bottom CTA */
.bottom-cta {
    padding: 120px 0;
    border-top: 1px solid rgba(18, 100, 110, 0.1);
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(18, 100, 110, 0.08) 0%, transparent 60%);
    z-index: -1;
}

.bottom-cta h2 {
    font-size: 3rem;
    margin-bottom: 16px;
}

.bottom-cta p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* Footer */
footer {
    background: #000000;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-col {
    max-width: 300px;
}

.footer-col p {
    color: var(--text-muted);
    margin-top: 16px;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.disclaimer {
    max-width: 600px;
    font-size: 0.75rem;
    opacity: 0.6;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.algo-preview {
    position: relative;
    z-index: 2;
    background: rgba(5, 5, 5, 0.85);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    overflow: hidden;
    font-family: monospace;
}
.algo-header {
    background: #0a0a0a;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}
.terminal-dots {
    display: flex;
    gap: 6px;
    margin-right: 12px;
}
.terminal-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #333;
}
.terminal-dots span:nth-child(1) { background: #ff5f56; }
.terminal-dots span:nth-child(2) { background: #ffbd2e; }
.terminal-dots span:nth-child(3) { background: #27c93f; }

.algo-body {
    padding: 24px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 150px;
}
.log-line {
    font-size: 0.9rem;
}
.timestamp {
    color: #666;
    margin-right: 8px;
}
.log-text {
    color: #ccc;
}
.log-text.highlight {
    color: var(--accent-cyan);
}
.log-text.success {
    color: #4ade80;
}
.algo-footer {
    padding: 16px;
    border-top: 1px dashed rgba(255,255,255,0.1);
    font-size: 0.85rem;
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(18, 100, 110, 0.05);
}
.blink {
    animation: blinker 1.5s linear infinite;
}
@keyframes blinker {
    50% { opacity: 0; }
}

/* New Mockup Dashboard specific styles */
.mockup-metrics {
    width: 100%;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.metric-row {
    display: flex;
    justify-content: space-between;
    background: rgba(255,255,255,0.03);
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    border: 1px solid rgba(255,255,255,0.05);
}
.metric-label { color: var(--text-muted); }
.metric-value { font-weight: 600; color: #fff; }

.mockup-activity {
    width: 100%;
    margin-top: 30px;
    text-align: left;
}
.activity-header {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}
.activity-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    margin-top: 6px;
    box-shadow: 0 0 8px currentColor;
}
.act-title { font-size: 0.85rem; color: #fff; font-weight: 500; }
.act-time { font-size: 0.75rem; color: #666; }

/* Partner Banner */
.partners-banner {
    background: #050505;
    padding: 60px 0;
    border-bottom: 1px solid rgba(255,255,255,0.02);
    border-top: 1px solid rgba(255,255,255,0.02);
}
.partners-title {
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 30px;
}
.partners-logos {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}
.partner-box {
    padding: 16px 40px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(18, 100, 110, 0.2);
    border-radius: 8px;
    font-family: var(--font-heading);
    color: #fff;
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: 1px;
    opacity: 0.7;
    transition: var(--transition);
}
.partner-box:hover {
    opacity: 1;
    border-color: var(--accent-cyan);
    background: rgba(18, 100, 110, 0.1);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container, .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        max-width: 100%;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image-container {
        margin-top: 60px;
    }
    
    .process-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .section-header h2, .benefits-content h2, .bottom-cta h2 {
        font-size: 2rem;
    }
    
    .floating-bulb {
        display: none;
    }
}
