/* Base Styles & Variables */
:root {
    /* Colors */
    --primary: #c5ba1d;
    --primary-dark: #5649c0;
    --secondary: #0804faf8;
    --dark: #0f0f1a;
    --darker: #0a0a12;
    --light: #f8f9fa;
    --gray: #2d3436;
    --light-gray: #636e72;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    
    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 6rem 2rem;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 62.5%;
}

body {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--light);
    background-color: var(--dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h1 { font-size: 5.6rem; }
h2 { font-size: 3.6rem; }
h3 { font-size: 2.4rem; }
p { margin-bottom: 1.5rem; }

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

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.4rem;
    transition: var(--transition);
    text-align: center;
    border: none;
    cursor: pointer;
}

.cta-button.primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
}

.cta-button.secondary {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--light);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 2rem 0;
    transition: var(--transition);
    background: rgba(15, 15, 26, 0.8);
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(10, 10, 18, 0.95);
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* .logo {
    font-family: var(--font-secondary);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--light);
    text-decoration: none;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
} */

.logo {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-family: var(--font-secondary);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--light);
}

.logo img {
    width: 40px;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.logo span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.nav-links a {
    color: var(--light);
    font-weight: 500;
    position: relative;
}

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

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 1rem;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--light);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    perspective: 1400px;
}

.hero-video {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-video::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.1), transparent 60%);
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.2) blur(1px);
}


.hero-emblem {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-start;   /* vertical: top */
    justify-content: flex-end; /* horizontal: right */
    /* justify-content: center; */
    z-index: 5;            /* above video, below gallery */
    pointer-events: none;
    mix-blend-mode: normal;
}

.hero-emblem img {
    width: clamp(220px, 50vw, 800px);
    opacity: 100;
    filter: drop-shadow(0 0 30px rgba(108, 92, 231, 0.35));
}


.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 25% 20%, rgba(255,255,255,0.08), transparent 55%);
    z-index: 1;
}


/* Floating gallery */
.hero-gallery {
    position: absolute;
    inset: -5% 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
}

.gallery-track {
    position: absolute;
    width: 260%;
    left: 20%;
    display: flex;
    gap: 4rem;
    --parallaxX: 0px;
    --parallaxY: 0px;
    transform: translate3d(var(--parallaxX), var(--parallaxY), 0);
    --duration: 36s;
}

.gallery-track .gallery-strip {
    display: flex;
    gap: 23rem;
}

