:root {
  --bg: #F7F7FB;
  --surface: #FFFFFF;
  --ink: #0A0A0A;
  --muted: #6B7280;
  --primary: #0F2744;
  --primary-ink: #FFFFFF;
  --secondary: #2563EB;
  --accent: #F59E0B;
  --glass: rgba(15, 39, 68, 0.55);
  --radius: 18px;
  --white: #FFFFFF;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6, .mono {
  font-family: 'JetBrains Mono', 'Fira Code', 'Source Code Pro', monospace;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Header */
.site-header {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
}


.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  color: var(--primary);
}

.logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
}

.nav {
  display: flex;
  gap: 14px;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--primary);
  transition: all 0.3s ease;
  opacity: 0.85;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 500;
  position: relative;
}

.nav-link:hover {
  opacity: 1;
  color: var(--accent);
  background: rgba(245, 158, 11, 0.1);
}

.nav-link.is-active {
  opacity: 1;
  color: var(--accent);
  background: rgba(245, 158, 11, 0.1);
  font-weight: 600;
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.button {
  background: var(--primary);
  color: var(--white);
  transition: all 0.3s ease;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 700;
  border: 2px solid var(--primary);
}

.button:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.button--sm {
  font-size: 13px;
  padding: 8px 14px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.background {
  position: absolute;
  inset: 0;
  display: flex;
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: var(--accent-light);
  opacity: 0.15;
  border-radius: 50%;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 150px;
  height: 150px;
  background: var(--primary-light);
  opacity: 0.1;
  border-radius: 50%;
  z-index: 0;
}


.bg-part {
  flex: 1;
  background-size: cover;
  background-position: center;
  filter: brightness(68%);
}

.china {
  background-image: url("https://images.unsplash.com/photo-1544989164-31dc3c645987?q=80&w=1600&auto=format&fit=crop");
}

.france {
  background-image: url("https://images.unsplash.com/photo-1502602898657-3e91760cbb34?q=80&w=1600&auto=format&fit=crop");
}

.usa {
  background-image: url("https://images.unsplash.com/photo-1477959858617-67f85cf4f1df?q=80&w=1600&auto=format&fit=crop");
}

/* Title in hero */
.overlay {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #111827;
  padding: 0 1rem;
}

.display {
  font-size: clamp(48px, 12vw, 160px);
  font-weight: 900;
  margin: 0;
  color: #E5E7EB;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.tagline {
  margin-top: 0.75rem;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--primary);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.7);
  padding: 8px 16px;
  border-radius: 20px;
  display: inline-block;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

/* langugae options */

.table-section {
  padding: 24px 16px 32px;
}

h1{
  margin: 0 0 16px;
  font-size: clamp(22px, 3.2vw, 32px);
  color: var(--primary);
  font-weight: 800;
  text-align: center;
}

.table-wrapper {
  padding-inline: 20px;
  background: var(--surface);
  border: 3px solid var(--accent);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0,0,0,.06);
  margin-inline: auto;
}

.languages{
  width: 100%;
  border-collapse: collapse;
  background: transparent;
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0,0,0,.06);
}

.languages thead th{
  text-align: center;
  padding: 14px 16px;
  background: linear-gradient(0deg, rgba(79,140,255,0.06), rgba(79,140,255,0.06));
  border-bottom: 3px solid var(--accent);
  color: var(--primary);
  font-size: 20px;
}

.languages tbody td{
  padding: 14px 16px;
  vertical-align: top;
  font-size: clamp(14px, 2vw, 16px);
  color: var(--ink);
}

.languages tbody tr + tr td{
  border-top: 1px solid var(--accent);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

/* wlecome */
.welcome {
  padding: 28px 0 40px;
  position: relative;
  background: linear-gradient(135deg, var(--bg) 0%, var(--gray-100) 100%);
  border-bottom: 2px solid var(--accent);
}

.welcome-topbar {
  height: 18px;
  background: var(--primary);
  border-radius: 6px 6px 0 0;
  margin-bottom: 16px;
}

.welcome-title {
  margin: 0 0 8px;
  font-size: clamp(28px, 4.2vw, 40px);
  font-weight: 900;
  letter-spacing: .01em;
  color: var(--primary);
  position: relative;
  display: inline-block;
}


.welcome-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}

.welcome-sub {
  margin: 6px 0;
  font-size: 14px;
  opacity: .85;
  text-align: left;
  color: var(--primary);
  border-left: 3px solid var(--accent-light);
  padding-left: 15px;
}


/* objection busters */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card {
  padding: 18px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 240px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--accent);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-light);
}

.icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.2px solid rgba(2, 8, 23, .35);
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  color: rgba(2, 8, 23, .9);
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--accent);
  transition: all 0.3s ease;
}

.feature-card:hover .icon-wrap {
  background: var(--accent);
  transform: rotate(5deg) scale(1.1);
}

.feature-card h4 {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.feature-card h4::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-light);
  border-radius: 1px;
}


.feature-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

/* steps (how it works) */
.how {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--bg) 0%, var(--gray-100) 100%);
  border-top: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
}

.how-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}

