/* ===== CSS Variables ===== */
:root {
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --primary-light: #38bdf8;
    --secondary: #8b5cf6;
    --accent: #06b6d4;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --dark-lighter: #334155;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --white: #f8fafc;
    --white-pure: #ffffff;
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--dark);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
}

.logo i {
    font-size: 1.8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 8px;
}

.nav-links a {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--gray-light);
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
    background: rgba(14, 165, 233, 0.1);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.98);
        padding: 24px;
        gap: 8px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(20px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .nav-links.mobile-open {
        display: flex;
        animation: slideDown 0.3s ease forwards;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(14, 165, 233, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 24px;
    width: fit-content;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--white);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.125rem;
    color: var(--gray-light);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.hero-stats {
    display: flex;
    gap: 32px;
}

.stat {
    text-align: left;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-light);
}

.stat p {
    font-size: 0.875rem;
    color: var(--gray);
    margin: 0;
    margin-top: 4px;
}

/* Shield Animation */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.shield-animation {
    position: relative;
    width: 300px;
    height: 300px;
}

.shield-ring {
    position: absolute;
    border: 2px solid;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring-1 {
    width: 100%;
    height: 100%;
    border-color: rgba(14, 165, 233, 0.1);
    animation: pulse-ring 3s ease-out infinite;
}

.ring-2 {
    width: 75%;
    height: 75%;
    border-color: rgba(14, 165, 233, 0.15);
    animation: pulse-ring 3s ease-out 0.5s infinite;
}

.ring-3 {
    width: 50%;
    height: 50%;
    border-color: rgba(14, 165, 233, 0.2);
    animation: pulse-ring 3s ease-out 1s infinite;
}

.shield-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(14, 165, 233, 0.4);
    animation: float 3s ease-in-out infinite;
}

.shield-core i {
    font-size: 3rem;
    color: var(--white);
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translate(-50%, -50%) translateY(0);
    }

    50% {
        transform: translate(-50%, -50%) translateY(-10px);
    }
}

/* ===== Section Headers ===== */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--gray-light);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Threats Section ===== */
.threats {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-light) 100%);
}

.threats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.threat-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.threat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.threat-card:hover::before {
    transform: scaleX(1);
}

.threat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(14, 165, 233, 0.2);
    box-shadow: var(--shadow-xl);
}

.threat-icon {
    width: 56px;
    height: 56px;
    background: rgba(14, 165, 233, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.threat-icon i {
    font-size: 1.5rem;
    color: var(--primary-light);
}

.threat-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.threat-card>p {
    color: var(--gray-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.threat-example {
    background: rgba(15, 23, 42, 0.6);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 20px;
}

.example-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(239, 68, 68, 0.1);
    border-bottom: 1px solid rgba(239, 68, 68, 0.2);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--danger);
}

.example-content {
    padding: 16px;
    font-size: 0.875rem;
}

.example-content p {
    margin-bottom: 6px;
    color: var(--gray-light);
}

.example-content strong {
    color: var(--white);
}

.example-text {
    font-style: italic;
    color: var(--gray) !important;
    border-left: 2px solid var(--gray);
    padding-left: 12px;
    margin: 12px 0;
}

.red-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.flag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--danger);
}

.flag i {
    font-size: 0.625rem;
}

/* Learn More Content */
.learn-more-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.3s ease, margin 0.3s ease;
    opacity: 0;
    margin-bottom: 0;
}

.learn-more-content.open {
    max-height: 800px;
    opacity: 1;
    margin-bottom: 20px;
}

.learn-more-inner {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(14, 165, 233, 0.15);
    border-radius: var(--radius);
    padding: 24px;
}

.learn-more-inner h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 16px;
}

.learn-more-inner h4 i {
    color: var(--primary);
}

.learn-more-inner ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.learn-more-inner ul li {
    position: relative;
    padding-left: 20px;
    font-size: 0.9rem;
    color: var(--gray-light);
    line-height: 1.5;
}

.learn-more-inner ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

.learn-more-inner ul li strong {
    color: var(--white);
}

.safety-tip {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--warning);
}

.safety-tip i {
    margin-top: 2px;
    font-size: 1rem;
}

.btn-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--primary-light);
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.btn-learn-more:hover {
    background: rgba(14, 165, 233, 0.1);
    border-color: rgba(14, 165, 233, 0.3);
}

.btn-learn-more i {
    transition: transform 0.3s ease;
}

.btn-learn-more.active i {
    transform: rotate(90deg);
}

