/* Custom Styling System for NexusOS Landing Page */

:root {
    /* Color Palette tokens */
    --color-bg-primary: #07050f;
    --color-bg-secondary: #0d0a1d;
    --color-bg-tertiary: #130f2b;
    
    --color-text-primary: #ffffff;
    --color-text-secondary: rgba(255, 255, 255, 0.85);
    --color-text-muted: rgba(255, 255, 255, 0.55);
    
    --color-accent-indigo: #6366f1;
    --color-accent-emerald: #10b981;
    --color-accent-cyan: #06b6d4;
    --color-accent-blue: #3b82f6;
    
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-bright: rgba(255, 255, 255, 0.15);
    --bg-glass: rgba(13, 10, 29, 0.45);
    --bg-glass-bright: rgba(255, 255, 255, 0.03);
    
    --shadow-glow-indigo: 0 0 25px rgba(99, 102, 241, 0.3);
    --shadow-glow-emerald: 0 0 25px rgba(16, 115, 81, 0.3);
    --shadow-card: 0 15px 35px -5px rgba(0, 0, 0, 0.4);
    
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

/* Background Glowing Aura Blobs */
.glow-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.15;
    pointer-events: none;
    z-index: -1;
    mix-blend-mode: plus-lighter;
}

.bg-blob-indigo {
    background: radial-gradient(circle, var(--color-accent-indigo) 0%, rgba(99, 102, 241, 0) 70%);
}

.bg-blob-emerald {
    background: radial-gradient(circle, var(--color-accent-emerald) 0%, rgba(16, 185, 129, 0) 70%);
}

#blob-1 {
    top: -200px;
    left: -100px;
    animation: pulse-glow 10s infinite alternate;
}

#blob-2 {
    top: 500px;
    right: -200px;
    animation: pulse-glow 12s infinite alternate-reverse;
}

@keyframes pulse-glow {
    0% { transform: scale(1) translate(0, 0); opacity: 0.12; }
    100% { transform: scale(1.15) translate(40px, 30px); opacity: 0.22; }
}

/* Utility Layout container */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography styles */
.text-gradient {
    background: linear-gradient(135deg, #a5b4fc 0%, var(--color-accent-indigo) 50%, var(--color-accent-emerald) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    text-decoration: none;
    border-radius: 14px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent-indigo) 0%, #4f46e5 100%);
    color: #ffffff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-indigo);
}

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

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

.btn-block {
    width: 100%;
    padding: 16px 24px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-glow {
    position: relative;
}

.btn-glow::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--color-accent-indigo), var(--color-accent-emerald));
    z-index: -1;
    opacity: 0;
    transition: var(--transition-smooth);
    filter: blur(10px);
}

.btn-glow:hover::after {
    opacity: 0.6;
}

/* Glassmorphism Generic Card */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 28px;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: var(--border-glass-bright);
}

/* Navbar navigation header */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(7, 5, 15, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition-smooth);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
}

.logo-img-footer {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    vertical-align: middle;
    margin-right: 6px;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    text-transform: lowercase;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: var(--color-text-muted);
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition-smooth);
}

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

/* Hero Section */
.hero-section {
    padding: 150px 24px 80px 24px;
    text-align: center;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 99px;
    padding: 6px 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.badge-text {
    font-size: 12px;
    font-weight: 600;
    color: #a5b4fc;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-title {
    font-size: 52px;
    line-height: 1.15;
    margin-bottom: 24px;
    max-width: 800px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    max-width: 680px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

/* Hero Browser Mockup */
.hero-mockup-container {
    width: 100%;
    max-width: 850px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-glass-bright);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), var(--shadow-glow-indigo);
    background-color: var(--color-bg-secondary);
}

.browser-chrome {
    background-color: #0d0a1b;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-glass);
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #f59e0b; }
.dot-green { background-color: #10b981; }

.browser-address {
    flex-grow: 1;
    margin-left: 24px;
    background-color: var(--color-bg-primary);
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 11px;
    color: var(--color-text-muted);
    font-family: monospace;
    text-align: left;
    max-width: 400px;
}

.hero-mockup-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Sections Global Headers */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 50px auto;
}

.section-title {
    font-size: 38px;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--color-text-muted);
}

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

.tabs-nav-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.tabs-nav {
    display: inline-flex;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 18px;
    padding: 6px;
    gap: 4px;
}

