:root {
    --bg-main: #0a0a0c;
    --bg-darker: #050506;
    --bg-card: rgba(20, 20, 24, 0.7);
    --bg-card-hover: rgba(30, 30, 36, 0.9);
    
    --text-main: #ffffff;
    --text-muted: #8b8b99;
    
    --accent: #00ff66; /* Electric green */
    --accent-glow: rgba(0, 255, 102, 0.4);
    --accent-alt: #ffb703; /* Amber */
    
    --border: rgba(255, 255, 255, 0.1);
    --border-accent: rgba(0, 255, 102, 0.3);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
}

body {
    position: relative;
    overflow-x: hidden;
}

/* Background Animation */
.network-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, rgba(10,10,12,0.6) 0%, var(--bg-darker) 100%), url('assets/hero_bg_1780640220439.png') no-repeat center center;
    background-size: cover;
    opacity: 0.7;
}

#canvas-network {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-actions {
    display: flex;
    gap: 15px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-primary {
    background-color: var(--accent);
    color: var(--bg-darker);
    border: 1px solid var(--accent);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid transparent;
}

.btn-secondary:hover {
    color: var(--accent);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn.large {
    padding: 15px 32px;
    font-size: 1rem;
}

.btn.massive {
    padding: 20px 48px;
    font-size: 1.2rem;
    border-radius: 8px;
}

.btn.glow {
    box-shadow: 0 0 15px var(--accent-glow);
}

/* Sections */
.section {
    padding: 100px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.dark-bg {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    max-width: 100%;
    padding-left: calc(5% + auto);
    padding-right: calc(5% + auto);
}

.section-title {
    font-size: 3rem;
    margin-bottom: 20px;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 120px 5% 50px;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    z-index: 10;
}

.glitch {
    font-size: 4.5rem;
    margin-bottom: 20px;
    position: relative;
}

.hero .subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Dashboard Preview */
.dashboard-preview {
    margin-top: 80px;
    width: 100%;
    max-width: 700px;
    perspective: 1000px;
}

.dash-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px;
    backdrop-filter: blur(10px);
    transform: rotateX(10deg);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.dash-card:hover {
    transform: rotateX(0deg) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,255,102,0.1);
    border-color: var(--border-accent);
}

.dash-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

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

.dot.green {
    background-color: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 102, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 255, 102, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 102, 0); }
}

.dash-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.95rem;
}

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

.dash-item .status {
    color: var(--accent);
    font-family: monospace;
}

/* How It Works */
.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 60px;
    gap: 30px;
}

.step-card {
    flex: 1;
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid var(--border);
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.step-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-accent);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255,255,255,0.1);
    position: absolute;
    top: 20px;
    right: 20px;
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    margin-top: 20px;
}

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

.step-line {
    flex: 0 0 50px;
    height: 2px;
    background: var(--border);
    margin-top: 80px;
    position: relative;
}

.step-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--accent);
    transition: width 1s ease;
}

/* Categories */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.card.hover-glow:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 20px rgba(0, 255, 102, 0.05);
    border-color: var(--border-accent);
}

