/* ═══════════════════════════════════════════════════
   VHODIO — styles.css
   Apple/iOS Premium Dark Design System
═══════════════════════════════════════════════════ */

/* ── Custom Properties ──────────────────────────── */
:root {
  --bg:          #0a0a0a;
  --text:        #f5f5f7;
  --text-sec:    #86868b;
  --accent:      #0071e3;
  --accent-glow: rgba(0, 113, 227, 0.25);
  --divider:     rgba(255, 255, 255, 0.08);
  --card-bg:     rgba(255, 255, 255, 0.03);
  --card-hover:  rgba(255, 255, 255, 0.055);

  --font:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius:      12px;
  --transition:  0.35s cubic-bezier(0.4, 0, 0.2, 1);

  --max-w:       1100px;
  --section-gap: clamp(80px, 12vw, 140px);
}

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

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

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; }

a {
  color: inherit;
  text-decoration: none;
}

/* ── Utility ────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
}

/* ── Scroll Animation States ────────────────────── */
.fade-in,
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.fade-in.visible,
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Delay helpers */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.45s; }

/* ── Button ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 var(--accent-glow);
  transition: box-shadow 0.4s ease;
}

.btn:hover {
  background: #0077ed;
  transform: translateY(-1px);
}

.btn:hover::after {
  box-shadow: 0 0 28px 6px var(--accent-glow);
}

.btn:active {
  transform: translateY(0);
}

.btn--full {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
  border-radius: 8px;
}

.btn--outlined {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}

.btn--outlined:hover {
  background: rgba(0, 113, 227, 0.08);
  border-color: var(--accent);
}

.btn--outlined::after {
  display: none;
}

/* ═══════════════════════════════════════════════════
   NAV
═══════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-color: var(--divider);
}

.nav__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav__lang {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
}

.nav__lang-btn {
  background: none;
  border: none;
  color: var(--text-sec);
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 500;
  transition: color var(--transition);
  padding: 0;
}

.nav__lang-btn:hover {
  color: var(--text);
}

.nav__lang-btn--active {
  color: var(--text);
}

.nav__lang-sep {
  color: var(--text-sec);
}

.nav__logo {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.nav__logo-img {
  height: 34px;
  width: auto;
  display: block;
}

.nav__cta {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  padding: 8px 18px;
  border: 1px solid rgba(0, 113, 227, 0.35);
  border-radius: 980px;
  transition: background var(--transition), border-color var(--transition);
}

.nav__cta:hover {
  background: rgba(0, 113, 227, 0.1);
  border-color: var(--accent);
}

/* ═══════════════════════════════════════════════════
   1. HERO
═══════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px clamp(20px, 5vw, 60px) 80px;
  overflow: hidden;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.45;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}

.hero__headline {
  font-size: clamp(44px, 7vw, 80px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 28px;
}

.hero__sub {
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 400;
  color: var(--text-sec);
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 44px;
  line-height: 1.65;
}

.hero__cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__founder {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  color: var(--text-sec);
  letter-spacing: 0.04em;
  white-space: nowrap;
  z-index: 1;
}

/* ═══════════════════════════════════════════════════
   SECTION SHARED
═══════════════════════════════════════════════════ */
.section {
  padding-block: var(--section-gap);
  border-top: 1px solid var(--divider);
}

.section__header {
  margin-bottom: clamp(48px, 7vw, 72px);
}

.section__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section__title {
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text);
}

.section__sub {
  margin-top: 16px;
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--text-sec);
  max-width: 500px;
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════
   2. SERVICES
═══════════════════════════════════════════════════ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (min-width: 1200px) {
  .services__grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 40px);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.card:hover {
  background: var(--card-hover);
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-3px);
}

.card__icon {
  color: var(--accent);
  margin-bottom: 22px;
  width: 28px;
  height: 28px;
}

.card__title {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 10px;
}

