/* ============================================
   GLOBAL STYLES & RESET
   ============================================ */

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

:root {
    --primary-color: #3df3ff;
    --secondary-color: #9e6cff;
    --accent-color: #8cff7b;
    --dark-bg: #020713;
    --light-bg: rgba(20, 30, 50, 0.9);
    --text-dark: #f8fafc;
    --text-light: #cbd5e1;
    --panel-bg: rgba(8, 16, 34, 0.88);
    --border-color: rgba(64, 150, 255, 0.18);
    --success-color: #8cff7b;
    --warning-color: #fbbf24;
    --danger-color: #f87171;
}

html {
    scroll-behavior: smooth;
    background: radial-gradient(circle at top, #0f1f3b, #020713 40%, #020713 100%);
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-dark);
    line-height: 1.65;
    min-height: 100vh;
    background: radial-gradient(circle at top center, rgba(52, 173, 255, 0.08), transparent 40%),
                radial-gradient(circle at 20% 15%, rgba(255,255,255,0.16), transparent 0.85em),
                radial-gradient(circle at 85% 20%, rgba(255,255,255,0.1), transparent 0.6em),
                linear-gradient(180deg, #031023 0%, #020713 45%, #03070f 100%);
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 30% 10%, rgba(255, 255, 255, 0.08), transparent 9%),
                radial-gradient(circle at 80% 20%, rgba(125, 200, 255, 0.05), transparent 10%),
                radial-gradient(circle at 50% 85%, rgba(80, 160, 255, 0.05), transparent 14%);
    pointer-events: none;
    z-index: -1;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.12) 1px, transparent 1px),
                      radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 120px 120px, 80px 80px;
    opacity: 0.25;
    pointer-events: none;
    z-index: -1;
}

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

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 {
    font-size: 3rem;
    color: var(--dark-bg);
}

h2 {
    font-size: 2.5rem;
    color: var(--dark-bg);
    text-align: center;
    margin-bottom: 3rem;
}

h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
}

p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

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

.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

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

.btn-secondary:hover {
    background-color: #6d28d9;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.3);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* ============================================
   NAVBAR
   ============================================ */

.navbar {
    background: rgba(2, 7, 19, 0.95);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(60, 160, 255, 0.09);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 0 16px rgba(33, 198, 255, 0.3);
}

.logo-img {
    height: 44px;
    display: inline-block;
}

.logo a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.logo-img {
    height: 40px;
    display: inline-block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.nav-links .cta-button {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 6px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 5px 0;
    transition: 0.3s;
}

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

.hero {
    background: radial-gradient(circle at top, rgba(62, 194, 255, 0.18), transparent 28%),
                radial-gradient(circle at 85% 20%, rgba(158, 108, 255, 0.12), transparent 22%),
                linear-gradient(180deg, rgba(2, 7, 19, 0.96), rgba(7, 12, 30, 0.98));
    color: white;
    padding: 100px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12), transparent 4%),
                      radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.08), transparent 3%),
                      linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 35%);
    opacity: 0.8;
    pointer-events: none;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.hero h1 {
    margin-bottom: 1rem;
    font-size: clamp(2.4rem, 4vw, 4.2rem);
    letter-spacing: 0.03em;
    color: white;
    text-shadow: 0 0 24px rgba(61, 243, 255, 0.35);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 720px;
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   MISSION SECTION
   ============================================ */

.mission {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(3, 9, 25, 0.96), rgba(4, 12, 32, 0.98));
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
}

.mission-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 1.5rem;
}

.mission-content p strong,
.mission-content p b {
    color: var(--primary-color);
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */

.portfolio {
    padding: 80px 0;
}

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

.portfolio-item {
    background: rgba(11, 20, 38, 0.94);
    padding: 2rem;
    border-radius: 18px;
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.25);
    border-color: var(--secondary-color);
}

.portfolio-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ============================================
   EXPLANATION SECTION
   ============================================ */

.explanation {
    padding: 80px 0;
    background: rgba(5, 13, 28, 0.96);
}

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

