/* 1. CSS VARIABLES (Theme System) */
:root {
    /* Default Dark Mode ("Black Hole") */
    --bg-color: #0a0a0a;
    --bg-secondary: #111111;
    --bg-accent: #1a1a1a;
    --text-color: #EAEAEA;
    --text-muted: #888888;
    --border-color: #2A2A2A;
    --border-hover: #555555;

    /* Action Colors */
    --primary-btn: #EAEAEA;
    --primary-btn-text: #101010;
    --accent-glow: rgba(255, 255, 255, 0.05);

    /* Layout */
    --container-width: 1600px;
    --header-height: 70px;
    --spacing: 2rem;
    --radius: 8px;
    --transition: all 0.3s ease;
}

/* Light Mode Overrides */
[data-theme="light"] {
    --bg-color: #FFFFFF;
    --bg-secondary: #F9F9F9;
    --bg-accent: #F0F0F0;
    --text-color: #101010;
    --text-muted: #555555;
    --border-color: #DDDDDD;
    --border-hover: #AAAAAA;
    --accent-glow: rgba(0, 0, 0, 0.05);

    --primary-btn: #101010;
    --primary-btn-text: #FFFFFF;
}

/* 2. GLOBAL RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    overflow-x: hidden;
}

body {
    /* Uses San Francisco (Mac), Segoe UI (Windows), Roboto (Android) automatically */
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    
    /* Keep your existing settings */
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: background-color 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
}

h1, h2, h3, .logo {
    /* Clean, bold, modern headers */
    font-family: system-ui, -apple-system, sans-serif;
    letter-spacing: -1px; /* Tighter spacing looks more premium */
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    color: inherit;
    font-family: inherit;
}


h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* 3. LAYOUT UTILITIES */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

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

.section-pad {
    padding: 5rem 0;
}

/* 4. NAVIGATION (Enhanced) */
#theme-logo {
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.site-header {
    height: var(--header-height);
    background: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

/* Fix for Safari/Firefox backdrop filter support if needed, fallback to opacity */
@supports not (backdrop-filter: blur(10px)) {
    .site-header {
        background: var(--bg-secondary);
    }
}

.site-header nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;
}

/* Logo Styling with Icon */
.logo {
    font-weight: 700;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo svg {
    width: 28px;
    height: 28px;
    fill: var(--text-color);
    transition: var(--transition);
}

.logo:hover svg {
    transform: rotate(15deg);
}

/* Desktop Nav Links */
.nav-links {
    display: flex;
    gap: 2.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    align-items: center;
}

.nav-links a {
    position: relative;
}

/* Underline Hover Effect */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-btn);
    transition: var(--transition);
}

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

/* Theme Toggle Button */
#theme-toggle {
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    background: var(--bg-accent);
    border: 1px solid var(--border-color);
    width: 40px;
    height: 40px;
}

#theme-toggle:hover {
    border-color: var(--text-muted);
    transform: scale(1.05);
}

/* Mobile Menu Button (Hamburger) - Hidden on desktop */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    transition: var(--transition);
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-btn);
    color: var(--primary-btn-text);
    padding: 0.8rem 2rem;
    border-radius: var(--radius);
    font-weight: 600;
    border: 1px solid transparent;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px var(--accent-glow);
}



/* 6. MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

  

    /* Mobile Navigation Logic */
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--bg-color);

        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 2rem;

        /* Proper hidden state */
        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transition: opacity 0.3s ease, visibility 0.3s ease;
        border-top: 1px solid var(--border-color);
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 1rem;
        font-size: 1.2rem;
    }

    #theme-toggle {
        margin: 0 auto;
    }

    /* Hamburger Animation */
    .menu-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}
