/* --- 1. CORE SYSTEM & TYPOGRAPHY --- */
:root {
  --bg: #050814; --bg-elevated: #0b1224; --bg-glass: rgba(15, 23, 42, 0.72);
  --text-primary: #f8fafc; --text-secondary: rgba(255, 255, 255, 0.8);
  --accent: #4f8cff; --accent-glow: rgba(79, 140, 255, 0.6); --border: rgba(255, 255, 255, 0.06);
}

h1, h2 {
  contain: layout paint;
  content-visibility: auto;
}

h1 { 
  contain-intrinsic-size: auto 120px; 
}

h2 { 
  contain-intrinsic-size: auto 60px; 
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { background: var(--bg); color: var(--text-primary); line-height: 1.6; overflow-x: hidden; }

h1, h2, h3 { color: var(--text-primary); line-height: 1.2; letter-spacing: -0.02em; }
h1 {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 900;
  margin-bottom: clamp(2rem, 4vw, 4rem);
  padding-top: clamp(0.625rem, 2vw, 2.5rem);
  contain-intrinsic-size: auto 120px; /* Space reserved for 4K */
}

h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: clamp(1.5rem, 3vw, 3rem);
  contain-intrinsic-size: auto 60px; /* Space reserved for Mobile/Desktop */
}

h3 { font-size: clamp(1.25rem, 2vw + 1rem, 2rem); font-weight: 800; margin-bottom: clamp(1.1rem, 2vw, 2rem); }
p { color:var(--text-secondary);font-size:clamp(1rem,1.1vw,1.125rem);max-width:65ch;margin-bottom:1.5rem;line-height:1.7;font-weight:450;text-wrap:pretty;letter-spacing:-.005em }
a { text-decoration: none; color: var(--accent); display: inline-block; }
a:hover { filter: brightness(1.2); }
a:focus { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
a:active { transform: scale(0.98); filter: brightness(0.9); }

/* 1. LOCK THE MAIN CONTAINER */
main {
  display: block;
  /* Use a fixed pixel for the top margin to stop 'clamp' rounding errors */
  margin-top: 80px; 
  contain: layout;
}

/* 2. THE 'SHIELD' FOR THE FIRST SECTION */
main > section:first-of-type {
  display: flow-root; 
  margin-top: 0;
  padding-top: 40px; /* Fixed pixel for stability */
  contain: layout;
}

/* 3. STABILIZE THE HEADING (H2) */
main h2 {
  display: block;
  /* Match this to your actual H2 size (e.g., 42px) */
  line-height: 1.2 !important; 
  margin: 0;
  padding-bottom: 16px;
  contain: layout style paint;
}

/* 4. STABILIZE THE PARAGRAPH (The 0.014 culprit) */
main p {
  display: block;
  line-height: 26px !important;
  margin: 0;
  padding-bottom: 24px;
  /* LOCK the box to exactly 2 lines of 26px */
  min-height: 52px; 
  height: auto;
  
  contain: layout style paint;
  text-rendering: optimizeSpeed;    
  font-kerning: none;
  text-size-adjust: none;
}

/* --- 2. LAYOUT & COMPONENTS --- */
.container { 
  width: min(92%, 112.5rem); 
  margin-inline: auto; 
  padding-inline: clamp(1.25rem, 4vw, 5rem); 
}

.section { 
  padding-block: clamp(3.75rem, 10vh, 12.5rem); 
  width: 100%;
}

.grid, .grid-auto {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 3rem);
  margin-top: clamp(2.5rem, 5vh, 5rem);
  align-items: stretch;
}

.grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr)); }

.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  padding: clamp(24px, 5vw, 48px);
  border-radius: 12px;
  /* Transitions & shadows DELETED for instant feel */
  contain: content;	
}

