:root {
    /* Base Colors - Main Website Obsidian Dark Theme */
    --bg-color: #060608;
    --surface: #0e0e12;
    --surface-hover: #16161c;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.2);
    
    /* Typography Colors */
    --text-primary: #f2f2f5;
    --text-secondary: #888899;
    --text-muted: #666677;
    
    /* Accents - Main Website Brand Purple/Indigo */
    --accent: #6366f1;
    --accent-hover: #4f46e5;
    --accent-light: rgba(99, 102, 241, 0.15);
    
    /* Semantic Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    /* Layout */
    --nav-height: 80px;
    --sidebar-width: 260px;
    
    /* Typography */
    --font-display: 'Syne', sans-serif;
    --font-sans: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Nav & Header specific */
    --nav-bg: rgba(6, 6, 8, 0.85);
    --nav-bg-solid: #0e0e12;
    --input-bg: rgba(255, 255, 255, 0.04);
}

html.light {
    /* Base Colors - Main Website Light Theme */
    --bg-color: #f5f5f8;
    --surface: #ffffff;
    --surface-hover: #ebebf0;
    --border: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 0, 0, 0.22);
    
    --text-primary: #0d0d14;
    --text-secondary: #666677;
    --text-muted: #aaaabc;
    
    --accent: #6366f1;
    --accent-hover: #4f46e5;
    --accent-light: rgba(99, 102, 241, 0.1);
    
    --nav-bg: rgba(245, 245, 248, 0.88);
    --nav-bg-solid: #ffffff;
    --input-bg: rgba(0, 0, 0, 0.03);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── Noise Grain Overlay ─────────────────────── */
.noise-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

/* ── Background Orbs ─────────────────────────── */
.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: -1;
}

.orb-1 {
    width: 60vw;
    height: 60vw;
    max-width: 600px;
    max-height: 600px;
    top: -200px;
    left: -100px;
    background: radial-gradient(circle, var(--accent-light), transparent 70%);
    opacity: 0.8;
}

.orb-2 {
    width: 50vw;
    height: 50vw;
    max-width: 500px;
    max-height: 500px;
    bottom: -100px;
    right: -100px;
    background: radial-gradient(circle, rgba(255,255,255,0.03), transparent 70%);
    opacity: 0.6;
}

/* ── Typography ─────────────────────────────── */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

/* ── Buttons ────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.btn-large {
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
}

.btn-small {
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
}

.btn-primary {
    background-color: var(--accent);
    color: #fff;
}
.feature-card:hover .feature-icon {
    background: var(--accent);
    color: #fff;
    transform: scale(1.1);
}

/* ── Product Section (Premium Staggered Layout) ──────────────── */
/* ── Software Tiers Section ──────────────── */
.product-tier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding: 0 1rem;
    align-items: center; /* This ensures the premium card can pop out */
}

.tier-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(40px);
}

.tier-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.tier-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}

.tier-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.tier-header i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.tier-card:hover .tier-header i {
    transform: scale(1.15) rotate(5deg);
}

.tier-header h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-primary);
    font-weight: 700;
}

.tier-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.tier-body p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
}

.tier-features {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.tier-features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.tier-features i {
    color: var(--accent);
    font-size: 0.9rem;
}

.tier-footer {
    margin-top: auto;
    padding-top: 1.5rem;
}

.tier-footer .btn {
    width: 100%;
    text-align: center;
    display: block;
}

/* Premium Tier Specifics */
.premium-tier {
    background: linear-gradient(160deg, var(--surface) 0%, var(--surface-hover) 100%);
    border: 2px solid var(--accent);
    transform: scale(1.05) translateY(0);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.15);
    z-index: 2;
}

.premium-tier.animate-in {
    opacity: 1;
}

.premium-tier:hover {
    transform: scale(1.08) translateY(-10px);
    box-shadow: 0 25px 50px rgba(99, 102, 241, 0.25);
}

