/* =====================================================
   DARKTRACE3 - Cybersecurity Awareness Platform
   A unique cyberpunk/terminal aesthetic design
   ===================================================== */

/* CSS Variables */
:root {
    /* Primary Colors - Cyan/Teal Cyberpunk Theme */
    --primary: #00fff2;
    --primary-dim: #00d4c8;
    --primary-glow: rgba(0, 255, 242, 0.3);
    
    /* Accent - Electric Magenta */
    --accent: #ff00ff;
    --accent-dim: #cc00cc;
    --accent-glow: rgba(255, 0, 255, 0.3);
    
    /* Secondary - Lime Warning */
    --warning: #c8ff00;
    --danger: #ff3366;
    --success: #00ff88;
    
    /* Background Layers */
    --bg-void: #000000;
    --bg-deep: #050510;
    --bg-base: #0a0a1a;
    --bg-elevated: #0f0f25;
    --bg-surface: #151530;
    --bg-card: #1a1a40;
    
    /* Text */
    --text-primary: #e0e0ff;
    --text-secondary: #9090b0;
    --text-muted: #606080;
    
    /* Borders */
    --border-color: rgba(0, 255, 242, 0.15);
    --border-active: rgba(0, 255, 242, 0.4);
    
    /* Typography */
    --font-display: 'Outfit', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Spacing */
    --section-padding: 100px;
    --container-width: 1200px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Lite Theme Variables */
[data-theme="lite"] {
    /* Primary Colors - Teal/Emerald for Light Mode */
    --primary: #0891b2;
    --primary-dim: #0e7490;
    --primary-glow: rgba(8, 145, 178, 0.2);
    
    /* Accent - Deep Purple */
    --accent: #7c3aed;
    --accent-dim: #6d28d9;
    --accent-glow: rgba(124, 58, 237, 0.2);
    
    /* Secondary Colors */
    --warning: #ca8a04;
    --danger: #dc2626;
    --success: #16a34a;
    
    /* Background Layers - Light Mode */
    --bg-void: #ffffff;
    --bg-deep: #f8fafc;
    --bg-base: #f1f5f9;
    --bg-elevated: #e2e8f0;
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    
    /* Text - Dark for Light Mode */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    /* Borders */
    --border-color: rgba(8, 145, 178, 0.2);
    --border-active: rgba(8, 145, 178, 0.5);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-display);
    background: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Selection */
::selection {
    background: var(--primary);
    color: var(--bg-void);
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--primary-dim);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* =====================================================
   ANIMATED BACKGROUND
   ===================================================== */

.cyber-grid {
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(var(--border-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

.scan-line {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: scanLine 8s linear infinite;
    opacity: 0.5;
    z-index: 1;
    pointer-events: none;
}

@keyframes scanLine {
    0% { top: 0; opacity: 0; }
    5% { opacity: 0.5; }
    95% { opacity: 0.5; }
    100% { top: 100%; opacity: 0; }
}

/* =====================================================
   CONTAINER & UTILITIES
   ===================================================== */

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* =====================================================
   NAVIGATION
   ===================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(5, 5, 16, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.4rem;
}

.logo-icon {
    color: var(--primary);
    font-size: 1.6rem;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.logo-text {
    color: var(--text-primary);
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-base);
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

/* Theme Toggle Button */
.theme-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-base);
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    margin-left: 20px;
}

.theme-toggle:hover {
    border-color: var(--border-active);
    color: var(--primary);
    background: rgba(8, 145, 178, 0.1);
}

.theme-toggle-icon {
    font-size: 1.1rem;
    transition: var(--transition-base);
}

.theme-toggle-text {
    display: none;
}

@media (min-width: 900px) {
    .theme-toggle-text {
        display: inline;
    }
}

/* Theme icon states - Default (Dark theme) */
.theme-toggle-icon .icon-moon {
    display: none;
}

.theme-toggle-icon .icon-sun {
    display: inline;
}

/* Lite theme icon states */
[data-theme="lite"] .theme-toggle-icon .icon-sun {
    display: none;
}

[data-theme="lite"] .theme-toggle-icon .icon-moon {
    display: inline;
}

/* Lite theme specific adjustments */
[data-theme="lite"] .cyber-grid {
    background-image: 
        linear-gradient(rgba(8, 145, 178, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(8, 145, 178, 0.08) 1px, transparent 1px);
    opacity: 0.5;
}

[data-theme="lite"] .scan-line {
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.3;
}

[data-theme="lite"] .navbar {
    background: rgba(248, 250, 252, 0.9);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

[data-theme="lite"] .floating-card {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

[data-theme="lite"] .terminal-window {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

[data-theme="lite"] .stat-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(8, 145, 178, 0.3);
    box-shadow: 0 4px 16px rgba(8, 145, 178, 0.1);
}

[data-theme="lite"] .stat-card:hover {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(8, 145, 178, 0.6);
    box-shadow: 0 8px 32px rgba(8, 145, 178, 0.2);
}

[data-theme="lite"] .tip-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(8, 145, 178, 0.25);
    box-shadow: 0 4px 16px rgba(8, 145, 178, 0.08);
}

[data-theme="lite"] .tip-card:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(8, 145, 178, 0.5);
    box-shadow: 0 8px 32px rgba(8, 145, 178, 0.15);
}

[data-theme="lite"] .tip-number {
    color: rgba(8, 145, 178, 0.2);
}

[data-theme="lite"] .breach-response {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(8, 145, 178, 0.3);
}

[data-theme="lite"] .breach-response:hover {
    border-color: rgba(8, 145, 178, 0.5);
    box-shadow: 0 10px 40px rgba(8, 145, 178, 0.15);
}

[data-theme="lite"] .breach-header:hover {
    background: rgba(8, 145, 178, 0.05);
}

[data-theme="lite"] .breach-header.active {
    background: rgba(8, 145, 178, 0.08);
    border-bottom-color: rgba(8, 145, 178, 0.2);
}

[data-theme="lite"] .breach-step {
    background: rgba(241, 245, 249, 0.8);
    border-left-color: var(--primary);
}

[data-theme="lite"] .breach-step:hover {
    background: rgba(226, 232, 240, 0.9);
}

[data-theme="lite"] .feature-item,
[data-theme="lite"] .domain-item,
[data-theme="lite"] .result-card,
[data-theme="lite"] .quick-check {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

[data-theme="lite"] .btn-primary {
    color: #ffffff;
}

[data-theme="lite"] .gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="lite"] ::selection {
    background: var(--primary);
    color: #ffffff;
}

[data-theme="lite"] ::-webkit-scrollbar-thumb {
    background: var(--primary-dim);
}

[data-theme="lite"] ::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

[data-theme="lite"] ::-webkit-scrollbar-track {
    background: var(--bg-elevated);
}

/* =====================================================
   BUTTONS
   ===================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-base);
    border: none;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary);
    color: var(--bg-void);
    box-shadow: 0 0 30px var(--primary-glow);
}

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

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-active);
}

.btn-secondary:hover {
    background: rgba(0, 255, 242, 0.1);
    border-color: var(--primary);
}

.btn-icon {
    font-size: 1.1rem;
}

/* =====================================================
   HERO SECTION
   ===================================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 80px;
    position: relative;
    max-width: var(--container-width);
    margin: 0 auto;
    gap: 60px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 255, 242, 0.1);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 30px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--primary);
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title .line {
    display: block;
}

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

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 520px;
}

.hero-subtitle .highlight {
    color: var(--primary);
    font-weight: 600;
    font-family: var(--font-mono);
}

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

/* Hero Visual - Floating Cards */
.hero-visual {
    flex: 1;
    position: relative;
    min-height: 400px;
    display: none;
}

@media (min-width: 1024px) {
    .hero-visual {
        display: block;
    }
}

.floating-card {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 5%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 15%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.card-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.card-icon.breach {
    background: rgba(255, 51, 102, 0.2);
    color: var(--danger);
}

.card-icon.safe {
    background: rgba(0, 255, 136, 0.2);
    color: var(--success);
}

.card-icon.warning {
    background: rgba(200, 255, 0, 0.2);
    color: var(--warning);
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.card-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-value {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-primary);
}

.safe-text {
    color: var(--success);
}

/* =====================================================
   SECTION HEADERS
   ===================================================== */

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* =====================================================
   SEARCH SECTION
   ===================================================== */

.search-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-deep) 100%);
}

.search-container {
    max-width: 700px;
    margin: 0 auto;
}

.search-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    justify-content: center;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-base);
}

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

