/* ===== PREMIUM DESIGN SYSTEM ===== */
:root {
  --primary: #00C9B1;
  --primary-dark: #00A894;
  --primary-deep: #007A6E;
  --primary-soft: rgba(0, 201, 177, 0.08);
  --primary-glow: rgba(0, 201, 177, 0.25);
  --text: #0F1419;
  --text-secondary: #5A6570;
  --text-muted: #8B95A1;
  --bg: #FFFFFF;
  --bg-elevated: #F7F9FA;
  --bg-dark: #0B0F14;
  --border: rgba(15, 20, 25, 0.08);
  --border-strong: rgba(15, 20, 25, 0.12);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 8px rgba(15, 20, 25, 0.04);
  --shadow: 0 8px 30px rgba(15, 20, 25, 0.06);
  --shadow-lg: 0 20px 50px rgba(15, 20, 25, 0.1);
  --transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 30px rgba(15, 20, 25, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

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

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: 8px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-deep);
  background: var(--primary-soft);
}

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

.lang-switch {
  display: flex;
  background: var(--bg-elevated);
  border-radius: 10px;
  padding: 3px;
  border: 1px solid var(--border);
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  letter-spacing: 0.02em;
}

.lang-btn.active {
  background: var(--primary);
  color: white;
  box-shadow: 0 2px 8px rgba(0, 201, 177, 0.3);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
  margin: 0 auto;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 110px 0 80px;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(0, 201, 177, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(0, 201, 177, 0.04) 0%, transparent 50%),
    linear-gradient(180deg, #F8FBFA 0%, #FFFFFF 100%);
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.hero-logo {
  height: 52px;
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 18px;
  color: var(--text);
}

.hero-slogan {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--primary-deep);
  font-weight: 500;
  margin-bottom: 18px;
  line-height: 1.5;
  max-width: 480px;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 460px;
  line-height: 1.7;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 14px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  box-shadow: 0 4px 20px rgba(0, 201, 177, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 201, 177, 0.45);
}

.btn-outline {
  background: white;
  color: var(--text);
  border: 1.5px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary-deep);
  box-shadow: var(--shadow);
}

.hero-image {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-image::before {
  content: '';
  position: absolute;
  width: 90%;
  height: 90%;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
  top: 5%;
  left: 5%;
}

.hero-img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

/* ===== SECTIONS ===== */
.section {
  padding: 110px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
  color: var(--text);
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.section-line {
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  margin: 0 auto;
  border-radius: 3px;
}

/* ===== ABOUT ===== */
.about { background: var(--bg); }

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

.about-text p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 18px;
  line-height: 1.75;
}

.about-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.meta-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

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

.about-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
}

/* ===== DEVICES ===== */
.devices { background: var(--bg-elevated); }

.devices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.device-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.device-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.device-img-wrap {
  height: 220px;
  overflow: hidden;
  background: #EEF2F3;
}

.device-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.device-card:hover .device-img {
  transform: scale(1.06);
}

.device-name {
  font-size: 17px;
  font-weight: 600;
  padding: 22px 22px 6px;
  color: var(--text);
}

.device-desc {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 0 22px 24px;
  line-height: 1.65;
}

/* ===== PROCESS ===== */
.process { background: var(--bg); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.step {
  text-align: center;
  padding: 28px 16px;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.step:hover {
  border-color: var(--primary);
  background: white;
  box-shadow: var(--shadow);
}

.step-num {
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
}

.step-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.step-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ===== PARTNER ===== */
.partner { background: var(--bg-elevated); }

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.partner-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  border: 1.5px solid var(--border);
}

.partner-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.partner-card.featured {
  border-color: var(--primary);
  box-shadow: 0 12px 40px rgba(0, 201, 177, 0.15);
  background: linear-gradient(180deg, #FFFFFF 0%, #F4FFFD 100%);
}

.partner-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0, 201, 177, 0.35);
}

