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

body {
    font-family: 'Inter', sans-serif;
    background-color: #050607;
    color: #ffffff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: #f97316;
    color: white;
}

.font-mono {
    font-family: 'JetBrains Mono', monospace;
}

/* Starfield Animation */
.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle var(--duration) ease-in-out infinite;
    opacity: var(--opacity);
}

@keyframes twinkle {
    0%, 100% { 
        opacity: var(--opacity); 
        transform: scale(1); 
    }
    50% { 
        opacity: 0.1; 
        transform: scale(0.5); 
    }
}

/* Nebula Effect */
.nebula {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 100, 0, 0.03) 0%, transparent 60%);
    animation: pulse-glow 10s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
    0% { 
        opacity: 0.5; 
        transform: scale(1); 
    }
    100% { 
        opacity: 0.8; 
        transform: scale(1.1); 
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #050607;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Glass Panel Effect */
.glass-panel {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

/* Gradient Text */
.solar-gradient-text {
    background: linear-gradient(180deg, #FFFFFF 0%, #A1A1AA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(5, 6, 7, 0.8);
    backdrop-filter: blur(12px);
}

.nav-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* ADDED: Smooths the animation so it doesn't snap instantly */
    transition: transform 0.6s ease-in-out; 
}

/* ADDED: Triggers the flip when the cursor hovers over the element */
.logo-icon:hover {
    transform: rotateY(180deg); 
}

.logo-sun {
    width: 100%;
    height: 100%;
    object-fit: cover;         
}

.logo-text {
    font-size: 1.125rem;
    font-weight: 600;
    font-family: "Sixtyfour", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
    "BLED" 0,
    "SCAN" 0;
    letter-spacing: -0.025em;
}

.logo-subtext {
    color: #71717a;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
}

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

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    color: #b2b2be;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    transition: color 0.2s;
    font-family: 'JetBrains Mono', monospace;
    text-decoration: none;
}

.nav-link:hover {
    color: white;
}

.link-number {
    color: #52525b;
    margin-right: 0.25rem;
}

.nav-status {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-ping {
    position: absolute;
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
    border-radius: 9999px;
    background-color: #4ade80;
    opacity: 0.75;
    height: 0.5rem;
    width: 0.5rem;
}

.status-dot {
    position: relative;
    border-radius: 9999px;
    height: 0.5rem;
    width: 0.5rem;
    background-color: #22c55e;
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

.status-text {
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    color: #22c55e;
    letter-spacing: 0.1em;
}

.login-button {
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    padding: 0.5rem 1rem;
    border-radius: 0.125rem;
    transition: all 0.2s;
    color: #d4d4d8;
    background: transparent;
    cursor: pointer;
}

.login-button:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
}

@media (min-width: 1024px) {
    .login-button {
        display: block;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 5rem;
    overflow: hidden;
}

.sun-flare-large {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background-color: rgba(234, 88, 12, 0.1);
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.sun-flare-small {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background-color: rgba(234, 88, 12, 0.05);
    border-radius: 50%;
    filter: blur(60px);
    animation: pulse 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
    max-width: 80rem;
    margin: 0 auto;
}

.version-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid rgba(249, 115, 22, 0.3);
    background-color: rgba(249, 115, 22, 0.1);
    margin-bottom: 2rem;
}

.badge-dot {
    width: 0.375rem;
    height: 0.375rem;
    background-color: #f97316;
    border-radius: 50%;
}

.badge-text {
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    color: #fb923c;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.main-title {
    font-size: 3rem;
    font-family: "Michroma", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-weight: 600;
    letter-spacing: -0.05em;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.gradient-title {
    background: linear-gradient(180deg, #FFFFFF 0%, #A1A1AA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.9;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .main-title {
        font-size: 4.5rem;
    }
}

@media (min-width: 1024px) {
    .main-title {
        font-size: 6rem;
    }
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #a1a1aa;
    max-width: 42rem;
    margin-bottom: 2.5rem;
    line-height: 1.75;
    font-weight: 300;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        width: auto;
    }
}

.cta-primary {
    background-color: #ea580c;
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.125rem;
    font-weight: 500;
    letter-spacing: -0.025em;
    transition: all 0.2s;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

.cta-primary:hover {
    background-color: #f97316;
}

.cta-icon {
    width: 1rem;
    height: 1rem;
    transition: transform 0.2s;
}

.cta-primary:hover .cta-icon {
    transform: translateX(0.25rem);
}

.cta-secondary {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    color: #d4d4d8;
    padding: 1rem 2rem;
    border-radius: 0.125rem;
    font-weight: 500;
    letter-spacing: -0.025em;
    transition: all 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

.cta-secondary:hover {
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.5;
}

.indicator-text {
    font-size: 0.625rem;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.1em;
    color: #71717a;
}

.indicator-line {
    width: 1px;
    height: 3rem;
    background: linear-gradient(to bottom, #71717a, transparent);
}

/* Dashboard Section */
.dashboard {
    padding: 6rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    background-color: #050607;
}

.container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.dashboard-title {
    font-size: 1.875rem;
    font-weight: 500;
    font-family: "Audiowide", sans-serif;
    font-weight: 500;
    font-style: normal;
    letter-spacing: -0.025em;
    margin-bottom: 0.5rem;
}

.dashboard-subtitle {
    font-size: 1.125rem;
    color: #a1a1aa;
}

.dashboard-timers {
    display: none;
    gap: 1rem;
}

@media (min-width: 768px) {
    .dashboard-timers {
        display: flex;
    }
}

.timer {
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    color: #71717a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 0.125rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr 1fr;
    display: flex;
    gap: 1.5rem;
    min-height: none;
}

.left-grid, .right-grid {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 5rem;
    width: 30%;
    height: 80%;
}

.centre-grid {
    display : flex;
    flex-direction: column;
    width: 40%;
    gap: 2.5rem;
    max-height: none;
}

/* details of the cards */
.hidden {
    display: none !important;
}

.video-container {
    position: absolute;
    inset: 0;
    z-index: 1; /* Sits behind the overlay text */
    overflow: hidden;
    border-radius: 4rem; 
}

#central-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Fills the container perfectly */
    opacity: 0.6; /* Matches your dashboard's dark aesthetic */
}

#visualizer-details-view {
    position: relative;
    z-index: 20;
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(5, 6, 7, 0.4); /* Darkens slightly to make text readable */
    animation: fadeIn 0.3s ease-out;
}

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

.details-container h3 {
    font-family: "Audiowide", sans-serif;
    color: #f97316;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.details-container p {
    color: #a1a1aa;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}

.click-hint {
    margin-top: 2rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: #52525b !important;
    text-transform: uppercase;
}
/* details of the cards end here */

@media (min-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.dashboard-main {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4rem;
    padding: 0.25rem;
    height: 400px;
    position: relative;
    overflow: hidden;
}

.visualizer-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top right, rgba(30, 58, 138, 0.2), transparent, transparent);
}

.visualizer-overlay {
    position: relative;
    z-index: 10;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
}







.metric-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem;
    border-radius: 0.5rem;
    border-left: 2px solid;
}

/* Base state */
.green-border {
    border-left: 4px solid #22c55e;
    transition: all 0.3s ease-in-out; /* Smooth transition for the effect */
    cursor: pointer;
}

/* Hover state */
.green-border:hover {
    border-left-width: 8px; /* Thicken the border slightly */
    background: rgba(34, 197, 94, 0.1); /* Light green tint background */
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.2); /* Soft green glow */
    transform: translateY(-5px); /* Lift the card up slightly */
}


/* Base state */
.orange-border {
    border-left: 4px solid #f97316;
    transition: all 0.3s ease-in-out; /* Ensures smooth transitions */
    cursor: pointer;
}

/* Hover state */
.orange-border:hover {
    border-left-width: 8px; /* Thickens the border on hover */
    background: rgba(249, 115, 22, 0.1); /* Adds a subtle orange tint */
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.3); /* Creates a solar orange glow */
    transform: translateY(-5px); /* Lifts the card slightly for feedback */
}

/* Base state */
.gray-border {
    border-left: 4px solid #374151;
    transition: all 0.3s ease-in-out; /* Smooth transition for the hover effects */
    cursor: pointer;
}

/* Hover state */
.gray-border:hover {
    border-left-width: 8px; /* Slightly thicken the border */
    background: rgba(55, 65, 81, 0.1); /* Subtle gray tint background */
    box-shadow: 0 0 20px rgba(55, 65, 81, 0.3); /* Soft steel-gray glow */
    transform: translateY(-5px); /* Lift the card slightly for feedback */
}
.metric-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.metric-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #d4d4d8;
}

