/* ======== GLOBAL STYLES & VARIABLES ======== */
:root {
    --primary-red: #D21422;
    --dark-red: #831315;
    --bg-dark-primary: #0f0f0f;
    --text-light: #f5f5f5;
    --text-muted: #b3b3b3;
    --glass-bg: rgba(22, 22, 22, 0.6);
    --glass-border: rgba(210, 20, 34, 0.3);
    
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: 1.1rem; /* Slightly larger for better readability */
    font-weight: 500;
    color: var(--text-light);
    background-color: var(--bg-dark-primary);
    background-image: radial-gradient(circle at top center, rgba(131, 19, 21, 0.15), var(--bg-dark-primary) 60%);
    line-height: 1.7;
    overflow-x: hidden; /* Prevent horizontal scroll from animations */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-red);
    text-transform: uppercase;
    text-shadow: 0 0 15px var(--dark-red);
}

h2 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 3rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

p {
    color: var(--text-muted);
    margin-bottom: 1.2rem;
}

/* Section divider */
section {
    padding: 4.5rem 0;
    position: relative;
    border-bottom: 1px solid var(--glass-border);
}

/* ======== ANIMATION & GLASS ======== */

.glass-panel, .glass-nav {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

/* Fade-in animation for sections */
.animated-section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
/* We'll trigger this with JS */
.animated-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* ======== BUTTON STYLES ======== */
.btn {
    display: inline-block;
    padding: 0.8rem 1.7rem;
    border-radius: 8px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    color: var(--text-light);
    border-color: var(--primary-red);
    background: linear-gradient(90deg, var(--dark-red), var(--primary-red), var(--dark-red));
    background-size: 200% 100%;
    animation: gradient-shift 5s ease infinite;
    box-shadow: 0 0 10px var(--primary-red), 0 0 20px var(--dark-red);
}

.btn-primary:hover {
    box-shadow: 0 0 20px var(--primary-red), 0 0 40px var(--dark-red);
    transform: scale(1.05);
    background-position: 100% 0;
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border-color: var(--text-muted);
}

.btn-secondary:hover {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    color: var(--text-light);
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


/* ======== HEADER ======== */
header.glass-nav {
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-radius: 0;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 2px solid var(--dark-red);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary-red);
    text-decoration: none;
    text-shadow: 0 0 10px var(--dark-red);
}

header nav {
    display: flex;
    gap: 1rem;
}

/* ======== HERO SECTION ======== */
.hero {
    padding: 4rem 0;
    text-align: center;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-banner {
    border: 3px solid var(--dark-red);
    border-radius: 10px;
    box-shadow: 0 0 30px 5px var(--dark-red);
    margin-bottom: 3rem;
    overflow: hidden;
    animation: fadeInZoom 1.5s ease-out;
}

.hero-banner img {
    display: block;
}

@keyframes fadeInZoom {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.btn-hero-cta {
    font-size: 1.7rem;
    padding: 1.2rem 3rem;
    letter-spacing: 1px;
    animation: fadeInSlideUp 1s ease-out 0.5s;
    animation-fill-mode: backwards; /* Start hidden */
}

@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ======== INFO TABLE SECTION ======== */
.info-section.glass-panel {
    padding: 2.5rem;
    max-width: 1200px;
    margin: -60px auto 0 auto; /* Pulls it up into the hero */
    position: relative;
    z-index: 10;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-right: 1px solid var(--glass-border);
}

.info-item:last-child {
    border-right: none;
}

.info-item span {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.info-item strong {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 1px;
}

/* Copy Button */
.btn-copy {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-left: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-copy:hover {
    color: var(--primary-red);
    transform: scale(1.2);
}
.btn-copy .fa-check { color: #28a745; }


/* ======== ABOUT SECTION ======== */
.about-section {
    padding-top: 8rem; /* Add space for info panel */
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
}

.about-section .highlight {
    color: var(--primary-red);
    font-weight: 700;
}

/* ======== FEATURES SECTION ======== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border-width: 2px;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--dark-red);
    border-color: var(--primary-red);
}

.feature-card i {
    font-size: 3.5rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px var(--dark-red);
}

.feature-card h3 {
    font-size: 1.8rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

/* ======== FOOTER ======== */
footer {
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    margin-top: 3rem;
}

footer p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.9rem;
}

/* ======== RESPONSIVE DESIGN ======== */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .info-item {
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
    }
    .info-item:last-child { border-bottom: none; }
}


@media (max-width: 768px) {
    h2 {
        font-size: 2.2rem;
    }
    
    .logo { font-size: 1.8rem; }

    .nav-container {
        flex-direction: column;
        gap: 1.2rem;
    }

    .hero {
        padding: 2rem 0;
    }

    .btn-hero-cta {
        font-size: 1.3rem;
        padding: 1rem 2.5rem;
    }

    .info-section.glass-panel {
        margin-top: 1rem;
        padding: 1.5rem;
    }

    .about-section {
        padding-top: 4rem;
    }
}

@media (max-width: 480px) {
    header nav {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .info-item strong {
        font-size: 1.3rem;
    }
}