/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto Mono', monospace;
    line-height: 1.6;
    color: #e6f1ff;
    background: linear-gradient(135deg, #0a192f 0%, #020c1b 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Screen Reader Only Class */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #64ffda;
    color: #0a192f;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
    transition: top 0.3s;
    font-weight: 600;
}

.skip-link:focus {
    top: 6px;
}

/* Improved Focus Styles */
*:focus {
    outline: 3px solid #64ffda;
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .pillar-card,
    .asset-card,
    .threat-card,
    .defense-card,
    .classification-card,
    .compliance-card {
        border-width: 3px;
        border-color: #64ffda;
    }
    
    .nav-link,
    .cta-button,
    .info-btn,
    .quiz-button {
        border: 2px solid currentColor;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #64ffda;
}

.logo i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #e6f1ff;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #64ffda;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #64ffda;
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
    border-radius: 3px;
}

.hamburger:focus {
    outline: 2px solid #64ffda;
    outline-offset: 2px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #e6f1ff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(100, 255, 218, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    animation: slideInLeft 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #64ffda, #e6f1ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title i {
    color: #64ffda;
    margin-right: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #64ffda;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    color: #8892b0;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #64ffda, #00d4aa);
    color: #0a192f;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(100, 255, 218, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(100, 255, 218, 0.4);
}

.cta-button i {
    margin-right: 0.5rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 1s ease-out;
}

.security-icon {
    font-size: 15rem;
    color: #64ffda;
    opacity: 0.7;
    animation: pulse 3s infinite;
}

/* Sections */
.section {
    padding: 6rem 0;
    position: relative;
}

.alt-bg {
    background: linear-gradient(135deg, #0f1419 0%, #1a1a2e 100%);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #64ffda;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 4rem;
    color: #8892b0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Data Flow */
.data-flow {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.data-card {
    background: rgba(100, 255, 218, 0.1);
    border: 2px solid rgba(100, 255, 218, 0.3);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    min-width: 200px;
    transition: all 0.3s ease;
}

.data-card:hover {
    transform: translateY(-5px);
    border-color: #64ffda;
    box-shadow: 0 10px 30px rgba(100, 255, 218, 0.2);
}

.data-card i {
    font-size: 3rem;
    color: #64ffda;
    margin-bottom: 1rem;
}

.data-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #e6f1ff;
}

.arrow {
    font-size: 2rem;
    color: #64ffda;
    font-weight: bold;
}

/* Pillars Grid */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.pillar-card {
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.1) 0%, rgba(100, 255, 218, 0.05) 100%);
    border: 2px solid rgba(100, 255, 218, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #64ffda, #00d4aa);
}

.pillar-card:hover {
    transform: translateY(-8px);
    border-color: #64ffda;
    box-shadow: 0 20px 40px rgba(100, 255, 218, 0.2);
}

.pillar-icon {
    font-size: 4rem;
    color: #64ffda;
    margin-bottom: 1.5rem;
}

.pillar-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #e6f1ff;
}

.pillar-subtitle {
    color: #64ffda;
    font-style: italic;
    margin-bottom: 1rem;
}

.pillar-card p {
    margin-bottom: 1.5rem;
    color: #8892b0;
    line-height: 1.6;
}

.example {
    background: rgba(10, 25, 47, 0.5);
    padding: 1rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    border-left: 4px solid #64ffda;
}

.info-btn {
    background: transparent;
    border: 2px solid #64ffda;
    color: #64ffda;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    transition: all 0.3s ease;
}

.info-btn:hover {
    background: #64ffda;
    color: #0a192f;
    transform: scale(1.05);
}

/* Assets Section */
.assets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.asset-card {
    background: linear-gradient(135deg, rgba(230, 241, 255, 0.1) 0%, rgba(230, 241, 255, 0.05) 100%);
    border: 2px solid rgba(230, 241, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.asset-card:hover {
    transform: translateY(-5px);
    border-color: #64ffda;
    box-shadow: 0 15px 30px rgba(100, 255, 218, 0.1);
}

.asset-card i {
    font-size: 3rem;
    color: #64ffda;
    margin-bottom: 1rem;
}

.asset-card h3 {
    color: #e6f1ff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.asset-card ul {
    list-style: none;
}

.asset-card li {
    padding: 0.5rem 0;
    color: #8892b0;
    position: relative;
    padding-left: 1.5rem;
}

.asset-card li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #64ffda;
}

/* Classification Section */
.classification-section {
    margin-top: 4rem;
}

.classification-section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #64ffda;
}