.partner-level {
  font-size: 32px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.partner-name {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 28px;
  color: var(--text-muted);
}

.partner-metrics {
  display: flex;
  flex-direction: column;
}

.metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.metric-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.metric-label {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

.metric-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.metric-value.accent {
  color: var(--primary-deep);
  font-size: 16px;
  font-weight: 700;
}

/* ===== ADVANTAGES ===== */
.advantages { background: var(--bg); }

.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.adv-card {
  padding: 32px 26px;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.adv-card:hover {
  background: white;
  box-shadow: var(--shadow);
  border-color: transparent;
  transform: translateY(-4px);
}

.adv-icon {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.5;
  margin-bottom: 18px;
}

.adv-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}

.adv-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ===== FAQ ===== */
.faq { background: var(--bg-elevated); }

.faq-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: white;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(0, 201, 177, 0.1);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 22px;
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  gap: 16px;
}

.faq-question:hover {
  color: var(--primary-deep);
}

.faq-icon {
  font-size: 22px;
  color: var(--primary);
  font-weight: 300;
  transition: var(--transition);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  border-radius: 50%;
  line-height: 1;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: white;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item.active .faq-answer {
  max-height: 240px;
}

.faq-answer p {
  padding: 0 22px 22px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ===== CONTACT ===== */
.contact {
  background: var(--bg);
  padding-bottom: 120px;
}

.contact-box {
  text-align: center;
  max-width: 420px;
  margin: 0 auto;
  padding: 48px 32px;
  background: var(--bg-elevated);
  border-radius: 24px;
  border: 1px solid var(--border);
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #25D366;
  color: white;
  padding: 16px 36px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
}

.contact-btn:hover {
  background: #1EBE57;
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.4);
}

.contact-number {
  margin-top: 22px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-dark);
  color: white;
  padding: 64px 0 36px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.footer-logo {
  height: 36px;
  margin: 0 auto 10px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  padding: 6px 14px;
  border-radius: 8px;
}

.footer-links a:hover {
  color: var(--primary);
  background: rgba(0, 201, 177, 0.1);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  width: 100%;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

/* ===== TABLET ===== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
  .hero-slogan, .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-btns { justify-content: center; }
  .hero-image { order: -1; }
  .hero-img { max-width: 400px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-meta { grid-template-columns: 1fr 1fr; }
  .devices-grid, .partner-grid, .adv-grid {
    grid-template-columns: 1fr 1fr;
  }
  .process-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .container { padding: 0 18px; }
  .header-inner { height: 60px; }
  .logo-img { height: 32px; }

  .nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 12px 18px 24px;
    gap: 2px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 40px rgba(15, 20, 25, 0.1);
  }
  .nav.open { display: flex; }
  .nav-link {
    padding: 14px 16px;
    font-size: 16px;
    border-radius: 10px;
    width: 100%;
  }
  .menu-toggle { display: flex; }

  .hero {
    padding: 90px 0 56px;
    min-height: auto;
  }
  .hero-logo { height: 42px; margin-bottom: 20px; }
  .hero-title { font-size: 30px; margin-bottom: 14px; }
  .hero-slogan { font-size: 15px; margin-bottom: 14px; }
  .hero-desc { font-size: 15px; margin-bottom: 28px; }
  .hero-btns { flex-direction: column; gap: 12px; }
  .btn { width: 100%; padding: 16px 24px; font-size: 15px; }
  .hero-img { max-width: 100%; border-radius: 18px; }

  .section { padding: 72px 0; }
  .section-header { margin-bottom: 40px; }
  .section-title { font-size: 26px; }
  .section-subtitle { font-size: 14px; }

  .about-meta { grid-template-columns: 1fr; gap: 12px; }

  .devices-grid, .partner-grid, .adv-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .device-img-wrap { height: 200px; }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .step {
    display: grid;
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;
    text-align: left;
    padding: 18px 16px;
    gap: 0 14px;
    align-items: start;
  }
  .step-num {
    grid-row: 1 / 3;
    font-size: 24px;
    margin-bottom: 0;
    align-self: center;
  }
  .step-title { margin-bottom: 4px; }

  .partner-card { padding: 28px 22px; }
  .partner-level { font-size: 28px; }
  .metric-row { padding: 13px 0; }

  .adv-card { padding: 24px 20px; }

  .faq-question { padding: 18px; font-size: 14px; }
  .faq-answer p { padding: 0 18px 18px; }

  .contact-box { padding: 36px 22px; border-radius: 20px; }
  .contact-btn {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
  }

  .footer { padding: 48px 0 28px; }
  .footer-links { gap: 4px; }
}

@media (max-width: 380px) {
  .container { padding: 0 14px; }
  .hero-title { font-size: 26px; }
  .lang-btn { padding: 6px 9px; font-size: 11px; }
}

/* ===== INTRO OVERLAY ===== */
.intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0B0F14;
  overflow: hidden;
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              visibility 0.9s;
}

.intro.hidden {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.04);
  pointer-events: none;
}

.intro-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.intro-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: glowFloat 12s ease-in-out infinite;
}