.step {
    text-align: center;
    padding: 2rem;
    background: rgba(10, 18, 34, 0.9);
    border-radius: 18px;
    border: 1px solid rgba(68, 145, 255, 0.1);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.step h3 {
    margin-bottom: 1rem;
    color: white;
}

.step p {
    color: var(--text-light);
}

/* ============================================
   LEARNING LABS SECTION
   ============================================ */

.learning-labs {
    padding: 80px 0;
}

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

.lab-card {
    background: rgba(12, 22, 42, 0.95);
    border: 1px solid rgba(72, 175, 255, 0.12);
    border-radius: 18px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
}

.lab-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.3);
    transform: translateY(-10px);
}

.profile-settings {
    background: rgba(10, 18, 34, 0.92);
    border: 1px solid rgba(72, 175, 255, 0.14);
    border-radius: 18px;
    padding: 2rem;
}

.profile-settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
    align-items: start;
}

.profile-card,
.progress-overview-card {
    background: rgba(12, 22, 42, 0.96);
    border-radius: 18px;
    border: 1px solid rgba(63, 204, 255, 0.1);
    padding: 1.75rem;
}

.profile-card h3,
.progress-overview-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.profile-card p,
.progress-summary-text {
    color: var(--text-light);
    line-height: 1.6;
}

.badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(61, 243, 255, 0.12);
    color: var(--primary-color);
    border-radius: 999px;
    padding: 0.5rem 0.9rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.profile-actions label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-weight: 600;
}

.profile-actions input {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(4, 11, 24, 0.95);
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.profile-button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.status-message {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.4;
}

.progress-bar {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
    margin: 1rem 0 0.5rem;
    height: 16px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.35s ease;
}

.progress-label {
    font-size: 0.95rem;
    color: var(--text-light);
}

.module-progress-card {
    margin: 1rem 0 1.5rem;
}

.progress-status {
    color: var(--text-light);
    font-size: 0.95rem;
}

.lab-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.lab-card h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.lab-card p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
}

.features li:before {
    content: "✓ ";
    color: var(--success-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta {
    background: linear-gradient(135deg, rgba(8, 23, 53, 0.95), rgba(15, 32, 72, 0.92));
    padding: 80px 0;
    text-align: center;
    color: white;
    border-top: 1px solid rgba(63, 204, 255, 0.14);
    border-bottom: 1px solid rgba(63, 204, 255, 0.14);
}

.cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.contact-section {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(2, 7, 19, 0.98), rgba(8, 19, 40, 0.94));
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: white;
}

.contact-section p {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.8);
}

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

