:root {
  --ve-navy: #0F172A;
  --ve-teal: #14B8A6;
  --ve-teal-hover: #0D9488;
  --ve-bg-light: #F8FAFC;
  --ve-text-secondary: #475569;
  --ve-border: #E2E8F0;
  --ve-white: #FFFFFF;
  --ve-shadow-soft: 0 10px 20px rgba(0, 0, 0, 0.05);
  --ve-shadow-medium: 0 14px 30px rgba(15, 23, 42, 0.08);
  --ve-radius-sm: 10px;
  --ve-radius-md: 12px;
  --ve-radius-lg: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ve-navy);
  background: var(--ve-white);
  line-height: 1.6;
}

a {
  color: var(--ve-navy);
  text-decoration: none;
}

a:hover {
  color: var(--ve-teal-hover);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(20, 184, 166, 0.35);
  outline-offset: 2px;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.75rem;
  line-height: 1.2;
  color: #0F172A;
}

h1 {
  font-size: 42px;
  font-weight: 700;
}

h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

p {
  margin: 0 0 1rem;
  color: #475569;
  line-height: 1.6;
}

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

.container,
.ve-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 60px 0;
  border-bottom: 1px solid #E2E8F0;
}

.site-main section:last-child {
  border-bottom: none;
}

.section-muted {
  background: var(--ve-bg-light);
}

.section-header {
  margin-bottom: 28px;
}

.text-center {
  text-align: center;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  background: var(--ve-navy);
  color: var(--ve-white);
  padding: 0.5rem 0.75rem;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(8px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-color: #E2E8F0;
  box-shadow: var(--ve-shadow-soft);
}

.site-header__inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-branding {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  min-width: 180px;
}

.site-logo img {
  max-height: 46px;
  width: auto;
}

.site-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ve-navy);
}

.site-navigation {
  flex: 1;
  display: flex;
  justify-content: center;
}

.site-menu {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin: 0;
  padding: 0;
}

.site-menu a {
  font-weight: 500;
  color: #475569;
}

.site-menu a:hover,
.site-menu .current-menu-item > a {
  color: #0F172A;
}

.site-header__cta {
  flex: 0 0 auto;
  margin-left: auto;
}

.mobile-menu-toggle {
  display: none;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  padding: 0.45rem;
  cursor: pointer;
}

.mobile-menu-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: #0F172A;
  margin: 4px 0;
}

.btn,
.ve-button {
  background: #14B8A6;
  color: #FFFFFF;
  padding: 12px 22px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn:hover,
.ve-button:hover {
  background: #0D9488;
  color: #FFFFFF;
}

.ve-button--primary {
  background: #0F172A;
}

.ve-button--primary:hover {
  background: #1E293B;
}

.ve-button--ghost {
  background: #FFFFFF;
  border-color: #E2E8F0;
  color: #0F172A;
}

.ve-button--ghost:hover {
  background: #F8FAFC;
  border-color: #14B8A6;
  color: #0F172A;
}

.hero {
  padding-top: 72px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 36px;
}

.eyebrow {
  color: #0D9488;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero__subtitle {
  font-size: 18px;
  max-width: 58ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.hero__visual {
  min-height: 330px;
  border-radius: 20px;
  border: 1px solid #E2E8F0;
  background: linear-gradient(160deg, #EEF6FF, #E6FAF7);
  position: relative;
  overflow: hidden;
}

.dashboard-card {
  position: absolute;
  border-radius: 14px;
  background: #FFFFFF;
  border: 1px solid rgba(20, 184, 166, 0.24);
  box-shadow: var(--ve-shadow-medium);
}

.dashboard-card--large {
  width: 70%;
  height: 58%;
  top: 12%;
  left: 10%;
}

.dashboard-card--small {
  width: 42%;
  height: 33%;
  right: 8%;
  bottom: 11%;
}

.dashboard-dot {
  position: absolute;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.18);
  top: 9%;
  right: 10%;
}

.trust-bar {
  background: #F8FAFC;
}

.trust-bar__items {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.trust-bar__items span {
  text-align: center;
  color: #475569;
  font-size: 15px;
}

.steps-grid,
.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.card,
.content-panel {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 22px;
  box-shadow: var(--ve-shadow-soft);
}

.popular-routes .ve-homepage-routes-header {
  margin-bottom: 20px;
}

.popular-routes .ve-route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.route-card,
.popular-routes .ve-route-card {
  background: #FFFFFF;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  margin-bottom: 0;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.route-card:hover,
.popular-routes .ve-route-card:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.popular-routes .ve-route-card-title {
  font-size: 20px;
  margin-bottom: 10px;
}

.popular-routes .ve-route-card-meta {
  color: #475569;
  margin-bottom: 14px;
}

.popular-routes .ve-route-link {
  font-weight: 600;
  color: #0D9488;
}

.why-visaengine .features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.feature {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 22px;
  box-shadow: var(--ve-shadow-soft);
}

.feature h4 {
  font-size: 20px;
  margin-bottom: 10px;
}

.cta .cta-panel {
  padding: clamp(34px, 5vw, 56px);
  border-radius: 16px;
  background: linear-gradient(135deg, #0F172A, #0F766E);
  box-shadow: var(--ve-shadow-medium);
}

.cta .cta-panel h2,
.cta .cta-panel p {
  color: #FFFFFF;
}

.cta .btn,
.cta .ve-button {
  padding: 14px 26px;
  font-size: 16px;
}

.final-cta h2 {
  margin-bottom: 18px;
}

.narrow-content {
  max-width: 860px;
}

.entry-title {
  margin-bottom: 10px;
}

.entry-meta {
  margin-bottom: 14px;
  font-size: 14px;
  color: #64748B;
}

.page-header {
  margin-bottom: 24px;
}

.site-footer {
  background: #0F172A;
  color: #CBD5E1;
  padding: 60px 0;
}

.site-footer p,
.site-footer a,
.site-footer h2,
.site-footer h3 {
  color: inherit;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.22);
}

.site-footer__title {
  margin-bottom: 10px;
}

.site-footer__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(170px, 1fr));
  gap: 24px;
}

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

.site-footer li + li {
  margin-top: 8px;
}

.site-footer__bottom {
  margin-top: 20px;
  font-size: 14px;
}

input,
select,
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  margin-bottom: 15px;
  background: #FFFFFF;
  color: #0F172A;
}

button,
input[type="submit"],
input[type="button"] {
  background: #14B8A6;
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
  background: #0D9488;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

@media (max-width: 1024px) {
  h1 {
    font-size: 36px;
  }

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

  .trust-bar__items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-header__inner {
    flex-wrap: wrap;
    min-height: auto;
    padding: 12px 0;
  }

  .mobile-menu-toggle {
    display: inline-block;
    margin-left: auto;
  }

  .site-header__cta {
    display: none;
  }

  .site-navigation {
    order: 4;
    width: 100%;
    display: none;
    justify-content: flex-start;
    background: #FFFFFF;
    border-top: 1px solid #E2E8F0;
    margin-top: 10px;
    padding-top: 12px;
  }

  .site-navigation.is-open {
    display: flex;
  }

  .site-menu {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .site-menu .menu-item {
    width: 100%;
  }

  .site-menu .menu-item a {
    display: block;
    width: 100%;
    padding: 4px 0;
  }

  .steps-grid,
  .content-grid,
  .popular-routes .ve-route-grid,
  .why-visaengine .features-grid,
  .site-footer__top,
  .site-footer__links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  section {
    padding: 44px 0;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 24px;
  }

  .hero__actions {
    gap: 10px;
  }
}
