:root {
    --primary: #4f46e5;
    --primary-glow: rgba(79, 70, 229, 0.4);
    --accent: #06b6d4;
    --accent-glow: rgba(6, 182, 212, 0.4);
    --bg-body: #020617;
    --bg-card: rgba(15, 23, 42, 0.8);
    --bg-input: #1e293b;
    --bg-nav: rgba(2, 6, 23, 0.8);
    --bg-footer: rgba(2, 6, 23, 1);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.08);
    --border-focus: #06b6d4;
    --shadow-deep: 0 20px 50px -12px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px var(--accent-glow);
    --bg-glass: rgba(15, 23, 42, 0.7);
    --highlight-start: #ffffff;
    --highlight-end: var(--accent);
}

[data-theme="light"] {
    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --bg-input: #f1f5f9;
    --bg-nav: rgba(255, 255, 255, 0.9);
    --bg-footer: #f1f5f9;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --shadow-glow: 0 0 15px rgba(79, 70, 229, 0.1);
    --bg-glass: rgba(255, 255, 255, 0.8);
    --bg-hover: rgba(0, 0, 0, 0.05);
    --text-hover: #0f172a;
    --highlight-start: #0f172a;
    --highlight-end: var(--accent);
}

[data-theme="light"] body {
    background-image:
        radial-gradient(circle at 15% 50%, rgba(79, 70, 229, 0.04), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(6, 182, 212, 0.04), transparent 25%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    /* Subtle background mesh gradient */
    background-image:
        radial-gradient(circle at 15% 50%, rgba(79, 70, 229, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(6, 182, 212, 0.08), transparent 25%);
}

/* --- Utilities --- */
.hidden {
    display: none !important;
}

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

.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mt-3 {
    margin-top: 0.75rem;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Utilities --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 4rem; }

section {
    padding: 8rem 0;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Buttons --- */
.btn {
    padding: 0.8rem 1.8rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #6366f1);
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
}

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

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-main);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-muted);
    transform: translateY(-2px);
}

.btn-block { width: 100%; }

/* --- Navbar --- */
.navbar {
    background: var(--bg-nav);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.brand-sentinel {
    background: linear-gradient(to bottom, #fff, #94a3b8);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-shield { color: var(--accent); }

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

.nav-item {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-item:hover { color: var(--text-main); }

.nav-right {
    display: flex;
    gap: 1rem;
}

/* --- Hero --- */
.hero {
    text-align: center;
    padding-top: 10rem;
    padding-bottom: 6rem;
}

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

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

.subtitle {
    color: var(--text-muted);
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* --- Features --- */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 3rem 2rem;
    border-radius: 24px;
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--accent);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.6), 0 0 20px var(--accent-glow);
    background: rgba(255, 255, 255, 0.05);
}

.icon-box {
    width: 64px;
    height: 64px;
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
}

.card h3 { font-size: 1.4rem; margin-bottom: 1rem; }
.card p { color: var(--text-muted); line-height: 1.6; }

/* --- How It Works --- */
.how-it-works { background: rgba(6, 182, 212, 0.02); }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    position: relative;
}

.steps-grid::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--border), transparent);
    z-index: 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.step:hover {
    transform: translateY(-8px);
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--bg-body);
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 2rem;
    transition: all 0.3s;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.step:hover .step-number {
    border-color: var(--accent);
    transform: scale(1.1);
    background: var(--bg-card);
}

.step h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }

/* --- Why Us --- */
.features-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: 20px;
    display: flex;
    gap: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-item:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.03);
}

.feature-item i { font-size: 2rem; color: var(--accent); }
.feature-item h4 { font-size: 1.25rem; margin-bottom: 0.5rem; }

/* --- Dashboard Preview --- */
.dashboard-preview { background: linear-gradient(to bottom, transparent, rgba(6, 182, 212, 0.05)); }

.mockup-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 1rem;
    box-shadow: 0 40px 100px -20px rgba(0,0,0,0.8);
    position: relative;
    overflow: hidden;
}