.premium-tier .badge-popular {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    padding: 0.4rem 1.5rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

@media (max-width: 992px) {
    .premium-tier {
        transform: scale(1) translateY(0);
        z-index: 1;
    }
    .premium-tier:hover {
        transform: scale(1.02) translateY(-10px);
    }
}

.btn-secondary {
    background-color: var(--surface);
    color: var(--text-primary);
    border-color: var(--border);
}
.btn-secondary:hover {
    background-color: var(--surface-hover);
    border-color: var(--border-hover);
}

.btn-whatsapp {
    background-color: #25D366;
    color: #ffffff !important;
    border: 1px solid #20ba5a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}
.btn-whatsapp i {
    font-size: 1.15rem;
}
.btn-whatsapp:hover {
    background-color: #1ebe5d;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-outline {
    background: transparent;
    border-color: var(--border);
    color: var(--text-secondary);
}
.btn-outline:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.icon-btn, .icon-btn-small {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    position: relative;
}
.icon-btn {
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
}
.icon-btn-small {
    font-size: 1rem;
}
.icon-btn:hover, .icon-btn-small:hover {
    color: var(--text-primary);
}

/* ── Navigation ─────────────────────────────── */
.nav-bar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

.back-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s;
}
.back-link:hover {
    color: var(--text-primary);
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.nav-bar .logo-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.udn-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}
.logo-text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.05em;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn) {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:not(.btn):hover {
    color: var(--text-primary);
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
}

/* ── Landing Page Sections ──────────────────── */
.hero-section {
    min-height: 100vh;
    padding: calc(var(--nav-height) + 4rem) 2rem 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: var(--accent-light);
    color: var(--accent);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-family: var(--font-mono);
}
.hero-logo {
    height: 120px;
    width: auto;
    object-fit: contain;
    margin-bottom: 2rem;
    margin-left: 0;
    display: block;
    mix-blend-mode: normal;
    transition: filter 0.3s ease;
}

.nav-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
    display: inline-block;
}

.footer-logo {
    height: 28px;
    width: auto;
    object-fit: contain;
    display: inline-block;
}

/* Base Theme Switcher Visibility */
.logo-light {
    display: none !important;
}

.logo-dark {
    display: block !important;
}

.nav-logo.logo-dark,
.footer-logo.logo-dark {
    display: inline-block !important;
}

html.light .logo-dark {
    display: none !important;
}

html.light .logo-light {
    display: block !important;
}

html.light .nav-logo.logo-light,
html.light .footer-logo.logo-light {
    display: inline-block !important;
}

/* Drop shadows */
.hero-logo.logo-dark {
    filter: drop-shadow(0 0 24px rgba(99, 102, 241, 0.45));
}

html.light .hero-logo.logo-light {
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.12)) drop-shadow(0 1px 3px rgba(84, 64, 19, 0.1));
}

.hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.mockup-window {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.mockup-header {
    background: rgba(0, 0, 0, 0.2);
    padding: 0.8rem 1rem;
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.mockup-body {
    height: 400px;
    padding: 2rem;
    position: relative;
    background: #111;
}

/* Simulation animation placeholder */
.simulation-graph {
    position: relative;
    width: 100%;
    height: 100%;
}
.node {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent);
}
.n1 { top: 30%; left: 20%; transform: translate(-50%, -50%); }
.n2 { top: 20%; left: 70%; transform: translate(-50%, -50%); }
.n3 { top: 70%; left: 80%; transform: translate(-50%, -50%); }
.n4 { top: 80%; left: 30%; transform: translate(-50%, -50%); }

.connections {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.pipe {
    stroke: var(--border-hover);
    stroke-width: 2;
    fill: none;
}
.pipe.active {
    stroke: var(--accent);
    stroke-dasharray: 8;
    animation: flow 2s linear infinite;
}

@keyframes flow {
    from { stroke-dashoffset: 16; }
    to { stroke-dashoffset: 0; }
}

.features-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: 12px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}
.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}
.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}
.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

footer {
    position: relative;
    z-index: 10;
    background: var(--bg-color);
    border-top: 1px solid var(--border) !important;
    padding: 3.5rem 0 0;
    margin-top: 5rem;
}
html.light footer {
    background: var(--bg-color);
    border-top: 1px solid var(--border) !important;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-brand p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}