.classification-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.classification-card {
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.1) 0%, rgba(100, 255, 218, 0.05) 100%);
    border: 2px solid rgba(100, 255, 218, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.classification-card:hover {
    transform: translateY(-3px);
    border-color: #64ffda;
}

.classification-icon {
    font-size: 2.5rem;
    color: #64ffda;
    margin-bottom: 1rem;
}

.classification-card h4 {
    color: #e6f1ff;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.classification-card p {
    color: #8892b0;
    margin-bottom: 0.5rem;
}

.classification-card small {
    color: #64ffda;
    font-style: italic;
}

/* Threats Section */
.threats-section {
    margin-top: 2rem;
}

.threat-category {
    margin-bottom: 4rem;
}

.threat-category h3 {
    font-size: 2rem;
    color: #64ffda;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.threat-category > p {
    font-size: 1.1rem;
    color: #8892b0;
    margin-bottom: 2rem;
}

.threat-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.threat-card {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(220, 53, 69, 0.05) 100%);
    border: 2px solid rgba(220, 53, 69, 0.3);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.threat-card:hover {
    transform: translateY(-5px);
    border-color: #dc3545;
    box-shadow: 0 15px 30px rgba(220, 53, 69, 0.2);
}

.threat-card i {
    font-size: 2.5rem;
    color: #dc3545;
    margin-bottom: 1rem;
}

.threat-card h4 {
    color: #e6f1ff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.threat-card p {
    color: #8892b0;
    line-height: 1.6;
}

.threat-card .danger {
    color: #dc3545;
    font-weight: 600;
}

.warning {
    background: rgba(220, 53, 69, 0.1);
    border-left: 4px solid #dc3545;
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 5px;
}

.warning ul {
    margin: 0.5rem 0 0 1rem;
}

.warning li {
    color: #dc3545;
    margin: 0.3rem 0;
}

/* Defense Section */
.defense-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.defense-card {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(40, 167, 69, 0.05) 100%);
    border: 2px solid rgba(40, 167, 69, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.defense-card:hover {
    transform: translateY(-8px);
    border-color: #28a745;
    box-shadow: 0 20px 40px rgba(40, 167, 69, 0.2);
}

.defense-icon {
    font-size: 3.5rem;
    color: #28a745;
    margin-bottom: 1.5rem;
    text-align: center;
}

.defense-card h3 {
    color: #e6f1ff;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.tips {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tip {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(10, 25, 47, 0.3);
    border-radius: 10px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.tip:hover {
    background: rgba(10, 25, 47, 0.5);
    transform: translateX(5px);
}

.tip i {
    color: #28a745;
    margin-top: 0.2rem;
    font-size: 1.1rem;
}

.tip span {
    color: #8892b0;
    line-height: 1.5;
}

.tip.success {
    border: 2px solid #28a745;
    background: rgba(40, 167, 69, 0.1);
}

.tip.success span {
    color: #28a745;
}

.tip.warning {
    border: 2px solid #dc3545;
    background: rgba(220, 53, 69, 0.1);
}

.tip.warning i {
    color: #dc3545;
}

.tip.warning span {
    color: #dc3545;
}

/* Compliance Section */
.compliance-section {
    margin-top: 4rem;
}

.compliance-section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #64ffda;
}

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

.compliance-card {
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.1) 0%, rgba(100, 255, 218, 0.05) 100%);
    border: 2px solid rgba(100, 255, 218, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.compliance-card:hover {
    transform: translateY(-5px);
    border-color: #64ffda;
    box-shadow: 0 15px 30px rgba(100, 255, 218, 0.1);
}

.compliance-card i {
    font-size: 3rem;
    color: #64ffda;
    margin-bottom: 1rem;
}

.compliance-card h4 {
    color: #e6f1ff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.compliance-card p {
    color: #8892b0;
    line-height: 1.6;
}

/* Quiz Section */
.quiz-container {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.1) 0%, rgba(100, 255, 218, 0.05) 100%);
    border: 2px solid rgba(100, 255, 218, 0.2);
    border-radius: 20px;
    padding: 2rem;
}

