/* 
========================================================================
   OmniTools - Core Design System & Styling
   Theme: Cosmic Dark / Premium Lime-Green Glassmorphism
   Author: OmniTools Core Team
========================================================================
*/

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

:root {
    /* Color Palette - Premium, Simple & Modern Light Mode */
    --bg-primary: #F8FAFC;         /* Light slate gray backdrop */
    --bg-secondary: #FFFFFF;       /* Pure white card backgrounds */
    --bg-tertiary: #F1F5F9;        /* Slightly darker slate for accents/inputs */
    
    --accent-lime: #10B981;        /* Modern rich emerald green (readable and vibrant in light mode) */
    --accent-lime-rgb: 16, 185, 129;
    --accent-emerald: #059669;     /* Deep forest emerald */
    --accent-blue: #2563EB;        /* Royal modern tech blue */
    --accent-purple: #4F46E5;      /* Beautiful royal indigo */
    
    --text-primary: #0F172A;       /* High-contrast dark slate text */
    --text-secondary: #475569;     /* Secondary soft slate text */
    --text-muted: #64748B;         /* Muted slate text */
    
    /* System variables */
    --border-glass: rgba(15, 23, 42, 0.08);   /* Clean gray boundary */
    --bg-glass: rgba(255, 255, 255, 0.75);    /* Pure frosted glassmorphic overlay */
    --bg-glass-heavy: rgba(255, 255, 255, 0.9);
    --shadow-neon: 0 10px 30px rgba(16, 185, 129, 0.12);
    --shadow-neon-glow: 0 15px 40px rgba(16, 185, 129, 0.22);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
    --font-cyber: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Base Reset & Globals */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Atmospheric Glow Effects */
body::before {
    content: "";
    position: fixed;
    width: 60vw;
    height: 60vw;
    top: -10vw;
    right: -10vw;
    background: radial-gradient(circle, rgba(57, 255, 20, 0.08) 0%, transparent 70%);
    z-index: -2;
    pointer-events: none;
    filter: blur(100px);
}

body::after {
    content: "";
    position: fixed;
    width: 50vw;
    height: 50vw;
    bottom: -10vw;
    left: -10vw;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    z-index: -2;
    pointer-events: none;
    filter: blur(100px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: rgba(15, 23, 42, 0.15);
    border-radius: 5px;
    border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-lime);
    box-shadow: var(--shadow-neon);
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.glow-text {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 50%, var(--accent-emerald) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text {
    background: linear-gradient(90deg, var(--text-primary) 0%, var(--accent-lime) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header & Navigation */
header:not(.portal-navbar) {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition-smooth);
}

header:not(.portal-navbar).scrolled {
    background-color: var(--bg-glass-heavy);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 10px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-symbol {
    position: relative;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--accent-lime), var(--accent-emerald));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.3);
}

.logo-symbol::before {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-radius: 3px;
    transform: rotate(45deg);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: #000000;
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--accent-lime);
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
    padding: 6px 0;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--accent-lime);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-btn {
    background: linear-gradient(135deg, var(--accent-lime), var(--accent-emerald));
    color: #000000;
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.92rem;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 20px -8px rgba(57, 255, 20, 0.5);
    border: none;
    cursor: pointer;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px -6px rgba(57, 255, 20, 0.7);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Live Marquee Status Bar */
.status-marquee {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    padding: 8px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 10;
    margin-top: 76px; /* Offset for header */
}

.marquee-content {
    display: inline-block;
    animation: marquee 40s linear infinite;
    padding-left: 100%;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    margin-right: 45px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.marquee-item .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-left: 8px;
    box-shadow: 0 0 10px currentColor;
}

.marquee-item .dot.active {
    background-color: var(--accent-lime);
    color: var(--accent-lime);
}

.marquee-item .dot.warning {
    background-color: #F59E0B;
    color: #F59E0B;
}

@keyframes marquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* Hero Section */
.hero-section {
    padding: 100px 24px 140px;
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    min-height: calc(100vh - 120px);
}

.hero-content {
    max-width: 650px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(57, 255, 20, 0.08);
    border: 1px solid rgba(57, 255, 20, 0.25);
    padding: 8px 18px;
    border-radius: 100px;
    color: var(--accent-lime);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-lime), var(--accent-emerald));
    color: #000000;
    box-shadow: 0 10px 25px -8px rgba(57, 255, 20, 0.5);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -6px rgba(57, 255, 20, 0.7);
}

