/* ---------- RESET & BASE ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: 'Inter', sans-serif;
  background: #071B35;
  color: #FFFFFF;
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
}
:root {
  --navy-deep: #0B2A52;
  --navy-dark: #071B35;
  --red: #ED1B2F;
  --white: #FFFFFF;
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #071B35; }
::-webkit-scrollbar-thumb { background: #1A3A5C; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #2A4A6C; }

/* ---------- LOADER ---------- */
#loader {
  position: fixed; inset: 0; background: #071B35;
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), visibility 0.8s;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-ring {
  width: 64px; height: 64px; border-radius: 50%;
  border: 3px solid rgba(237,27,47,0.2);
  border-top-color: #ED1B2F; border-right-color: #ED1B2F;
  animation: spin 0.9s cubic-bezier(0.6,0.2,0.4,0.8) infinite;
  box-shadow: 0 0 30px rgba(237,27,47,0.15);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- BACKGROUND ---------- */
.bg-layer { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.bg-gradient { background: radial-gradient(circle at 30% 40%, #0B2A52 0%, #071B35 70%, #030B16 100%); opacity: 0.9; }
.bg-grid {
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 80%);
}
.bg-ambient {
  background:
    radial-gradient(circle at 20% 30%, rgba(237,27,47,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(11,42,82,0.4) 0%, transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(237,27,47,0.04) 0%, transparent 60%);
  animation: ambientShift 18s ease-in-out infinite alternate;
}
@keyframes ambientShift {
  0% { transform: scale(1) translate(0,0); opacity: 0.7; }
  50% { transform: scale(1.1) translate(2%,-2%); opacity: 1; }
  100% { transform: scale(1) translate(-1%,1%); opacity: 0.8; }
}
#particles-canvas { position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: 0.45; }

/* ---------- HEADER ---------- */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  padding: 0 2.5rem; height: 80px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(7,27,53,0.55);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.4s ease;
}
.header-left { display: flex; align-items: center; gap: 1rem; }
.logo-img { height: 42px; width: auto; display: block; filter: drop-shadow(0 0 12px rgba(237,27,47,0.15)); transition: filter 0.3s ease; }
.logo-img:hover { filter: drop-shadow(0 0 20px rgba(237,27,47,0.3)); }
.header-center { display: flex; align-items: center; gap: 2rem; }
.status-badge {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: #ED1B2F; background: rgba(237,27,47,0.12);
  border: 1px solid rgba(237,27,47,0.25);
  padding: 0.4rem 1.1rem; border-radius: 100px; white-space: nowrap;
  animation: badgePulse 3s ease-in-out infinite;
}
@keyframes badgePulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(237,27,47,0.1); }
  50% { box-shadow: 0 0 0 6px rgba(237,27,47,0); }
}
.nav-links { display: flex; gap: 1.8rem; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.65); text-decoration: none;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.04em;
  transition: color 0.25s ease; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1.5px; background: #ED1B2F; transition: width 0.3s ease;
}
.nav-links a:hover { color: #FFFFFF; }
.nav-links a:hover::after { width: 100%; }
.header-right { display: flex; align-items: center; gap: 0.5rem; }
.lang-btn {
  background: none; border: none;
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em;
  cursor: pointer; padding: 0.3rem 0.4rem;
  transition: color 0.25s ease; font-family: 'Inter', sans-serif;
}
.lang-btn.active { color: #FFFFFF; }
.lang-btn:hover { color: #ED1B2F; }
.lang-divider { color: rgba(255,255,255,0.15); font-size: 0.8rem; user-select: none; }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 7rem 2rem 4rem; z-index: 2; perspective: 1200px;
}
.hero-content {
  max-width: 900px; width: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
}
.eyebrow {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.45);
  margin-bottom: 0.5rem; opacity: 0;
  animation: fadeUp 1s 0.5s cubic-bezier(0.16,1,0.3,1) forwards;
}
.headline {
  font-size: clamp(2.8rem, 8vw, 5.2rem);
  font-weight: 800; line-height: 1.05; letter-spacing: -0.03em;
  color: #FFFFFF; opacity: 0;
  animation: fadeUp 1s 0.7s cubic-bezier(0.16,1,0.3,1) forwards;
}
.headline .red { color: #ED1B2F; position: relative; display: inline-block; }
.headline .red::after {
  content: ''; position: absolute; bottom: 0.05em; left: 0;
  width: 100%; height: 0.08em; background: rgba(237,27,47,0.3); border-radius: 4px;
}
.supporting-headline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.7); max-width: 600px; line-height: 1.6;
  opacity: 0; animation: fadeUp 1s 0.9s cubic-bezier(0.16,1,0.3,1) forwards;
}
.description {
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  color: rgba(255,255,255,0.5); max-width: 650px; line-height: 1.7;
  opacity: 0; animation: fadeUp 1s 1.1s cubic-bezier(0.16,1,0.3,1) forwards;
}
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ---------- BUTTONS ---------- */
.cta-group {
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
  margin-top: 1rem; opacity: 0;
  animation: fadeUp 1s 1.3s cubic-bezier(0.16,1,0.3,1) forwards;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.6rem; padding: 0.9rem 2.2rem; border-radius: 100px;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.03em;
  text-decoration: none; cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
  border: none; font-family: 'Inter', sans-serif;
  position: relative; overflow: hidden;
}
.btn-primary {
  background: #ED1B2F; color: #FFFFFF;
  box-shadow: 0 8px 28px -6px rgba(237,27,47,0.4);
}
.btn-primary:hover {
  background: #d4182a; transform: translateY(-2px);
  box-shadow: 0 14px 36px -8px rgba(237,27,47,0.55);
}
.btn-secondary {
  background: transparent; color: rgba(255,255,255,0.8);
  border: 1.5px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  border-color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px); color: #FFFFFF;
}
.btn:focus-visible { outline: 2px solid #ED1B2F; outline-offset: 4px; }

/* ---------- COUNTDOWN ---------- */
.countdown-wrapper {
  margin-top: 2.5rem; width: 100%; max-width: 700px;
  opacity: 0; animation: fadeUp 1s 1.5s cubic-bezier(0.16,1,0.3,1) forwards;
}
.countdown-label {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.25em;
  text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 1.2rem;
}
.countdown-grid { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; transform-style: preserve-3d; }
.countdown-card {
  background: rgba(11,42,82,0.35);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 1.2rem 0.8rem;
  min-width: 90px; flex: 1 1 0; max-width: 140px; text-align: center;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s ease, border-color 0.4s ease;
  transform-style: preserve-3d; will-change: transform; opacity: 0;
  animation: cardIn 0.8s cubic-bezier(0.16,1,0.3,1) forwards;
}
.countdown-card:nth-child(1) { animation-delay: 1.6s; }
.countdown-card:nth-child(2) { animation-delay: 1.7s; }
.countdown-card:nth-child(3) { animation-delay: 1.8s; }
.countdown-card:nth-child(4) { animation-delay: 1.9s; }
@keyframes cardIn {
  0% { opacity: 0; transform: translateY(20px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.countdown-card:hover {
  border-color: rgba(237,27,47,0.3);
  box-shadow: 0 28px 52px -12px rgba(237,27,47,0.15), 0 0 0 1px rgba(237,27,47,0.1);
}
.countdown-number {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; letter-spacing: -0.02em; color: #FFFFFF;
  line-height: 1.1; font-variant-numeric: tabular-nums;
}
.countdown-unit {
  font-size: 0.55rem; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: rgba(255,255,255,0.35); margin-top: 0.4rem;
}

/* ---------- LOGO SECTION ---------- */
.logo-section {
  margin-top: 3rem; display: flex; flex-direction: column; align-items: center;
  gap: 0.8rem; opacity: 0;
  animation: fadeUp 1s 0.3s cubic-bezier(0.16,1,0.3,1) forwards;
}
.logo-main {
  height: 200px; width: auto;
  filter: drop-shadow(0 0 30px rgba(237,27,47,0.12)) drop-shadow(0 0 60px rgba(11,42,82,0.3));
  transition: filter 0.5s ease;
}
.logo-main:hover {
  filter: drop-shadow(0 0 40px rgba(237,27,47,0.2)) drop-shadow(0 0 80px rgba(11,42,82,0.4));
}

/* ---------- NETWORK VISUAL ---------- */
.network-visual {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  opacity: 0.25; overflow: hidden;
}
.network-svg {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 140vmin; height: 140vmin; max-width: 1200px; max-height: 1200px;
  animation: slowRotate 120s linear infinite;
}
@keyframes slowRotate {
  from { transform: translate(-50%,-50%) rotate(0deg); }
  to { transform: translate(-50%,-50%) rotate(360deg); }
}

/* ---------- INFO SECTION ---------- */
.info-section {
  position: relative; z-index: 2;
  padding: 6rem 2rem; max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.info-card {
  background: rgba(11,42,82,0.2);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px; padding: 2.5rem 2rem;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), border-color 0.4s ease, box-shadow 0.4s ease;
  position: relative; overflow: hidden;
}
.info-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, #ED1B2F, transparent);
  opacity: 0; transition: opacity 0.4s ease;
}
.info-card:hover {
  transform: translateY(-6px);
  border-color: rgba(237,27,47,0.2);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
}
.info-card:hover::before { opacity: 1; }
.info-number { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em; color: #ED1B2F; margin-bottom: 1rem; }
.info-title { font-size: 1.1rem; font-weight: 700; color: #FFFFFF; margin-bottom: 0.75rem; letter-spacing: -0.01em; }
.info-text { font-size: 0.9rem; color: rgba(255,255,255,0.5); line-height: 1.7; }

/* ---------- CONTACT FORM ---------- */
.contact-section {
  position: relative; z-index: 2; padding: 6rem 2rem; text-align: center;
  background: linear-gradient(180deg, transparent 0%, rgba(11,42,82,0.15) 50%, transparent 100%);
}
.contact-inner { max-width: 700px; margin: 0 auto; }
.contact-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 2rem;
}
.contact-title .red { color: #ED1B2F; }
.contact-form {
  text-align: left; background: rgba(11,42,82,0.25);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px; padding: 2.5rem 2rem;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; margin-bottom: 1.2rem; }
.form-group label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.05em;
  color: rgba(255,255,255,0.6); margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.form-group input, .form-group textarea {
  background: rgba(7,27,53,0.5);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px; padding: 0.85rem 1rem;
  color: #FFFFFF; font-family: 'Inter', sans-serif; font-size: 0.9rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: #ED1B2F;
  box-shadow: 0 0 0 3px rgba(237,27,47,0.15);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-submit { width: 100%; margin-top: 0.5rem; }
.btn-submit .btn-loader {
  display: none; width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #FFFFFF; border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn-submit.loading .btn-text { display: none; }
.btn-submit.loading .btn-loader { display: inline-block; }
.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; }
.form-response {
  margin-top: 1rem; padding: 0.85rem 1rem; border-radius: 10px;
  font-size: 0.85rem; display: none;
}
.form-response.success {
  display: block; background: rgba(46,204,113,0.12);
  border: 1px solid rgba(46,204,113,0.3); color: #7EE2A8;
}
.form-response.error {
  display: block; background: rgba(237,27,47,0.12);
  border: 1px solid rgba(237,27,47,0.3); color: #FF8A97;
}
.hp-field { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; overflow: hidden; }

.contact-details {
  display: flex; gap: 2.5rem; justify-content: center;
  flex-wrap: wrap; margin-top: 2rem; font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.contact-details span { display: flex; align-items: center; gap: 0.5rem; }
.contact-details i { color: #ED1B2F; font-size: 0.75rem; opacity: 0.7; }
.contact-details a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.25s ease; }
.contact-details a:hover { color: #ED1B2F; }

/* ---------- FOOTER ---------- */
.site-footer {
  position: relative; z-index: 2;
  padding: 3rem 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.04);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem;
  background: rgba(7,27,53,0.6); backdrop-filter: blur(8px);
}
.footer-left { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.4); }
.footer-status { font-size: 0.65rem; color: rgba(255,255,255,0.25); letter-spacing: 0.06em; }
.footer-links { display: flex; gap: 1.8rem; list-style: none; flex-wrap: wrap; }
.footer-links a {
  color: rgba(255,255,255,0.45); text-decoration: none;
  font-size: 0.75rem; transition: color 0.25s ease;
}
.footer-links a:hover { color: #ED1B2F; }

/* ---------- REVEAL ---------- */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- MOUSE GLOW ---------- */
.mouse-glow {
  position: fixed; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(237,27,47,0.06) 0%, transparent 70%);
  pointer-events: none; z-index: 1;
  transform: translate(-50%,-50%);
  transition: opacity 0.5s ease;
  will-change: left, top;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .info-section { grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
  .info-card { padding: 2rem 1.5rem; }
}
@media (max-width: 768px) {
  .site-header { padding: 0 1.2rem; height: 68px; }
  .nav-links, .header-center { display: none; }
  .logo-img { height: 34px; }
  .hero { padding: 6rem 1.2rem 3rem; }
  .headline { font-size: clamp(2.2rem, 10vw, 3.2rem); }
  .countdown-card { min-width: 70px; padding: 1rem 0.5rem; border-radius: 12px; }
  .countdown-number { font-size: 1.5rem; }
  .info-section { grid-template-columns: 1fr; gap: 1rem; padding: 4rem 1.2rem; }
  .info-card { padding: 1.8rem 1.5rem; }
  .site-footer { flex-direction: column; align-items: flex-start; padding: 2rem 1.2rem; }
  .footer-links { gap: 1.2rem; }
  .contact-details { flex-direction: column; gap: 0.8rem; align-items: center; }
  .mouse-glow { display: none; }
  .btn { padding: 0.8rem 1.6rem; font-size: 0.8rem; }
  .cta-group { flex-direction: column; width: 100%; max-width: 280px; }
  .cta-group .btn { width: 100%; }
  .logo-main { height: 180px; }
  .contact-form { padding: 1.8rem 1.3rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 480px) {
  .site-header { padding: 0 1rem; height: 60px; }
  .logo-img { height: 28px; }
  .lang-btn { font-size: 0.7rem; }
  .hero { padding: 5rem 1rem 2rem; }
  .countdown-grid { gap: 0.5rem; }
  .countdown-card { min-width: 60px; padding: 0.8rem 0.3rem; border-radius: 10px; }
  .countdown-number { font-size: 1.3rem; }
  .countdown-unit { font-size: 0.45rem; }
  .contact-section { padding: 4rem 1rem; }
}
@media (max-width: 375px) {
  .countdown-card { min-width: 52px; padding: 0.7rem 0.2rem; }
  .countdown-number { font-size: 1.1rem; }
  .btn { padding: 0.7rem 1.2rem; font-size: 0.75rem; }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .bg-ambient, .network-svg, .status-badge { animation: none; }
  .countdown-card, .eyebrow, .headline, .supporting-headline,
  .description, .cta-group, .countdown-wrapper, .logo-section {
    opacity: 1; animation: none;
  }
}