.metric-icon {
    color: #71717a;
    width: 1rem;
    height: 1rem;
}

.metric-value-large {
    font-size: 2.25rem;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.orange-text {
    color: #fb923c;
}

.unit {
    font-size: 0.875rem;
    color: #71717a;
}

.metric-description {
    font-size: 0.75rem;
    color: #71717a;
}

.metric-bar {
    width: 100%;
    background-color: #27272a;
    height: 0.25rem;
    margin-top: 1rem;
    border-radius: 9999px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
}

.green-fill {
    background-color: #22c55e;
    width: 20%;
}

.orange-fill {
    background-color: #f97316;
    width: 45%;
}

/* Forecast Section */
.forecast-section {
    padding: 6rem 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background-color: #050607;
}

.forecast-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    margin-bottom: 3rem;
}

.forecast-title {
    font-size: 1.875rem;
    font-weight: 500;
    font-family: "Audiowide", sans-serif;
    font-weight: 500;
    font-style: normal;
    letter-spacing: -0.025em;
    margin-bottom: 0.5rem;
}

.forecast-subtitle {
    font-size: 1.125rem;
    color: #a1a1aa;
}

.forecast-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.forecast-description {
    font-size: 0.875rem;
    color: #9595a1;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}

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

@media (min-width: 1024px) {
    .grid-container {
        grid-template-columns: 1fr 1fr;
    }
}


.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.feature-icon {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background-color: #27272a;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.check-icon {
    width: 0.75rem;
    height: 0.75rem;
    color: white;
}

.feature-title {
    color: white;
    font-weight: 500;
    font-size: 0.875rem;
}

.feature-description {
    color: #71717a;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Impact Section */
.impact-section {
    padding: 6rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background-color: #050607;
}

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

.terminal-card {
    background: rgba(10, 11, 13, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
}

.terminal-card:hover {
    background: rgba(10, 11, 13, 0.9);
    border-color: #f97316;
    box-shadow: 
        0 0 20px rgba(249, 115, 22, 0.5),
        0 0 40px rgba(249, 115, 22, 0.3),
        inset 0 0 20px rgba(249, 115, 22, 0.1);
    transform: translateY(-5px);
}

.card-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(249, 115, 22, 0.3), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.terminal-card:hover .card-glow {
    opacity: 1;
    animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { 
        box-shadow: 
            0 0 30px rgba(249, 115, 22, 0.6),
            0 0 60px rgba(249, 115, 22, 0.3);
    }
    50% { 
        box-shadow: 
            0 0 50px rgba(249, 115, 22, 0.8),
            0 0 100px rgba(249, 115, 22, 0.5);
    }
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    color: #f97316;
}

.meter-track {
    width: 100%;
    height: 8px;
    background: #1a1b1e;
    margin: 8px 0;
    border-radius: 4px;
}

.meter-fill {
    height: 100%;
    width: 0%;
    transition: width 1s ease-in-out, background 0.5s ease;
    border-radius: 4px;
}

/* Dynamic State Colors */
.meter-fill.green { background: #22c55e; box-shadow: 0 0 10px rgba(34, 197, 94, 0.4); }
.meter-fill.yellow { background: #eab308; box-shadow: 0 0 10px rgba(234, 179, 8, 0.4); }
.meter-fill.red { background: #ef4444; box-shadow: 0 0 10px rgba(239, 68, 68, 0.4); }

.impact-desc {
    font-size: 0.75rem;
    color: #71717a;
    font-family: 'JetBrains Mono', monospace;
}

.impact-desc-list {
    list-style: none;
    padding: 10px;
    margin-top: 1rem;
}

.impact-desc-list li {
    font-size: 1rem;
    color: #a1a1aa;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    position: relative;
    padding-left: 1rem;
}

.impact-desc-list li::before {
    content: "•";
    color: #f97316;
    position: absolute;
    left: 0;
}

.impact-desc-list strong {
    color: #f97316;
    font-weight: 500;
}

.storm-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-family: 'JetBrains Mono', monospace;
    font-weight: bold;
    border-radius: 4px;
    border: 1px solid transparent;
    transition: all 0.5s ease;
}

.storm-badge-wrapper{
    margin-top: 4rem;
}

/* Storm Severity Colors */
.storm-badge.g0 { background: rgba(34, 197, 94, 0.1); color: #22c55e; border-color: #22c55e; }
.storm-badge.g1 { background: rgba(234, 179, 8, 0.1); color: #eab308; border-color: #eab308; }
.storm-badge.g2 { background: rgba(249, 115, 22, 0.1); color: #f97316; border-color: #f97316; }
.storm-badge.g3 { background: rgba(239, 68, 68, 0.1); color: #ef4444; border-color: #ef4444; animation: pulse-red 2s infinite; }
.storm-badge.g4, .storm-badge.g5 { 
    background: #ef4444; color: white; border-color: #ffffff; 
    animation: rapid-flash 0.5s infinite; 
}

@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.storm-details-panel {
    margin-top: 1.5rem;
    max-width: 600px;
    animation: fadeIn 0.5s ease-out;
}

#storm-detail-title {
    font-size: 0.9rem;
    font-family: 'Audiowide', sans-serif;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

/* Uses your existing list styles from previous steps */


/* Footer */
.main-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 0;
    background-color: #050607;
}

.footer-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .footer-container {
        flex-direction: row;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-sun {
    width: 100%;
    height: 100%;
    object-fit: cover;         
}

.footer-text {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    color: #d4d4d8;
}

.footer-copyright {
    font-size: 0.75rem;
    color: #52525b;
    font-family: 'JetBrains Mono', monospace;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #71717a;
    transition: color 0.2s;
}

.social-link:hover {
    color: white;
}

.social-icon {
    width: 1rem;
    height: 1rem;
}
/* --- PASTE AT THE BOTTOM OF STYLES.CSS --- */

/* 1. INSANE BUTTON HOVER (Scanline Swipe) */
.cta-primary {
    position: relative;
    overflow: hidden; /* Keeps the shine inside the button */
    z-index: 1;
}

.cta-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
    z-index: -1;
}

.cta-primary:hover::after {
    left: 100%;
    transition: 0.4s ease-in-out;
}

.cta-primary:hover {
    box-shadow: 0 0 15px #ea580c, 0 0 30px rgba(234, 88, 12, 0.4);
    text-shadow: 0 0 8px rgba(255,255,255,0.8);
    transform: translateY(-2px); /* Slight lift */
}

/* 2. GLOWING CARDS (No Layout Shift) */
.feature-card {
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(249, 115, 22, 0.5);
    box-shadow: 0 10px 40px -10px rgba(234, 88, 12, 0.3);
    background: rgba(255, 255, 255, 0.05); /* Slightly brighter */
}

/* 3. NEON TEXT GLITCH (Visual Only) */
@keyframes glitch-text {
    0% { text-shadow: 2px 0 #ef4444, -2px 0 #3b82f6; }
    25% { text-shadow: -2px 0 #ef4444, 2px 0 #3b82f6; }
    50% { text-shadow: 2px 0 #22c55e, -2px 0 #ef4444; }
    75% { text-shadow: -2px 0 #ef4444, 2px 0 #22c55e; }
    100% { text-shadow: 2px 0 #ef4444, -2px 0 #3b82f6; }
}

.main-title:hover {
    animation: glitch-text 0.3s infinite;
    cursor: default;
}

/* 4. NAV LINKS (Underline Swipe) */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #f97316;
    transition: width 0.3s ease-out;
    box-shadow: 0 0 8px #f97316;
}

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

/* 5. METRIC BARS (Pulsing Animation) */
@keyframes bar-pulse {
    0% { opacity: 0.6; box-shadow: 0 0 0 rgba(0,0,0,0); }
    50% { opacity: 1; box-shadow: 0 0 10px currentColor; }
    100% { opacity: 0.6; box-shadow: 0 0 0 rgba(0,0,0,0); }
}

.metric-card:hover .bar-fill {
    animation: bar-pulse 1.5s infinite;
}

/* 6. LOGO FLIP (Enhanced) */
.logo-icon {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.logo-icon:hover {
    transform: rotateY(180deg);
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.6);
}