.card h3 {
  color: var(--accent);
  font-weight: 800;
  line-height: 1.2;
  font-size: clamp(1.25rem, 2vw + 1rem, 2rem);
  min-height: clamp(3.5rem, 6vw, 5rem);
  display: flex;
  align-items: flex-end;
  margin-bottom: 20px;
  /* Removed text-shadow for 4K clarity */
}

.card p {
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Instant State Change - No transition, no glow */
.card:hover {
  border-color: var(--accent);
  /* Removed transform and box-shadow */
}

/* --- 3. NAVIGATION & HEADER --- */


header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 60px; /* Locked height */
  min-height: 60px;
  contain: size layout; 
  z-index: 1000;
  background: rgba(5, 8, 20, 0.95); 
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center; 
  transform: translateZ(0);
  will-change: transform;
}

@media (min-width: 768px) {
  header {
    height: 70px;
    min-height: 70px;
  }
}

header .container {
  display: flex;
  justify-content: space-between; 
  align-items: center;
  height: 100%;
  width: 100%;
  flex: 1;	
  padding: 0 24px;
  max-width: 1440px; 
  margin: 0 auto;
}

#header-nav {
    display: block;
    min-height: 60px; 
    width: 100%;
    contain: layout size;
}

@media (min-width: 768px) {
    #header-nav {
        min-height: 70px;
    }
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  /* LOCK THE BOX */
  height: 100%; 
  flex-shrink: 0;
  /* Performance: Keeps the nav from affecting the logo's paint area */
  contain: layout style; 
}

.logo {
  /* CRITICAL: Stops the logo from squishing */
  flex-shrink: 0; 
  display: flex;
  align-items: center;
}

.logo a {
  font-weight: 500;
  font-size: 24px; 
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  height: 32px; 
  contain: layout paint;
}

@media (min-width: 2560px) {
  .logo a {
    font-size: 32px;
    height: 40px;
  }
}

#nav-links {
  display: flex;
  gap: 32px; 
  align-items: center;
}

#nav-links a {
  color: var(--text-secondary);
  font-weight: 400; 
  font-size: 16px; 
  text-decoration: none;
  letter-spacing: 0.02em;
  opacity: 0.85;
  position: relative;
  display: inline-block;
  transition: opacity 0.2s ease;
}

#nav-links a:hover,
#nav-links a.active {
  opacity: 1;
  color: #fff;
}

#nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
  border-radius: 2px;
}

#nav-links a.btn-glow {
  padding: 8px 20px;
  background: rgba(46, 123, 255, 0.1);
  color: var(--text-primary);
  border: 1px solid var(--accent);
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

#nav-links a.btn-glow:hover {
  background: rgba(46, 123, 255, 0.2);
  border-color: #fff;
  transform: translateY(-1px);
}

/* --- HAMBURGER BASE STYLE --- */
.hamburger { 
    display: none; /* Hidden on Desktop */
    flex-direction: column; 
    gap: 6px; 
    cursor: pointer; 
    border: none; 
    background: none; 
    padding: 5px;
    z-index: 2100;
}

.hamburger span { 
    display: block;
    width: 26px; 
    height: 2px; 
    background: #fff; /* Make sure this is white! */
    transition: all 0.3s ease; 
}

/* --- MOBILE VIEW --- */
@media (max-width: 768px) {
    .hamburger { 
        display: flex; /* Shown on Mobile */
    }
    
    /* ... the rest of your mobile logic ... */
}

/* --- MOBILE LOGIC --- */
@media (max-width: 768px) {
  .hamburger { display: flex; z-index: 2100; }

  #nav-links {
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    width: 100%;
    height: 100vh;
    background: #050814; 
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    visibility: hidden;
  }

  #nav-links.active { 
    transform: translateX(0);
    visibility: visible;
  }

  /* --- HAMBURGER ANIMATION TO 'X' --- */
  .hamburger.active span:nth-child(1) { 
      transform: translateY(8px) rotate(45deg); 
  }

  .hamburger.active span:nth-child(2) { 
      opacity: 0; 
  }

  .hamburger.active span:nth-child(3) { 
      transform: translateY(-8px) rotate(-45deg); 
  }
}