.gallery-marquee {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation-name: galleryForward;
    animation-duration: var(--duration, 40s);
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.scroll-forward .gallery-marquee {
    animation-name: galleryForward;
}

.scroll-reverse .gallery-marquee {
    animation-name: galleryReverse;
}

.layer-near {
    top: 65%;
    --duration: 60s;
    filter: drop-shadow(0 35px 60px rgba(0, 0, 0, 0.45));
}

.layer-mid {
    top: 30%;
    --duration: 60s;
    opacity: 0.85;
}

.layer-far {
    top: 15%;
    --duration: 60s;
    opacity: 0.65;
}

.layer-far-alt {
    top: 45%;
    --duration: 60s;
    opacity: 1;
}

.layer-near-alt {
    top: 5%;
    --duration: 60s;
    filter: drop-shadow(0 35px 60px rgba(0, 0, 0, 0.45));
}

.gallery-track img {
    width: 560px;
    height: 380px;
    object-fit: cover;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    mix-blend-mode: screen;
    opacity: 0.95;
    transform: translateZ(40px);
}

.layer-mid img {
    width: 360px;
    height: 230px;
    transform: translateZ(0);
    filter: saturate(1.1);
}

.layer-far img {
    width: 300px;
    height: 190px;
    transform: translateZ(-80px);
    filter: blur(0.7px);
    opacity: 0.75;
}

.layer-far-alt img {
    width: 300px;
    height: 190px;
    /* transform: translateZ(-80px); */
    filter: blur(0.7px);
    opacity: 0.75;
}

/* .scroll-forward .gallery-strip {
    animation: galleryForward var(--duration, 38s) linear infinite;
}

.scroll-reverse .gallery-strip {
    animation: galleryReverse var(--duration, 42s) linear infinite;
} */

@keyframes galleryForward {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes galleryReverse {
    0%   { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(108, 92, 231, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 118, 117, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 3;
    max-width: 800px;
    text-align: center;
}

.hero h1 {
    font-size: 6.4rem;
    margin-bottom: 2rem;
    line-height: 1.1;
    background: linear-gradient(to right, #fff, #c9d6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 1s ease-out;
}

.hero .tagline {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero .cta-button {
    animation: fadeInUp 1s ease-out 0.4s both;
}

.scroll-indicator {
    position: absolute;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator .arrow {
    width: 2px;
    height: 30px;
    background: var(--light);
    margin-top: 1rem;
    position: relative;
}

.scroll-indicator .arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--light);
    border-bottom: 2px solid var(--light);
}

/* Sections */
section {
    padding: var(--section-padding);
    position: relative;
}

section h2 {
    display: block;
    margin: 0 auto 6rem;
    text-align: center;
    position: relative;
}

section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -1rem;
    width: 80px;
    height: 3px;
    transform: translateX(-50%);
    background: var(--gradient);
}

[data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* About Section */
.about-section {
    background-color: var(--darker);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.8rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 4rem;
    align-items: center;
}

.studio-story {
    font-size: 1.8rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.8);
}

.owner-profile {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.owner-photo {
    width: 180px;
    height: 180px;
    margin: 0 auto 2.4rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255,255,255,0.2);
    box-shadow: 0 15px 35px rgba(0,0,0,0.45);
}

.owner-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.owner-text-block + .owner-text-block {
    margin-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 2rem;
}

.owner-name {
    font-family: var(--font-secondary);
    font-size: 2.6rem;
    margin-bottom: 0.5rem;
}

.owner-title,
.owner-profile p {
    color: rgba(255,255,255,0.7);
}

.owner-text-block h4 {
    font-size: 1.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
}

.eyebrow {
    font-size: 1.2rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 1rem;
}

/* Capabilities Section */
.capabilities-section {
    background-color: var(--dark);
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 4rem 3rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(108, 92, 231, 0.3);
}

.card-icon {
    font-size: 4.8rem;
    margin-bottom: 2rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

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

.card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.6rem;
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(108, 92, 231, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 118, 117, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.cta-section .container {
    position: relative;
    text-align: center;
    z-index: 2;
    max-width: 700px;
}

.cta-section h2 {
    font-size: 4.2rem;
    margin-bottom: 2rem;
}

.cta-section p {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
footer {
    background-color: var(--darker);
    padding: 8rem 0 4rem;
    position: relative;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 5rem;
    margin-bottom: 6rem;
}

.footer-brand {
    flex: 1;
    min-width: 300px;
}

.footer-brand .logo {
    font-size: 3rem;
    margin-bottom: 2rem;
    display: inline-block;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    max-width: 300px;
}

.footer-links {
    display: flex;
    gap: 8rem;
    flex-wrap: wrap;
}

.footer-section h4 {
    color: var(--light);
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient);
}

.footer-section a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.2rem;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--light);
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 3rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.4rem;
    margin: 0;
}

.legal-links {
    display: flex;
    gap: 2rem;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.4rem;
    transition: var(--transition);
}

.legal-links a:hover {
    color: var(--light);
}
/* Games */
body.games-page .hero .container {
    max-width: 700px;
    text-align: center;
}

.game-details-section {
    background: var(--darker);
    padding: var(--section-padding);
}

body.games-page .game-details-section .container {
    width: 100%;
    max-width: min(1100px, 90vw);
}

.game-overview {
    text-align: center;
    margin-bottom: 4rem;
}

.game-description {
    font-size: 1.8rem;
    color: rgba(255,255,255,0.75);
}

.game-highlights {
    /* display: grid; */
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

/* .highlight-card {
    padding: 2rem;
    border-radius: 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
} */

.game-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    position: relative;
}

.game-gallery .tile {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 35px rgba(0,0,0,0.35);
}

.game-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-gallery .wide {
    grid-column: span 2;
    min-height: 220px;
}

.game-gallery .tall {
    grid-row: span 2;
    min-height: 360px;
}

.game-gallery .square {
    min-height: 220px;
}

.game-overview ul {
    list-style: disc;
    margin: 1.5rem auto;
    max-width: 640px;
    text-align: left;
    padding-left: 2rem;
    color: rgba(255,255,255,0.8);
}

.game-description.emphasis {
    font-family: var(--font-secondary);
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-align: center;
}

.game-highlights .eyebrow {
    text-align: center;
    margin-bottom: 2rem;
    display: block;
}

.lore-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.lore-card {
    width: 100%;  
    padding: 2.4rem;
    border-radius: 24px;
    background: rgba(41, 41, 41, 0.904);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.lore-card ul {
    margin: 0;
    padding-left: 1.6rem;
    list-style: disc;
}

.lore-card.emphasis-card {
    text-align: center;
}

.game-highlights {
    margin-top: 5rem;
}

.section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.section-heading .eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
}

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

.highlight-card {
    padding: 2rem 2.4rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    min-height: 160px;
    display: flex;
    align-items: center;
    text-align: left;
}

/* Roadmap */
body.roadmap-page {
  /* padding-top: 100px; */
}

.roadmap-section {
  background: var(--darker);
  min-height: 20vh;
  
}

body.roadmap-page header .roadmap-section {
    background: transparent;
    min-height: auto;
    padding-top: 4rem; /* optional spacing */
}

body.roadmap-page .roadmap-section .container {
    width: 100%;
    max-width: min(95vw, 1800px); /* or any size you want */
}

.roadmap-section h1 {
  text-align: center;
  margin-bottom: 1rem;
}

.roadmap-lede {
  text-align: center;
  color: rgba(255,255,255,0.7);
  margin-bottom: 4rem;
}

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

.roadmap-columns-wrapper {
    position: relative;
    z-index: 10;      /* higher than the emblem’s 5 */
}

.roadmap-columns section {
    /* background: rgba(80, 80, 80, 0.89);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 2.4rem; */
    /* flex-direction: column;
    gap: 1.2rem; */
    /* margin: 0 auto 4rem; */
    /* max-width: 640px; */
    padding: 2.4rem 3rem;
    border-radius: 24px;
    background: rgba(6, 7, 20, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    text-align: left;

}

.roadmap-columns h2 {
  margin-bottom: 1.5rem;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.roadmap-columns li {
  margin-bottom: 0.8rem;
  color: rgba(255,255,255,0.8);
}

.roadmap-hero-banner {
    display: inline-flex;
    flex-direction: column;
    gap: 1.2rem;
    max-width: 640px;
    margin: 0 auto 4rem;
    padding: 2.4rem 3rem;
    border-radius: 24px;
    background: rgba(6, 7, 20, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    text-align: center;
}

.roadmap-hero-banner h1 {
    margin-bottom: 0.5rem;
}

.roadmap-hero-banner .roadmap-lede {
    margin: 0;
}

/* Contact Form */
.contact-form {
    background: var(--darker);
    padding: var(--section-padding);
    display: flex;
    justify-content: center;
}

.contact-form .container {
    display: flex;
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;   /* centers the h2 and pseudo underline */
    text-align: center;
}

.contact-form form {
    display: grid;
    gap: 2rem;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}


.contact-form label {
    display: flex;
    flex-direction: column;
    font-weight: 600;
    color: var(--light);
}

.contact-form input,
.contact-form textarea {
    margin-top: 0.8rem;
    padding: 1.2rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(10,10,18,0.7);
    color: var(--light);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive Styles */
@media (max-width: 992px) {
    :root {
        --section-padding: 8rem 2rem;
    }
    
    h1 { font-size: 4.8rem; }
    h2 { font-size: 3.2rem; }
    
    .hero h1 {
        font-size: 5.2rem;
    }
    
    .cta-section h2 {
        font-size: 3.6rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
        position: absolute;
        right: 2rem;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--darker);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        z-index: 1000;
        padding: 2rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero h1 {
        font-size: 4.2rem;
    }
    
    .hero .tagline {
        font-size: 1.8rem;
    }
    
    .cards-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        gap: 4rem;
    }

    .about-grid {
    grid-template-columns: 1fr;
}
}

@media (max-width: 576px) {
    h1 { font-size: 3.6rem; }
    h2 { font-size: 2.8rem; }
    
    .hero h1 {
        font-size: 3.6rem;
    }
    
    .hero .tagline {
        font-size: 1.6rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .cta-buttons .cta-button {
        width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .legal-links {
        justify-content: center;
    }
}