/* =============================================
   Vaeron Technologies — Shared Stylesheet
   ============================================= */

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --blue:       #149cdc;
  --navy:       #192c3b;
  --steel:      #597587;
  --navy-light: #1f3749;
  --white:      #ffffff;
  --off-white:  #f4f7fa;
  --text:       #1a2430;
  --text-muted: #5a6b78;
  --border:     #dde4ea;
  --radius:     8px;
  --radius-lg:  16px;
  --shadow:     0 4px 24px rgba(25,44,59,0.10);
  --shadow-lg:  0 8px 48px rgba(25,44,59,0.16);
  --transition: 0.25s ease;
  --max-w:      1140px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }

/* ── Utility ─────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover {
  background: #0f85bd;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(20,156,220,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 16px;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
}

/* ── Navbar ──────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding-block: 14px;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(25,44,59,0.10);
  transition: padding var(--transition), box-shadow var(--transition);
}

#navbar.scrolled {
  padding-block: 10px;
  box-shadow: 0 2px 24px rgba(25,44,59,0.14);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo img { height: 38px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--steel);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: width var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--navy); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

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

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--steel);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 5px 13px;
  transition: all var(--transition);
}
.lang-switch:hover {
  color: var(--navy);
  border-color: var(--blue);
}
.lang-switch .flag { font-size: 1rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--navy);
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 999;
  padding: 100px 32px 40px;
  gap: 24px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  padding-block: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav .lang-switch { align-self: flex-start; margin-top: 16px; }

/* ── Hero ────────────────────────────────── */
#hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, #0e1f2c 55%, #0a3451 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-block: 140px 80px;
}

.hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-bg-shape-1 {
  width: 600px; height: 600px;
  background: rgba(20,156,220,0.12);
  top: -100px; right: -150px;
}
.hero-bg-shape-2 {
  width: 400px; height: 400px;
  background: rgba(89,117,135,0.10);
  bottom: -80px; left: -100px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(20,156,220,0.15);
  border: 1px solid rgba(20,156,220,0.35);
  border-radius: 24px;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--blue);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.4); }
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
}
.hero-title span { color: var(--blue); }

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card-stack {
  position: relative;
  width: 340px;
  height: 340px;
}

.h-card {
  position: absolute;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  padding: 20px 24px;
  color: var(--white);
}

.h-card-main {
  width: 280px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(20,156,220,0.12);
  border-color: rgba(20,156,220,0.30);
}

.h-card-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
}
.h-card-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.h-card-sub { font-size: 0.82rem; color: rgba(255,255,255,0.55); }

.h-card-stat {
  width: 120px;
  top: 10px; right: 0;
  text-align: center;
}
.h-card-stat .h-card-icon { font-size: 1.2rem; }
.h-card-stat .stat-num {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--blue);
}
.h-card-stat .stat-label { font-size: 0.72rem; color: rgba(255,255,255,0.5); }

.h-card-mini {
  width: 140px;
  bottom: 20px; left: -10px;
  background: rgba(89,117,135,0.15);
  border-color: rgba(89,117,135,0.30);
}

.scroll-hint {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.35);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.scroll-arrow {
  width: 20px; height: 20px;
  border-right: 2px solid rgba(255,255,255,0.35);
  border-bottom: 2px solid rgba(255,255,255,0.35);
  transform: rotate(45deg);
  animation: bounce 1.8s infinite;
}
@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%       { transform: rotate(45deg) translateY(5px); }
}

/* ── About ───────────────────────────────── */
#about {
  padding-block: 100px;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-stat-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.about-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.about-stat-card:first-child {
  grid-column: 1 / -1;
  background: var(--navy);
  border-color: transparent;
  color: var(--white);
}
.about-stat-card .stat-num {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 6px;
}
.about-stat-card:first-child .stat-num { color: var(--blue); }
.about-stat-card .stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}
.about-stat-card:first-child .stat-label { color: rgba(255,255,255,0.6); }

.about-content .section-lead { margin-bottom: 28px; }

.about-values {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about-value {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.about-value:hover { border-color: var(--blue); box-shadow: 0 2px 12px rgba(20,156,220,0.08); }
.about-value-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.about-value-text strong { display: block; font-size: 0.95rem; font-weight: 600; color: var(--navy); }
.about-value-text span  { font-size: 0.85rem; color: var(--text-muted); }

/* ── Services ────────────────────────────── */
#services {
  padding-block: 100px;
  background: var(--off-white);
}

.services-header {
  text-align: center;
  margin-bottom: 60px;
}
.services-header .section-lead {
  margin-inline: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px; height: 56px;
  background: rgba(20,156,220,0.10);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Why Us ──────────────────────────────── */
#why {
  padding-block: 100px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
#why::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.why-header {
  text-align: center;
  margin-bottom: 60px;
}
.why-header .section-title { color: var(--white); }
.why-header .section-lead  { color: rgba(255,255,255,0.6); margin-inline: auto; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  position: relative;
}

.why-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.why-card:hover {
  background: rgba(20,156,220,0.10);
  border-color: rgba(20,156,220,0.30);
  transform: translateY(-4px);
}

.why-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}
.why-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.why-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

/* ── Process ─────────────────────────────── */
#process {
  padding-block: 100px;
  background: var(--white);
}

.process-header {
  text-align: center;
  margin-bottom: 60px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 32px; left: 12%; right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--steel));
  z-index: 0;
}

.process-step {
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue);
  margin: 0 auto 20px;
  position: relative;
  box-shadow: 0 0 0 6px var(--white);
}
.process-step h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.process-step p {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Contact ─────────────────────────────── */
#contact {
  padding-block: 100px;
  background: var(--off-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}
.contact-info p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.7;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-item-icon {
  width: 44px; height: 44px;
  background: rgba(20,156,220,0.10);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item-body strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}
.contact-item-body span {
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 500;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-group:last-of-type { margin-bottom: 24px; }

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(20,156,220,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: -8px;
  margin-bottom: 24px;
}

.form-submit { width: 100%; justify-content: center; }

/* ── Footer ──────────────────────────────── */
#footer {
  background: var(--navy);
  padding-block: 60px 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 28px;
}

.footer-brand img { height: 34px; margin-bottom: 16px; }
.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: rgba(255,255,255,0.35); transition: color var(--transition); }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }

.footer-legal {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.22);
  line-height: 1.7;
}

/* ── Animations on scroll ────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: none;
}
.fade-up:nth-child(2) { transition-delay: 0.10s; }
.fade-up:nth-child(3) { transition-delay: 0.18s; }
.fade-up:nth-child(4) { transition-delay: 0.26s; }

/* ── Responsive ──────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid    { grid-template-columns: 1fr; text-align: center; }
  .hero-sub     { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual  { display: none; }
  .about-grid   { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
}

@media (max-width: 768px) {
  .nav-links, .nav-right .btn { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row    { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
  .process-steps { gap: 32px; }
}

@media (max-width: 480px) {
  .about-visual { grid-template-columns: 1fr; }
  .about-stat-card:first-child { grid-column: unset; }
}
