/* =========================================
   CSS Reset & Variables
========================================= */
:root {
    --bg-color: #050810;
    --bg-secondary: rgba(15, 20, 35, 0.6);
    --text-primary: #f0f4f8;
    --text-secondary: #9ba3b5;
    --neon-blue: #00f0ff;
    --neon-cyan: #00d2ff;
    --neon-gold: #ffb000;
    --gold-light: #ffd700;
    --border-color: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(18, 24, 43, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
    --shadow-blue: rgba(0, 240, 255, 0.2);
    --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* =========================================
   Typography & Utilities
========================================= */
h1, h2, h3, h4, h5 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.relative { position: relative; }
.z-10 { z-index: 10; }

.text-center { text-align: center; }

.gradient-text {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue), var(--neon-gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.neon-text {
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--shadow-blue);
}

/* =========================================
   Glassmorphism
========================================= */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.glass-img {
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px var(--shadow-blue);
}

/* =========================================
   Buttons
========================================= */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
    color: #000;
    border: none;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* =========================================
   Navigation
========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-top: none;
    border-left: none;
    border-right: none;
    border-radius: 0;
}

.navbar.scrolled {
    padding: 0.8rem 0;
    background: rgba(10, 15, 26, 0.85);
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
}

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

/* =========================================
   Hero Section
========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 0;
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 20px;
    color: var(--neon-cyan);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #b0b8cc;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

/* Stats Row */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-val {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--neon-gold);
    text-shadow: 0 0 15px rgba(255, 176, 0, 0.3);
    line-height: 1.2;
}

.stat-lbl {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   Features Section
========================================= */
.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem 2rem;
    border-radius: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(0, 240, 255, 0.05), transparent 70%);
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 240, 255, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.icon-glow-blue { text-shadow: 0 0 15px rgba(0, 240, 255, 0.5); color: var(--neon-cyan); font-weight: 800; font-family: monospace;}
.icon-glow-gold { text-shadow: 0 0 15px rgba(255, 176, 0, 0.5); }
.icon-glow-cyan { text-shadow: 0 0 15px rgba(0, 210, 255, 0.5); }
.icon-glow-orange { text-shadow: 0 0 15px rgba(255, 100, 0, 0.5); }

.feature-card h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 0.95rem;
}

/* =========================================
   Showcase Section
========================================= */
.showcase-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 8rem;
}

.showcase-row.reverse {
    flex-direction: row-reverse;
}

.showcase-content {
    flex: 1;
}

.showcase-content h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.showcase-img-wrapper {
    flex: 1.2;
    position: relative;
}

.showcase-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
}

.showcase-row.reverse .showcase-img {
    transform: perspective(1000px) rotateY(5deg) rotateX(2deg);
}

.showcase-img-wrapper:hover .showcase-img {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.app-img {
    max-width: 350px;
    margin: 0 auto;
    display: block;
    border-radius: 35px;
}

.feature-list {
    list-style: none;
    margin-top: 1.5rem;
}

.feature-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--neon-cyan);
    font-weight: bold;
}

/* =========================================
   CTA Section
========================================= */
.cta-container {
    padding: 4rem 2rem;
    border-radius: 24px;
    text-align: center;
    background: linear-gradient(135deg, rgba(15, 20, 35, 0.8), rgba(5, 8, 16, 0.9));
    border: 1px solid rgba(0, 240, 255, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 40px rgba(0, 240, 255, 0.05);
}

.cta-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-container p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* =========================================
   Footer
========================================= */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 0 2rem;
    background: #03050a;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    flex: 1;
    min-width: 300px;
    font-size: 1.5rem;
    font-weight: bold;
}

.footer-brand .disclaimer {
    font-size: 0.85rem;
    color: #666;
    margin-top: 1rem;
    font-weight: normal;
    max-width: 400px;
}

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

.link-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.link-col a {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
}

.link-col a:hover {
    color: var(--neon-blue);
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* =========================================
   Glow Orbs (Background decorations)
========================================= */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    pointer-events: none;
}

.orb-1 { width: 400px; height: 400px; background: rgba(0, 240, 255, 0.15); top: -100px; left: -100px; }
.orb-2 { width: 300px; height: 300px; background: rgba(255, 176, 0, 0.1); bottom: 10%; right: -50px; }
.orb-3 { width: 500px; height: 500px; background: rgba(0, 240, 255, 0.08); top: 50%; left: 50%; transform: translate(-50%, -50%); }
.orb-4 { width: 400px; height: 400px; background: rgba(255, 176, 0, 0.08); top: 50%; left: 50%; transform: translate(-50%, -50%); }
.orb-5 { width: 600px; height: 600px; background: rgba(0, 240, 255, 0.1); top: 50%; left: 50%; transform: translate(-50%, -50%); }

/* =========================================
   Animations classes
========================================= */
.animate-fade-in { animation: fadeIn 1s ease forwards; }
.animate-slide-up { animation: slideUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* =========================================
   Responsive Formats
========================================= */
@media (max-width: 992px) {
    .hero-title { font-size: 3rem; }
    .showcase-row, .showcase-row.reverse { flex-direction: column; gap: 3rem;text-align:center;}
    .feature-list li { text-align: left; display: inline-block;}
    .stats-row { flex-wrap: wrap; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-title { font-size: 2.5rem; }
    .hero-actions { flex-direction: column; }
    .cta-buttons { flex-direction: column; }
    .footer-content { flex-direction: column; }
}