.intro-glow-1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, #00C9B1 0%, transparent 70%);
  top: -10%;
  left: -5%;
  animation-delay: 0s;
}

.intro-glow-2 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, #007A6E 0%, transparent 70%);
  bottom: -15%;
  right: -8%;
  animation-delay: -4s;
  opacity: 0.25;
}

.intro-glow-3 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, #00A894 0%, transparent 70%);
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: -7s;
  opacity: 0.2;
}

@keyframes glowFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -15px) scale(1.05); }
  66% { transform: translate(-15px, 10px) scale(0.97); }
}

.intro-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 32px 24px;
  max-width: 520px;
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.intro.leaving .intro-content {
  opacity: 0;
  transform: translateY(-24px);
}

.intro-logo {
  height: 56px;
  width: auto;
  margin: 0 auto 36px;
  border-radius: 12px;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.intro.leaving .intro-logo {
  opacity: 0;
  transform: scale(0.92);
}

.intro-title {
  font-size: clamp(22px, 4.5vw, 32px);
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin-bottom: 40px;
  opacity: 0.95;
}

.intro-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25),
              inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.intro-btn:hover {
  background: rgba(0, 201, 177, 0.2);
  border-color: rgba(0, 201, 177, 0.45);
  box-shadow: 0 8px 32px rgba(0, 201, 177, 0.2),
              inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.intro-btn:active {
  transform: translateY(0) scale(0.98);
}

.intro-btn-arrow {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Site wrapper under intro */
.site-wrapper {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s,
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
  pointer-events: none;
}

body.intro-done .site-wrapper {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

body.intro-active {
  overflow: hidden;
}

body.intro-done {
  overflow: auto;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero already visible after intro */
body.intro-done .hero.reveal {
  opacity: 1;
  transform: none;
}

/* Language fade */
[data-i18n] {
  transition: opacity 0.25s ease;
}

[data-i18n].lang-fade {
  opacity: 0;
}

/* Enhanced header glass */
.header {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 4px 30px rgba(15, 20, 25, 0.06);
  border-bottom-color: rgba(15, 20, 25, 0.06);
}

/* Button arrow enhancement */
.btn-primary,
.btn-outline {
  position: relative;
}

.btn-primary:active,
.btn-outline:active {
  transform: scale(0.97);
}

/* Mobile intro */
@media (max-width: 768px) {
  .intro-logo {
    height: 44px;
    margin-bottom: 28px;
  }
  .intro-title {
    font-size: 22px;
    margin-bottom: 32px;
    padding: 0 8px;
  }
  .intro-btn {
    width: calc(100% - 16px);
    max-width: 320px;
    justify-content: center;
    padding: 16px 24px;
  }
  .intro-glow-1 { width: 280px; height: 280px; }
  .intro-glow-2 { width: 220px; height: 220px; }
  .intro-glow-3 { width: 180px; height: 180px; }
}

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2.5px;
  width: 0%;
  background: linear-gradient(90deg, #00C9B1, #007A6E);
  z-index: 10001;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ===== INTRO EXTRA ===== */
.intro-brand {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.intro-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  margin: -24px 0 36px;
  line-height: 1.5;
}

.intro-logo {
  background: transparent;
  mix-blend-mode: normal;
}

/* Footer logo on dark - no invert needed for transparent logo with dark text */
.footer-logo {
  filter: none;
  height: 40px;
  opacity: 0.95;
}

/* Nav logo on light bg */
.logo-img {
  background: transparent;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(10, 12, 16, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 24px;
  cursor: zoom-out;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: min(90vw, 900px);
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  object-fit: contain;
  cursor: default;
  transform: scale(0.96);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.lightbox.open .lightbox-img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease;
  line-height: 1;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ===== BACK TO TOP ===== */
.back-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(15, 20, 25, 0.1);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #0F1419;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(15, 20, 25, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 900;
}

.back-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover {
  background: #00C9B1;
  color: white;
  border-color: transparent;
  box-shadow: 0 6px 24px rgba(0, 201, 177, 0.35);
}

/* Device image cursor */
.lightbox-trigger {
  cursor: zoom-in;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .intro-glow { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