/* ===== Tips Section ===== */
.tips {
    padding: 100px 0;
    background: var(--dark);
}

.tips-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tip-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 32px;
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    align-items: start;
}

.tip-card:hover {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(14, 165, 233, 0.15);
    transform: translateX(8px);
}

.tip-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    min-width: 80px;
}

.tip-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.tip-content>p {
    color: var(--gray-light);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.tip-example-box {
    background: rgba(15, 23, 42, 0.6);
    border-radius: var(--radius);
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Password Demo */
.password-demo {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pw-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
}

.pw-item.weak {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.pw-item.strong {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.pw-strength {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: inherit;
}

.pw-item.weak .pw-strength {
    color: var(--danger);
}

.pw-item.strong .pw-strength {
    color: var(--success);
}

/* 2FA Demo */
.two-fa-demo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.auth-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    min-width: 80px;
}

.auth-step i {
    font-size: 1.5rem;
    color: var(--primary-light);
}

.auth-step span {
    font-size: 0.75rem;
    font-weight: 500;
}

.auth-step.secure {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.auth-step.secure i {
    color: var(--success);
}

/* Update Demo */
.update-demo {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.update-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
}

.update-item i {
    font-size: 1.25rem;
    color: var(--primary-light);
    width: 24px;
}

.update-item span {
    flex: 1;
    font-size: 0.875rem;
}

.toggle-switch {
    width: 44px;
    height: 24px;
    background: var(--dark-lighter);
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.toggle-switch.active {
    background: var(--success);
}

.toggle-knob {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: var(--white);
    border-radius: 50%;
    transition: var(--transition);
}

.toggle-switch.active .toggle-knob {
    transform: translateX(20px);
}

/* Link Check Demo */
.link-check-demo {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.link-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-family: 'Courier New', monospace;
}

.link-item.suspicious {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: var(--danger);
}

.link-item.safe {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.link-item i:last-child {
    margin-left: auto;
}

/* Backup Demo */
.backup-demo {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.backup-tier {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
}

.backup-tier i {
    font-size: 1.5rem;
    color: var(--primary-light);
}

.backup-tier span {
    font-size: 0.75rem;
    font-weight: 500;
}

/* VPN Demo */
.vpn-demo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.vpn-device,
.vpn-server {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vpn-device i,
.vpn-server i {
    font-size: 1.5rem;
    color: var(--primary-light);
}

.vpn-tunnel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius);
}

.vpn-tunnel i {
    font-size: 1.25rem;
    color: var(--success);
}

.vpn-tunnel span {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--success);
}

/* ===== Tools Section ===== */
.tools {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--dark-light) 0%, var(--dark) 100%);
}

.tools-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.tool-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.tool-card:hover {
    border-color: rgba(14, 165, 233, 0.15);
    box-shadow: var(--shadow-lg);
}

.tool-card.large {
    grid-row: span 2;
}

.tool-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.tool-header i {
    font-size: 1.5rem;
    color: var(--primary-light);
}

.tool-header h3 {
    font-size: 1.125rem;
    font-weight: 700;
}

/* Password Checker */
.password-checker {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.input-group {
    position: relative;
}

.input-group input {
    width: 100%;
    padding: 14px 48px 14px 16px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    color: var(--white);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.input-group input::placeholder {
    color: var(--gray);
}

.toggle-visibility {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    padding: 4px;
    font-size: 1rem;
    transition: var(--transition);
}

.toggle-visibility:hover {
    color: var(--white);
}

.strength-meter {
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
}

.strength-bar {
    height: 100%;
    width: 0;
    border-radius: 3px;
    transition: var(--transition);
}

.strength-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray);
}

.password-criteria {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.criterion {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--gray);
    transition: var(--transition);
}

.criterion i {
    font-size: 0.875rem;
    width: 18px;
    text-align: center;
}

.criterion.met {
    color: var(--success);
}

.criterion.met i {
    color: var(--success);
}

.password-time {
    padding: 12px 16px;
    background: rgba(15, 23, 42, 0.6);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--gray-light);
    text-align: center;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-suggestions {
    padding: 12px 16px;
    background: rgba(245, 158, 11, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.1);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: var(--warning);
    display: none;
}

.password-suggestions.show {
    display: block;
}

.btn-generate {
    width: 100%;
    margin-top: 8px;
}

/* Phishing Simulator */
.phishing-sim {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sim-intro {
    font-size: 0.95rem;
    color: var(--gray-light);
}

.email-preview {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    overflow: hidden;
}

.email-header {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
}

.email-header>div {
    margin-bottom: 4px;
}

.email-header>div:last-child {
    margin-bottom: 0;
}

.email-header .label {
    color: var(--gray);
    margin-right: 4px;
}

.email-body {
    padding: 16px;
    font-size: 0.85rem;
    line-height: 1.6;
}

.email-body p {
    margin-bottom: 8px;
    color: var(--gray-light);
}

.email-link {
    color: var(--primary-light);
    text-decoration: underline;
    word-break: break-all;
}

.sim-buttons {
    display: flex;
    gap: 12px;
}

.sim-btn {
    flex: 1;
    padding: 12px;
    border-radius: var(--radius-sm);
    border: none;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.sim-btn.legit {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.sim-btn.legit:hover {
    background: rgba(16, 185, 129, 0.2);
}

.sim-btn.phishing {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.sim-btn.phishing:hover {
    background: rgba(239, 68, 68, 0.2);
}

.sim-result {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    display: none;
}

.sim-result.correct {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.sim-result.incorrect {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Checklist */
.checklist {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
}

.checklist-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.check-box {
    width: 22px;
    height: 22px;
    border: 2px solid var(--gray);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.check-box i {
    font-size: 0.75rem;
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
}

.checklist-item.checked .check-box {
    background: var(--success);
    border-color: var(--success);
}

.checklist-item.checked .check-box i {
    opacity: 1;
}

.checklist-item.checked span {
    color: var(--success);
    text-decoration: line-through;
}

.checklist-item span {
    font-size: 0.875rem;
    color: var(--gray-light);
    transition: var(--transition);
}

.checklist-progress {
    margin-top: 8px;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    width: 0;
    background: var(--gradient-primary);
    border-radius: 3px;
    transition: width 0.5s ease;
}

#checklistText {
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 8px;
    display: block;
}

/* Breach Checker */
.breach-checker {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tool-desc {
    font-size: 0.9rem;
    color: var(--gray-light);
}

.btn-check {
    width: 100%;
}

.breach-result {
    padding: 16px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    display: none;
    text-align: center;
}

.breach-result.show {
    display: block;
}

.breach-result.safe {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.breach-result.breached {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: var(--danger);
}

.breach-info {
    padding: 12px;
    background: rgba(14, 165, 233, 0.05);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    color: var(--gray);
}

.breach-info i {
    color: var(--primary);
    margin-right: 4px;
}

/* Password Generator */
.password-generator {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.generated-password {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    min-height: 52px;
}

.generated-password span {
    flex: 1;
    color: var(--gray-light);
    word-break: break-all;
}

.generated-password span.has-password {
    color: var(--white);
}

.copy-btn {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--gray-light);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.copy-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.copy-btn.copied {
    background: var(--success);
    border-color: var(--success);
    color: var(--white);
}

.generator-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option label {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--gray-light);
    margin-bottom: 8px;
}

.option input[type="range"] {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
}

.option input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.option input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.4);
}

.option-checkboxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--gray-light);
    cursor: pointer;
    user-select: none;
}

.checkbox-label input {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--gray);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.checkmark::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.6rem;
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
}

.checkbox-label input:checked+.checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-label input:checked+.checkmark::after {
    opacity: 1;
}

/* ===== Quiz Section ===== */
.quiz {
    padding: 100px 0;
    background: var(--dark);
}

.quiz-container {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    padding: 48px;
    text-align: center;
}

.quiz-start .quiz-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    animation: float 3s ease-in-out infinite;
}

.quiz-start .quiz-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.quiz-start h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.quiz-start p {
    color: var(--gray-light);
    margin-bottom: 24px;
}

.quiz-topics {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
}

.topic-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--gray-light);
}

.topic-tag i {
    font-size: 0.75rem;
    color: var(--primary-light);
}

.question-progress {
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    margin-bottom: 24px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.5s ease;
}

.question-number {
    font-size: 0.875rem;
    color: var(--primary-light);
    font-weight: 600;
    margin-bottom: 16px;
}

.quiz-question h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: left;
}

.answers {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.answer-btn {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    color: var(--white);
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
    display: flex;
    align-items: center;
    gap: 12px;
}

.answer-btn:hover {
    background: rgba(14, 165, 233, 0.1);
    border-color: rgba(14, 165, 233, 0.3);
}

.answer-btn.correct {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--success);
    color: var(--success);
}

.answer-btn.incorrect {
    background: rgba(239, 68, 68, 0.1);
    border-color: var(--danger);
    color: var(--danger);
}

.answer-btn.disabled {
    pointer-events: none;
    opacity: 0.6;
}

.answer-letter {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.answer-btn.correct .answer-letter {
    background: var(--success);
    color: var(--white);
}

.answer-btn.incorrect .answer-letter {
    background: var(--danger);
    color: var(--white);
}

.question-explanation {
    margin-top: 20px;
    padding: 16px;
    background: rgba(14, 165, 233, 0.05);
    border: 1px solid rgba(14, 165, 233, 0.1);
    border-radius: var(--radius);
    font-size: 0.9rem;
    color: var(--gray-light);
    text-align: left;
    display: none;
}

.question-explanation.show {
    display: block;
}

.question-explanation i {
    color: var(--primary);
    margin-right: 6px;
}

.quiz-result .result-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2.5rem;
}

.quiz-result .result-icon.excellent {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.quiz-result .result-icon.good {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.quiz-result .result-icon.needs-work {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.quiz-result h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.quiz-result p {
    color: var(--gray-light);
    margin-bottom: 24px;
}

.result-score {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
}

.result-breakdown {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.breakdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius);
    min-width: 80px;
}

.breakdown-item .breakdown-label {
    font-size: 0.75rem;
    color: var(--gray);
}

.breakdown-item .breakdown-value {
    font-size: 1.25rem;
    font-weight: 700;
}

.breakdown-item .breakdown-value.correct {
    color: var(--success);
}

.breakdown-item .breakdown-value.incorrect {
    color: var(--danger);
}

/* ===== Footer ===== */
.footer {
    padding: 64px 0 0;
    background: var(--dark-light);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-light);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-links h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--gray);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    color: var(--gray);
    font-size: 0.875rem;
}

/* ===== Scroll to Top ===== */
.scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero p {
        margin: 0 auto 32px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .threats-grid {
        grid-template-columns: 1fr;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .tool-card.large {
        grid-row: span 1;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat {
        text-align: center;
    }

    .tip-card {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .tip-number {
        font-size: 2rem;
    }

    .two-fa-demo,
    .backup-demo,
    .vpn-demo {
        flex-direction: column;
    }

    .sim-buttons {
        flex-direction: column;
    }

    .quiz-container {
        padding: 32px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        margin: 0 auto 20px;
    }

    .social-links {
        justify-content: center;
    }

    .option-checkboxes {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .learn-more-inner ul li {
        font-size: 0.8rem;
    }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--dark-lighter);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray);
}


/* ===== Enhanced Interactive Buttons ===== */
.btn-interactive {
    position: relative;
    overflow: hidden;
}

.btn-interactive::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-interactive:active::before {
    width: 300px;
    height: 300px;
}

.btn-interactive:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

/* Loading Spinner */
.btn-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Pulse Animation for Buttons */
@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.4);
    }

    50% {
        box-shadow: 0 0 0 12px rgba(14, 165, 233, 0);
    }
}

.btn-pulse {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Shake Animation for Error */
@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-5px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(5px);
    }
}