.mockup-container::before {
    content: '';
    position: absolute;
    top: -50px; left: -50px; right: -50px; bottom: -50px;
    background: radial-gradient(circle at 50% 10%, rgba(79, 70, 229, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 40%);
    z-index: 0;
    pointer-events: none;
}

.mockup-header {
    background: rgba(15, 23, 42, 0.6);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.window-controls {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px; height: 12px; border-radius: 50%;
}
.dot.close { background: #ef4444; }
.dot.minimize { background: #f59e0b; }
.dot.expand { background: #10b981; }

.window-title {
    flex-grow: 1;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-family: monospace;
    opacity: 0.7;
}

.mockup-content {
    background: #0f172a;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    padding: 3rem 1.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.mockup-visual-area {
    position: relative;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
}

.glass-orb {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(6, 182, 212, 0.2), rgba(79, 70, 229, 0.1));
    box-shadow: 0 0 50px rgba(6, 182, 212, 0.3), inset 0 0 20px rgba(255,255,255,0.1);
    position: absolute;
    animation: orbPulse 4s infinite alternate;
}

@keyframes orbPulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    100% { transform: scale(1.05); opacity: 1; }
}

.mockup-stats.glass-panel {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 1.2rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.stat-circle {
    position: relative;
    width: 65px; height: 65px;
}

.circular-chart {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    max-height: 250px;
}

.circle-bg {
    fill: none;
    stroke: rgba(255,255,255,0.1);
    stroke-width: 3.8;
}

.circle {
    fill: none;
    stroke-width: 3.8;
    stroke-linecap: round;
    stroke: var(--accent);
    animation: progress 2s ease-out forwards;
}

@keyframes progress {
    0% { stroke-dasharray: 0 100; }
}

.stat-value {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
}

.stat-text { text-align: left; }
.stat-text h3 { font-size: 1.25rem; color: #10b981; margin-bottom: 0.2rem; }
.stat-text p { color: var(--text-muted); font-size: 0.85rem; margin: 0; }

.mockup-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.mockup-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.mockup-card.primary {
    border-color: rgba(6, 182, 212, 0.4);
    background: rgba(6, 182, 212, 0.05);
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(6, 182, 212, 0.15);
}

.mockup-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.2);
}

.mockup-card.primary:hover {
    transform: translateY(-10px) scale(1.08);
    border-color: var(--accent);
}

.card-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px var(--accent-glow));
}

.mockup-card h5 { font-size: 1.15rem; margin-bottom: 0.6rem; font-weight: 700; color: #fff; }
.mockup-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }

.float-anim-1 { animation: cardFloat 6s ease-in-out infinite; }
.float-anim-2 { animation: cardFloatPrimary 6s ease-in-out infinite 2s; }
.float-anim-3 { animation: cardFloat 6s ease-in-out infinite 4s; }

@keyframes cardFloat {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes cardFloatPrimary {
    0% { transform: translateY(0px) scale(1.05); }
    50% { transform: translateY(-10px) scale(1.05); }
    100% { transform: translateY(0px) scale(1.05); }
}

/* --- Pricing --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    align-items: center;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 4rem 3rem;
    border-radius: 32px;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card.popular {
    transform: scale(1.05);
    border-color: var(--accent);
    box-shadow: 0 20px 50px rgba(6, 182, 212, 0.1);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 1));
}

.pricing-card:hover { transform: translateY(-10px); }

.price {
    font-size: 4rem;
    font-weight: 800;
    margin: 2rem 0;
}

.pricing-features {
    list-style: none;
    margin-bottom: 3rem;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
    color: var(--text-muted);
}

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

/* --- Footer --- */
.footer {
    background: var(--bg-footer);
    border-top: 1px solid var(--border);
    padding: 6rem 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.3;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 5rem;
}

.footer-col h4 { 
    margin-bottom: 1.5rem; 
    font-weight: 700; 
    font-size: 1.1rem;
    color: #fff;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0; bottom: -8px;
    width: 20px; height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 1rem; }
.footer-col ul li a { 
    color: var(--text-muted); 
    text-decoration: none; 
    transition: all 0.3s ease; 
    font-size: 0.95rem;
    display: inline-block;
}
.footer-col ul li a:hover { 
    color: var(--accent); 
    transform: translateX(4px);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center; justify-content: center;
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.social-icon:hover {
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent);
    border-color: rgba(6, 182, 212, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.newsletter-form .input-wrapper {
    position: relative;
    margin-bottom: 0.5rem;
}

.newsletter-form .input-wrapper i {
    position: absolute;
    left: 1rem; top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.newsletter-form input {
    width: 100%;
    padding: 1rem 1rem 1rem 2.8rem;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--border);
    color: #fff;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.15);
    background: rgba(15, 23, 42, 0.8);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 2rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

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


/* Light Mode Overrides for UI components */
[data-theme="light"] .mockup-header { background: var(--border); }
[data-theme="light"] .mockup-content { background: var(--bg-card); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
[data-theme="light"] .mockup-stats.glass-panel { background: var(--bg-glass); border-color: var(--accent); }
[data-theme="light"] .stat-value { color: var(--text-main); }
[data-theme="light"] .mockup-card { background: var(--bg-glass); border-color: var(--border); }
[data-theme="light"] .mockup-card.primary { background: rgba(6, 182, 212, 0.08); }
[data-theme="light"] .mockup-card:hover { background: var(--border); border-color: var(--accent); }
[data-theme="light"] .mockup-card h5 { color: var(--text-main); }
[data-theme="light"] .footer-col h4 { color: var(--text-main); }
[data-theme="light"] .social-icon { background: var(--bg-card); border: 1px solid var(--border); }
[data-theme="light"] .newsletter-form input { background: #ffffff; color: var(--text-main); border-color: var(--border); }
[data-theme="light"] .newsletter-form input:focus { background: #ffffff; border-color: var(--accent); box-shadow: 0 0 10px rgba(6, 182, 212, 0.15); }
[data-theme="light"] .footer-bottom { border-top: 1px solid var(--border); }
[data-theme="light"] .brand-sentinel { background: linear-gradient(to bottom, #0f172a, #64748b); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* --- Auth Pages --- */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(79, 70, 229, 0.15), transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(6, 182, 212, 0.15), transparent 40%);
}

.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 3.5rem 3rem;
    width: 100%;
    max-width: 460px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-deep), 0 0 40px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.auth-card:hover {
    border-color: rgba(6, 182, 212, 0.3);
}

.auth-header {
    margin-bottom: 2.5rem;
}

.auth-logo {
    height: 48px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px var(--accent-glow));
}

.auth-brand {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.auth-card h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.03em;
}

.auth-sub {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 1rem;
}

.back-link {
    position: absolute;
    top: 2rem;
    left: 2rem;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    z-index: 20;
}

.back-link:hover {
    color: var(--text-main);
    transform: translateX(-4px);
}

.input-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 0.6rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.input-group input {
    width: 100%;
    padding: 1.1rem 1.25rem;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--text-main);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(15, 23, 42, 0.6);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.1);
}

.auth-footer {
    margin-top: 2.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.auth-footer a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Auth page light-mode polish */
[data-theme="light"] .auth-wrapper {
    background-image:
        radial-gradient(circle at 12% 18%, rgba(79, 70, 229, 0.1), transparent 42%),
        radial-gradient(circle at 88% 82%, rgba(6, 182, 212, 0.1), transparent 42%);
}

[data-theme="light"] .auth-card {
    background: rgba(255, 255, 255, 0.9);
    border-color: #dbe5f1;
    box-shadow: 0 24px 55px -25px rgba(15, 23, 42, 0.35), 0 10px 30px rgba(79, 70, 229, 0.08);
}

[data-theme="light"] .auth-card:hover {
    border-color: rgba(79, 70, 229, 0.35);
}

[data-theme="light"] .input-group label {
    color: #475569;
}

[data-theme="light"] .input-group input {
    background: #ffffff;
    border-color: #cfd9e6;
    color: #0f172a;
    box-shadow: inset 0 1px 0 rgba(148, 163, 184, 0.12);
}

[data-theme="light"] .input-group input::placeholder {
    color: #94a3b8;
}

[data-theme="light"] .input-group input:focus {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}

[data-theme="light"] .back-link {
    color: #475569;
}

[data-theme="light"] .back-link:hover {
    color: #0f172a;
}

/* --- Dashboard Specifics --- */
.scan-layout { display: flex; gap: 2rem; margin-top: 2rem; }
.scan-sidebar { width: 280px; flex-shrink: 0; }
.tool-display { flex-grow: 1; background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; padding: 3rem; }

.tool-list { list-style: none; }
.tool-item {
    padding: 1rem 1.5rem;
    margin-bottom: 0.5rem;
    border-radius: 12px;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: 0.2s;
}

.tool-item:hover { background: rgba(255, 255, 255, 0.05); color: white; }
.tool-item.active { background: rgba(6, 182, 212, 0.1); color: var(--accent); border-left: 3px solid var(--accent); }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .pricing-grid, .steps-grid, .features-list, .mockup-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 3.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    section {
        padding: 5rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    .pricing-grid,
    .steps-grid,
    .features-list,
    .footer-grid,
    .mockup-cards-grid,
    .grid-container {
        grid-template-columns: 1fr;
    }

    .steps-grid::after {
        display: none;
    }

    .navbar {
        padding: 0.75rem 0;
    }

    .navbar .container {
        flex-wrap: wrap;
        align-items: center;
        row-gap: 0.75rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .nav-links {
        display: none;
    }

    .nav-right {
        width: 100%;
        justify-content: flex-end;
        flex-wrap: wrap;
        gap: 0.6rem;
    }

    .nav-right > button {
        margin-right: 0 !important;
    }

    .nav-right .btn {
        padding: 0.58rem 0.95rem;
        font-size: 0.88rem;
    }

    .hero {
        padding-top: 6rem;
        padding-bottom: 4rem;
    }

    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .cta-group {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
        max-width: 340px;
        margin: 0 auto;
    }

    .cta-group .btn {
        width: 100%;
    }

    .card {
        padding: 2rem 1.25rem;
        border-radius: 18px;
    }

    .step-number {
        width: 64px;
        height: 64px;
        font-size: 1.45rem;
        margin-bottom: 1rem;
    }

    .mockup-content {
        padding: 2rem 1rem;
    }

    .mockup-stats.glass-panel {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
        padding: 1rem;
    }

    .mockup-stats .stat-text {
        text-align: center;
    }

    .footer {
        padding-top: 4rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .legal-links {
        flex-wrap: wrap;
        gap: 0.75rem 1rem;
    }

    .auth-wrapper {
        padding: 1rem;
        align-items: flex-start;
    }

    .auth-card {
        margin-top: 4.5rem;
        padding: 2rem 1.25rem;
        border-radius: 20px;
    }

    .back-link {
        top: 1rem;
        left: 1rem;
        font-size: 0.85rem;
    }

    body > button[onclick="toggleTheme()"] {
        top: 1rem !important;
        right: 1rem !important;
        font-size: 1.2rem !important;
    }

    .scan-layout { flex-direction: column; }
    .scan-sidebar { width: 100%; overflow-x: auto; }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.95rem;
    }

    .subtitle {
        font-size: 0.95rem;
    }

    .nav-right {
        justify-content: space-between;
    }

    .nav-right .btn {
        flex: 1 1 auto;
    }
}

/* Modal & Pop-up Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 9, 20, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-content {
    background: var(--bg-card);
    width: 100%;
    max-width: 450px;
    border-radius: 24px;
    border: 1px solid var(--border);
    position: relative;
    z-index: 2001;
    overflow: hidden;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px var(--accent-glow);
    animation: modalScaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalScaleIn {
    from { transform: scale(0.9) translateY(20px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

.modal-content i {
    font-size: 4.5rem;
    color: var(--accent);
    margin-bottom: 2rem;
    display: inline-block;
    filter: drop-shadow(0 0 15px var(--accent-glow));
}

.modal-content h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.modal-content p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.modal.hidden {
    display: none;
}