/* --- 4. BUTTONS & FORMS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 1.5vh, 1.25rem) clamp(1.75rem, 3vw, 3.5rem);
  border-radius: 8px;
  font-weight: 600;
  font-size: clamp(1rem, 1.1vw, 1.25rem);
  gap: clamp(8px, 1vw, 14px);
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn-glow {
  background: rgba(46, 123, 255, 0.05); /* Very subtle fill */
  color: var(--text-primary);
  /* The razor-sharp 4K border */
  border: 1px solid var(--accent); 
  border-radius: 8px;
  
  /* THE SECRET: Multi-layered shadow for that specific glow in your photo */
  /* Layer 1: Inner sharp glow | Layer 2: Medium atmospheric glow | Layer 3: Far-reaching soft glow */
  box-shadow: 
    0 0 10px rgba(46, 123, 255, 0.3), 
    0 0 20px rgba(46, 123, 255, 0.2),
    inset 0 0 5px rgba(46, 123, 255, 0.1);

  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-glow:hover {
  background: rgba(46, 123, 255, 0.15);
  transform: translateY(-2px);
  /* Intensify the halo on hover */
  box-shadow: 
    0 0 15px rgba(46, 123, 255, 0.5), 
    0 0 30px rgba(46, 123, 255, 0.3),
    inset 0 0 8px rgba(46, 123, 255, 0.2);
  border-color: #fff; /* Optional: brightens the border on hover */
}

/* --- 4a FORMS --- */
input, textarea {
  width: 100%;
  padding: clamp(0.875rem, 1.2vw, 1.5rem);
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid var(--border);
  color: #fff;
  font-size: clamp(1rem, 1.1vw, 1.2rem);
  transition: all 0.3s ease;
}

textarea {
  min-height: clamp(120px, 15vh, 250px);
  resize: vertical;
  font-family: inherit;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-elevated);
  box-shadow: 0 0 20px rgba(46, 123, 255, 0.15);
}

input::placeholder, textarea::placeholder {
  color: var(--text-secondary);
  opacity: 0.5;
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 2vh, 2rem);
  margin-top: clamp(2rem, 4vh, 4rem);
}

.signup-form.card {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid var(--border);
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 20px;
  margin-inline: auto;
  width: min(100%, 35rem); 
}

.signup-form .btn {
  width: 100%;
}


/* --- 5. SPECIALTY (Hero, Status, FAQ) --- */
.hero {
  position: relative;
  padding-block: clamp(8rem, 20vh, 15rem) 0;
  width: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(46, 123, 255, 0.12), transparent 70%), var(--bg);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  display: block;
}


.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-position: top left;
  opacity: 0.15;
  pointer-events: none;
  background-image: 
    linear-gradient(var(--border) 1px, transparent 1px), 
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: clamp(40px, 4vw, 80px) clamp(40px, 4vw, 80px);
  mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start; 
}

.hero-content p {
  font-size: clamp(1.125rem, 1.3vw, 1.5rem);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 55ch; 
  margin-bottom: clamp(2.5rem, 5vh, 4rem);
  letter-spacing: 0.01em;
  text-align: left;
  text-wrap: balance;
  margin-top: 0;
}

.hero-content {
  max-width: 850px; 
  width: 100%;
}

/* Hero buttons */ 
.hero-btns {
  display: flex;
  gap: clamp(1rem, 2vw, 2rem);
  margin-top: 1rem;
  justify-content: flex-start; /* CRITICAL: Aligns buttons left */
  flex-wrap: wrap;
}

/* Secondary Button (The "Ghost" Style) */
.btn-secondary {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-primary);
  color: var(--text-primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
} 