.shake {
    animation: shake 0.5s ease-in-out;
}

/* Bounce Animation for Success */
@keyframes bounce-in {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }

    50% {
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.bounce-in {
    animation: bounce-in 0.6s ease-out;
}

/* Slide In Animation */
@keyframes slide-in-right {
    from {
        transform: translateX(30px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.slide-in-right {
    animation: slide-in-right 0.4s ease-out;
}

/* Confetti Container */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.confetti-piece {
    position: absolute;
    width: 10px;
    height: 10px;
    top: -10px;
    opacity: 0;
    animation: confetti-fall 3s ease-out forwards;
}

@keyframes confetti-fall {
    0% {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }

    100% {
        opacity: 0;
        transform: translateY(100vh) rotate(720deg);
    }
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 14px 24px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 10000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-lg);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast.success {
    background: rgba(16, 185, 129, 0.95);
    color: var(--white);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.toast.error {
    background: rgba(239, 68, 68, 0.95);
    color: var(--white);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.toast.info {
    background: rgba(14, 165, 233, 0.95);
    color: var(--white);
    border: 1px solid rgba(14, 165, 233, 0.3);
}

/* Breach Result Enhanced */
.breach-result {
    padding: 20px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    display: none;
    text-align: left;
    animation: fadeInUp 0.5s ease;
}

.breach-result.show {
    display: block;
}

.breach-result.safe {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.breach-result.breached {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: var(--danger);
}

.breach-result .breach-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    display: block;
    text-align: center;
}

.breach-result .breach-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 8px;
    text-align: center;
}

.breach-result .breach-details {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.breach-result .breach-action {
    margin-top: 12px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
}

/* Password Generator Enhanced */
.generated-password {
    position: relative;
    transition: var(--transition);
}

.generated-password.generating {
    opacity: 0.5;
}

.generated-password .password-text {
    transition: all 0.3s ease;
}

.generated-password .password-text.flash {
    color: var(--primary-light);
    text-shadow: 0 0 10px rgba(14, 165, 233, 0.5);
}

/* Progress Ring for Quiz */
.quiz-progress-ring {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
}

.quiz-progress-ring svg {
    transform: rotate(-90deg);
}

.quiz-progress-ring circle {
    fill: none;
    stroke-width: 4;
}

.quiz-progress-ring .bg {
    stroke: rgba(255, 255, 255, 0.1);
}

.quiz-progress-ring .progress {
    stroke: var(--primary);
    stroke-linecap: round;
    transition: stroke-dashoffset 0.5s ease;
}

.quiz-progress-ring .progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--white);
}

/* Start Quiz Button Enhanced */
#startQuiz {
    position: relative;
    overflow: hidden;
}

#startQuiz .btn-bg-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

#startQuiz:hover .btn-bg-effect {
    left: 100%;
}

/* Answer Button Hover Effects */
.answer-btn {
    position: relative;
    overflow: hidden;
}

.answer-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.answer-btn:hover::after {
    transform: scaleY(1);
}

/* Checklist Item Enhanced */
.checklist-item {
    position: relative;
    overflow: hidden;
}

.checklist-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--success);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.checklist-item.checked::before {
    transform: scaleY(1);
}

/* Tool Card Hover Glow */
.tool-card {
    position: relative;
}

.tool-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-lg);
    background: var(--gradient-primary);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
    filter: blur(8px);
}