/* --- HERO LAYOUT --- */
.hero-section {
    padding: 8rem 0 2rem;
    overflow: hidden;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

/* --- TEXT STYLING (Left) --- */
.hero-text {
    flex: 1;
    max-width: 600px;
    z-index: 10;
}

.hero-text h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: -webkit-linear-gradient(0deg, var(--text-color), var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text .subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-weight: 400;
    max-width: 90%;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.btn-secondary {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

.btn-secondary::after {
    content: '';
    display: block;
    width: 0;
    height: 1px;
    background: var(--text-color);
    transition: width 0.3s;
}

.btn-secondary:hover::after {
    width: 100%;
}
/* --- VISUAL STYLING (Right) --- */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 450px;
}

.void-container {
    position: relative;
    width: 380px; /* Slightly larger orbit path */
    height: 380px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Black Hole Center */
.the-void {
    position: absolute;
    width: 130px;
    height: 130px;
    background-color: #000;
    border-radius: 50%;
    z-index: 5;
    box-shadow: 
        inset 0 0 40px #000, 
        0 0 30px rgba(255, 255, 255, 0.15); 
}

/* The Glowing Ring */
.accretion-ring {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.05);
    z-index: 4;
}

/* Orbit Container - Spins the whole system */
.satellite-orbit {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotateSystem 40s linear infinite;
    z-index: 6;
    border-radius: 50%;
    /* Uncomment below if you want to see the orbit path for debugging */
    /* border: 1px dashed rgba(255, 255, 255, 0.1); */
}

/* Base Satellite Style */
.sat {
    position: absolute;
    background: var(--bg-secondary);
    color: var(--text-muted);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 0.85rem;
    border: 1px solid var(--border-color);
    font-weight: 500;
    white-space: nowrap;
    
    /* Important: This counter-rotates the text so it stays readable */
    animation: keepTextLevel 40s linear infinite;
}

.sat:hover {
    color: var(--text-color);
    border-color: var(--primary-btn);
    background: var(--bg-accent);
    box-shadow: 0 0 15px var(--accent-glow);
    cursor: default;
}

/* --- MANUAL POSITIONING (The Fix) --- */
/* We place them manually so they can never overlap */

/* 1. Top Center */
.pos-1 { 
    top: 0; 
    left: 50%; 
    margin-left: -35px; /* Half of approx width to center */
}

/* 2. Top Right */
.pos-2 { 
    top: 25%; 
    right: 5%; 
}

/* 3. Bottom Right */
.pos-3 { 
    bottom: 25%; 
    right: 5%; 
}

/* 4. Bottom Center */
.pos-4 { 
    bottom: 0; 
    left: 50%; 
    margin-left: -35px; 
}

/* 5. Left Middle */
.pos-5 { 
    top: 50%; 
    left: 0; 
    margin-top: -15px;
}


/* --- ANIMATIONS --- */

@keyframes rotateSystem {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes keepTextLevel {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); } /* Rotates opposite to container */
}


/* --- MOBILE RESPONSIVE --- */
@media (max-width: 900px) {
    

    .hero-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-text {
        order: 1;
    }
    
    .hero-text h1 {
        font-size: 3rem; 
    }
    
    .subtitle {
        margin: 0 auto 2rem auto;
    }
    
    .cta-group {
        justify-content: center;
    }

    .hero-visual {
        order: 2;
        height: 380px; /* Ensure space for the orbit */
        width: 100%;
        overflow: visible; /* Let satellites stick out if needed */
    }

    .void-container {
        /* Shrink everything purely by scale for mobile */
        transform: scale(0.8);
    }
}
/* --- LEARNING SECTION STYLING --- */

/* Section Spacing */
.learn-section {
    position: relative;
    /* Clean background transition from hero */
    background: var(--bg-color); 
}

/* Header Styling */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3.5rem auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Card Styling */
.learn-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px; /* Slightly softer corners */
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Hover Effect: Lift + Glow Border */
.learn-card:hover {
    transform: translateY(-5px);
    border-color: var(--text-muted);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

/* Subtle gradient overlay on hover for 'Space' feel */
.learn-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, var(--accent-glow), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.learn-card:hover::before {
    opacity: 1;
}

/* Icon Box */
.icon-box {
    width: 50px;
    height: 50px;
    background: var(--bg-accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
}

/* Typography inside Card */
.learn-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.card-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1; /* Pushes tags to bottom ensures alignment */
}

/* Tags/Pills Container */
.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
}

/* Individual Tag Styling */
.tag {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 4px 12px;
    border-radius: 100px;
    transition: all 0.2s ease;
    cursor: default;
}

.tag:hover {
    background: var(--bg-accent);
    border-color: var(--text-muted);
}

/* Responsive adjustment for the grid */
@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .grid-3 {
        /* Ensure single column on mobile */
        grid-template-columns: 1fr; 
        gap: 1.5rem;
    }
}
/* --- PROCESS SECTION STYLING --- */

.process-section {
    background: var(--bg-color);
    position: relative;
    /* Reduce top padding if coming right after another section */
    padding-top: 2rem; 
}

/* The Grid Layout */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    padding-top: 2rem; /* Space for the floating numbers */
}

/* The Connecting Line (Desktop Only) */
/* This draws a horizontal line connecting the step numbers */
.process-grid::before {
    content: '';
    position: absolute;
    top: 2rem; /* Aligns with the center of the step number circle */
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, 
        rgba(255,255,255,0) 0%, 
        var(--border-color) 20%, 
        var(--border-color) 80%, 
        rgba(255,255,255,0) 100%
    );
    z-index: 0;
}

/* Individual Process Card */
.process-card {
    position: relative;
    z-index: 1; /* Sits above the line */
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 3rem 2rem 2rem 2rem; /* Extra top padding for the number */
    border-radius: var(--radius);
    text-align: center;
    transition: transform 0.3s ease;
}

.process-card:hover {
    border-color: var(--text-muted);
    transform: translateY(-5px);
}

/* Step Number Circle */
.step-number {
    position: absolute;
    top: -25px; /* Pulls it up halfway out of the card */
    left: 50%;
    transform: translateX(-50%);
    
    width: 50px;
    height: 50px;
    background: var(--bg-accent);
    border: 2px solid var(--bg-color); /* Creates a visual gap */
    color: var(--text-color);
    
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-family: monospace;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 0 0 4px var(--bg-secondary); /* Outer ring to match card bg */
    transition: all 0.3s ease;
}

