/* Premium Dark UI for Phishing Simulator */
:root {
    --bg-main: #0f172a;
    --bg-glass: rgba(30, 41, 59, 0.7);
    --border-glass: rgba(255, 255, 255, 0.1);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-blue: #3b82f6;
    --accent-green: #10b981;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
}

/* Background Shapes */
.bg-shapes { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; overflow: hidden; pointer-events: none; }
.shape { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5; animation: float 20s infinite alternate; }
.shape-1 { width: 500px; height: 500px; background: #3b82f6; top: -10%; left: -10%; }
.shape-2 { width: 400px; height: 400px; background: #8b5cf6; bottom: -10%; right: -5%; animation-delay: -5s; }
.shape-3 { width: 300px; height: 300px; background: #10b981; top: 40%; left: 40%; animation-delay: -10s; }

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

/* Glassmorphism utility */
.glass-effect {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border-radius: 16px;
}

.text-green { color: var(--accent-green) !important; }

/* Header */
header {
    position: fixed; width: 100%; top: 0; z-index: 100;
    background: rgba(15, 23, 42, 0.8); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-glass);
}
.header-container {
    max-width: 1200px; margin: 0 auto; padding: 15px 20px;
    display: flex; justify-content: space-between; align-items: center;
}
.logo { font-size: 22px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.logo i { color: #00a4ef; font-size: 28px; }
.logo span { color: var(--accent-blue); }
nav ul { list-style: none; display: flex; gap: 30px; }
nav a { text-decoration: none; color: var(--text-secondary); font-weight: 500; transition: color 0.3s; }
nav a:hover, nav a.active { color: var(--text-primary); }

/* Hero Section */
.hero-content {
    max-width: 1200px; margin: 150px auto 60px; padding: 0 20px;
    display: flex; align-items: center; justify-content: space-between; gap: 50px;
}
.hero-text { flex: 1; }
.badge-trusted {
    display: inline-block; padding: 6px 14px; background: rgba(16, 185, 129, 0.1);
    color: var(--accent-green); border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 50px; font-size: 13px; font-weight: 600; margin-bottom: 20px;
}
.hero-text h1 { font-size: 48px; line-height: 1.2; margin-bottom: 20px; }
.highlight-blue { color: var(--accent-blue); text-shadow: 0 0 20px rgba(59,130,246,0.5); }
.highlight-green { color: var(--accent-green); text-shadow: 0 0 20px rgba(16,185,129,0.5); }
.hero-text p { font-size: 18px; color: var(--text-secondary); margin-bottom: 30px; line-height: 1.6; }

.stats-row { display: flex; gap: 30px; }
.stat { font-size: 14px; color: var(--text-secondary); display: flex; align-items: center; gap: 8px; }
.stat i { color: var(--accent-blue); }
.stat strong { color: var(--text-primary); font-size: 16px; }

/* Download Card */
.download-card { width: 400px; flex-shrink: 0; overflow: hidden; position: relative; animation: slideUp 1s ease-out; }
@keyframes slideUp { 0% { opacity: 0; transform: translateY(30px); } 100% { opacity: 1; transform: translateY(0); } }

.card-header { padding: 20px; background: rgba(0,0,0,0.2); border-bottom: 1px solid var(--border-glass); }
.card-header h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; }
.card-body { padding: 30px; }
.card-body ul { list-style: none; margin-bottom: 30px; }
.card-body ul li {
    display: flex; justify-content: space-between; padding: 12px 0;
    border-bottom: 1px dashed rgba(255,255,255,0.1); font-size: 15px;
}
.card-body ul li span { color: var(--text-secondary); }

.btn-glow {
    display: block; text-align: center; background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white; text-decoration: none; padding: 16px 0; border-radius: 8px;
    font-size: 18px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4); transition: all 0.3s ease;
}
.btn-glow:hover { transform: translateY(-3px); box-shadow: 0 0 30px rgba(59, 130, 246, 0.7); }
.security-note { text-align: center; margin-top: 15px; font-size: 12px; color: var(--text-secondary); }
.security-note i { color: var(--accent-green); margin-right: 5px; }

/* Trusted Brands */
.trusted-brands { text-align: center; margin-top: 60px; opacity: 0.7; }
.trusted-brands p { font-size: 14px; margin-bottom: 15px; }
.brand-icons { display: flex; justify-content: center; gap: 40px; font-size: 32px; }

/* Features */
.features-section { max-width: 1200px; margin: 100px auto; padding: 0 20px; text-align: center; }
.features-section h2 { font-size: 36px; margin-bottom: 50px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.feature-box { padding: 40px 30px; transition: transform 0.3s; }
.feature-box:hover { transform: translateY(-10px); }
.icon-wrap { font-size: 40px; margin-bottom: 20px; }
.feature-box h3 { font-size: 20px; margin-bottom: 15px; }
.feature-box p { color: var(--text-secondary); font-size: 15px; }

/* Reviews */
.reviews-section { max-width: 1200px; margin: 100px auto; padding: 0 20px; text-align: center; }
.reviews-section h2 { font-size: 36px; margin-bottom: 50px; }
.reviews-container { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.review-card { width: 450px; padding: 30px; text-align: left; position: relative; }
.user-info { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.avatar { width: 50px; height: 50px; border-radius: 50%; }
.stars { color: #f59e0b; font-size: 14px; margin-top: 3px; }
.review-card p { font-style: italic; color: #cbd5e1; font-size: 15px; line-height: 1.6; }
.time-ago { position: absolute; top: 30px; right: 30px; font-size: 12px; color: var(--text-secondary); }

/* Cybersecurity training demo guide */
.demo-guide-section {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 20px;
}
.demo-guide-heading { text-align: center; margin-bottom: 45px; }
.demo-guide-heading h2 { font-size: 36px; margin: 14px 0 12px; }
.demo-guide-heading > p { color: var(--text-secondary); }
.demo-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 999px;
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.1);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .05em;
}
.demo-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.demo-step { position: relative; padding: 18px 18px 28px; overflow: hidden; }
.step-illustration {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    margin-bottom: 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 11px;
    background: #111827;
}
.step-number {
    position: absolute;
    top: 14px;
    right: 18px;
    color: rgba(255, 255, 255, 0.12);
    font-size: 42px;
    font-weight: 700;
}
.step-icon { color: var(--accent-blue); font-size: 28px; margin: 0 0 14px 4px; }
.demo-step h3 { margin-bottom: 12px; font-size: 19px; }
.demo-step p { color: var(--text-secondary); line-height: 1.65; font-size: 14px; }
.demo-step code {
    padding: 2px 6px;
    border-radius: 4px;
    color: #bfdbfe;
    background: rgba(59, 130, 246, 0.16);
}
.demo-warning {
    display: flex;
    gap: 16px;
    margin-top: 30px;
    padding: 22px 24px;
    border: 1px solid rgba(239, 68, 68, 0.45);
    border-radius: 12px;
    background: rgba(127, 29, 29, 0.3);
}
.demo-warning > i { color: #f87171; font-size: 25px; margin-top: 2px; }
.demo-warning strong { color: #fecaca; }
.demo-warning p { margin-top: 6px; color: #cbd5e1; line-height: 1.6; font-size: 14px; }

@media (max-width: 820px) {
    .demo-steps { grid-template-columns: 1fr; }
}

/* Footer */
footer { border-top: 1px solid var(--border-glass); padding: 50px 20px 20px; margin-top: 100px; text-align: center; background: rgba(0,0,0,0.2); }
.footer-content { max-width: 800px; margin: 0 auto 30px; }
.footer-content .logo { justify-content: center; margin-bottom: 15px; }
.footer-content p { color: var(--text-secondary); margin-bottom: 20px; }
.disclaimer { font-size: 13px; color: #ef4444 !important; background: rgba(239, 68, 68, 0.1); padding: 10px; border-radius: 8px; border: 1px solid rgba(239, 68, 68, 0.2); }
.footer-bottom { font-size: 14px; color: #64748b; }