.tab-btn.active {
    background: rgba(0, 255, 242, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

.tab-icon {
    font-size: 1.1rem;
}

.search-form {
    margin-bottom: 20px;
}

.input-wrapper {
    display: flex;
    align-items: center;
    background: var(--bg-surface);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 8px;
    transition: var(--transition-base);
}

.input-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 30px var(--primary-glow);
}

.input-prefix {
    padding: 0 16px;
    font-family: var(--font-mono);
    font-size: 1.2rem;
    color: var(--primary);
}

#search-input {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 1rem;
    padding: 12px 0;
    outline: none;
}

#search-input::placeholder {
    color: var(--text-muted);
}

.search-btn {
    padding: 14px 32px;
    background: var(--primary);
    color: var(--bg-void);
    border: none;
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-base);
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.search-btn:hover {
    background: var(--primary-dim);
}

.search-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.search-btn .btn-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top-color: var(--bg-void);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.search-btn.loading .btn-text {
    display: none;
}

.search-btn.loading .btn-loader {
    display: block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.input-hint {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 12px;
}

/* Quick Check */
.quick-check {
    margin-top: 30px;
    padding: 20px;
    background: var(--bg-surface);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.risk-indicator {
    display: flex;
    align-items: center;
    gap: 20px;
}

.risk-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.risk-indicator.safe .risk-icon {
    background: rgba(0, 255, 136, 0.2);
    color: var(--success);
}

.risk-indicator.critical .risk-icon,
.risk-indicator.high .risk-icon {
    background: rgba(255, 51, 102, 0.2);
    color: var(--danger);
    animation: dangerPulse 1s ease-in-out infinite;
}

.risk-indicator.medium .risk-icon {
    background: rgba(200, 255, 0, 0.2);
    color: var(--warning);
}

@keyframes dangerPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.risk-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.risk-level {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
}

.risk-indicator.safe .risk-level { color: var(--success); }
.risk-indicator.critical .risk-level,
.risk-indicator.high .risk-level { color: var(--danger); }
.risk-indicator.medium .risk-level { color: var(--warning); }

.risk-count {
    font-family: var(--font-mono);
    color: var(--text-secondary);
}

/* =====================================================
   RESULTS
   ===================================================== */

.results-section {
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.results-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: var(--danger);
    border-radius: 50%;
    animation: pulse 1s ease-in-out infinite;
}

.results-count {
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.results-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.result-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--danger);
    border-radius: 8px;
    padding: 20px 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    transition: var(--transition-base);
    animation: slideIn 0.3s ease forwards;
    opacity: 0;
    transform: translateY(10px);
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-card:hover {
    border-color: var(--border-active);
    background: var(--bg-surface);
}

.result-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.result-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.result-value {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--text-primary);
    word-break: break-all;
}

.result-value.password {
    color: var(--danger);
}

.result-value.source {
    color: var(--primary);
}

.results-warning {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 51, 102, 0.1);
    border: 1px solid rgba(255, 51, 102, 0.3);
    border-radius: 8px;
}