.card__desc {
  font-size: 0.9rem;
  color: var(--text-sec);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════
   3. PROCESS
═══════════════════════════════════════════════════ */
.process__steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 48px;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step__number {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 4px;
}

.step__title {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 8px;
}

.step__desc {
  font-size: 0.9rem;
  color: var(--text-sec);
  line-height: 1.65;
}

.step__connector {
  flex: 0 0 60px;
  height: 1px;
  background: var(--divider);
  margin-top: 22px;
  align-self: flex-start;
  position: relative;
}

.step__connector::after {
  content: '';
  position: absolute;
  right: -4px;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--divider);
  border-right: 1px solid var(--divider);
  transform: rotate(45deg);
}

.process__note {
  font-size: 0.85rem;
  color: var(--text-sec);
  border-left: 2px solid var(--accent);
  padding-left: 16px;
  max-width: 480px;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════
   4. DIFFERENTIATOR
═══════════════════════════════════════════════════ */
.diff__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.diff__item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-block: clamp(28px, 4vw, 40px);
  border-bottom: 1px solid var(--divider);
}

.diff__item:first-child {
  border-top: 1px solid var(--divider);
}

.diff__accent {
  flex-shrink: 0;
  width: 3px;
  height: 40px;
  background: var(--accent);
  border-radius: 2px;
  box-shadow: 0 0 12px var(--accent-glow);
}

.diff__text {
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
  transition: color var(--transition);
}

.diff__item:hover .diff__text {
  color: #fff;
}

/* ═══════════════════════════════════════════════════
   5. TESTIMONIAL
═══════════════════════════════════════════════════ */
.testimonial__card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  padding: 48px;
  max-width: 720px;
  margin-inline: auto;
  box-shadow: 0 0 40px rgba(0, 113, 227, 0.06);
  position: relative;
}

.testimonial__quote-mark {
  font-size: 72px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 24px;
  opacity: 0.8;
}

.testimonial__text {
  font-size: 18px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 32px;
}

.testimonial__author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.testimonial__brand {
  font-size: 14px;
  color: var(--text-sec);
}

.testimonial__stars {
  font-size: 18px;
  margin-top: 8px;
  letter-spacing: 2px;
}

/* ═══════════════════════════════════════════════════
   6. CONTACT
═══════════════════════════════════════════════════ */
.contact__inner {
  max-width: 680px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 48px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form__label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-sec);
  text-transform: uppercase;
}

.form__input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--divider);
  border-radius: 8px;
  padding: 13px 16px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  width: 100%;
  appearance: none;
}

.form__input::placeholder {
  color: rgba(134, 134, 139, 0.55);
}

.form__input:focus {
  border-color: var(--accent);
  background: rgba(0, 113, 227, 0.04);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.12);
}

.form__textarea {
  resize: vertical;
  min-height: 130px;
}

.form__status {
  font-size: 0.875rem;
  color: var(--text-sec);
  text-align: center;
  min-height: 1.4em;
}

.form__status.success {
  color: #34c759;
}

.form__status.error {
  color: #ff453a;
}

.contact__email {
  margin-top: 36px;
  font-size: 0.9rem;
  color: var(--text-sec);
  letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════════════════
   6. FOOTER
═══════════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--divider);
  padding-block: 28px;
}

.footer__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-sec);
  letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — TABLET / MOBILE
═══════════════════════════════════════════════════ */
@media (max-width: 768px) {

  .services__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .testimonial__card {
    padding: 32px;
  }

  .testimonial__text {
    font-size: 16px;
  }

  .process__steps {
    flex-direction: column;
    gap: 0;
  }

  .step__connector {
    display: none;
  }

  .step {
    padding-block: 28px;
    border-bottom: 1px solid var(--divider);
  }

  .step:last-child {
    border-bottom: none;
  }

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

  .diff__text {
    font-size: clamp(18px, 5vw, 26px);
  }

  .diff__accent {
    height: 28px;
  }

  .hero__cta-group {
    flex-direction: column;
    gap: 12px;
  }

  .btn {
    width: 100%;
  }

  .testimonial__card {
    padding: 24px;
  }

  .testimonial__quote-mark {
    font-size: 48px;
  }

  .testimonial__text {
    font-size: 15px;
    line-height: 1.6;
  }

  .footer__inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__headline {
    font-size: clamp(36px, 10vw, 52px);
  }

  .nav__logo {
    font-size: 1rem;
  }
}