.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    margin-left: 1.5rem;
    transition: color 0.2s ease;
}
.footer-links a:hover {
    color: var(--text-primary);
}
.footer-branding-row {
    width: 100%;
    border-top: 1px solid var(--border);
    padding: 1.75rem 1.5rem 2.25rem;
    background: var(--bg-color);
    position: relative;
    z-index: 10;
}
html.light .footer-branding-row {
    background: var(--bg-color);
    border-top: 1px solid var(--border);
}
.footer-branding-text {
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.875rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
}
.footer-branding-text .brand-dot {
    margin: 0 0.8rem;
    color: var(--text-primary);
    opacity: 0.4;
}

/* ── Admin Dashboard Layout ─────────────────── */
.admin-layout {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

.sidebar {
    width: var(--sidebar-width);
    background: var(--surface);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.sidebar-header {
    height: var(--nav-height);
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
}

.close-sidebar-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
}

.sidebar-nav {
    padding: 1.5rem 1rem;
    flex-grow: 1;
    overflow-y: auto;
}

.nav-group {
    margin-bottom: 2rem;
}

.nav-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    padding: 0 0.5rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 0.8rem;
    border-radius: 6px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s;
    margin-bottom: 0.2rem;
}
.nav-item:hover {
    background: var(--surface-hover);
    color: var(--text-primary);
}
.nav-item.active {
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent);
}
.text-danger { color: var(--danger) !important; }
.text-danger:hover { background: rgba(239, 68, 68, 0.1) !important; }

.main-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.top-header {
    height: var(--nav-height);
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
}

.open-sidebar-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    margin-right: 1rem;
}

.header-search {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    width: 300px;
}
.header-search i { color: var(--text-muted); }
.header-search input {
    background: transparent;
    border: none;
    color: var(--text-primary);
    outline: none;
    width: 100%;
    font-size: 0.9rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.badge-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 6px;
    height: 6px;
    background: var(--danger);
    border-radius: 50%;
}
.user-profile {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
}
.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.dashboard-content {
    padding: 2rem;
    flex-grow: 1;
    overflow-y: auto;
}

.page-header {
    margin-bottom: 2rem;
}
.page-header h1 {
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
}
.page-header p {
    color: var(--text-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    position: relative;
}
.stat-icon {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
}
.stat-info { flex-grow: 1; }
.stat-value {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
}
.stat-label {
    color: var(--text-muted);
    font-size: 0.85rem;
}
.stat-trend {
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.stat-trend.positive { color: var(--success); }
.stat-trend.negative { color: var(--danger); }

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.col-span-2 { grid-column: span 2; }

.dashboard-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.card-header {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.card-header h2 {
    font-size: 1.1rem;
}

.table-container {
    overflow-x: auto;
}
.data-table {
    width: 100%;
    border-collapse: collapse;
}
.data-table th, .data-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.data-table th {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: 600;
}
.data-table td {
    font-size: 0.9rem;
}
.data-table tr:last-child td {
    border-bottom: none;
}
.status-badge {
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}
.status-badge.success { background: rgba(16, 185, 129, 0.1); color: var(--success); border: 1px solid rgba(16, 185, 129, 0.2); }
.status-badge.warning { background: rgba(245, 158, 11, 0.1); color: var(--warning); border: 1px solid rgba(245, 158, 11, 0.2); }
.status-badge.error { background: rgba(239, 68, 68, 0.1); color: var(--danger); border: 1px solid rgba(239, 68, 68, 0.2); }

.health-meters {
    padding: 1.5rem;
}
.meter-group {
    margin-bottom: 1.5rem;
}
.meter-group:last-child { margin-bottom: 0; }
.meter-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}
.meter-track {
    height: 6px;
    background: rgba(255,255,255,0.05);
    border-radius: 3px;
    overflow: hidden;
}
.meter-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 3px;
}
.meter-fill.warning { background: var(--warning); }
.meter-fill.danger { background: var(--danger); }


/* ── Responsive Design ──────────────────────── */
@media (max-width: 992px) {
    .hero-section {
        grid-template-columns: 1fr;
        padding-top: calc(var(--nav-height) + 2rem);
    }
    .hero-subtitle {
        margin-bottom: 2.5rem;
    }
    .hero-actions {
        justify-content: flex-start;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    .col-span-2 { grid-column: span 1; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-toggle { display: block; }
    
    .hero-title { font-size: 2.5rem; }
    
    /* Admin Mobile adjustments */
    .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        z-index: 200;
        transform: translateX(-100%);
    }
    .sidebar.open {
        transform: translateX(0);
    }
    .close-sidebar-btn { display: block; }
    .open-sidebar-btn { display: block; }
    
    .header-search { display: none; }
    .top-header { padding: 0 1rem; }
}

#nav-logo-img, #footer-logo-img, #main-logo, #main-logo-light { mix-blend-mode: normal; }


/*  Scroll Reveal Animation  */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Enhancing Feature Card Hover */
.feature-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease !important;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.15) !important;
}

