:root {
  --white: #ffffff;
  --blue: #0b63d6;
  --black: #0a0a0a;
  --yellow: #ffcc00;
  --max-width: 1100px;
  --gradient-primary: linear-gradient(135deg, #0b63d6 0%, #0a4a9e 100%);
  --shadow: 0 10px 30px rgba(11, 99, 214, 0.15);
}

* {
  box-sizing: border-box;
}

/* CHANGE 1: Page Background - Now a Dark Blue Gradient */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  background: linear-gradient(145deg, #0a1120 0%, #0b1a30 100%);
  color: var(--black);
  position: relative;
  line-height: 1.6;
}

.container {
  max-width: var(--max-width);
  margin: auto;
  padding: 16px;
}

/* Navigation (Unchanged) */
nav {
  background: var(--blue);
  color: white;
  padding: 12px 0;
  position: relative;
  z-index: 101;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  gap: 12px;
}

.brand {
  font-size: 24px;
  font-weight: bold;
  flex-shrink: 0;
}

.menu {
  display: flex;
  gap: 16px;
  margin-left: auto;
  align-items: center;
  flex-shrink: 0;
  transition: display 0.3s ease;
}

.menu a {
  color: white;
  text-decoration: none;
  padding: 8px;
  font-size: 14px;
}

.lang-select {
  padding: 8px 12px;
  border-radius: 8px;
  border: none;
  background: white;
  color: var(--blue);
  cursor: pointer;
  font-weight: bold;
  flex-shrink: 0;
}

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 24px;
  color: white;
  background: none;
  border: none;
  padding: 8px 12px;
  margin: 0;
  flex-shrink: 0;
  z-index: 103;
  line-height: 1;
  touch-action: manipulation;
}

.hamburger:active {
  opacity: 0.7;
}

@media (max-width: 768px) {
  nav {
      padding: 10px 0;
  }
  .nav-inner {
      padding: 0 12px;
      gap: 8px;
      display: flex;
      justify-content: space-between;
      align-items: center;
  }
  .brand {
      font-size: 18px;
  }
  .hamburger {
      display: block;
      z-index: 1001;
  }
  .menu {
      display: none;
      visibility: hidden;
      position: fixed;
      top: 50px;
      left: 0;
      right: 0;
      flex-direction: column;
      gap: 0;
      background: var(--blue);
      padding: 0;
      border-radius: 0;
      margin: 0 !important;
      margin-left: 0 !important;
      z-index: 1000;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
      max-height: calc(100vh - 50px);
      overflow-y: auto;
      width: 100%;
      transition: visibility 0.2s ease, opacity 0.2s ease;
      opacity: 0;
  }
  .menu.open {
      display: flex;
      visibility: visible;
      opacity: 1;
  }
  .menu a {
      display: block;
      padding: 16px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      width: 100%;
      text-align: left;
      margin: 0;
      font-size: 16px;
      flex-shrink: 0;
  }
  .menu a:last-child {
      border-bottom: none;
  }
  .lang-select {
      padding: 6px 10px;
      font-size: 12px;
      order: 3;
  }
}

/* Hero Section (Unchanged) */
.hero {
  text-align: center;
  padding: 48px 24px;
  background: linear-gradient(135deg, rgba(11, 99, 214, 0.95) 0%, rgba(10, 74, 158, 0.95) 100%), url('/static/img/hero-bg.png');
  background-size: cover;
  background-position: center;
  color: white;
  border-radius: 16px;
  margin: 24px 0;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero h1 {
  font-size: 48px;
  margin: 24px 0 16px;
  word-break: break-word;
  font-weight: 700;
  letter-spacing: -0.5px;
  position: relative;
  z-index: 1;
}

.hero p {
  font-size: 18px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
  opacity: 0.95;
}

/* CHANGE 2: Countdown Section - Light Blue with Cloud Effect */
.countdown {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  background: linear-gradient(145deg, #d4e4ff, #b9d3ff);
  padding: 48px 24px;
  border-radius: 40px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

/* Cloud effect overlay */
.countdown::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -10%;
  width: 120%;
  height: 160%;
  background: radial-gradient(ellipse at 20% 30%, rgba(255, 255, 245, 0.5) 0%, rgba(200, 220, 250, 0.2) 60%);
  pointer-events: none;
  border-radius: 50%;
}

/* Decorative cloud text */
.countdown::after {
  content: "☁️ ☁️ ☁️";
  position: absolute;
  bottom: 15px;
  right: 20px;
  font-size: 60px;
  opacity: 0.3;
  pointer-events: none;
}

.box {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(8px);
  color: #0f3b6f;
  padding: 24px 20px;
  border-radius: 28px;
  flex: 0 1 auto;
  min-width: 90px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08), inset 0 1px 0 white;
}

.box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12), inset 0 1px 0 white;
  background: rgba(255, 255, 255, 0.8);
}

