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

:root {
    --bg-base: #000000;
    --text-primary: #ffffff;
    --text-secondary: #d4d4d8;
    
    --brand-pink: #f43f5e;
    --brand-purple: #8b5cf6;
    --brand-blue: #3b82f6;
    --brand-teal: #14b8a6;
    
    --glass-bg: rgba(20, 20, 20, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

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

html {
    background-color: #000000;
    padding: 16px;
    box-sizing: border-box;
    height: 100vh;
    overflow: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: transparent;
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    border-radius: 32px;
    overflow-y: auto;
    overflow-x: hidden;
    height: 100%;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 60px rgba(0,0,0,1);
}

::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
    margin-top: 32px;
    margin-bottom: 32px;
}
::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
}


/* Custom Photo Background */
.mesh-bg {
    position: fixed;
    top: 16px;
    left: 16px;
    width: calc(100vw - 32px);
    height: calc(100vh - 32px);
    border-radius: 32px;
    z-index: -2;
    background-color: #000000;
    background-image: url('background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.85; /* Dim slightly for better text readability */
}

/* Subtle Tech Dot Grid */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 1;
    mask-image: radial-gradient(circle at center, black 50%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 50%, transparent 100%);
    pointer-events: none;
}

@keyframes floatOrbs {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(2deg); }
    100% { transform: scale(0.9) rotate(-2deg); }
}

/* Modern Navbar */
nav {
    position: fixed;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--glass-bg);
    backdrop-filter: blur(40px) saturate(150%);
    -webkit-backdrop-filter: blur(40px) saturate(150%);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    z-index: 100;
    box-shadow: 
        var(--glass-shadow),
        inset 0 1px 1px rgba(255, 255, 255, 0.1),
        inset 0 -1px 1px rgba(255, 255, 255, 0.05);
}

.nav-brand {
    font-weight: 800;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

.nav-brand img {
    width: 32px;
    height: 32px;
    border-radius: 10px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a:not(.btn-primary) {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

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

/* Advanced Buttons */
.btn-primary {
    position: relative;
    background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.2);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.5),
        inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: all 0.6s ease;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(139, 92, 246, 0.4),
        inset 0 1px 1px rgba(255, 255, 255, 0.3);
    background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 100%);
    border-color: rgba(255,255,255,0.3);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    position: relative;
    background: var(--glass-bg);
    color: var(--text-primary);
    padding: 14px 32px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 
        0 8px 20px rgba(0,0,0,0.2),
        inset 0 1px 1px rgba(255,255,255,0.1);
}

.btn-secondary:hover {
    background: rgba(40, 40, 40, 0.6);
    transform: translateY(-2px) scale(1.02);
    border-color: rgba(255,255,255,0.2);
}

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

.hero {
    padding: 220px 0 120px 0;
    text-align: center;
    position: relative;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    color: var(--brand-blue);
    margin-bottom: 24px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.hero h1 {
    font-size: 84px;
    font-weight: 800;
    letter-spacing: -3px;
    line-height: 1.05;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.hero h1 span {
    background: linear-gradient(180deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0px 4px 30px rgba(255,255,255,0.2);
}

.hero p {
    font-size: 22px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 48px auto;
    font-weight: 400;
}

/* Editorial Features Layout */
.editorial-features {
    padding: 80px 0;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.editorial-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 80px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.ed-title {
    flex: 1;
}

.ed-title h2 {
    font-size: 72px;
    font-weight: 800;
    letter-spacing: -3px;
    color: var(--text-primary);
    margin: 0;
    line-height: 1;
}

.ed-text {
    flex: 1.2;
    padding-left: 60px;
}

.ed-text p {
    font-size: 26px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    font-weight: 400;
}

/* Visual Install Timeline */
.install-section {
    padding: 160px 0;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
    margin: 80px auto 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 32px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--brand-purple), var(--brand-blue));
    opacity: 0.5;
}

.timeline-step {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    position: relative;
    padding: 32px;
    background: var(--glass-bg);
    border-radius: 32px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
}

.timeline-step:hover {
    transform: translateX(10px);
    background: rgba(30, 30, 30, 0.7);
    border-color: rgba(255,255,255,0.15);
}

.step-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #111;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--brand-blue);
    flex-shrink: 0;
    z-index: 1;
    border: 2px solid rgba(255,255,255,0.1);
}

.timeline-step:hover .step-circle {
    border-color: var(--brand-purple);
    color: var(--brand-purple);
}

.step-content h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-content p {
    font-size: 18px;
    color: var(--text-secondary);
}



/* Footer */
footer {
    padding: 60px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
}

.footer-left h4 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
}

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

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

@media (max-width: 900px) {
    .editorial-row { flex-direction: column; gap: 32px; padding: 40px 0; }
    .ed-text { padding-left: 0; }
    .ed-title h2 { font-size: 48px; }
    .ed-text p { font-size: 20px; }
    .features-container { display: flex; flex-direction: column; }
    .hero h1 { font-size: 56px; }
    .timeline::before { left: 48px; }
    .timeline-step { flex-direction: column; gap: 20px; padding: 24px; }
    

}

/* Mobile Notice Popup */
.mobile-notice {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.mobile-notice-content {
    background: #111;
    padding: 32px;
    border-radius: 24px;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}

.mobile-notice-content h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.mobile-notice-content p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.mobile-notice-content .btn-primary {
    width: 100%;
}

@media (max-width: 768px) {
    html {
        padding: 8px;
    }
    body {
        border-radius: 24px;
    }
    .mesh-bg {
        top: 8px;
        left: 8px;
        width: calc(100vw - 16px);
        height: calc(100vh - 16px);
        border-radius: 24px;
        background-position: center bottom;
        background-size: cover;
    }

    .mobile-notice.active {
        display: flex;
    }
    nav {
        flex-direction: row;
        justify-content: space-between;
        padding: 12px 16px;
        border-radius: 100px;
        width: calc(100% - 32px);
        top: 16px;
    }
    .nav-brand {
        font-size: 18px;
    }
    .hide-on-mobile {
        display: none !important;
    }
    .nav-links {
        gap: 0;
    }
    .nav-links .btn-primary, .nav-links .btn-secondary {
        padding: 10px 20px;
        font-size: 13px;
    }
    .hero {
        padding: 180px 20px 80px 20px;
    }
    .hero h1 {
        font-size: 42px;
    }
    .legal-content {
        padding: 160px 20px 60px 20px; 
    }
    .legal-content h1 {
        font-size: 36px;
    }
    footer {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
}

/* Legal Pages Styling */
.legal-content {
    padding: 160px 24px 80px 24px;
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -1.5px;
}

.legal-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 40px 0 16px 0;
    letter-spacing: -0.5px;
}

.legal-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}