.btn-outline {
    background: rgba(15, 23, 42, 0.03);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: var(--accent-lime);
    background: rgba(16, 185, 129, 0.05);
    color: var(--accent-emerald);
    transform: translateY(-3px);
    box-shadow: var(--shadow-neon);
}

/* Interactive Cosmos Canvas (Orbit Showcase) */
.hero-canvas {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cosmos-orbit {
    position: absolute;
    border: 1px dashed var(--border-glass);
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.cosmos-orbit.inner {
    width: 60%;
    height: 60%;
    animation: spin-clockwise 30s linear infinite;
}

.cosmos-orbit.outer {
    width: 90%;
    height: 90%;
    animation: spin-counter 45s linear infinite;
}

.cosmos-center {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, var(--accent-lime) 0%, var(--accent-emerald) 80%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 45px rgba(57, 255, 20, 0.4);
    z-index: 5;
    animation: pulse 4s ease-in-out infinite;
}

.cosmos-center-logo {
    width: 70px;
    height: 70px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cosmos-center-logo::after {
    display: none;
}

.cosmos-node {
    position: absolute;
    width: 54px;
    height: 54px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.cosmos-node:hover {
    border-color: var(--accent-lime);
    box-shadow: var(--shadow-neon-glow);
    transform: scale(1.2) rotate(-15deg);
    background: var(--bg-tertiary);
}

.cosmos-node i {
    font-size: 1.4rem;
    color: var(--accent-emerald);
}

/* Positioning coordinates for cosmic orbits */
.node-semrush { top: -27px; left: calc(50% - 27px); }
.node-canva { bottom: -27px; left: calc(50% - 27px); }
.node-chatgpt { top: calc(50% - 27px); left: -27px; }
.node-netflix { top: calc(50% - 27px); right: -27px; }

.node-envato { top: 12%; left: 12%; }
.node-midjourney { bottom: 12%; right: 12%; }
.node-freepik { top: 12%; right: 12%; }
.node-grammarly { bottom: 12%; left: 12%; }

@keyframes spin-clockwise {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes spin-counter {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

@keyframes pulse {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); box-shadow: 0 0 40px rgba(57, 255, 20, 0.3); }
    50% { transform: translate3d(0, 0, 0) scale(1.05); box-shadow: 0 0 60px rgba(57, 255, 20, 0.55); }
}

/* Core Categories Section */
.categories-section {
    padding: 100px 24px;
    max-width: 1300px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.category-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 40px 30px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.category-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-lime), transparent);
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

.category-card:hover {
    transform: translateY(-8px);
    border-color: rgba(16, 185, 129, 0.2);
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.06);
    background: var(--bg-secondary);
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: rgba(57, 255, 20, 0.06);
    border: 1px solid rgba(57, 255, 20, 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--accent-lime);
    font-size: 1.5rem;
    transition: var(--transition-smooth);
}

.category-card:hover .category-icon {
    background: var(--accent-lime);
    color: #000000;
    box-shadow: var(--shadow-neon-glow);
}

.category-card h3 {
    font-size: 1.4rem;
    margin-bottom: 14px;
}

.category-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.category-list {
    list-style: none;
}

.category-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.category-list li i {
    color: var(--accent-lime);
    font-size: 0.8rem;
}

/* Pricing Plans / Interactive Calculator */
.pricing-section {
    padding: 100px 24px;
    max-width: 1300px;
    margin: 0 auto;
    background: radial-gradient(circle at center, rgba(16, 185, 129, 0.04) 0%, transparent 70%);
}

.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
}

.tab-btn {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    padding: 12px 28px;
    border-radius: 12px;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tab-btn.active {
    background: var(--accent-lime);
    color: #000000;
    border-color: var(--accent-lime);
    box-shadow: var(--shadow-neon);
}

.pricing-panel {
    display: none;
}

.pricing-panel.active {
    display: block;
    animation: fade-in .5s ease;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.pricing-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 45px 35px;
    display: flex;
    flex-direction: column;
    position: relative;
    backdrop-filter: blur(10px);
}

.pricing-card.popular {
    border-color: rgba(57, 255, 20, 0.4);
    box-shadow: 0 15px 35px -10px rgba(57, 255, 20, 0.15);
}

.pricing-card.popular::after {
    content: "Best Value";
    position: absolute;
    top: 20px;
    right: 25px;
    background: var(--accent-lime);
    color: #000000;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 100px;
    text-transform: uppercase;
}

.plan-name {
    font-size: 1.1rem;
    color: var(--accent-lime);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    font-family: var(--font-cyber);
}

.plan-price {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 14px;
    font-family: var(--font-heading);
}

.plan-price span {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.plan-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 30px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-glass);
}

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

.plan-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.plan-features li i {
    color: var(--accent-lime);
}

.plan-features li.disabled {
    color: var(--text-muted);
}

.plan-features li.disabled i {
    color: var(--text-muted);
}

/* Custom Calculator styles */
.calculator-container {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 45px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    backdrop-filter: blur(12px);
}

.calc-selectors h3 {
    font-size: 1.6rem;
    margin-bottom: 24px;
}

.tool-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
    gap: 16px;
    max-height: 380px;
    overflow-y: auto;
    padding-right: 8px;
}