.how-title {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  margin: 0 0 10px;
  position: relative;
  padding-bottom: 15px;
  color: var(--primary);
}

.how-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  width: 100%;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  background: var(--white);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--gray-200);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-size: 18px;
  font-weight: 600;
}

.steps li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(245, 158, 11, 0.05) 100%);
  z-index: 0;
}

.steps li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-light);
}

.steps .mono {
  font-weight: 800;
  color: var(--accent);
  margin-right: 8px;
}

/* foot */
.footer {
  background: var(--primary);
  color: var(--white);
  border-top: 3px solid var(--accent);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-brand strong {
  font-size: 24px;
  font-weight: 800;
}

.footer-brand p {
  opacity: 0.9;
  line-height: 1.6;
  max-width: 300px;
}

.footer-block h4 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 20px;
  padding-bottom: 10px;
  color: var(--white);
  position: relative;
  display: inline-block;
}

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

.footer-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-block li {
  margin-bottom: 12px;
}

.footer-block a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.2s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-block a:hover {
  opacity: 1;
  color: var(--accent);
}

.footer-block i {
  width: 20px;
  text-align: center;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px 20px 0;
}

.footer-bottom p {
  margin: 0;
  opacity: 0.8;
  font-size: 14px;
}

.socials {
  display: flex;
  gap: 15px;
}

.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 18px;
}

.socials a:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

.social-icons {
  display: flex;
  gap: 10px;
  fill: rgb(193, 193, 255);
}

.back-to-top {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.back-to-top:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-3px);
}

/* Mobile Adjustments */

@media (max-width: 768px) {
  :root {
    --radius: 12px;
  }
  
  body {
    font-size: 14px;
  }
  
  h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
  }
  }

  /* Header adjustments */
  .site-header {
    padding: 12px 16px;
    flex-direction: column;
    align-items: stretch;
  }
  
  .brand {
    margin-bottom: 10px;
    justify-content: center;
  }
  
  .logo {
    width: 60px;
    height: 60px;
  }
  
  .nav {
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0;
    width: 100%;
    order: 0;
  }
  
  .nav-link {
    padding: 8px 12px;
    font-size: 14px;
    margin: 2px;
  }
  
  /* Hero adj */
  .hero {
    min-height: 70vh;
  }
  
  .display {
    font-size: clamp(36px, 10vw, 80px);
  }
  
  .tagline {
    font-size: 12px;
    padding: 6px 12px;
  }

  /* table adj */
  .table-section {
    padding: 20px 12px 28px;
  }
  
  h1 {
    margin: 0 0 12px;
    font-size: clamp(20px, 4vw, 26px); 
  }
  
  .table-wrapper {
    padding-inline: 12px; 
    border-width: 2px; 
    border-radius: 16px; 
  }
  
  .languages {
    border-radius: 16px;
  }
  
  .languages thead th {
    padding: 12px 8px;
    font-size: 18px;
  }
  
  .languages tbody td {
    padding: 12px 8px;
    font-size: clamp(14px, 3vw, 16px);

  }
  .track {
    height: 200px;
  }
  
  .slide h2 {
    margin-bottom: 0.8rem;
  }
  
  /* Navigation button adj */
  .nav-btn {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }
  
  /* busters adj */
  .features {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  
  .feature-card {
    min-height: 200px;
    padding: 16px 12px;
  }
  
  /* steps adj */
  .steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .steps li {
    padding: 20px;
    font-size: 16px;
  }
  
  /* foot adjustments */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  
  .footer-brand {
    align-items: center;
  }
  
  .footer-block h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .socials {
    justify-content: center;
  }

@media (max-width: 480px) {
  /* teeny tiny devices */
  .site-header {
    padding: 10px 12px;
  }
  
  .brand {
    font-size: 14px;
  }
  
  .nav {
    display: flex; 
    flex-wrap: wrap; 
    gap: 10px; 
  }
    .nav a {
      display: inline-block !important;
    }
  .nav-link {
    padding: 6px 10px;
    font-size: 12px;
  }
  
  .button {
    padding: 8px 12px;
    font-size: 12px;
  }
  
  .hero {
    min-height: 60vh;
  }
  
  .slides {
    padding: 16px 16px 42px;
  }
  
  .track {
    height: 180px;
  }
  
  .slide p {
    font-size: 13px;
  }
  
  /* busters on very teeny screens */
  .features {
    grid-template-columns: 1fr;
  }
  
  /* Welcome section */
  .welcome-title {
    font-size: 24px;
  }
  
  .welcome-sub {
    font-size: 13px;
  }
  
  /* steps adj tiny*/
  .how-title {
    font-size: 26px;
  }
  
  .steps li {
    padding: 16px;
    font-size: 15px;
  }
  
  /* footies */
  .footer-logo {
    width: 80px;
    height: 80px;
  }
  
  .socials a {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Improve touch targets for mobile */
@media (max-width: 768px) {
  .nav-btn,
  .dot,
  .button,
  .socials a,
  .back-to-top {
    min-height: 44px;
    min-width: 44px;
  }
  
  .nav-link {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

