/* ===================================
   CSS Principal - SafetyRad Project
   =================================== */

/* Variabile și Reset */
:root {
    --primary: #FFD700;
    --secondary: #111111;
    --accent: #FF3333;
    --background: #F0F2F5;
    --text: #2D2D2D;
    --text-light: #666666;
    --white: #FFFFFF;
    --card-bg: #FFFFFF;
    --yellow-2: #FFD700;
    --yellow-3: #FFA500;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ===================================
   Header și Navigație
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.header.scrolled {
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.atom-animation {
    position: relative;
    width: 50px;
    height: 50px;
    animation: rotateAtom 4s linear infinite;
}

.nucleus {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--primary);
    z-index: 2;
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid var(--primary);
    border-radius: 50%;
    opacity: 0.7;
}

.orbit-1 {
    width: 40px;
    height: 40px;
    animation: rotateOrbit1 3s linear infinite;
}

.orbit-2 {
    width: 40px;
    height: 40px;
    animation: rotateOrbit2 3s linear infinite;
}

.orbit-3 {
    width: 40px;
    height: 40px;
    animation: rotateOrbit3 3s linear infinite;
}

@keyframes rotateAtom {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes rotateOrbit1 {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes rotateOrbit2 {
    0% { transform: translate(-50%, -50%) rotate(60deg); }
    100% { transform: translate(-50%, -50%) rotate(420deg); }
}

@keyframes rotateOrbit3 {
    0% { transform: translate(-50%, -50%) rotate(-60deg); }
    100% { transform: translate(-50%, -50%) rotate(300deg); }
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

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

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

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

.btn-quiz {
    background: var(--primary);
    color: var(--secondary) !important;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 700 !important;
}

.btn-quiz:hover {
    background: #ffed4a !important;
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: var(--transition);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary) 0%, #1a1a1a 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 51, 51, 0.1) 0%, transparent 50%);
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 1s ease;
}

.hero-title .highlight {
    color: var(--primary);
    display: block;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.2s both;
}

.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: var(--secondary);
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
    animation: fadeInUp 1s ease 0.4s both;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #ffed4a;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 2rem;
    color: var(--primary);
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-15px);
    }
    60% {
        transform: translateX(-50%) translateY(-7px);
    }
}

/* ===================================
   Secțiuni Generale
   =================================== */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--secondary);
    color: var(--white);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 15px;
    color: var(--text);
}

.section-dark .section-title {
    color: var(--white);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

/* ===================================
   Carduri și Animații Fade In
   =================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon svg {
    width: 60px;
    height: 60px;
}

.warning-icon svg {
    color: var(--primary);
}

.danger-icon svg {
    color: var(--accent);
}

.card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ===================================
   Secțiunea Ambalare
   =================================== */
.packaging-container {
    display: flex;
    justify-content: center;
    margin: 50px 0;
    perspective: 1000px;
}

.packaging-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.package-layer {
    width: 280px;
    padding: 25px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.5s ease;
    position: relative;
    text-align: center;
}

.package-layer:hover {
    transform: scale(1.05);
}

.package-layer.unpacked {
    opacity: 0.1 !important;
    pointer-events: none;
    transform: scale(0.8) translateY(-30px) !important;
    border-color: transparent !important;
}

.package-layer.unpacked .layer-content {
    opacity: 0;
}

.package-layer.unpacked .click-hint {
    display: none;
}

.outer-layer {
    background: linear-gradient(135deg, #4a4a4a 0%, #2a2a2a 100%);
    border: 3px solid #666;
}

.middle-layer {
    background: linear-gradient(135deg, #666 0%, #444 100%);
    border: 3px solid #888;
    margin-top: -100px;
    z-index: 2;
}

.inner-layer {
    background: linear-gradient(135deg, #888 0%, #555 100%);
    border: 3px solid var(--primary);
    margin-top: -100px;
    z-index: 3;
}

.layer-label {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 10px;
}

.layer-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.click-hint {
    display: block;
    color: var(--primary);
    font-size: 0.8rem;
    margin-top: 10px;
    opacity: 0.8;
}

.package-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 60px;
}

.package-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 25px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.package-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.package-header {
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 0.9rem;
}

.package-header.exceptat {
    background: #4CAF50;
    color: white;
}

.package-header.industrial {
    background: #2196F3;
    color: white;
}

.package-header.type-a {
    background: var(--primary);
    color: var(--secondary);
}

.package-header.type-b {
    background: #FF9800;
    color: white;
}

.package-header.type-c {
    background: var(--accent);
    color: white;
}

.package-card h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--white);
}

.package-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.package-card ul {
    list-style: none;
    padding: 0;
}

.package-card li {
    color: var(--primary);
    font-size: 0.85rem;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===================================
   Secțiunea Etichetare
   =================================== */
.labeling-system {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
    align-items: center;
}

.label-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.color-legend {
    list-style: none;
    padding: 0;
}

.color-legend li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--card-bg);
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: var(--shadow);
}

.color-box {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 2px solid #ddd;
}

.color-box.white {
    background: white;
}

.color-box.yellow-2 {
    background: var(--yellow-2);
}