.tool-checkbox-grid::-webkit-scrollbar {
    width: 6px;
}
.tool-checkbox-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}
.tool-checkbox-grid::-webkit-scrollbar-thumb {
    background: rgba(16, 185, 129, 0.3);
    border-radius: 10px;
}
.tool-checkbox-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(16, 185, 129, 0.5);
}

.tool-checkbox-card {
    position: relative;
    cursor: pointer;
}

.tool-checkbox-card input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.tool-checkbox-inner {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    transition: var(--transition-smooth);
}

.tool-checkbox-inner i {
    font-size: 1.5rem;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.tool-checkbox-inner span {
    font-size: 0.85rem;
    font-weight: 600;
}

.tool-checkbox-card input:checked + .tool-checkbox-inner {
    border-color: var(--accent-lime);
    background: rgba(57, 255, 20, 0.06);
    box-shadow: var(--shadow-neon);
}

.tool-checkbox-card input:checked + .tool-checkbox-inner i {
    color: var(--accent-lime);
    transform: scale(1.1);
}

.calc-results {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.calc-price h4 {
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.calc-amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-lime);
    font-family: var(--font-heading);
    text-shadow: var(--shadow-neon);
    margin-bottom: 6px;
}

.calc-subtext {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.calc-stats {
    margin: 24px 0;
    padding: 20px 0;
    border-top: 1px dashed var(--border-glass);
    border-bottom: 1px dashed var(--border-glass);
    display: flex;
    justify-content: space-around;
}

.stat-item span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.stat-item strong {
    font-size: 1.1rem;
    color: var(--text-primary);
}

/* Simulated Client Dashboard Portal */
.client-section {
    padding: 100px 24px;
    max-width: 1300px;
    margin: 0 auto;
}

.dashboard-simulation {
    background: var(--bg-glass-heavy);
    border: 1px solid var(--border-glass);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
    display: grid;
    grid-template-rows: 60px 1fr;
    min-height: 600px;
}

.dashboard-header {
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-glass);
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.window-dots {
    display: flex;
    gap: 8px;
}

.window-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--text-muted);
}

.window-dots span:nth-child(1) { background-color: #EF4444; }
.window-dots span:nth-child(2) { background-color: #F59E0B; }
.window-dots span:nth-child(3) { background-color: #10B981; }

.dashboard-title {
    font-family: var(--font-cyber);
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

.dashboard-user {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--accent-lime);
    font-weight: 600;
}

.dashboard-user i {
    font-size: 1rem;
}

.dashboard-body {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 540px;
}

.dashboard-sidebar {
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-glass);
    padding: 24px;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 8px;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    border-radius: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.92rem;
    transition: var(--transition-smooth);
}

.sidebar-menu li.active a, .sidebar-menu a:hover {
    background: rgba(16, 185, 129, 0.08);
    color: var(--accent-emerald);
    border-left: 3px solid var(--accent-lime);
}

.dashboard-content {
    padding: 40px;
    overflow-y: auto;
    position: relative;
}

.mock-pane {
    display: none;
}

.mock-pane.active {
    display: block;
    animation: fade-in 0.3s ease forwards;
}

.dashboard-welcome h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.dashboard-welcome p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.tool-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: var(--transition-smooth);
}

.tool-card:hover {
    border-color: rgba(57, 255, 20, 0.2);
    background: var(--bg-secondary);
}

.tool-card.highlight-glow {
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.45);
    border-color: var(--accent-lime) !important;
    background: rgba(16, 185, 129, 0.05);
    transform: translateY(-6px);
}