.status-badge {
  font-size: clamp(0.75rem, 0.9vw, 1rem); 
  padding: clamp(6px, 0.8vh, 10px) clamp(12px, 1.2vw, 20px);
  border-radius: 6px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-badge::before {
  content: '';
  width: clamp(6px, 0.6vw, 10px);
  height: clamp(6px, 0.6vw, 10px);
  background: #10b981;
  border-radius: 50%;
  margin-right: 12px;
  will-change: transform, opacity;
  animation: pulse-gpu 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes pulse-gpu {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  70% {
    /* Mimic the glow by scaling a solid circle and fading it out */
    transform: scale(2.5); 
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

.faq-section { padding-bottom: clamp(40px, 5vw, 80px); margin-bottom: clamp(60px, 8vw, 120px); }

details { background: var(--bg-glass); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 20px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); transition: all 0.3s ease; }

details[open] { border-color: var(--accent); background: linear-gradient( to bottom, var(--bg-elevated), rgba(255, 255, 255, 0.02) ); }

summary { padding: clamp(1.2rem, 2vw, 2rem); font-size: clamp(1.1rem, 1.3vw, 1.5rem); font-weight: 400; cursor: pointer; list-style: none; position: relative; transition: transform 0.2s ease, color 0.3s ease; }

summary:hover { color: var(--accent); }

summary::-webkit-details-marker { display: none; }
summary { list-style: none; }
summary::marker { display: none; }
summary:focus { outline: 2px solid var(--accent); outline-offset: 4px; }

/* The +/- Icon Logic */
summary::after {
  content: '+';
  position: absolute;
  right: clamp(1.2rem, 2vw, 2.5rem);
  color: var(--accent);
  font-size: 1.5rem;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

details[open] summary::after { transform: rotate(45deg); }

details:hover summary { transform: translateY(-1px); }

/* The Answer Box */
details p {
  padding: 0 clamp(1.2rem, 2vw, 2rem) clamp(1.2rem, 2vw, 2rem);
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.1vw, 1.25rem);
  line-height: 1.7;
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

details[open] p { opacity: 1; transform: translateY(0); }

/* --- 6. Cookie --- */
.cookie-banner {
    display: block;
    opacity: 0;
    /* Replacing visibility with pointer-events for GPU compositing */
    pointer-events: none; 
    transform: translateY(20px);
    /* Removed 'visibility' from transition to prevent Forced Reflow */
    transition: opacity 0.4s ease, transform 0.4s ease;
    
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: min(400px, 92vw);
    z-index: 9999;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid var(--border);
    border-radius: 12px;
    /* Tells the browser to use the GPU for this element */
    will-change: opacity, transform; 
    backdrop-filter: blur(8px);
}

.cookie-banner.is-visible {
    opacity: 1;
    pointer-events: auto; /* Re-enable clicking when visible */
    transform: translateY(0px);
}

#acceptCookies.btn.btn-white {
    display: block;
    width: 100%;
    margin-top: 20px;
    padding: 12px 24px;
    background: #fff;
    color: #18264e;
    border: none;
    border-radius: 10px;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: .01em;
    cursor: pointer;
    /* Changed 'all' to specific properties to avoid accidental reflows */
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
    text-align: center;
}

#acceptCookies:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46,123,255,.25);
}

#acceptCookies:active {
    transform: translateY(0);
    background: rgba(255,255,255,.8);
}

/* 4K & Mobile remain the same, just keeping them clean */
@media (min-width: 2560px) {
    .cookie-banner {
        bottom: 48px;
        left: 48px;
        padding: 40px;
        width: 520px;
        border-radius: 20px;
    }
    #acceptCookies.btn {
        font-size: 18px;
        padding: 16px 32px;
        border-radius: 12px;
        margin-top: 24px;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        bottom: 16px;
        left: 4vw;
        padding: 20px;
    }
}

/* ============================================================
   LITE YOUTUBE: 4K & MOBILE OPTIMIZED (2026)
   ============================================================ */

#lite-youtube {
  padding: clamp(4rem, 10vh, 8rem) 0;
}

#lite-youtube .container {
  max-width: var(--container-width, 1200px);
  margin: 0 auto;
  padding: 0 20px;
}