.feature-card:hover .feature-icon i {
    animation: bounceIcon 0.5s ease-in-out alternate infinite;
}

@keyframes bounceIcon {
    from { transform: translateY(0); }
    to { transform: translateY(-3px); }
}


/* Interactive Methodologies */
.interactive-methodologies .methodology-accordion {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.method-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.method-item:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.1);
}
.method-item:hover {
    border-color: var(--accent);
    background: var(--surface-hover);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.15);
}
.method-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
}
.method-title-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.method-icon {
    width: 50px;
    height: 50px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}
.method-item:hover .method-icon {
    background: var(--accent);
    color: #fff;
    transform: scale(1.1);
}
.method-header h3 {
    font-size: 1.25rem;
    margin: 0;
    color: var(--text-primary);
    transition: color 0.3s ease;
}
.method-item:hover .method-header h3 {
    color: var(--accent);
}
.method-toggle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.method-item:hover .method-toggle {
    transform: rotate(180deg);
    color: var(--accent);
}
.method-content {
    max-height: 0;
    opacity: 0;
    padding: 0 2rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-secondary);
    line-height: 1.6;
}
.method-item:hover .method-content {
    max-height: 300px;
    opacity: 1;
    padding: 0 2rem 1.5rem 2rem;
}


/* Dynamic Hover Cards */
.dynamic-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.dynamic-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    height: 350px;
    position: relative;
    overflow: hidden;
    cursor: default;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.dynamic-card:hover {
    border-color: var(--accent);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.15);
    transform: translateY(-10px);
}

.dynamic-card-content {
    position: absolute;
    inset: 0;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.dynamic-card:hover .dynamic-card-content {
    transform: translateY(-30px);
}

.dynamic-icon {
    width: 70px;
    height: 70px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.dynamic-card:hover .dynamic-icon {
    transform: scale(0.8);
    background: var(--accent);
    color: #fff;
    margin-bottom: 1rem;
}

.dynamic-card h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin: 0;
    transition: all 0.5s ease;
}

.dynamic-card:hover h3 {
    color: var(--accent);
}

.dynamic-details {
    position: absolute;
    bottom: -50px;
    left: 2rem;
    right: 2rem;
    opacity: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    text-align: center;
}

.dynamic-card:hover .dynamic-details {
    bottom: 2rem;
    opacity: 1;
}

/* Cleanup old accordion CSS so it doesn't conflict */
.interactive-methodologies { display: none; }


/* 3D Flip Cards */
.flip-grid-section {
    perspective: 1000px;
}

.flip-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.flip-card {
    background: transparent;
    height: 320px;
    perspective: 1500px; /* 3D space */
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.9s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.9s ease;
    transform-style: preserve-3d;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border-radius: 16px;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg) scale(1.05);
    box-shadow: 0 25px 45px rgba(99, 102, 241, 0.3);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
}

.flip-card-front {
    background: var(--surface);
    border: 1px solid var(--border);
}

.flip-icon {
    width: 80px;
    height: 80px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.flip-card-front h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin: 0;
}

.flip-card-back {
    background: var(--accent);
    color: #fff;
    transform: rotateY(180deg);
    border: 1px solid var(--accent);
}

.back-icon {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 1rem;
}