.tool-card:hover::after {
    opacity: 0.15;
}

/* Input Focus Animation */
.input-group input:focus {
    animation: input-glow 1.5s ease-in-out infinite alternate;
}

@keyframes input-glow {
    from {
        box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
    }

    to {
        box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
    }
}

/* Number Counter Animation */
@keyframes count-up {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.count-animate {
    animation: count-up 0.3s ease-out;
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-effect 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-effect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Phishing Next Button */
.sim-btn-next {
    margin-top: 16px;
    padding: 10px 20px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
    width: fit-content;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.2);
}

.sim-btn-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.3);
}

/* Toast Enhancements */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 16px 24px;
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(10px);
    color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 2000;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.success {
    border-left: 4px solid var(--success);
}

.toast.error {
    border-left: 4px solid var(--danger);
}

.toast.info {
    border-left: 4px solid var(--primary);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: rgba(15, 23, 42, 0.5);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-top: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    transition: var(--transition);
}

.contact-info-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
}

.contact-info-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

.contact-info-item h4 {
    color: var(--white);
    margin-bottom: 4px;
}

.contact-info-item p {
    color: var(--gray-light);
    font-size: 0.95rem;
}

.social-links-large {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-btn:hover {
    background: var(--gradient-primary);
    transform: translateY(-5px);
    border-color: transparent;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 40px;
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: var(--gray-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input, 
.form-group textarea {
    padding: 14px 18px;
    background: rgba(15, 23, 42, 0.6);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

/* Redesigned Footer */
.footer {
    background: #0b1120;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--gray-light);
    line-height: 1.7;
    max-width: 350px;
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.1rem;
    position: relative;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--gray-light);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray);
    font-size: 0.9rem;
}

/* Modals */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: #1e293b;
    width: 100%;
    max-width: 600px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-2xl);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.modal-header {
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: var(--white);
    font-size: 1.4rem;
}

.close-modal {
    background: transparent;
    border: none;
    color: var(--gray-light);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--danger);
}

.modal-body {
    padding: 30px;
    max-height: 70vh;
    overflow-y: auto;
    color: var(--gray-light);
    line-height: 1.6;
}

.modal-body h4 {
    color: var(--white);
    margin: 20px 0 10px;
}

.modal-body p {
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

footer p {
    margin: 8px 0;
    font-size: 0.95rem;
}

footer a {
    color: #60a5fa;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #3b82f6;
}

footer p:last-child {
    margin-top: 20px;
    font-size: 0.85rem;
    opacity: 0.8;
}