:root {
    /* App Theme Colors */
    --background: #0D0E12;
    --surface: #181A20;
    --border: #252833;
    --primary: #CCFF00;
    --primary-dim: rgba(204, 255, 0, 0.2);
    --secondary: #2EE57E;
    --secondary-dim: rgba(46, 229, 126, 0.2);
    --alert: #FF6B00;
    --alert-dim: rgba(255, 107, 0, 0.2);
    --text-primary: #FFFFFF;
    --text-secondary: #8A8F9E;

    /* Spacing & Layout */
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--background);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Dynamic Background Glows */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    animation: float 10s infinite alternate ease-in-out;
}

.glow-primary {
    background: var(--primary);
    top: -200px;
    right: -100px;
}

.glow-secondary {
    background: var(--secondary);
    bottom: -200px;
    left: -200px;
    animation-delay: -5s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, 50px) scale(1.1);
    }
}

/* Layout */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Typography */
h1,
h2,
h3,
.logo {
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -1px;
}

.highlight {
    color: var(--primary);
}

/* Glassmorphism Utilities */
.glass-panel {
    background: rgba(24, 26, 32, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
}

/* Navbar */
.navbar {
    padding: var(--spacing-lg) 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(13, 14, 18, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

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

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 16px;
    border: none;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px var(--primary-dim);
}

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

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

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

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}

.hero-content {
    text-align: left;
    max-width: 550px;
}

.hero-title {
    font-size: clamp(36px, 4.5vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s forwards;
}

.hero-subtitle {
    font-size: clamp(16px, 1.5vw, 18px);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s 0.2s forwards;
}

/* Waitlist Form */
.waitlist-form {
    padding: 8px;
    width: 100%;
    margin: 0;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s 0.4s forwards;
}

.form-group {
    display: flex;
    gap: 8px;
}

.waitlist-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 16px;
    color: var(--text-primary);
    font-size: 16px;
    outline: none;
    min-width: 0;
}

.waitlist-form input::placeholder {
    color: var(--text-secondary);
}

.form-status {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
    display: none;
}

.form-status.success {
    color: var(--secondary);
    display: block;
}

@media (max-width: 600px) {
    .form-group {
        flex-direction: column;
    }
}

/* App Preview Section */
.hero-visual {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.preview-container {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s 0.6s forwards;
    margin-top: 20px;
}

.mock-phone {
    width: 260px;
    height: 563px;
    background-color: var(--surface);
    border: 10px solid #181A20;
    border-radius: 40px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    margin: 0 -40px;
}

.phone-notch {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 24px;
    background-color: #181A20;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.phone-left {
    transform: rotateY(15deg) rotateZ(-5deg) scale(0.9);
    z-index: 1;
    opacity: 0.7;
    filter: brightness(0.6);
}

.phone-center {
    transform: translateZ(50px);
    z-index: 3;
    box-shadow: 0 40px 80px rgba(0,0,0,0.8), inset 0 0 0 1px rgba(204, 255, 0, 0.3);
}

.phone-right {
    transform: rotateY(-15deg) rotateZ(5deg) scale(0.9);
    z-index: 1;
    opacity: 0.7;
    filter: brightness(0.6);
}

/* Hover effects */
.preview-container:hover .mock-phone {
    transform: rotateY(0) rotateZ(0) scale(1);
    opacity: 1;
    margin: 0 15px; 
    filter: brightness(1);
}

.preview-container:hover .phone-center {
    transform: scale(1.05) translateZ(50px);
    box-shadow: 0 30px 60px rgba(204, 255, 0, 0.15), inset 0 0 0 1px rgba(204, 255, 0, 0.5);
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
        padding-top: 40px;
    }
    
    .hero-content {
        margin: 0 auto;
        text-align: center;
    }
    
    .waitlist-form {
        margin: 0 auto;
        max-width: 500px;
    }

    .preview-container {
        margin-top: 20px;
    }
}

@media (max-width: 900px) {
    .preview-container {
        flex-direction: column;
        margin-top: 0;
        gap: 20px;
    }
    .mock-phone {
        margin: 0;
        transform: rotateY(0) rotateZ(0) scale(1) !important;
        opacity: 1;
        filter: brightness(1);
    }
    .phone-center {
        z-index: 3;
    }
}

/* Features Section */
.features {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 60px;
}

/* Detailed Feature Blocks */
.feature-block {
    padding: 40px;
    margin-bottom: 40px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.feature-block:hover {
    transform: translateY(-5px);
    background: rgba(37, 40, 51, 0.4);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 20px;
}

.feature-header h3 {
    font-size: 28px;
    color: var(--text-primary);
    margin: 0;
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.primary-icon {
    background: var(--primary-dim);
    color: var(--primary);
}

.secondary-icon {
    background: var(--secondary-dim);
    color: var(--secondary);
}

.alert-icon {
    background: var(--alert-dim);
    color: var(--alert);
}

.feature-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature-column h4 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 16px;
    font-weight: 600;
}

.feature-column ul {
    list-style: none;
    padding: 0;
}

.feature-column ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.5;
}

.feature-column ul li::before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: 0;
    top: -2px;
    font-size: 20px;
}

.feature-column ul li strong {
    color: var(--text-primary);
    font-weight: 600;
}

@media (max-width: 768px) {
    .feature-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* Footer */
.footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border);
    margin-top: 60px;
}

.footer .logo {
    font-size: 18px;
    margin-bottom: var(--spacing-sm);
}

.footer p {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-links {
    margin-bottom: var(--spacing-md);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary);
}

.footer-separator {
    color: var(--border);
    font-size: 10px;
}

/* Legal Page Styling */
.legal-page {
    padding-top: 140px;
    padding-bottom: 80px;
    min-height: 100vh;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-xl);
}

.legal-header {
    text-align: center;
    margin-bottom: 40px;
}

.legal-header h1 {
    font-size: 36px;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.legal-meta {
    color: var(--text-secondary);
    font-size: 14px;
}

.legal-body {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
}

.legal-body h2 {
    color: var(--text-primary);
    font-size: 22px;
    margin-top: 40px;
    margin-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border);
    padding-bottom: 8px;
}

.legal-body h3 {
    color: var(--text-primary);
    font-size: 18px;
    margin-top: 24px;
    margin-bottom: var(--spacing-sm);
}

.legal-body p {
    margin-bottom: 20px;
}

.legal-body ul, .legal-body ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.legal-body li {
    margin-bottom: 8px;
}

.legal-body strong {
    color: var(--text-primary);
}

.legal-body a {
    color: var(--primary);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.legal-body a:hover {
    text-decoration: underline;
    opacity: 0.9;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    position: relative;
    z-index: 10;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg);
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question .chevron {
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.active .faq-question .chevron {
    transform: rotate(180deg);
}

.faq-item.active .faq-question {
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.faq-answer-inner {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
    color: var(--text-secondary);
    line-height: 1.6;
}

.faq-answer-inner p {
    margin-bottom: var(--spacing-sm);
}

.faq-answer-inner strong {
    color: var(--text-primary);
}

/* Animations */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    width: 90%;
    max-width: 600px;
    padding: 20px 24px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#cookie-banner.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

.cookie-content p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-secondary);
    margin: 0;
}

.cookie-content a {
    color: var(--primary);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-buttons .btn {
    flex: 1;
    padding: 10px 0;
    font-size: 14px;
    text-align: center;
}