@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
    --bg-pure-black: #000000;
    --bg-dark-gray: #050608;
    --card-bg: rgba(10, 22, 14, 0.3);
    --card-border: rgba(255, 255, 255, 0.04);
    --card-hover-border: rgba(0, 255, 102, 0.35);
    --neon-green: #00ff66;
    --neon-green-glow: rgba(0, 255, 102, 0.12);
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --nav-height: 80px;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-pure-black);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Grids & Orbs */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    pointer-events: none;
}

.ambient-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 255, 102, 0.08) 0%, transparent 70%);
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}

.ambient-glow-2 {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 255, 102, 0.05) 0%, transparent 75%);
    bottom: 20%;
    right: -100px;
    filter: blur(100px);
    z-index: -1;
    pointer-events: none;
}

/* Typography styling */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Glassmorphism Navigation */
header {
    height: var(--nav-height);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.header-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.04em;
}

.logo-icon {
    width: 30px;
    height: 30px;
    color: var(--neon-green);
    filter: drop-shadow(0 0 8px rgba(0, 255, 102, 0.6));
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 32px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 1px;
    background-color: var(--neon-green);
    bottom: -4px;
    left: 0;
    transition: var(--transition-smooth);
}

nav a:hover {
    color: #fff;
}

nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding-top: calc(var(--nav-height) + 120px);
    padding-bottom: 120px;
    position: relative;
    text-align: center;
    z-index: 10;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 100px;
    background: rgba(0, 255, 102, 0.06);
    color: var(--neon-green);
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(0, 255, 102, 0.2);
    margin-bottom: 28px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: var(--font-heading);
    box-shadow: 0 0 15px rgba(0, 255, 102, 0.05);
}

.hero h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 40%, #00ff66 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 60px rgba(0, 255, 102, 0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto 40px auto;
    font-weight: 400;
}

/* Central Orbit Motion Element */
.orbit-container {
    position: relative;
    width: 320px;
    height: 320px;
    margin: 50px auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.orbit-circle-1 {
    position: absolute;
    width: 320px;
    height: 320px;
    border: 1px dashed rgba(0, 255, 102, 0.15);
    border-radius: 50%;
    animation: rotate-cw 40s linear infinite;
}

.orbit-circle-2 {
    position: absolute;
    width: 230px;
    height: 230px;
    border: 1px solid rgba(0, 255, 102, 0.07);
    border-radius: 50%;
    animation: rotate-ccw 30s linear infinite;
}

.orbit-circle-3 {
    position: absolute;
    width: 140px;
    height: 140px;
    border: 1px dashed rgba(0, 255, 102, 0.2);
    border-radius: 50%;
    animation: rotate-cw 20s linear infinite;
}

.orbit-sphere {
    position: absolute;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle at 30% 30%, #00ff66, #021a08);
    border-radius: 50%;
    box-shadow: 0 0 35px rgba(0, 255, 102, 0.4);
    animation: pulse-glow 3s ease-in-out infinite alternate;
}

.orbit-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--neon-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-green);
}

.orbit-circle-1 .orbit-particle {
    top: 50%;
    left: -4px;
}

.orbit-circle-3 .orbit-particle {
    top: -4px;
    left: 50%;
}

/* Animations */
@keyframes rotate-cw {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotate-ccw {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

@keyframes pulse-glow {
    0% { transform: scale(0.96); box-shadow: 0 0 25px rgba(0, 255, 102, 0.35); }
    100% { transform: scale(1.04); box-shadow: 0 0 45px rgba(0, 255, 102, 0.55); }
}

/* Buttons */
.btn-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    z-index: 10;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.98rem;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    font-family: var(--font-heading);
}

.btn-primary {
    background: var(--neon-green);
    color: #000000;
    box-shadow: 0 4px 20px rgba(0, 255, 102, 0.25);
    border: 1px solid var(--neon-green);
}

.btn-primary:hover {
    box-shadow: 0 0 35px rgba(0, 255, 102, 0.55);
    transform: translateY(-3px);
    background: #ffffff;
    border-color: #ffffff;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(0, 255, 102, 0.05);
    border-color: var(--neon-green);
    transform: translateY(-3px);
}

/* Statistics Counter Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 0;
    margin: 80px 0 0 0;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 102, 0.02) 50%, transparent);
}

.stat-item {
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px;
}

.stat-item:last-child {
    border-right: none;
}

.stat-val {
    font-size: 2.8rem;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: -0.04em;
    background: linear-gradient(180deg, #ffffff 40%, #00ff66 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

/* Grid Layouts */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* Card Overhaul */
.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 40px 30px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--x, 0px) var(--y, 0px), rgba(0, 255, 102, 0.08), transparent 45%);
    z-index: 0;
    pointer-events: none;
}