/* The Frame */
.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background-color: #000;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  
}

.video-wrapper:hover {
  border-color: var(--accent);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

lite-youtube {
  display: block;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  pointer-events: auto !important;
  cursor: pointer;
}

/* Nuke library defaults */
lite-youtube * { display: none !important; }

/* The Iframe (4K Sub-pixel fix) */
lite-youtube iframe {
  display: block !important;
  position: absolute;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 100.2% !important; 
  height: 100.2% !important;
  z-index: 10 !important;
  pointer-events: all !important;
  border: 0;
}

/* Custom Play Icon */
.video-wrapper::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(50px, 8vw, 68px);
  height: clamp(35px, 6vw, 48px);
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 68 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M66.52 7.74a8 8 0 00-5.64-5.66C55.5.5 34 .5 34 .5s-21.5 0-26.88 1.58a8 8 0 00-5.64 5.66A83.5 83.5 0 000 24a83.5 83.5 0 001.48 16.26 8 8 0 005.64 5.66C12.5 47.5 34 47.5 34 47.5s21.5 0 26.88-1.58a8 8 0 005.64-5.66A83.5 83.5 0 0068 24a83.5 83.5 0 00-1.48-16.26z' fill='%23ff0000'/%3E%3Cpath d='M45 24L27 14v20' fill='%23fff'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
  z-index: 5;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.2s ease;
  pointer-events: none;
}

.video-wrapper:hover::after { transform: translate(-50%, -50%) scale(1.1); }
.video-wrapper:has(iframe)::after { opacity: 0; visibility: hidden; }

/* Action Button styling */
.yt-action-area { margin-top: 1.5rem; display: flex; }
.yt-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
.yt-btn:hover { color: var(--accent); }
.yt-btn svg { transition: transform 0.2s ease; }
.yt-btn:hover svg { transform: translateX(4px); }

/* =========================
   FOOTER
========================= */
.footer {
  margin-top: clamp(4rem, 10vh, 8rem);
  padding: clamp(3rem, 6vh, 5rem) 0 clamp(2rem, 4vh, 3rem);
  border-top: 1px solid var(--border);
  background: var(--bg-glass);
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-bottom: clamp(2.5rem, 5vh, 4rem);
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Updated to target h3 to match my HTML */
.footer-col h3 {
  font-size: clamp(1.1rem, 1.3vw, 1.4rem); 
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.footer-col p {
  font-size: clamp(0.9rem, 1vw, 1rem);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 25ch; 
  margin-bottom: 0; 
}

.footer-col a {
  font-size: clamp(0.85rem, 0.9vw, 0.95rem);
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 12px;
  display: block;
}

.footer-col a:hover {
  color: var(--accent);
}

/* THE LINE (hr): Restored with Clamp spacing */
.footer-divider {
  border: 0;
  height: 1px;
  background: var(--border); /* Precise 0.06 alpha border */
  margin: clamp(2rem, 4vh, 3rem) 0;
  width: 100%;
  display: block;
}

.footer-bottom {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-bottom p {
  font-size: clamp(0.8rem, 0.85vw, 0.9rem);
  color: var(--text-secondary);
  opacity: 0.6;
  margin-bottom: 0; /* Ensures bottom spacing is clean */
}

.legal-link {
  color: var(--text-primary) !important;
  font-size: clamp(0.8rem, 0.85vw, 0.9rem);
  font-weight: 700;
  text-decoration: none;
}

.legal-link:hover {
  color: var(--accent) !important;
  text-decoration: underline;
}

/* --- FOOTER RESPONSIVE --- */

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-col {
    align-items: center;
  }
  .footer-col p {
    margin-bottom: 20px;
    margin-inline: auto;
  }
}

img,video,canvas,svg{max-width:100%;height:auto}input,textarea,select{max-width:100%}.fluid-text{word-wrap:break-word;overflow-wrap:break-word}