.warning-icon {
    font-size: 1.5rem;
    color: var(--danger);
}

.results-warning p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 40px;
    margin-top: 40px;
}

.no-results-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: rgba(0, 255, 136, 0.2);
    color: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--success);
}

.no-results p {
    color: var(--text-secondary);
}

/* =====================================================
   STATISTICS SECTION
   ===================================================== */

.stats-section {
    padding: var(--section-padding) 0;
    background: var(--bg-deep);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.stat-card {
    position: relative;
    background: rgba(26, 26, 64, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 242, 0.2);
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    overflow: hidden;
    cursor: pointer;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle 100px at var(--mouse-x, 50%) var(--mouse-y, 50%), 
                rgba(0, 255, 242, 0.15), 
                transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card:hover {
    border-color: rgba(0, 255, 242, 0.5);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 255, 242, 0.2),
                0 0 40px rgba(0, 255, 242, 0.1);
    background: rgba(26, 26, 64, 0.6);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    filter: drop-shadow(0 0 10px rgba(0, 255, 242, 0.3));
}

.stat-value {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
    text-shadow: 0 0 20px rgba(0, 255, 242, 0.4);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-bar {
    height: 4px;
    background: var(--bg-surface);
    border-radius: 2px;
    overflow: hidden;
}

.stat-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.stat-bar.active .stat-bar-fill {
    animation: barPulse 2s ease-in-out infinite;
}

@keyframes barPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Domains Section */
.domains-section {
    margin-top: 40px;
}

.domains-title {
    font-size: 1.3rem;
    margin-bottom: 24px;
    text-align: center;
}

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

.domain-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 14px 18px;
    transition: var(--transition-base);
}

.domain-item:hover {
    border-color: var(--border-active);
}

.domain-name {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.domain-count {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--danger);
    padding: 4px 10px;
    background: rgba(255, 51, 102, 0.15);
    border-radius: 4px;
}

/* =====================================================
   ABOUT SECTION
   ===================================================== */

.about-section {
    padding: var(--section-padding) 0;
    background: var(--bg-base);
}

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

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-text {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.8;
}

.about-text strong {
    color: var(--primary);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: var(--transition-base);
}

.feature-item:hover {
    border-color: var(--border-active);
}

.feature-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.feature-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Terminal Window */
.terminal-window {
    background: var(--bg-void);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
}

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

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.terminal-body {
    padding: 24px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.terminal-line {
    margin-bottom: 8px;
    display: flex;
    gap: 10px;
}

.terminal-line.output {
    padding-left: 20px;
}

.prompt {
    color: var(--primary);
}

.command {
    color: var(--text-primary);
}

.success { color: var(--success); }
.warning { color: var(--warning); }
.info { color: var(--primary); }

.cursor {
    animation: blink 1s step-end infinite;
    color: var(--primary);
}

@keyframes blink {
    50% { opacity: 0; }
}

/* =====================================================
   AWARENESS SECTION
   ===================================================== */

.awareness-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-base) 100%);
}

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