.card:hover {
    transform: translateY(-6px);
    border-color: var(--card-hover-border);
    box-shadow: 
        0 15px 35px -10px rgba(0, 0, 0, 0.8),
        0 0 25px rgba(0, 255, 102, 0.05);
}

.card-icon {
    width: 50px;
    height: 50px;
    color: var(--neon-green);
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 8px rgba(0, 255, 102, 0.3));
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 14px;
    position: relative;
    z-index: 2;
}

.card h3:not(:first-child) {
    margin-top: 28px;
}

.card p {
    color: var(--text-secondary);
    font-size: 0.98rem;
    margin-bottom: 28px;
    position: relative;
    z-index: 2;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--neon-green);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    position: relative;
    z-index: 2;
}

.card-link:hover {
    gap: 12px;
    color: #ffffff;
}

/* Sections */
section {
    padding: 120px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.section-title {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px auto;
}

.section-title h2 {
    font-size: 2.6rem;
    margin-bottom: 18px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.section-title p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Scroll Animation classes (handled by js) */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Troubleshooting / FAQ Accordion */
.faq-item {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: rgba(0, 255, 102, 0.2);
    background: rgba(0, 255, 102, 0.01);
}

.faq-trigger {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-primary);
    padding: 24px;
    text-align: left;
    font-size: 1.15rem;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

.faq-trigger::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--neon-green);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-trigger::after {
    transform: rotate(45deg);
}

.faq-panel {
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
}

.faq-item.active .faq-panel {
    padding: 0 24px 24px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

/* Footer styling */
footer {
    padding: 80px 0 50px 0;
    background: #030406;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 24px;
}

.footer-links h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--neon-green);
    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* App page specific specs */
.spec-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 40px;
    backdrop-filter: blur(12px);
}

.spec-list {
    list-style: none;
}

.spec-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.spec-list li:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 600;
    color: #ffffff;
}

.spec-val {
    color: var(--text-secondary);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 1024px) {
    .container {
        padding: 0 32px;
    }
    .hero h1 {
        font-size: 3.2rem;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .stat-item {
        border-right: none;
    }
    .stat-item:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, 0.05);
    }
}

@media (max-width: 768px) {
    header {
        position: fixed;
        height: auto;
        padding: 16px 0;
    }

    .header-container {
        flex-direction: row;
        justify-content: space-between;
        gap: 0px;
    }

    nav {
        display: none; /* Can add a responsive toggle if needed, or keeping it clean and minimal */
    }

    .hero {
        padding-top: calc(var(--nav-height) + 60px);
        padding-bottom: 60px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 32px;
    }

    .orbit-container {
        width: 260px;
        height: 260px;
        margin: 30px auto;
    }
    
    .orbit-circle-1 { width: 260px; height: 260px; }
    .orbit-circle-2 { width: 190px; height: 190px; }
    .orbit-circle-3 { width: 120px; height: 120px; }
    .orbit-sphere { width: 50px; height: 50px; }

    .btn-group {
        flex-direction: column;
        gap: 14px;
        align-items: stretch;
        max-width: 320px;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
    }

    section {
        padding: 80px 0;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 560px) {
    .container {
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-item {
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding-bottom: 20px;
    }

    .stat-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .spec-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 14px 0;
    }

    .spec-val {
        font-size: 0.9rem;
        word-break: break-all;
    }
}