.tool-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tool-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.25rem;
}

.tool-status {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 100px;
    text-transform: uppercase;
}

.tool-status.online {
    background: rgba(57, 255, 20, 0.08);
    color: var(--accent-lime);
    border: 1px solid rgba(57, 255, 20, 0.2);
}

.tool-info h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.tool-info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.tool-launch-btn {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    padding: 10px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tool-launch-btn:hover {
    border-color: var(--accent-lime);
    background: rgba(57, 255, 20, 0.06);
    color: var(--accent-lime);
}

.mock-launch-btn {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.15);
    color: var(--accent-emerald);
    padding: 10px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    pointer-events: none;
    cursor: default;
    width: 100%;
    box-sizing: border-box;
}

/* Cookie Token Injection SimulatorOverlay */
.proxy-loader {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.proxy-loader.active {
    opacity: 1;
    pointer-events: all;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(57, 255, 20, 0.1);
    border-top: 4px solid var(--accent-lime);
    border-radius: 50%;
    animation: spin-clockwise 1s linear infinite;
    box-shadow: var(--shadow-neon);
}

.proxy-logs {
    font-family: var(--font-cyber);
    font-size: 0.9rem;
    color: var(--accent-lime);
    max-width: 400px;
    height: 100px;
    overflow-y: hidden;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.log-line {
    opacity: 0;
    transform: translate3d(0, 10px, 0);
    animation: log-slide-in 0.3s ease forwards;
}

@keyframes log-slide-in {
    to { opacity: 1; transform: translate3d(0,0,0); }
}

/* Mock Web Browser Viewport */
.mock-browser {
    position: absolute;
    inset: 0;
    background: #ffffff;
    color: #000000;
    z-index: 150;
    display: grid;
    grid-template-rows: 44px 1fr;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
}

.mock-browser.active {
    opacity: 1;
    pointer-events: all;
}

.browser-bar {
    background: #f1f5f9;
    border-bottom: 1px solid #cbd5e1;
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 16px;
}

.browser-btn {
    background: none;
    border: none;
    font-size: 0.95rem;
    cursor: pointer;
    color: #475569;
}

.browser-url {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 4px 12px;
    flex-grow: 1;
    font-size: 0.8rem;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 8px;
}

.browser-url i {
    color: #10b981;
}

.browser-viewport {
    width: 100%;
    height: 100%;
    border: none;
    background: #080a13;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-y: auto;
    
    /* Clean Dark Mode Context for mock developer-browser sandboxes */
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-glass: rgba(255, 255, 255, 0.08);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-glass-heavy: rgba(255, 255, 255, 0.08);
}

.browser-mock-content {
    text-align: center;
    padding: 40px;
    max-width: 500px;
}

.browser-mock-content i {
    font-size: 4rem;
    margin-bottom: 24px;
    color: var(--accent-lime);
}

.browser-mock-content h4 {
    font-size: 2rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.browser-mock-content p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* Modal and Checkout Styling */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

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

.checkout-modal {
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.08);
    transform: scale(0.9);
    transition: all 0.3s ease;
}

.modal-overlay.active .checkout-modal {
    transform: scale(1);
}

.checkout-header {
    background: var(--bg-tertiary);
    padding: 24px;
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkout-header h3 {
    font-size: 1.35rem;
}

.close-modal {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

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

.checkout-body {
    padding: 30px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.summary-row.total {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent-lime);
    border-top: 1px solid var(--border-glass);
    padding-top: 12px;
    margin-top: 12px;
    margin-bottom: 24px;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.payment-card {
    position: relative;
    cursor: pointer;
}

.payment-card input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.payment-card-inner {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    transition: var(--transition-smooth);
    font-size: 0.85rem;
    font-weight: 600;
}

.payment-card input:checked + .payment-card-inner {
    border-color: var(--accent-lime);
    background: rgba(57, 255, 20, 0.06);
}

/* FAQ & Footer */
.faq-section {
    padding: 100px 24px;
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.accordion-header {
    padding: 24px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

.accordion-header:hover {
    background: rgba(15, 23, 42, 0.02);
}

.accordion-header i {
    transition: var(--transition-smooth);
    color: var(--accent-lime);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    padding: 0 24px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
    padding-bottom: 24px;
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-glass);
    padding: 80px 24px 40px;
}

.footer-grid {
    max-width: 1300px;
    margin: 0 auto 50px;
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
}

.footer-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 20px;
    margin-bottom: 24px;
    max-width: 320px;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

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

.footer-links a:hover {
    color: var(--accent-lime);
    padding-left: 4px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-icon:hover {
    background: var(--accent-lime);
    color: #000000;
    box-shadow: var(--shadow-neon-glow);
    transform: translateY(-2px);
}

.footer-bottom {
    max-width: 1300px;
    margin: 0 auto;
    border-top: 1px solid var(--border-glass);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Animations */
@keyframes fade-in {
    from { opacity: 0; transform: translate3d(0, 10px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        padding-top: 120px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .calculator-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .dashboard-body {
        grid-template-columns: 1fr;
    }
    
    .dashboard-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--border-glass);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .nav-links {
        display: none; /* In production mobile menu expands */
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* ========================================================================
   Payment Toast Notification
   ======================================================================== */
.payment-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--bg-glass-heavy);
    border: 1px solid var(--accent-lime);
    border-radius: 16px;
    padding: 16px 24px;
    box-shadow: var(--shadow-neon-glow);
    z-index: 9999;
    transform: translate3d(0, 100px, 0);
    opacity: 0;
    transition: var(--transition-smooth);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.payment-toast.show {
    transform: translate3d(0, 0, 0);
    opacity: 1;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.toast-content i {
    font-size: 1.5rem;
    color: var(--accent-lime);
    animation: pulse 1s ease-in-out infinite;
}

.toast-content strong {
    display: block;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.toast-content p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 0;
}

/* ========================================================================
   Custom SVG Logo & Slogan Typography
   ======================================================================== */
.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    flex-wrap: nowrap;
}

.logo-symbol-svg {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 8px rgba(57, 255, 20, 0.25));
    transition: var(--transition-smooth);
}

.logo:hover .logo-symbol-svg {
    filter: drop-shadow(0 0 15px rgba(57, 255, 20, 0.5));
    transform: scale(1.05) rotate(3deg);
}

.logo-text-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-text {
    font-family: var(--font-cyber);
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.1;
    color: #000000;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.logo-text span {
    color: var(--accent-lime);
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.3);
}

.logo-subtitle {
    font-size: 0.55rem;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 3.2px;
    text-transform: uppercase;
    margin-top: 2px;
    white-space: nowrap;
}

/* ========================================================================
   Landing Page: All Tools Directory
   ======================================================================== */
.directory-section {
    padding: 100px 24px;
    max-width: 1300px;
    margin: 0 auto;
    border-top: 1px solid var(--border-glass);
}

.filter-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 45px;
}

.filter-btn {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    padding: 10px 22px;
    border-radius: 12px;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover {
    border-color: rgba(57, 255, 20, 0.3);
    color: var(--text-primary);
}

.filter-btn.active {
    background: rgba(57, 255, 20, 0.1);
    color: var(--accent-lime);
    border-color: var(--accent-lime);
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.15);
}

.directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.directory-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 28px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.directory-card:hover {
    transform: translateY(-5px);
    border-color: rgba(57, 255, 20, 0.25);
    background: var(--bg-secondary);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.directory-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.directory-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--text-primary);
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid var(--border-glass);
}

.directory-card:hover .directory-icon-box {
    background: var(--accent-lime);
    color: #000000;
    box-shadow: var(--shadow-neon-glow);
    border-color: var(--accent-lime);
}

.directory-uptime {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-lime);
    background: rgba(57, 255, 20, 0.08);
    border: 1px solid rgba(57, 255, 20, 0.15);
    padding: 3px 8px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.directory-uptime .dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-lime);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 6px var(--accent-lime);
}

.directory-info h4 {
    font-size: 1.15rem;
    margin-bottom: 6px;
    color: var(--text-primary);
    font-family: var(--font-heading);
}

.directory-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.directory-badge-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
}

.directory-tag {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.directory-tag.cat-seo { background: rgba(59, 130, 246, 0.08); color: #60A5FA; border: 1px solid rgba(59, 130, 246, 0.15); }
.directory-tag.cat-creative { background: rgba(139, 92, 246, 0.08); color: #A78BFA; border: 1px solid rgba(139, 92, 246, 0.15); }
.directory-tag.cat-ai { background: rgba(16, 185, 129, 0.08); color: #34D399; border: 1px solid rgba(16, 185, 129, 0.15); }
.directory-tag.cat-streaming { background: rgba(239, 68, 68, 0.08); color: #F87171; border: 1px solid rgba(239, 68, 68, 0.15); }

.directory-tag.plan-tag {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    border: 1px solid var(--border-glass);
}

/* ========================================================================
   DEDICATED CLIENT PORTAL (portal.html)
   ======================================================================== */
.portal-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
    overflow: hidden;
}

/* Login Panel Gate */
.login-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 28px;
    width: 100%;
    max-width: 440px;
    padding: 45px 35px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: fade-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    z-index: 10;
}

.login-header {
    text-align: center;
    margin-bottom: 35px;
}

.login-header .logo {
    justify-content: center;
    margin-bottom: 20px;
}

.login-header h2 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.login-header p {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.form-input-wrapper i {
    position: absolute;
    left: 16px;
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-input {
    width: 100%;
    padding: 12px 16px 12px 45px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    font-family: var(--font-body);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-lime);
    background: rgba(57, 255, 20, 0.02);
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.1);
}

.form-input:focus + i {
    color: var(--accent-lime);
}

.login-btn {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-lime), var(--accent-emerald));
    color: #000000;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 20px -8px rgba(57, 255, 20, 0.5);
    font-family: var(--font-heading);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px -6px rgba(57, 255, 20, 0.7);
}

/* Dashboard Layout */
.portal-layout {
    display: none; /* Toggled via JS after authentication */
    width: 100vw;
    height: 100vh;
    grid-template-rows: 70px 1fr;
    background-color: var(--bg-primary);
    overflow: hidden;
}

.portal-layout.active {
    display: grid;
    animation: fade-in 0.4s ease;
}

/* Portal Topbar */
.portal-navbar {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    height: 100%;
    box-sizing: border-box;
}

.portal-nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.ext-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #34D399;
}

.ext-badge .dot {
    width: 6px;
    height: 6px;
    background-color: #34D399;
    border-radius: 50%;
    box-shadow: 0 0 6px #34D399;
}

.portal-user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.portal-user-avatar {
    width: 36px;
    height: 36px;
    background: rgba(57, 255, 20, 0.1);
    border: 1px solid var(--accent-lime);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-lime);
    font-size: 1rem;
    font-weight: 700;
}

.portal-user-email {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Portal Dashboard Main Grid */
.portal-main {
    display: grid;
    grid-template-columns: 260px 1fr;
    height: calc(100vh - 70px);
}

.portal-sidebar {
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-glass);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.portal-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.portal-menu-item button {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    border-radius: 12px;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    text-align: left;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.portal-menu-item.active button, .portal-menu-item button:hover {
    background: rgba(16, 185, 129, 0.08);
    color: var(--accent-emerald);
    border-left: 3px solid var(--accent-lime);
    border-radius: 0 12px 12px 0;
}

.portal-logout-btn {
    width: 100%;
    background: none;
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: 12px;
    color: #F87171;
    padding: 12px 18px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 12px;
}

.portal-logout-btn:hover {
    background: rgba(239, 68, 68, 0.08);
    border-color: #EF4444;
}

.portal-content {
    background: var(--bg-primary);
    padding: 40px;
    overflow-y: auto;
    position: relative;
    height: 100%;
}

.portal-pane {
    display: none;
}

.portal-pane.active {
    display: block;
    animation: fade-in 0.4s ease;
}

/* Dashboard Overview Widgets */
.dashboard-welcome-banner {
    background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.08) 0%, var(--bg-secondary) 100%);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 35px;
    margin-bottom: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.banner-welcome-text h2 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.banner-welcome-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 550px;
    line-height: 1.6;
}

.banner-stats-widget {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-glass);
    padding: 20px;
    border-radius: 16px;
    display: flex;
    gap: 24px;
    text-align: center;
}

.widget-stat-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.widget-stat-col span {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.widget-stat-col strong {
    font-family: var(--font-cyber);
    font-size: 1.35rem;
    color: var(--accent-lime);
}

/* Dashboard Filter Bar */
.dashboard-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.dashboard-filter-bar h3 {
    font-size: 1.35rem;
}

/* Invoices Pane */
.invoice-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.invoice-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.invoice-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
}

.invoice-table th {
    color: var(--text-secondary);
    font-weight: 600;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-glass);
}