.tab-btn {
    border: none;
    background: transparent;
    color: var(--color-text-muted);
    padding: 12px 24px;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

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

.tab-btn.active {
    background-color: var(--color-accent-indigo);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

/* Tab Panel content layouts */
.tab-panel {
    display: none;
    animation: fade-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tab-panel.active {
    display: block;
}

@keyframes fade-in {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.panel-info {
    max-width: 500px;
}

.panel-title {
    font-size: 28px;
    margin-bottom: 20px;
}

.panel-desc {
    color: var(--color-text-secondary);
    margin-bottom: 28px;
}

.panel-features-list {
    list-style: none;
}

.panel-features-list li {
    margin-bottom: 14px;
    display: flex;
    align-items: start;
    gap: 10px;
    font-size: 14px;
    color: var(--color-text-secondary);
}

/* Visual layout containers inside feature tabs */
.panel-visual {
    display: flex;
    justify-content: center;
}

.visual-card {
    width: 100%;
    max-width: 420px;
    padding: 32px;
    border-color: rgba(255, 255, 255, 0.12);
}

.card-header-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px;
}

.bg-indigo-gradient { background: linear-gradient(135deg, var(--color-accent-indigo), #4f46e5); }
.bg-blue-gradient { background: linear-gradient(135deg, var(--color-accent-blue), #2563eb); }
.bg-emerald-gradient { background: linear-gradient(135deg, var(--color-accent-emerald), #059669); }
.bg-cyan-gradient { background: linear-gradient(135deg, var(--color-accent-cyan), #0891b2); }

.card-headline {
    font-size: 20px;
    margin-bottom: 6px;
}

.card-detail {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.visual-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stack-item {
    background-color: var(--bg-glass-bright);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    padding: 12px;
    font-size: 13px;
    font-weight: 500;
}

.stack-item.active {
    border-color: var(--color-accent-indigo);
    background-color: rgba(99, 102, 241, 0.05);
}

.card-focus-text {
    font-size: 15px;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 20px;
}

.visual-checklist {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.checked {
    color: var(--color-accent-emerald);
    font-weight: bold;
}

.unchecked {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    border: 1px dashed var(--color-text-muted);
    display: inline-block;
}

.visual-ai-box {
    background-color: rgba(16, 185, 129, 0.03);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 16px;
    padding: 20px;
    position: relative;
}

.ai-pill {
    position: absolute;
    top: -10px;
    left: 20px;
    background-color: var(--color-accent-emerald);
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 99px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ai-text {
    font-size: 13px;
    line-height: 1.5;
    color: var(--color-text-secondary);
}

.visual-timeline-nodes {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}

.visual-timeline-nodes::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background-color: var(--border-glass);
}

.timeline-node {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}

.node-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--color-text-muted);
    border: 3px solid var(--color-bg-secondary);
    z-index: 1;
}

.node-dot.active {
    background-color: var(--color-accent-cyan);
    box-shadow: 0 0 10px var(--color-accent-cyan);
}

.node-text {
    font-size: 12px;
    font-weight: 500;
    color: var(--color-text-secondary);
}

/* Pricing Section */
.pricing-section {
    padding: 100px 0;
    background-color: var(--color-bg-secondary);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}

.billing-toggle-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
}

.toggle-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-muted);
    transition: var(--transition-smooth);
}

.toggle-label.active {
    color: var(--color-text-primary);
}

.discount-pill {
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--color-accent-emerald);
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 99px;
    margin-left: 4px;
    font-weight: 700;
}

.billing-toggle {
    width: 52px;
    height: 28px;
    border-radius: 99px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass-bright);
    position: relative;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.toggle-dot {
    position: absolute;
    top: 3px;
    left: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--color-text-primary);
    transition: var(--transition-smooth);
}

.billing-toggle.annual {
    background-color: var(--color-accent-indigo);
}

.billing-toggle.annual .toggle-dot {
    left: 26px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 880px;
    margin: 60px auto 0 auto;
}

.pricing-card {
    padding: 44px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.pricing-card-pro {
    border-color: rgba(99, 102, 241, 0.3);
    position: relative;
}

.pricing-card-pro:hover {
    border-color: rgba(99, 102, 241, 0.6);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--color-accent-indigo), var(--color-accent-emerald));
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 99px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-tier-name {
    font-size: 24px;
    margin-bottom: 8px;
}

.card-tier-desc {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 28px;
}

.card-price {
    margin-bottom: 36px;
}

.price-symbol {
    font-size: 24px;
    vertical-align: top;
    font-weight: 600;
}

.price-val {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
}

.price-duration {
    font-size: 14px;
    color: var(--color-text-muted);
}

.pricing-features {
    list-style: none;
    margin-bottom: 40px;
}

.pricing-features li {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--color-text-secondary);
}

.pricing-features li.disabled {
    color: var(--color-text-muted);
    opacity: 0.45;
}

.icon-check {
    color: var(--color-accent-emerald);
    font-weight: bold;
}

.icon-lock {
    opacity: 0.7;
}

/* Privacy Section */
.privacy-section {
    padding: 100px 0;
}

.privacy-card-full {
    padding: 60px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.privacy-icon {
    font-size: 44px;
    margin-bottom: 24px;
}

.privacy-headline {
    font-size: 32px;
    margin-bottom: 20px;
}

.privacy-body {
    font-size: 15px;
    color: var(--color-text-secondary);
    max-width: 720px;
    margin: 0 auto 20px auto;
}

.privacy-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 44px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-val {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-accent-emerald);
}

.stat-lbl {
    font-size: 11px;
    color: var(--color-text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

/* Footer layout */
.footer-section {
    border-top: 1px solid var(--border-glass);
    padding: 40px 0;
    background-color: var(--color-bg-primary);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 16px;
    display: flex;
    align-items: center;
    text-transform: lowercase;
}

.footer-copy {
    font-size: 12px;
    color: var(--color-text-muted);
}

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

.footer-links a {
    text-decoration: none;
    color: var(--color-text-muted);
    font-size: 13px;
    transition: var(--transition-smooth);
}

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

/* Media Queries for Responsive Design */
@media (max-width: 991px) {
    .panel-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .panel-info {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .navbar {
        position: relative;
        background-color: var(--color-bg-primary);
    }
    
    .nav-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 15px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        gap: 12px;
    }
    
    .btn-lg {
        padding: 12px 24px;
        font-size: 15px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
    }
    
    .pricing-card {
        padding: 30px;
    }
    
    .privacy-card-full {
        padding: 30px;
    }
    
    .privacy-stats {
        gap: 30px;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}