.card-icon {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    animation: float 4s ease-in-out infinite;
    display: block;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Ranks */
.ranks-container {
    max-width: 800px;
    margin: 60px auto 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rank-row {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 20px 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.rank-row:hover {
    background: var(--bg-card-hover);
    transform: scale(1.02);
}

.rank-row.premium {
    border-color: var(--accent-alt);
    background: rgba(255, 183, 3, 0.05);
}

.rank-tier {
    flex: 0 0 100px;
    font-family: monospace;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.rank-tier.accent {
    color: var(--accent);
}

.rank-tier.accent-bright {
    color: var(--accent);
    text-shadow: 0 0 8px var(--accent-glow);
    font-weight: bold;
}

.premium .rank-tier {
    color: var(--accent-alt);
    text-shadow: 0 0 8px rgba(255, 183, 3, 0.5);
    font-weight: bold;
}

.rank-name {
    flex: 1;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
}

.premium .rank-name {
    color: var(--accent-alt);
}

.rank-desc {
    flex: 2;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: right;
}

/* Comparison Section */
.comparison-table {
    max-width: 900px;
    margin: 60px auto 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.comp-row {
    display: flex;
    border-bottom: 1px solid var(--border);
}

.comp-row:last-child {
    border-bottom: none;
}

.comp-header {
    background: rgba(255,255,255,0.05);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
}

.comp-col {
    flex: 1;
    padding: 20px 30px;
    text-align: center;
}

.comp-col:first-child {
    border-right: 1px solid var(--border);
    color: var(--text-muted);
}

.comp-col.highlight {
    color: var(--accent);
    background: rgba(0, 255, 102, 0.02);
    font-weight: 600;
}

/* Use Cases */
.use-case-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.use-case-card {
    background: transparent;
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.use-case-card:hover {
    background: var(--bg-card);
    border-color: var(--border-accent);
}

.use-case-card h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.use-case-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.accent-card {
    background: rgba(0, 255, 102, 0.05);
    border-color: var(--border-accent);
}

/* Trust Layer */
.trust-metrics {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.trust-item {
    background: var(--bg-card);
    padding: 15px 25px;
    border-radius: 30px;
    border: 1px solid var(--border);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.trust-item:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,255,102,0.1);
}

.trust-item .icon {
    color: var(--accent);
    font-weight: bold;
}

/* Final CTA */
.final-cta {
    padding: 150px 5%;
    text-align: center;
    background: linear-gradient(to top, var(--bg-darker), var(--bg-main));
}

.cta-container h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.cta-container p {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 50px;
}

/* Footer */
footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border);
    padding: 60px 5% 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto 40px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.footer-logo span {
    color: var(--accent);
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--accent);
}

.contact-info {
    color: var(--text-muted);
}

.contact-info a {
    color: var(--text-main);
    font-weight: 600;
}

.contact-info a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    max-width: 1400px;
    margin: 0 auto;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

.reveal-text {
    opacity: 0;
    transform: translateY(20px);
}

.reveal-card {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
}

.reveal-row {
    opacity: 0;
    transform: translateX(-30px);
}

/* Media Queries */
@media (max-width: 900px) {
    .steps-container {
        flex-direction: column;
    }
    .step-line {
        width: 2px;
        height: 50px;
        margin: 10px auto;
    }
    .step-line::after {
        width: 100%;
        height: 0;
        transition: height 1s ease;
    }
    .comp-row {
        flex-direction: column;
    }
    .comp-col:first-child {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
}

@media (max-width: 768px) {
    .section { padding: 50px 5%; }
    .glitch { font-size: 2rem; }
    .hero .subtitle { font-size: 0.9rem; margin-bottom: 25px; }
    .section-title { font-size: 1.8rem; margin-bottom: 15px; }
    .section-subtitle { font-size: 0.9rem; margin-bottom: 30px; }
    
    .nav-links { display: none; }
    .navbar { padding: 15px 5%; }
    .logo { font-size: 1.2rem; }
    .btn { padding: 8px 16px; font-size: 0.8rem; }
    .btn.large { padding: 10px 20px; font-size: 0.9rem; }
    .btn.massive { padding: 12px 24px; font-size: 1rem; }
    
    .cta-group { flex-direction: column; gap: 10px; }
    .cta-group .btn { width: 100%; text-align: center; }

    .step-card { padding: 20px 15px; }
    .step-number { font-size: 2rem; top: 10px; right: 10px; }
    .step-card h3 { font-size: 1.2rem; margin-top: 10px; margin-bottom: 10px; }
    .step-card p { font-size: 0.85rem; }
    
    .grid.use-case-grid { gap: 15px; grid-template-columns: 1fr; display: grid; }
    
    .categories-grid { 
        display: flex; 
        flex-wrap: nowrap; 
        overflow-x: auto; 
        scroll-snap-type: x mandatory; 
        gap: 15px; 
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
    }
    .categories-grid::-webkit-scrollbar { height: 4px; }
    .categories-grid::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.05); border-radius: 4px; }
    .categories-grid::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; }

    .card { padding: 15px; }
    .categories-grid .card { flex: 0 0 75%; scroll-snap-align: center; }
    .card-icon { width: 50px; height: 50px; margin-bottom: 12px; }
    .card h3 { font-size: 1rem; margin-bottom: 5px; }
    .card p { font-size: 0.8rem; }

    .ranks-container { gap: 8px; }
    .rank-row { flex-direction: row; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; }
    .rank-tier { font-size: 0.65rem; flex: 0 0 50px; }
    .rank-name { font-size: 0.85rem; flex: 1; text-align: left; }
    .rank-desc { text-align: right; font-size: 0.7rem; flex: 1.5; }

    .comparison-table { margin-top: 30px; }
    .comp-col { padding: 12px 15px; font-size: 0.85rem; }
    .comp-header { font-size: 1rem; }
    
    .use-case-card { padding: 20px 15px; }
    .use-case-card h4 { font-size: 1rem; margin-bottom: 10px; }
    .use-case-card p { font-size: 0.85rem; }
    
    .trust-metrics { gap: 15px; margin-top: 30px; }
    .trust-item { padding: 10px 15px; font-size: 0.85rem; border-radius: 20px; }
    
    .final-cta { padding: 80px 5%; }
    .cta-container h2 { font-size: 2rem; margin-bottom: 15px; }
    .cta-container p { font-size: 1rem; margin-bottom: 30px; }

    .footer-content { flex-direction: column; text-align: center; gap: 20px; }
    .footer-logo { font-size: 1.2rem; }
}