.flip-card-back p {
    color: #fff;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Hide dynamic grid to prevent conflict */
.dynamic-features-grid { display: none; }


/* Spotlight Products Showcase */
.products-showcase {
    background: transparent;
    padding-top: 4rem;
}

.spotlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* The magic: dim others when grid is hovered */
.spotlight-grid:hover .spotlight-card {
    opacity: 0.5;
    transform: scale(0.96);
    filter: blur(2px);
}

.spotlight-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    position: relative;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Restore the hovered card and make it pop */
.spotlight-grid .spotlight-card:hover {
    opacity: 1;
    transform: scale(1.05) translateY(-10px);
    filter: blur(0);
    border-color: var(--accent);
    box-shadow: 0 25px 50px rgba(99, 102, 241, 0.2);
    z-index: 10;
    background: var(--surface);
}

.spotlight-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.spotlight-card:hover .spotlight-icon {
    transform: scale(1.2) rotate(5deg);
}

.spotlight-content h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.spotlight-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.spotlight-content .btn {
    width: 100%;
}

.premium-card {
    border: 2px solid var(--accent);
    background: linear-gradient(145deg, var(--surface) 0%, rgba(99,102,241,0.05) 100%);
    transform: scale(1.02);
}

.premium-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 10px rgba(99,102,241,0.3);
}

/* Hide old tier cards if any remain */
.product-tier-grid { display: none; }


/* Tabs Layout for Products */
.tabs-section {
    padding-top: 4rem;
}

.product-tabs-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.product-tabs-nav {
    display: flex;
    border-bottom: 1px solid var(--border);
    background: rgba(0,0,0,0.01);
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1.25rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    position: relative;
}

.tab-btn:hover {
    background: rgba(99,102,241,0.03);
    color: var(--text-primary);
}

.tab-btn.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
    background: var(--surface);
}

.premium-tab-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.hot-badge {
    background: #e11d48;
    color: white;
    font-size: 0.65rem;
    padding: 0.1rem 0.5rem;
    border-radius: 12px;
    text-transform: uppercase;
}

.product-tab-content {
    display: none;
    padding: 3rem;
    animation: fadeInTab 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-tab-content.active {
    display: block;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-content-inner {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.tab-icon {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.tab-text {
    flex-grow: 1;
}

.tab-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.tab-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.tab-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
}

.tab-features li {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tab-features li i {
    color: var(--accent);
}

@media (max-width: 768px) {
    .product-tabs-nav {
        flex-direction: column;
    }
    .tab-content-inner {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .tab-features li {
        justify-content: center;
    }
}

/* Hide spotlight grid if any remains */
.products-showcase { display: none; }

/* HIGHLY DYNAMIC TAB EFFECTS */

/* Hide everything initially so it can stagger in */
.product-tab-content .tab-icon,
.product-tab-content .tab-text h3,
.product-tab-content .tab-desc,
.product-tab-content .tab-features li,
.product-tab-content .btn {
    opacity: 0;
}

/* Base keyframes */
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-40px) scale(0.9); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); box-shadow: 0 15px 25px rgba(99, 102, 241, 0.15); }
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(99, 102, 241, 0); }
    100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}

/* Staggered Animations when Tab is Active */
.product-tab-content.active .tab-icon {
    animation: slideInLeft 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.product-tab-content.active .tab-text h3 {
    animation: slideInRight 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s forwards;
}

.product-tab-content.active .tab-desc {
    animation: slideInRight 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s forwards;
}

.product-tab-content.active .tab-features li:nth-child(1) { animation: slideUpFade 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s forwards; }
.product-tab-content.active .tab-features li:nth-child(2) { animation: slideUpFade 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s forwards; }
.product-tab-content.active .tab-features li:nth-child(3) { animation: slideUpFade 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s forwards; }

.product-tab-content.active .btn-secondary,
.product-tab-content.active .btn-whatsapp {
    animation: slideUpFade 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s forwards;
}

.product-tab-content.active .btn-primary {
    animation: slideUpFade 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s forwards, pulseGlow 2s infinite 1.1s;
}

/* Enhanced Tab Button Hover */
.tab-btn {
    overflow: hidden;
}

.tab-btn::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 100%;
    background: rgba(99, 102, 241, 0.05);
    z-index: -1;
    transition: width 0.4s ease;
    border-radius: 8px 8px 0 0;
}

.tab-btn:hover::before {
    width: 100%;
}

/* Premium Shimmer & Glow Effects */
.tab-icon {
    position: relative;
    overflow: hidden;
}

.tab-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: shineSweep 4s infinite 1s;
}

.hot-badge {
    background: #e11d48;
    color: white;
    font-size: 0.65rem;
    padding: 0.1rem 0.5rem;
    border-radius: 12px;
    text-transform: uppercase;
}