/* Highlight the number on hover */
.process-card:hover .step-number {
    background: var(--text-color);
    color: var(--bg-color);
    border-color: var(--text-color);
    transform: translateX(-50%) scale(1.1);
}

.process-card h3 {
    margin-top: 0.5rem;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.process-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 900px) {
    .process-grid {
        grid-template-columns: 1fr; /* Stack vertically */
        gap: 3.5rem; /* More space for the hanging numbers */
        padding-top: 0;
    }

    /* Hide horizontal connecting line on mobile */
    .process-grid::before {
        display: none;
    }
    
    .process-card {
        text-align: left; /* Easier to read on mobile */
        padding-top: 2.5rem;
    }

    .step-number {
        left: 2rem; /* Move number to left align */
        transform: translateX(0);
    }

    .process-card:hover .step-number {
        transform: scale(1.1); /* Only scale, don't move X on mobile */
    }
}
/* --- ABOUT SECTION STYLING --- */

.about-section {
    background: var(--bg-color);
    border-top: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

/* Optional: faint background glow for atmosphere */
.about-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--bg-accent) 0%, transparent 70%);
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

.about-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5rem;
    position: relative;
    z-index: 1;
}

/* --- LEFT CONTENT --- */
.about-content {
    flex: 1;
    max-width: 600px;
}

.label-text {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-btn);
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-content strong {
    color: var(--text-color);
    font-weight: 600;
}

/* Meta Data Row */
.about-meta {
    display: flex;
    gap: 2.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.meta-item {
    display: flex;
    flex-direction: column;
}

.meta-item strong {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.meta-item span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- RIGHT VISUAL (Values Grid) --- */
.about-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    gap: 1.5rem;
    width: 100%;
    max-width: 500px;
}

.value-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Special Layout: Make the 3rd card span full width for visual interest */
.v-3 {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-accent) 100%);
}

.value-card:hover {
    transform: translateY(-3px);
    border-color: var(--text-muted);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.v-icon {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    display: block;
}

.value-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.5;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .about-wrapper {
        flex-direction: column;
        gap: 3rem;
    }

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

    .about-meta {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .about-visual {
        justify-content: center;
        width: 100%;
    }
}
/* --- CREATOR SECTION (Minimalist) --- */

.creator-section {
    background: var(--bg-color);
    padding-bottom: 8rem;
    border-top: 1px solid var(--border-color); /* Subtle separation line */
}

.creator-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    max-width: 900px;
    margin: 0 auto;
}

/* Typography Side */
.creator-text {
    flex: 1;
}

.role-tag {
    font-family: monospace;
    color: var(--primary-btn);
    font-size: 0.9rem;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 1rem;
}

.creator-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.creator-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 400px;
    margin-bottom: 0;
}

.creator-text strong {
    color: var(--text-color);
}

/* Button Side */
.creator-action {
    flex-shrink: 0;
}

/* GitHub Button Styling */
.github-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 200px;
}

/* Hover State */
.github-btn:hover {
    border-color: var(--text-muted);
    transform: translateY(-3px);
    background: var(--bg-accent);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* The SVG Icon */
.gh-icon svg {
    width: 38px;
    height: 38px;
    fill: var(--text-color);
}

/* Button Text */
.gh-text {
    display: flex;
    flex-direction: column;
}

.gh-text .small {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 500;
}

.gh-text .large {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.1;
}

/* Responsive */
@media (max-width: 768px) {
    .creator-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
    }

    .creator-text p {
        margin: 0 auto;
    }

    .github-btn {
        width: 100%;
        justify-content: center;
    }
}

/* --- EXPANDED FOOTER STYLING --- */

.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 2rem 0; /* More padding on top */
    font-size: 0.95rem;
}

/* 1. Grid Layout */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr; /* Brand col is wider */
    gap: 4rem;
    margin-bottom: 4rem;
}

/* 2. Brand Column */
.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-color);
}

.footer-desc {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Social Icons */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--bg-accent);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-btn);
    color: var(--primary-btn-text);
    border-color: var(--primary-btn);
    transform: translateY(-2px);
}

.social-links svg {
    width: 18px;
    height: 18px;
}

/* 3. Navigation Columns */
.footer-col h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    letter-spacing: 0.5px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-col a {
    color: var(--text-muted);
    transition: color 0.2s ease;
    display: inline-block;
}

.footer-col a:hover {
    color: var(--primary-btn);
    transform: translateX(2px); /* Subtle slide effect */
}

/* 4. Bottom Copyright */
.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr; /* 2 columns on tablets */
        gap: 3rem;
    }
    
    .footer-brand-col {
        grid-column: span 2; /* Brand takes full width */
        text-align: center;
        align-items: center;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr; /* Stack vertically on mobile */
        gap: 2.5rem;
        text-align: center;
    }
    
    .footer-brand-col {
        grid-column: span 1;
    }
}