.invoice-table td {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-glass);
    color: var(--text-primary);
}

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

.inv-status {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.inv-status.paid {
    background: rgba(16, 185, 129, 0.08);
    color: #34D399;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.inv-status.pending {
    background: rgba(245, 158, 11, 0.08);
    color: #FBBF24;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.inv-status .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: currentColor;
}

/* Support Pane */
.support-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
}

.support-form-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 35px;
}

.support-form-card h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.support-form-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.support-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-textarea {
    width: 100%;
    min-height: 120px;
    padding: 14px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    font-family: var(--font-body);
    resize: vertical;
}

.form-textarea:focus {
    outline: none;
    border-color: var(--accent-lime);
    background: rgba(57, 255, 20, 0.02);
}

.support-tickets-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 30px;
}

.support-tickets-card h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.ticket-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ticket-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ticket-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.ticket-id {
    font-family: var(--font-cyber);
    color: var(--text-muted);
}

.ticket-status {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.7rem;
}

.ticket-status.resolved { color: var(--accent-lime); }
.ticket-status.open { color: #3B82F6; }

.ticket-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.ticket-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Extension Guide Pane */
.guide-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 40px;
}

.guide-hero {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.guide-hero i {
    font-size: 3.5rem;
    color: var(--accent-lime);
    filter: drop-shadow(0 0 10px rgba(57,255,20,0.3));
}

.guide-hero h3 {
    font-size: 1.8rem;
}

.guide-hero p {
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.guide-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.guide-step-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.step-num {
    width: 32px;
    height: 32px;
    background: var(--accent-lime);
    color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-family: var(--font-cyber);
    font-size: 0.85rem;
}

.guide-step-card h4 {
    font-size: 1.05rem;
}

.guide-step-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.guide-download-section {
    text-align: center;
    padding-top: 30px;
    border-top: 1px dashed var(--border-glass);
}

.guide-download-section button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    padding: 14px 36px;
    border-radius: 14px;
}

/* Specific Browser View additions */
.spotify-player {
    width: 100%;
    max-width: 440px;
    background: #121212;
    border-radius: 16px;
    padding: 24px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    text-align: left;
}

.spotify-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    color: #1DB954;
    font-weight: 700;
}