.product-tab-content {
    display: none;
    padding: 3rem;
    animation: fadeInTab 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-tab-content.active {
    display: block;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-content-inner {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.tab-icon {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.tab-text {
    flex-grow: 1;
}

.tab-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.tab-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.tab-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
}

.tab-features li {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tab-features li i {
    color: var(--accent);
}

@media (max-width: 768px) {
    .product-tabs-nav {
        flex-direction: column;
    }
    .tab-content-inner {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .tab-features li {
        justify-content: center;
    }
}

/* Hide spotlight grid if any remains */
.products-showcase { display: none; }

/* HIGHLY DYNAMIC TAB EFFECTS */

/* Hide everything initially so it can stagger in */
.product-tab-content .tab-icon,
.product-tab-content .tab-text h3,
.product-tab-content .tab-desc,
.product-tab-content .tab-features li,
.product-tab-content .btn {
    opacity: 0;
}

/* Base keyframes */
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-40px) scale(0.9); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); box-shadow: 0 15px 25px rgba(99, 102, 241, 0.15); }
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(99, 102, 241, 0); }
    100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}

/* Staggered Animations when Tab is Active */
.product-tab-content.active .tab-icon {
    animation: slideInLeft 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.product-tab-content.active .tab-text h3 {
    animation: slideInRight 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s forwards;
}

.product-tab-content.active .tab-desc {
    animation: slideInRight 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s forwards;
}

.product-tab-content.active .tab-features li:nth-child(1) { animation: slideUpFade 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s forwards; }
.product-tab-content.active .tab-features li:nth-child(2) { animation: slideUpFade 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s forwards; }
.product-tab-content.active .tab-features li:nth-child(3) { animation: slideUpFade 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s forwards; }

.product-tab-content.active .btn-secondary,
.product-tab-content.active .btn-whatsapp {
    animation: slideUpFade 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s forwards;
}

.product-tab-content.active .btn-primary {
    animation: slideUpFade 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s forwards, pulseGlow 2s infinite 1.1s;
}

/* Enhanced Tab Button Hover */
.tab-btn {
    overflow: hidden;
}

.tab-btn::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 100%;
    background: rgba(99, 102, 241, 0.05);
    z-index: -1;
    transition: width 0.4s ease;
    border-radius: 8px 8px 0 0;
}

.tab-btn:hover::before {
    width: 100%;
}

/* Premium Shimmer & Glow Effects */
.tab-icon {
    position: relative;
    overflow: hidden;
}

.tab-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: shineSweep 4s infinite 1s;
}

@keyframes shineSweep {
    0% { left: -100%; }
    15% { left: 200%; }
    100% { left: 200%; }
}

/* Add a glowing underline to the active tab */
.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
    box-shadow: 0 -3px 12px var(--accent);
    animation: glowPulse 2s infinite;
}

@keyframes glowPulse {
    0% { opacity: 0.7; box-shadow: 0 -2px 8px var(--accent); }
    50% { opacity: 1; box-shadow: 0 -4px 15px var(--accent); }
    100% { opacity: 0.7; box-shadow: 0 -2px 8px var(--accent); }
}

/* Dynamic Guidance Section */
.guidance-profile-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    overflow: hidden;
    z-index: 1;
}

/* Base top border */
.guidance-profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 2;
}

/* Dynamic Spotlight Glow */
.guidance-profile-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(99, 102, 241, 0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    pointer-events: none;
}

.guidance-profile-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    border-color: rgba(99, 102, 241, 0.3);
}

.guidance-profile-card:hover::before {
    transform: scaleX(1);
}

.guidance-profile-card:hover::after {
    opacity: 1;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--surface-hover);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.8rem;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 1px;
    border: 2px solid var(--border);
    transition: all 0.5s ease;
}

.guidance-profile-card:hover .profile-avatar {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2);
}

.profile-details h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.role-badge {
    display: inline-block;
    padding: 0.2rem 1rem;
    background: var(--accent-light);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.profile-details p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Continuous Float Animation */
@keyframes continuousFloat {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.05); }
    100% { transform: translateY(0); }
}
.animated-float {
    animation: continuousFloat 4s ease-in-out infinite;
}

