:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --text-muted: #a0a0a0;
    --primary: #4F46E5;
    --primary-glow: rgba(79, 70, 229, 0.4);
    --secondary: #06b6d4;
    --surface: rgba(255, 255, 255, 0.03);
    --surface-border: rgba(255, 255, 255, 0.08);
}

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

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

/* Background animated blobs */
.blob-bg {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200vw;
    height: 200vh;
    background: radial-gradient(circle at 50% 50%, var(--primary-glow) 0%, transparent 40%),
                radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.2) 0%, transparent 30%);
    z-index: -1;
    filter: blur(100px);
    animation: drift 20s infinite alternate linear;
}

@keyframes drift {
    100% {
        transform: translate(5%, 5%);
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(5, 5, 5, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--surface-border);
    z-index: 100;
    transition: all 0.3s ease;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    background: linear-gradient(to right, #fff, #a0a0a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

.cta-nav {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s;
}

.cta-nav:hover {
    background: #4338ca;
    box-shadow: 0 0 20px var(--primary-glow);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    padding-top: 80px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.btn-primary, .btn-secondary, .btn-outline {
    padding: 1rem 2rem;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--text-color);
    color: var(--bg-color);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255,255,255,0.2);
}

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

.btn-secondary:hover {
    background: var(--surface);
    border-color: rgba(255,255,255,0.2);
}

.hero-image-container {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image {
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    z-index: 2;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.hero-image-container:hover .hero-image {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: var(--primary);
    filter: blur(120px);
    opacity: 0.5;
    z-index: 1;
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}

.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards ease 0.5s;
}

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

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    to { opacity: 1; }
}

/* Features */
.features-section {
    padding: 8rem 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title h2 {
    font-size: 3rem;
    line-height: 1.2;
}

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

.feature-card {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    padding: 2.5rem 2rem;
    border-radius: 24px;
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    background: rgba(255, 255, 255, 0.05);
}

.feature-card .icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* Showcase Section */
.showcase-section {
    padding: 8rem 5%;
    display: flex;
    align-items: center;
    gap: 4rem;
}

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

.showcase-text {
    flex: 1;
}

.showcase-text h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

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

.feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.feature-list span {
    color: var(--secondary);
}

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

.btn-outline:hover {
    background: rgba(79, 70, 229, 0.1);
    box-shadow: 0 0 20px var(--primary-glow);
}

.showcase-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.floating-img {
    width: 100%;
    border-radius: 20px;
    z-index: 2;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    border: 1px solid var(--surface-border);
}

.floating-img.tall {
    max-width: 300px;
}

.glow-bg {
    position: absolute;
    width: 70%;
    height: 70%;
    top: 15%;
    background: var(--secondary);
    filter: blur(100px);
    opacity: 0.3;
    z-index: 1;
}

.glow-bg.blue {
    background: #2563eb;
}

/* Footer */
.footer {
    border-top: 1px solid var(--surface-border);
    padding: 5rem 5% 2rem;
    margin-top: 5rem;
}

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

.footer .brand h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.footer .brand p {
    color: var(--text-muted);
}

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

.footer-links h4 {
    margin-bottom: 1.5rem;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    border-top: 1px solid var(--surface-border);
    padding-top: 2rem;
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal.left { transform: translateX(-50px); }
.reveal.right { transform: translateX(50px); }

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

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero h1 {
        font-size: 3rem;
    }
    .showcase-section, .showcase-section.reverse {
        flex-direction: column;
        text-align: center;
    }
    .feature-list li {
        justify-content: center;
    }
    .nav-links {
        display: none;
    }
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.video-modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--surface-border);
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
    transform: translateY(30px) scale(0.95);
    transition: all 0.3s ease;
}

.video-modal.active .modal-content {
    transform: translateY(0) scale(1);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 2;
}

.close-modal:hover {
    color: var(--primary);
}

#adVideo {
    width: 100%;
    border-radius: 12px;
    outline: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.video-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Specs Page */
.specs-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 5% 5rem;
    width: 100%;
}

.specs-header {
    text-align: center;
    margin-bottom: 3rem;
}

.specs-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.specs-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.specs-table-wrapper {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.specs-table th, .specs-table td {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--surface-border);
}

.specs-table th {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 600;
}

.specs-table td {
    color: var(--text-muted);
}

.specs-table td strong {
    color: var(--text-color);
    font-weight: 500;
}

.specs-table tr:last-child td {
    border-bottom: none;
}

.specs-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* Text Pages (Terms, Privacy) */
.text-page-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 5% 5rem;
    width: 100%;
}

.text-page-container h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
    text-align: center;
}

.text-content {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.text-content h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.text-content h3:first-child {
    margin-top: 0;
}

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

.text-content strong {
    color: var(--text-color);
}

/* Setup Guide */
.setup-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step-card {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    padding: 2.5rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.step-number {
    background: var(--primary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px var(--primary-glow);
}

.step-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

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