.spotify-track-info {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.spotify-art {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    background: linear-gradient(135deg, #1DB954, #191414);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.spotify-metadata h5 {
    font-size: 1rem;
    margin: 0 0 4px 0;
    color: #ffffff;
}

.spotify-metadata p {
    font-size: 0.8rem;
    color: #b3b3b3;
    margin: 0;
}

.spotify-progress-bar {
    height: 4px;
    background: #535353;
    border-radius: 2px;
    position: relative;
    margin-bottom: 12px;
    cursor: pointer;
}

.spotify-progress {
    width: 35%;
    height: 100%;
    background: #1DB954;
    border-radius: 2px;
}

.spotify-time {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: #b3b3b3;
    margin-bottom: 20px;
}

.spotify-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    font-size: 1.25rem;
}

.spotify-controls i {
    cursor: pointer;
    color: #b3b3b3;
    transition: all 0.2s ease;
}

.spotify-controls i:hover {
    color: #ffffff;
}

.spotify-controls i.play-btn {
    font-size: 2.2rem;
    color: #ffffff;
}

.spotify-controls i.play-btn:hover {
    transform: scale(1.05);
}

.netflix-viewport {
    width: 100%;
    max-width: 800px;
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    text-align: left;
    padding: 20px;
}

.netflix-row h5 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.netflix-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.netflix-card {
    background: #141414;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
}

.netflix-card:hover {
    transform: scale(1.05);
    border-color: #E50914;
}

.netflix-thumbnail {
    height: 100px;
    background: linear-gradient(135deg, #E50914, #000000);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #ffffff;
}

.netflix-info {
    padding: 10px;
}

.netflix-info h6 {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.netflix-info p {
    font-size: 0.7rem;
    color: #808080;
    margin: 0;
}

/* Portal Active Workspaces Grid View */
.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

/* Responsive Portal overrides */
@media (max-width: 1024px) {
    .portal-main {
        grid-template-columns: 1fr;
    }
    
    .portal-sidebar {
        display: none; /* In production mobile sidebar expands */
    }
    
    .guide-steps {
        grid-template-columns: 1fr;
    }
    
    .support-grid {
        grid-template-columns: 1fr;
    }
}