.tip-card {
    position: relative;
    background: rgba(26, 26, 64, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 255, 242, 0.2);
    border-radius: 20px;
    padding: 26px;
    transition: all 0.3s ease;
    overflow: hidden;
    cursor: pointer;
}

.tip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle 120px at var(--mouse-x, 50%) var(--mouse-y, 50%), 
                rgba(0, 255, 242, 0.12), 
                transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.tip-card:hover::before {
    opacity: 1;
}

.tip-card:hover {
    border-color: rgba(0, 255, 242, 0.5);
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 255, 242, 0.15),
                0 0 40px rgba(0, 255, 242, 0.08);
    background: rgba(26, 26, 64, 0.55);
}

.tip-number {
    position: absolute;
    top: 18px;
    right: 18px;
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    color: rgba(0, 255, 242, 0.15);
    line-height: 1;
    text-shadow: 0 0 20px rgba(0, 255, 242, 0.3);
}

.tip-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 10px rgba(0, 255, 242, 0.3));
}

.tip-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.tip-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.65;
}

/* Breach Response - Dropdown/Accordion */
.breach-response {
    margin-top: 80px;
    background: rgba(26, 26, 64, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 255, 242, 0.25);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.breach-response:hover {
    border-color: rgba(0, 255, 242, 0.4);
    box-shadow: 0 10px 40px rgba(0, 255, 242, 0.1);
}

.breach-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 36px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.breach-header:hover {
    background: rgba(0, 255, 242, 0.05);
}

.breach-header.active {
    background: rgba(0, 255, 242, 0.08);
    border-bottom: 1px solid rgba(0, 255, 242, 0.15);
}

.breach-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
}

.breach-icon {
    font-size: 1.6rem;
    filter: drop-shadow(0 0 10px rgba(255, 51, 102, 0.5));
    animation: breachPulse 2s ease-in-out infinite;
}

@keyframes breachPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.breach-arrow {
    font-size: 1.2rem;
    color: var(--primary);
    transition: transform 0.3s ease;
    font-weight: bold;
}

.breach-header.active .breach-arrow {
    transform: rotate(180deg);
}

.breach-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 36px;
}

.breach-content.open {
    max-height: 1000px;
    padding: 20px 36px 36px;
}

.breach-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.breach-step {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 18px;
    background: rgba(15, 15, 37, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 12px;
    border-left: 3px solid var(--primary);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
    animation: slideInStep 0.3s ease forwards;
}

.breach-step:nth-child(1) { animation-delay: 0.05s; }
.breach-step:nth-child(2) { animation-delay: 0.1s; }
.breach-step:nth-child(3) { animation-delay: 0.15s; }
.breach-step:nth-child(4) { animation-delay: 0.2s; }
.breach-step:nth-child(5) { animation-delay: 0.25s; }

@keyframes slideInStep {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.breach-step:hover {
    background: rgba(15, 15, 37, 0.8);
    border-left-color: var(--accent);
    transform: translateX(5px);
}

.step-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--bg-void);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(0, 255, 242, 0.3);
}

.breach-step p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.breach-step strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* =====================================================
   FOOTER
   ===================================================== */

.footer {
    padding: 60px 0 30px;
    background: var(--bg-void);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-brand .logo-icon {
    font-size: 1.4rem;
}

.footer-brand .logo-text {
    font-size: 1.2rem;
}

.footer-desc {
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 350px;
}

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

.footer-column h4 {
    font-size: 0.9rem;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

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

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.copyright {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.disclaimer {
    font-size: 0.8rem;
    color: var(--text-muted);
    opacity: 0.7;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-deep);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        padding: 12px 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-links li:last-child {
        border-bottom: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        flex-direction: column;
        padding-top: 100px;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .search-tabs {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 1;
        justify-content: center;
        min-width: 120px;
    }
    
    .input-wrapper {
        flex-wrap: wrap;
    }
    
    .search-btn {
        width: 100%;
        margin-top: 12px;
    }
    
    .result-card {
        grid-template-columns: 1fr;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
}