.box div {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 2px;
  color: #0a4a8a;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}

.box small {
  font-size: 13px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: #1a5a9e;
}

/* Buttons (Unchanged) */
.btn {
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.btn-primary {
  background: var(--blue);
  color: white;
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-ghost {
  border: 2px solid var(--blue);
  color: var(--white);
  background: transparent;
}

@media (max-width: 768px) {
  .btn {
      padding: 12px 16px;
      font-size: 16px;
      width: 100%;
      text-align: center;
  }
}

/* CHANGE 3: Info Sections - White Background with Blue Text */
.info-section {
  background: var(--white);
  border-radius: 20px;
  margin: 28px 0;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-section:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.15);
}

.info-section h2 {
  background: linear-gradient(135deg, var(--blue) 0%, #0a4a9e 100%);
  color: var(--white);
  margin: 0;
  padding: 20px 28px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.info-section h3 {
  color: var(--blue);
  font-size: 1.3rem;
  margin: 24px 0 12px 0;
  border-left: 5px solid var(--blue);
  padding-left: 16px;
}

.info-card {
  padding: 28px 32px;
  background: var(--white);
}

.info-card p {
  color: #1e293b;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.info-card a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
}

/* Learn More button */
.learn-more-wrapper {
  text-align: center;
  margin-top: 24px;
}

.learn-more-btn {
  display: inline-block;
  background: linear-gradient(105deg, #0b63d6, #0a4a9e);
  color: #fff !important;
  padding: 12px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s ease;
  box-shadow: none !important;
}

.learn-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: none !important;
}

/* Marketing text inside swap section */
.marketing-text {
  background: #eef4ff;
  border-radius: 20px;
  padding: 20px 28px;
  margin-bottom: 28px;
  border-left: 5px solid var(--blue);
}

.marketing-text p {
  color: #1e293b;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.highlight {
  color: var(--blue);
  font-weight: 700;
  background: rgba(11, 99, 214, 0.1);
  padding: 2px 6px;
  border-radius: 8px;
  display: inline-block;
}

/* Horizontal swap buttons */
.swap-buttons-group {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: stretch;
}

.swap-option-wrapper {
  flex: 1;
  min-width: 240px;
  background: #f8fafc;
  border-radius: 20px;
  padding: 20px 24px 24px 24px;
  text-align: center;
  transition: all 0.25s ease;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.swap-option-wrapper:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
  box-shadow: 0 12px 24px rgba(11, 99, 214, 0.12);
}

.swap-label {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 18px;
}

.swap-option-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(105deg, #0b63d6, #0a4a9e);
  color: #fff !important;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.2s ease;
  width: 100%;
  box-shadow: none !important;
}

.swap-option-btn:hover {
  background: linear-gradient(105deg, #1a73e8, #0b5bc9);
  transform: scale(1.02);
  box-shadow: none !important;
}

.arrow {
  font-size: 1.1rem;
  transition: transform 0.2s;
}

.swap-option-btn:hover .arrow {
  transform: translateX(4px);
}

/* Footer (Unchanged) */
footer {
  background: var(--blue);
  color: white;
  padding: 24px 0;
  margin-top: 24px;
}

.footer-grid {
  display: flex;
  justify-content: space-around;
  gap: 24px;
  flex-wrap: wrap;
  max-width: var(--max-width);
  margin: auto;
  padding: 16px;
}

.footer-grid div {
  flex: 1;
  min-width: 150px;
}

.footer-grid strong {
  font-size: 14px;
}

.footer-grid p {
  margin: 6px 0;
  font-size: 12px;
}

@media (max-width: 768px) {
  footer {
      padding: 16px 0;
      margin-top: 16px;
  }
  .footer-grid {
      gap: 12px;
      padding: 12px;
      flex-direction: column;
      align-items: center;
      text-align: center;
  }
  .footer-grid div {
      min-width: 100%;
  }
  .info-section h2 {
      font-size: 20px;
      padding: 16px 20px;
  }
  .info-card {
      padding: 20px;
  }
  .swap-buttons-group {
      flex-direction: column;
      gap: 16px;
  }
  .countdown {
      padding: 28px 16px;
      gap: 12px;
  }
  .box {
      min-width: 70px;
      padding: 14px 12px;
  }
  .box div {
      font-size: 28px;
  }
  .countdown::after {
      font-size: 40px;
      bottom: 5px;
      right: 10px;
  }
}

@media (max-width: 480px) {
  .container {
      padding: 8px;
  }
  .hero {
      padding: 24px 16px;
      margin: 16px 0;
  }
  .hero h1 {
      font-size: 28px;
  }
  .hero p {
      font-size: 14px;
  }
  .info-section h2 {
      font-size: 18px;
      padding: 14px 16px;
  }
  .info-section h3 {
      font-size: 1.1rem;
  }
  .info-card {
      padding: 16px;
  }
  .info-card p {
      font-size: 0.9rem;
  }
  .marketing-text {
      padding: 14px 18px;
  }
  .swap-label {
      font-size: 1rem;
  }
  .swap-option-btn {
      padding: 10px 20px;
      font-size: 0.9rem;
  }
  .box div {
      font-size: 22px;
  }
  .box small {
      font-size: 10px;
  }
}