.quiz-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.quiz-progress {
    flex: 1;
    min-width: 200px;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(10, 25, 47, 0.5);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #64ffda, #00d4aa);
    border-radius: 5px;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    color: #8892b0;
    font-size: 0.9rem;
}

.quiz-score {
    color: #64ffda;
    font-weight: 600;
    font-size: 1.1rem;
}

.question-card {
    background: rgba(10, 25, 47, 0.3);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.question-title {
    color: #e6f1ff;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.question-options {
    margin-bottom: 1.5rem;
}

.option {
    background: rgba(230, 241, 255, 0.1);
    border: 2px solid rgba(230, 241, 255, 0.2);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #8892b0;
}

.option:hover {
    border-color: #64ffda;
    background: rgba(100, 255, 218, 0.1);
}

.option.selected {
    border-color: #64ffda;
    background: rgba(100, 255, 218, 0.2);
    color: #e6f1ff;
}

.option.correct {
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.option.incorrect {
    border-color: #dc3545;
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

.option.disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.question-feedback {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    display: none;
}

.question-feedback.correct {
    background: rgba(40, 167, 69, 0.2);
    border: 2px solid #28a745;
    color: #28a745;
}

.question-feedback.incorrect {
    background: rgba(220, 53, 69, 0.2);
    border: 2px solid #dc3545;
    color: #dc3545;
}

.quiz-button {
    background: linear-gradient(135deg, #64ffda, #00d4aa);
    color: #0a192f;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.quiz-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(100, 255, 218, 0.3);
}

.quiz-start-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    background: linear-gradient(135deg, #64ffda, #00d4aa);
    color: #0a192f;
    border: none;
    padding: 1.5rem 2rem;
    border-radius: 25px;
    font-family: inherit;
    font-weight: 600;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quiz-start-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(100, 255, 218, 0.4);
}

.quiz-results {
    text-align: center;
    padding: 2rem;
}

.results-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.quiz-results h3 {
    color: #e6f1ff;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.quiz-results p {
    color: #8892b0;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.results-stats {
    background: rgba(10, 25, 47, 0.5);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #64ffda;
    display: block;
}

.stat-label {
    color: #8892b0;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #020c1b 0%, #0a192f 100%);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(100, 255, 218, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #64ffda;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: #8892b0;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section a {
    color: #8892b0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover,
.footer-section a:focus {
    color: #64ffda;
    text-decoration: underline;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #8892b0;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 0.2rem 0;
    display: inline-block;
}

.footer-section ul li a:hover,
.footer-section ul li a:focus {
    color: #64ffda;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(100, 255, 218, 0.1);
    color: #8892b0;
}

.footer-bottom small {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, #0a192f 0%, #020c1b 100%);
    margin: 5% auto;
    padding: 2rem;
    border: 2px solid #64ffda;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

.close {
    color: #8892b0;
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #64ffda;
}

.modal-content h2 {
    color: #64ffda;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.modal-content p {
    color: #8892b0;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.modal-example {
    background: rgba(100, 255, 218, 0.1);
    border-left: 4px solid #64ffda;
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1.5rem;
}

.modal-example h4 {
    color: #64ffda;
    margin-bottom: 0.5rem;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 25, 47, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        backdrop-filter: blur(10px);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .security-icon {
        font-size: 8rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .data-flow {
        flex-direction: column;
    }

    .arrow {
        transform: rotate(90deg);
    }

    .assets-grid {
        grid-template-columns: 1fr;
    }

    .classification-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .threat-cards {
        grid-template-columns: 1fr;
    }

    .defense-grid {
        grid-template-columns: 1fr;
    }

    .quiz-header {
        flex-direction: column;
        text-align: center;
    }

    .results-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .modal-content {
        margin: 10% auto;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .classification-grid {
        grid-template-columns: 1fr;
    }

    .results-stats {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section {
        padding: 4rem 0;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
.nav-link:focus,
.cta-button:focus,
.info-btn:focus,
.quiz-button:focus,
.option:focus {
    outline: 2px solid #64ffda;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .pillar-card,
    .asset-card,
    .threat-card,
    .defense-card {
        border-width: 3px;
    }
}