.color-box.yellow-3 {
    background: var(--yellow-3);
}

.label-demo {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.label {
    width: 150px;
    height: 180px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.label:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.label-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.label-i-white {
    background: white;
    border: 3px solid #ddd;
}

.label-i-white .trefoil-small {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.label-ii-yellow {
    background: var(--yellow-2);
    border: 3px solid #e6c200;
}

.label-iii-yellow {
    background: var(--yellow-3);
    border: 3px solid #e69500;
}

.trefoil-small {
    position: relative;
    width: 50px;
    height: 50px;
}

.trefoil-small::before {
    content: '☢';
    font-size: 3rem;
    color: var(--secondary);
}

.category {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
}

.transport-index {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-top: 10px;
}

.label-details {
    margin-top: 50px;
    text-align: center;
}

.label-details h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--secondary);
}

.click-prompt {
    color: var(--text-light);
    margin-bottom: 30px;
}

.detail-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 0 auto;
    border-left: 5px solid var(--primary);
}

.detail-content h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.detail-content p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.detail-content ul {
    list-style: none;
    padding: 0;
}

.detail-content li {
    padding: 8px 0;
    color: var(--text);
    border-bottom: 1px solid #eee;
}

/* Index de Transport */
.transport-index-info {
    margin-top: 60px;
}

.transport-index-info h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 30px;
    color: var(--secondary);
}

.it-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.it-item {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.it-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.it-value {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--secondary);
    margin-bottom: 15px;
    padding: 10px;
    background: var(--primary);
    border-radius: 4px;
    display: inline-block;
}

.it-item p {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.it-item span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===================================
   Secțiunea Transport
   =================================== */
.transport-rules {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.rule-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.rule-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.rule-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 15px;
}

.rule-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--white);
}

.rule-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.rule-card ul {
    list-style: none;
    padding: 0;
}

.rule-card li {
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
}

.rule-card li strong {
    color: var(--primary);
}

/* Placard Demo */
.placard-demo {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.placard {
    width: 120px;
    height: 120px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.placard-number {
    display:block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1;
}

.placard-text {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--secondary);
    margin-top: 5px;
}

.placard-note {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Vehicle Types */
.transport-vehicle h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--white);
}

.vehicle-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.vehicle-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.vehicle-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.vehicle-icon {
    margin-bottom: 20px;
}

.vehicle-icon svg {
    width: 100px;
    height: 60px;
}

.vehicle-card h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--white);
}

.vehicle-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* ===================================
   Secțiunea Urgență
   =================================== */
.emergency-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.step-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(255, 51, 51, 0.3);
}

.step-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.step-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.step-card li {
    padding: 8px 0;
    color: var(--text-light);
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

.step-card li:last-child {
    border-bottom: none;
}

/* Checklist */
.emergency-checklist {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.emergency-checklist h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--secondary);
    text-align: center;
}

.checklist {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f8f8;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.check-item:hover {
    background: #f0f0f0;
}

.check-item input[type="checkbox"] {
    width: 25px;
    height: 25px;
    cursor: pointer;
    accent-color: var(--primary);
}

.check-item span {
    color: var(--text);
    font-size: 0.95rem;
}

/* ===================================
   Secțiunea Quiz
   =================================== */
.section-quiz {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.section-quiz .section-title {
    color: var(--white);
}

.section-quiz .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.quiz-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.quiz-progress {
    height: 6px;
    background: #e0e0e0;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #ffed4a);
    width: 0%;
    transition: width 0.5s ease;
}

.quiz-question {
    padding: 40px;
}

.question-number {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

#questionText {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--secondary);
    margin-bottom: 30px;
    line-height: 1.5;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.option {
    padding: 18px 20px;
    background: #f8f8f8;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    color: var(--text);
}

.option:hover {
    background: #f0f0f0;
    border-color: var(--primary);
}

.option.selected {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--secondary);
    font-weight: 600;
}

.option.correct {
    background: #4CAF50;
    border-color: #4CAF50;
    color: white;
}

.option.incorrect {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

/* Quiz Result */
.quiz-result {
    padding: 50px 40px;
    text-align: center;
}

.quiz-result h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--secondary);
}

.score-display {
    margin-bottom: 30px;
}

.score-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary);
}

.score-total {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-light);
}

#scoreMessage {
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 30px;
}

/* Confetti Animation */
.confetti {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.confetti-piece {
    position: absolute;
    width: 10px;
    height: 10px;
    animation: confettiFall 3s ease-out forwards;
}

@keyframes confettiFall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--secondary);
    color: rgba(255, 255, 255, 0.6);
    padding: 40px 0;
    text-align: center;
}

.footer p {
    margin-bottom: 10px;
}

.footer-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ===================================
   Responsive
   =================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .labeling-system {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-menu.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--secondary);
        padding: 20px;
    }
    
    .nav-menu.active ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .package-layer {
        width: 220px;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .card {
        padding: 25px 20px;
    }
    
    .label {
        width: 120px;
        height: 150px;
    }
    
    .quiz-question {
        padding: 25px 20px;
    }
}