/* DYNAMIC BACKGROUND STYLES */
#particle-canvas { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.animated-grid { position: fixed; inset: -50%; width: 200%; height: 200%; background-image: linear-gradient(rgba(99,102,241,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(99,102,241,0.08) 1px, transparent 1px); background-size: 60px 60px; animation: gridDrift 30s linear infinite; pointer-events: none; z-index: 0; }
@keyframes gridDrift { 0% { transform: translate(0, 0) rotate(0deg); } 100% { transform: translate(60px, 60px) rotate(1deg); } }
.bg-orbs { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.glow-orb { position: absolute; border-radius: 50%; filter: blur(120px); will-change: transform; }
.orb-1 { width: 400px; height: 400px; background: rgba(99,102,241,0.15); top: -10%; left: 10%; animation: float-orb-1 20s ease-in-out infinite alternate; }
.orb-2 { width: 500px; height: 500px; background: rgba(236,72,153,0.12); top: 50%; right: -10%; animation: float-orb-2 25s ease-in-out infinite alternate-reverse; }
.orb-3 { width: 600px; height: 600px; background: rgba(59,130,246,0.1); bottom: -20%; left: 30%; animation: float-orb-3 30s ease-in-out infinite alternate; }
@keyframes float-orb-1 { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(100px, 50px) scale(1.1); } }
@keyframes float-orb-2 { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(-100px, -50px) scale(1.1); } }
@keyframes float-orb-3 { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(50px, -100px) scale(1.1); } }
.floating-shapes { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.shape { position: absolute; border: 1px solid rgba(99,102,241,0.2); opacity: 0.8; will-change: transform; }
.shape-1 { width: 80px; height: 80px; border-radius: 20%; top: 12%; left: 8%; animation: shapeFloat1 18s ease-in-out infinite, shapeSpin 25s linear infinite; }
.shape-2 { width: 40px; height: 40px; border-radius: 50%; top: 25%; right: 15%; border-color: rgba(236,72,153,0.2); animation: shapeFloat2 22s ease-in-out infinite, shapeSpin 30s linear infinite reverse; }
.shape-3 { width: 60px; height: 60px; border-radius: 30%; bottom: 20%; left: 12%; border-color: rgba(59,130,246,0.18); animation: shapeFloat3 20s ease-in-out infinite, shapeSpin 20s linear infinite; }
.shape-4 { width: 30px; height: 30px; top: 60%; right: 8%; border-color: rgba(99,102,241,0.18); animation: shapeFloat1 24s ease-in-out infinite reverse, shapeSpin 35s linear infinite; }
.shape-5 { width: 50px; height: 50px; border-radius: 40%; top: 8%; right: 35%; border-color: rgba(236,72,153,0.15); animation: shapeFloat2 16s ease-in-out infinite, shapeSpin 28s linear infinite reverse; }
.shape-6 { width: 24px; height: 24px; border-radius: 50%; bottom: 15%; right: 30%; border-color: rgba(59,130,246,0.2); animation: shapeFloat3 26s ease-in-out infinite reverse, shapeSpin 22s linear infinite; }
@keyframes shapeFloat1 { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(30px, -40px); } 50% { transform: translate(-20px, -60px); } 75% { transform: translate(40px, -20px); } }
@keyframes shapeFloat2 { 0%, 100% { transform: translate(0, 0); } 33% { transform: translate(-40px, 30px); } 66% { transform: translate(20px, 50px); } }
@keyframes shapeFloat3 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-30px, -50px); } }
@keyframes shapeSpin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* MOUSE GLOW */
.mouse-glow { position: fixed; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(99,102,241,0.15) 0%, transparent 70%); pointer-events: none; z-index: 0; transform: translate(-50%, -50%); transition: opacity 0.5s; opacity: 0; will-change: left, top; }
.mouse-glow.visible { opacity: 1; }

/* --- Theme Toggle Button --- */
.toggle-btn {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.toggle-btn:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
    transform: scale(1.05);
}

html.light .mockup-body {
    background: #f1f5f9;
}

html.light .mockup-header {
    background: rgba(0, 0, 0, 0.04);
}

html.light .mockup-window {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

html.light .animated-grid {
    background-image: linear-gradient(rgba(99,102,241,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(99,102,241,0.04) 1px, transparent 1px);
}

html.light .glow-orb {
    opacity: 0.15;
}

html.light .tier-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

html.light .guidance-profile-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

html.light .product-tabs-container {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}
