/* CSS Variables & Global Resets */
:root {
    --bg-dark: #0A0A0E;
    --neon-blue: #00F0FF;
    --neon-purple: #8A2BE2;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #FFFFFF;
    --text-muted: #A0A5B5;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Typography Classes */
.font-space {
    font-family: 'Space Grotesk', sans-serif;
}

.neon-text {
    color: var(--neon-blue);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5), 0 0 20px rgba(0, 240, 255, 0.2);
}

.neon-purple {
    color: var(--neon-purple);
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.5), 0 0 20px rgba(138, 43, 226, 0.2);
}

/* Dynamic Animated Backgrounds */
.bg-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.4;
    animation: drift 20s infinite alternate;
}

.bg-blue {
    background: radial-gradient(circle, var(--neon-blue) 0%, transparent 60%);
    top: -10%;
    left: -10%;
}

.bg-purple {
    background: radial-gradient(circle, var(--neon-purple) 0%, transparent 60%);
    bottom: -10%;
    right: -10%;
    animation-direction: alternate-reverse;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 100px) scale(1.1); }
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    z-index: 1000;
    border-radius: 0 0 16px 16px;
}

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

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

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

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Buttons */
.btn {
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.btn-primary {
    background: var(--neon-blue);
    color: var(--bg-dark);
}

.glow-btn:hover {
    box-shadow: 0 0 20px var(--neon-blue), 0 0 40px rgba(0, 240, 255, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    color: var(--text-primary);
}

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

.nav-btn {
    border: 1px solid var(--neon-blue);
    color: var(--neon-blue);
    padding: 0.5rem 1.2rem;
}
.nav-btn:hover {
    background: var(--neon-blue);
    color: var(--bg-dark);
}

/* Hero Section */
.section-padding {
    padding: 100px 5%;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 15vh;
}

.hero-content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #00FF55;
    border-radius: 50%;
    box-shadow: 0 0 10px #00FF55;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.main-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 650px;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
}

/* Features Grid */
.features .section-title {
    text-align: center;
    margin-bottom: 4rem;
}

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

.features p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

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

.card {
    padding: 2.5rem;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 240, 255, 0.4);
}

.card-icon {
    font-size: 2rem;
    color: var(--neon-purple);
    margin-bottom: 1.5rem;
}

.card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Apps Section */
.split-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
    justify-content: space-between;
}

.apps-text {
    flex: 1;
}

.apps-text h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.apps-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.app-badges {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.app-badge {
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: default;
}

.coming-soon-text {
    font-size: 0.9rem !important;
    color: var(--neon-blue) !important;
    font-weight: 500;
}

.apps-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Abstract Phone UI CSS Only */
.phone-mockup {
    width: 280px;
    height: 560px;
    border-radius: 40px;
    border: 4px solid #333;
    padding: 15px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #0A0A0E;
    border-radius: 25px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.app-header {
    text-align: center;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 30px;
    padding-top: 10px;
}

.app-chart {
    height: 150px;
    border-bottom: 1px solid #333;
    position: relative;
    margin-bottom: 20px;
}

.chart-line {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--neon-blue);
    box-shadow: 0 0 10px var(--neon-blue);
    transform: rotate(-15deg);
    transform-origin: left;
}

.app-stats {
    display: flex;
    gap: 10px;
}

.stat-box {
    flex: 1;
    background: #111;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--neon-blue);
    border: 1px solid #222;
}

/* Waitlist Section */
.waitlist-section {
    display: flex;
    justify-content: center;
    text-align: center;
    padding-top: 5rem;
    padding-bottom: 8rem;
}

.waitlist-card {
    max-width: 600px;
    padding: 3.5rem 2.5rem;
    width: 100%;
}

.waitlist-card h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.waitlist-card p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.input-group {
    position: relative;
    width: 100%;
}

.input-group i {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.input-group input {
    width: 100%;
    padding: 1.2rem 1.2rem 1.2rem 3rem;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    background: rgba(0,0,0,0.5);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.3s;
}

.input-group input:focus {
    border-color: var(--neon-blue);
}

.submit-btn {
    width: 100%;
    gap: 10px;
    font-size: 1.1rem;
}

.form-success {
    margin-top: 1.5rem;
    color: #00FF55;
    font-size: 0.9rem;
}

.hidden {
    display: none;
}

/* Footer Element */
.footer {
    padding: 2rem 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 16px 16px 0 0;
    gap: 1.5rem;
}

.footer-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

.copyright {
    color: #555;
    font-size: 0.8rem;
    text-align: center;
}

/* Animations Triggered by JavaScript */
.fade-in {
    opacity: 0;
    transition: opacity 1s ease-in;
}

.fade-in.appear {
    opacity: 1;
}

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

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

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Responsive Mobile Layouts */
@media (max-width: 991px) {
    .main-title { font-size: 3.5rem; }
    .split-layout { flex-direction: column; text-align: center; }
    .apps-visual { order: -1; margin-bottom: 2rem; }
    .app-badges { justify-content: center; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: block; }
    .main-title { font-size: 2.5rem; }
    .cta-group { flex-direction: column; width: 100%; }
    .cta-group .btn { width: 100%; }
    .feature-grid { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; text-align: center; }
}