.contact-grid div {
    background: rgba(12, 22, 40, 0.95);
    border-radius: 18px;
    padding: 1.75rem;
    border: 1px solid rgba(63, 204, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
}

.contact-grid h3 {
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.contact-grid a {
    color: var(--primary-color);
}

/* ============================================
   PRICING SECTION
   ============================================ */

.pricing {
    padding: 80px 0;
}

.pricing-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-intro p {
    font-size: 1.05rem;
    max-width: 680px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.8);
}

.pricing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.toggle-switch {
    position: relative;
    width: 60px;
    height: 34px;
    background-color: rgba(255, 255, 255, 0.12);
    border-radius: 34px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.toggle-switch.active {
    background-color: rgba(63, 204, 255, 0.35);
}

.toggle-slider {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 26px;
    height: 26px;
    background-color: white;
    border-radius: 50%;
    transition: left 0.3s ease;
}

.toggle-switch.active .toggle-slider {
    left: 30px;
}

.pricing-tier-selector {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.tier-label {
    font-weight: 600;
    color: white;
    cursor: pointer;
}

.tier-label input {
    margin-right: 0.5rem;
}

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

.pricing-card {
    background: rgba(8, 16, 34, 0.95);
    border: 1px solid rgba(63, 204, 255, 0.12);
    border-radius: 18px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.24);
}

.pricing-card.featured {
    border-color: rgba(63, 204, 255, 0.45);
    transform: scale(1.04);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.32);
}

.pricing-card.featured::before {
    content: "COMMAND";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(63, 204, 255, 0.9);
    color: #020713;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.plan-description {
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 1.5rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.price-period {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
}

.plan-features li {
    padding: 0.75rem 0;
    color: rgba(255, 255, 255, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.plan-features li:before {
    content: "✓ ";
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-cta {
    width: 100%;
    margin-bottom: 1rem;
}

.resource-section {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(2, 7, 19, 0.96), rgba(6, 15, 32, 0.98));
}

.resource-section p {
    max-width: 720px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.8);
}

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

.resource-card {
    background: rgba(8, 16, 34, 0.95);
    border: 1px solid rgba(63, 204, 255, 0.12);
    border-radius: 18px;
    padding: 1.75rem;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.resource-card h3,
.resource-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.resource-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.resource-links {
    list-style: none;
    padding-left: 0;
}

.resource-links li {
    margin-bottom: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
}

.resource-links a {
    color: var(--secondary-color);
}

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

.video-frame {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(63, 204, 255, 0.14);
    background: #020713;
}

.video-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 16px;
}

.auth-section {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(2, 7, 19, 0.96), rgba(8, 18, 38, 0.98));
}

.auth-card {
    max-width: 520px;
    margin: 0 auto;
    background: rgba(8, 16, 34, 0.96);
    border: 1px solid rgba(63, 204, 255, 0.12);
    border-radius: 22px;
    padding: 2.5rem;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
}

.auth-card h2 {
    color: white;
    margin-bottom: 1rem;
}

.auth-card p {
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 1.5rem;
}

.auth-form {
    display: grid;
    gap: 1rem;
}

.auth-form label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 600;
}

.auth-form input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: white;
    font-size: 1rem;
}

.auth-form input:focus {
    outline: none;
    border-color: rgba(63, 204, 255, 0.5);
    box-shadow: 0 0 0 4px rgba(63, 204, 255, 0.08);
}

.auth-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
}

.status-message {
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.text-muted {
    color: rgba(255, 255, 255, 0.65);
    margin-top: 1rem;
}

.dashboard-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.dashboard-email {
    color: var(--secondary-color);
    font-weight: 700;
    letter-spacing: 0.01em;
}

/* ============================================
   LAB PAGES
   ============================================ */

.lab-header {
    background: radial-gradient(circle at top left, rgba(63, 204, 255, 0.18), transparent 32%),
                radial-gradient(circle at 90% 20%, rgba(158, 108, 255, 0.15), transparent 28%),
                linear-gradient(180deg, rgba(2, 7, 19, 0.98), rgba(7, 14, 30, 0.98));
    padding: 80px 0;
    text-align: center;
}

.lab-header h1 {
    margin-bottom: 1rem;
    font-size: clamp(2.5rem, 4vw, 4rem);
    color: white;
    text-shadow: 0 0 24px rgba(61, 243, 255, 0.24);
}

.lab-content {
    padding: 80px 0;
}

.lab-section {
    margin-bottom: 4rem;
}

.lab-section h2 {
    margin-bottom: 2rem;
}

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

.feature-card {
    background: rgba(8, 16, 34, 0.95);
    padding: 1.5rem;
    border-radius: 18px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.24);
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

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

.footer {
    background: linear-gradient(180deg, rgba(2, 7, 19, 1), rgba(4, 12, 34, 0.96));
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.75);
}

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

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

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

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(63, 204, 255, 0.08);
    padding-top: 2rem;
    color: rgba(255, 255, 255, 0.65);
}

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

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: white;
        gap: 0;
        padding: 2rem 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 60px 0;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .mission-content,
    .portfolio-grid,
    .labs-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    .btn {
        padding: 10px 24px;
        font-size: 0.9rem;
    }

    .hero {
        padding: 40px 0;
    }

    .mission,
    .portfolio,
    .explanation,
    .learning-labs,
    .lab-content {
        padding: 40px 0;
    }
}
