@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@300;400;500;600;700&family=Instrument+Serif:ital@0;1&family=JetBrains+Mono:wght@400;500&display=swap');

/* =====================
   CSS Custom Properties
   ===================== */
:root {
  --primary: #1D9E75;
  --primary-dark: #178a63;
  --primary-light: #e6f7f1;
  --text: #1a1a1a;
  --text-muted: #6b7280;
  --bg: #ffffff;
  --gray: #f5f5f5;
  --border: #e8e8e8;
  --font: 'Space Grotesk', 'Inter', sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --radius: 14px;
  --transition: 0.28s ease;

  /* Section accent colors */
  --hero-bg: #0b1120;
  --services-bg: #0f1923;
  --partners-bg: #064e3b;
  --contact-bg: #0b1120;
  --footer-bg: #030712;
}

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

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

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

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

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

ul { list-style: none; }

button {
  cursor: pointer;
  font-family: var(--font);
  border: none;
  background: none;
}

/* =====================
   Scroll Reveal
   ===================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* =====================
   Utilities
   ===================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

@media (min-width: 1024px) {
  .section {
    padding: 112px 0;
  }
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

/* On dark sections */
.section-dark .section-label {
  color: #6ee7b7;
}
.section-dark .section-label::before {
  background: #6ee7b7;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.75;
}

.section-dark .section-title { color: #fff; }
.section-dark .section-subtitle { color: rgba(255,255,255,0.6); }

.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* =====================
   Buttons
   ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  opacity: 0;
  transition: opacity var(--transition);
}

.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(29,158,117,0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(29,158,117,0.45);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

/* =====================
   Navbar
   ===================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11,17,32,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background var(--transition), border-color var(--transition);
}

.navbar.scrolled {
  background: rgba(11,17,32,0.97);
  border-bottom-color: rgba(29,158,117,0.2);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  gap: 16px;
}

.navbar__logo img {
  height: 38px;
  width: auto;
}

.navbar__logo .logo-placeholder {
  height: 38px;
  width: 140px;
  background: rgba(29,158,117,0.15);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.05em;
  border: 1px solid rgba(29,158,117,0.3);
}

.navbar__menu {
  display: none;
  align-items: center;
  gap: 6px;
}

@media (min-width: 768px) {
  .navbar__menu { display: flex; }
}

.navbar__menu a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  padding: 6px 12px;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}

.navbar__menu a:hover {
  color: #fff;
  background: rgba(255,255,255,0.07);
}

.navbar__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 3px;
  gap: 2px;
  border: 1px solid rgba(255,255,255,0.1);
}

.lang-toggle__btn {
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  transition: background var(--transition), color var(--transition);
  letter-spacing: 0.04em;
}

.lang-toggle__btn.active {
  background: var(--primary);
  color: #fff;
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
}

@media (min-width: 768px) {
  .hamburger { display: none; }
}

.hamburger span {
  display: block;
  height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  transition: transform var(--transition), opacity 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 Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(11,17,32,0.98);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 8px 0 12px;
}

.mobile-menu.open { display: flex; }

@media (min-width: 768px) {
  .mobile-menu { display: none !important; }
}

.mobile-menu a {
  padding: 13px 20px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color var(--transition), background var(--transition);
}

.mobile-menu a:last-child { border-bottom: none; }

.mobile-menu a:hover {
  color: #fff;
  background: rgba(255,255,255,0.05);
}

/* =====================
   Hero
   ===================== */
/* =====================
   Hero — beta style
   ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 100px;
  overflow: hidden;
  display: flex;
  align-items: center;
  isolation: isolate;
}

.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 25% 20%, rgba(29,158,117,0.24), transparent 55%),
    radial-gradient(ellipse at 80% 65%, rgba(14,165,233,0.18), transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(29,158,117,0.12), transparent 60%),
    var(--hero-bg);
  z-index: -2;
}

.hero__grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 75%);
  z-index: -1;
  opacity: 0.6;
}

#hero-particles {
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Hero 2-column inner layout */
.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
  width: 100%;
}

@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr 1fr;
  }
}

/* VR headset scene — right column */
.hero__scene {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  z-index: 1;
  pointer-events: none;
  order: 2;
}

.hero__scene-orb {
  position: absolute; inset: 10%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(29,158,117,0.4), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(14,165,233,0.35), transparent 60%);
  filter: blur(40px);
  animation: heroOrb 6s ease-in-out infinite;
}

.hero__scene-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.07);
  animation: heroSpin 60s linear infinite;
}
.hero__scene-ring::before {
  content: '';
  position: absolute;
  top: -4px; left: 50%;
  width: 8px; height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--primary);
}
.hero__scene-ring.r2 {
  inset: 8%;
  animation-duration: 80s;
  animation-direction: reverse;
  border-color: rgba(29,158,117,0.18);
}
.hero__scene-ring.r3 {
  inset: 16%;
  animation-duration: 100s;
}

.hero__headset {
  position: absolute;
  top: 50%; left: 50%;
  width: 62%;
  transform: translate(-50%, -50%) perspective(1200px) rotateY(-15deg) rotateX(5deg);
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 40px rgba(29,158,117,0.35)) drop-shadow(0 20px 60px rgba(0,0,0,0.5));
}

.hero__vr-icon {
  width: 100%;
  height: auto;
}

@keyframes heroOrb {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}
@keyframes heroSpin { to { transform: rotate(360deg); } }

/* Content */
.hero__content {
  position: relative;
  z-index: 2;
  order: 1;
  padding: 0 20px;
}

@media (min-width: 1024px) {
  .hero__content { padding: 0; }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 36px;
  background: rgba(11,17,32,0.6);
  backdrop-filter: blur(10px);
}

.hero__eyebrow-pill {
  padding: 4px 10px;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 11px;
}

.hero__title {
  font-size: clamp(48px, 7.5vw, 116px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 32px;
  white-space: nowrap;
}

.hero__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, var(--primary), #0EA5E9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.04em;
}

.hero__tagline {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.52);
  max-width: 50ch;
  margin-bottom: 40px;
  line-height: 1.65;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 1023px) {
  .hero__scene { display: none; }
}

@media (max-width: 767px) {
  .hero { padding: 120px 0 60px; text-align: center; }
  .hero__eyebrow { font-size: 11px; }
  .hero__cta { justify-content: center; }
}

/* =====================
   About
   ===================== */
#about {
  background: #fff;
  position: relative;
}

/* Subtle dot pattern */
#about::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(29,158,117,0.06) 1.5px, transparent 1.5px);
  background-size: 32px 32px;
  pointer-events: none;
}

#about .container { position: relative; }

.about-grid {
  display: grid;
  gap: 56px;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 88px;
    align-items: start;
  }
}

.about__body {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-top: 20px;
}

/* DroidShop brand logo block */
.about__brand-logo {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.about__brand-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.about__droidshop-logo {
  height: 52px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  transition: opacity var(--transition);
}

.about__droidshop-logo:hover { opacity: 0.8; }

/* Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 36px;
  max-height: 520px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) transparent;
  padding-right: 8px;
}

.timeline::-webkit-scrollbar {
  width: 4px;
}

.timeline::-webkit-scrollbar-track {
  background: transparent;
}

.timeline::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), rgba(29,158,117,0.1));
}

.timeline__item {
  position: relative;
  padding-bottom: 36px;
}

.timeline__item:last-child { padding-bottom: 0; }

.timeline__dot {
  position: absolute;
  left: -31px;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px rgba(29,158,117,0.25);
}

.timeline__year {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.timeline__title {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text);
}

.timeline__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

@media (max-width: 767px) {
  .timeline {
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
  }
}

/* =====================
   Services — Dark bg
   ===================== */
.services {
  background: var(--services-bg);
  position: relative;
  overflow: hidden;
}

/* Decorative corner glow */
.services::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(29,158,117,0.12), transparent 70%);
  top: -100px;
  right: -100px;
  border-radius: 50%;
  pointer-events: none;
}

/* ---- Services section head ---- */
.srv-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 56px;
  align-items: end;
}

@media (min-width: 768px) {
  .srv-head {
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    margin-bottom: 72px;
  }
}

.srv-lead {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  max-width: 48ch;
}

/* ---- Services bento grid ---- */
.srv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .srv-grid { grid-template-columns: repeat(2, 1fr); }
  .srv-wide { grid-column: span 1; }
}

@media (min-width: 1100px) {
  .srv-grid { grid-template-columns: repeat(12, 1fr); gap: 20px; }
  .srv-wide { grid-column: span 6; }
  .srv-half { grid-column: span 3; }
}

.srv-card {
  position: relative;
  padding: 36px 32px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.35s cubic-bezier(.2,.8,.2,1);
}

.srv-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(29,158,117,0.14), transparent 70%);
  transform: translate(50%, -50%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.srv-card:hover {
  border-color: rgba(29,158,117,0.35);
  transform: translateY(-4px);
}

.srv-card:hover::after { opacity: 1; }

.srv-num {
  position: absolute;
  top: 20px; right: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.06em;
}

.srv-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(29,158,117,0.1);
  border: 1px solid rgba(29,158,117,0.2);
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  color: var(--primary);
  flex-shrink: 0;
}

.srv-icon svg { width: 24px; height: 24px; }

.srv-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 12px;
  flex-shrink: 0;
}

.srv-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  max-width: 34ch;
}

/* =====================
   Products — Light green tint
   ===================== */
#products {
  background: #f0fdf8;
  position: relative;
}

/* ---- Products section head (2-col) ---- */
.prd-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 56px;
  align-items: end;
}

@media (min-width: 768px) {
  .prd-head {
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    margin-bottom: 72px;
  }
}

.prd-lead {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 48ch;
}

/* ---- Products grid — bento 3-col: wide card row 1 + 3 cards row 2 ---- */
.prd-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (min-width: 900px) {
  .prd-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---- Product card ---- */
.prd-card {
  background: #fff;
  border: 1px solid #d1fae5;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.prd-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(29,158,117,0.14);
  border-color: rgba(29,158,117,0.4);
}

/* ---- Badge ---- */
.prd-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 99px;
  background: var(--primary);
  color: #fff;
}

.prd-badge--new    { background: #0ea5e9; }
.prd-badge--hot    { background: #f59e0b; color: #0b1120; }
.prd-badge--neutral { background: #6b7280; }

/* ---- Media ---- */
.prd-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}

.prd-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

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

.prd-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(29,158,117,0.35), transparent 55%);
  opacity: 0;
  transition: opacity var(--transition);
}

.prd-card:hover .prd-media::after { opacity: 1; }

/* ---- Body ---- */
.prd-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}

.prd-cat {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary);
}

.prd-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin: 0;
}

/* ---- Footer / arrow ---- */
.prd-footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 10px;
  border-top: 1px solid #d1fae5;
  margin-top: 4px;
}

.prd-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #d1fae5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all 0.25s;
  text-decoration: none;
}

.prd-card:hover .prd-arrow {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* =====================
   DroidShop Callout
   ===================== */
.ds-section { background: #fff; }

@keyframes dsGlow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(29,158,117,0.25), 0 40px 100px rgba(29,158,117,0.08); }
  50%       { box-shadow: 0 0 0 1px rgba(29,158,117,0.55), 0 40px 100px rgba(29,158,117,0.22); }
}
@keyframes dsShimmer {
  0%   { background-position: 200% 50%; }
  100% { background-position: -200% 50%; }
}
@keyframes dsOrbPulse {
  0%, 100% { transform: scale(1);    opacity: 0.5; }
  50%       { transform: scale(1.18); opacity: 1; }
}
@keyframes dsFloat {
  0%, 100% { transform: rotate(4deg)  translateY(0); }
  50%       { transform: rotate(4deg)  translateY(-9px); }
}
@keyframes dsFloatB {
  0%, 100% { transform: rotate(-6deg) translateY(0); }
  50%       { transform: rotate(-6deg) translateY(-7px); }
}
@keyframes dsFloatC {
  0%, 100% { transform: rotate(2deg)  translateY(0); }
  50%       { transform: rotate(2deg)  translateY(-6px); }
}
@keyframes dsDot {
  0%, 100% { box-shadow: 0 0 0 0   rgba(29,158,117,0.8); }
  60%       { box-shadow: 0 0 0 7px rgba(29,158,117,0); }
}
@keyframes dsRing {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50%       { opacity: 0.8;  transform: scale(1.04); }
}

.ds-card {
  position: relative;
  padding: 72px 60px;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(29,158,117,0.22), transparent 55%),
    radial-gradient(ellipse at 80% 50%, rgba(14,165,233,0.16), transparent 55%),
    linear-gradient(135deg, #0b1825, #060d16);
  border: 1px solid rgba(29,158,117,0.25);
  border-radius: 32px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  animation: dsGlow 4s ease-in-out infinite;
}

.ds-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(29,158,117,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29,158,117,0.07) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at 50% 50%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black, transparent 80%);
  pointer-events: none;
}
.ds-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.045) 50%, transparent 70%);
  background-size: 250% 100%;
  animation: dsShimmer 7s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.ds-content { position: relative; z-index: 2; }

.ds-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.ds-eyebrow::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
  animation: dsDot 2.4s ease-in-out infinite;
}

.ds-title {
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #f0f6ff;
}

.ds-title em {
  font-family: var(--font-serif, Georgia, serif);
  font-style: italic;
  background: linear-gradient(135deg, #1D9E75, #4ade80);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ds-desc {
  color: rgba(255,255,255,0.55);
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 42ch;
  margin-bottom: 32px;
}

.ds-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(29,158,117,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.ds-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(29,158,117,0.5);
}

.ds-visual {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  aspect-ratio: 1.4 / 1;
}

.ds-logo-wrap {
  position: relative;
  padding: 36px 48px;
  background: rgba(255,255,255,0.97);
  border-radius: 24px;
  box-shadow:
    0 30px 80px rgba(29,158,117,0.35),
    0 0 0 1px rgba(29,158,117,0.2);
  transform: rotate(-3deg);
  transition: transform 0.4s ease;
}
.ds-logo-wrap::before {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 32px;
  border: 1px solid rgba(29,158,117,0.35);
  pointer-events: none;
  animation: dsRing 3s ease-in-out infinite;
}
.ds-logo-wrap::after {
  content: '';
  position: absolute;
  inset: -28px;
  border-radius: 38px;
  border: 1px solid rgba(29,158,117,0.15);
  pointer-events: none;
  animation: dsRing 3s ease-in-out infinite 0.6s;
}

.ds-card:hover .ds-logo-wrap { transform: rotate(-1deg) scale(1.02); }

.ds-logo-wrap img {
  width: 260px;
  max-width: 100%;
  display: block;
}

.ds-chip {
  position: absolute;
  padding: 7px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(29,158,117,0.35);
  border-radius: 999px;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  color: var(--primary);
  letter-spacing: .06em;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(29,158,117,0.15);
}

.ds-chip.c1 { top: 10%;  right: 8%;  animation: dsFloat  4s   ease-in-out infinite; }
.ds-chip.c2 { bottom: 12%; left: 4%; animation: dsFloatB 5.2s ease-in-out infinite 0.8s; }
.ds-chip.c3 { top: 58%;  right: 4%;  animation: dsFloatC 4.6s ease-in-out infinite 1.4s; }

.ds-orb {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29,158,117,0.25) 0%, transparent 70%);
  pointer-events: none;
  animation: dsOrbPulse 3.5s ease-in-out infinite;
}

@media (max-width: 767px) {
  .ds-card {
    grid-template-columns: 1fr;
    padding: 48px 28px;
    gap: 40px;
  }
  .ds-visual { aspect-ratio: unset; }
  .ds-chip { display: none; }
}

/* =====================
   Partners — Dark green
   ===================== */
.partners {
  background: var(--partners-bg);
  position: relative;
  overflow: hidden;
}

.partners::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.partners::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(29,158,117,0.2), transparent 70%);
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  pointer-events: none;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 56px;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .partners-grid { grid-template-columns: repeat(4, 1fr); }
}

.partner-card {
  background: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.partner-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.25);
}

.partner-card__img {
  height: 100px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  transition: transform var(--transition);
}

.partner-card:hover .partner-card__img {
  transform: scale(1.05);
}

.partner-card__logo-placeholder {
  height: 100px;
  width: 200px;
  background: var(--gray);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.partner-card__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.badge-exclusive {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--primary);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: 6px;
  text-transform: uppercase;
}

/* =====================
   Contact — Dark
   ===================== */
#contact {
  background: var(--contact-bg);
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(29,158,117,0.08), transparent 70%);
  top: -200px;
  right: -200px;
  border-radius: 50%;
  pointer-events: none;
}

.contact-grid {
  display: grid;
  gap: 48px;
  margin-top: 56px;
  position: relative;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1.5fr;
    gap: 64px;
  }
}

.contact__info-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 28px;
  color: #fff;
}

.contact__info-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact__info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact__info-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: rgba(29,158,117,0.15);
  border: 1px solid rgba(29,158,117,0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact__info-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact__info-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 5px;
}

.contact__info-value {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
}

/* Form */
.contact__form-wrapper {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 36px;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact__form-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.form-group input,
.form-group textarea {
  font-family: var(--font);
  font-size: 0.9375rem;
  color: #fff;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 12px 16px;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.25);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: rgba(29,158,117,0.06);
}

.form-group textarea { min-height: 130px; }

/* Form status message */
.form-status {
  display: none;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
}

.form-status:not(:empty) { display: block; }

.form-status--success {
  background: rgba(29, 158, 117, 0.15);
  border: 1px solid rgba(29, 158, 117, 0.4);
  color: #6ee7b7;
}

.form-status--error {
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #fca5a5;
}

/* =====================
   Footer
   ===================== */
.footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,0.35);
  padding: 44px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer__brand {
  font-size: 0.875rem;
  line-height: 1.7;
}

.footer__brand strong {
  color: #fff;
  font-weight: 700;
}

.footer__link {
  color: var(--primary);
  font-weight: 600;
}

.footer__link:hover { text-decoration: underline; }

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

@media (min-width: 768px) {
  .footer__right { justify-content: flex-end; }
}

.footer__social {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer__social-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
  background: rgba(255,255,255,0.08);
}

.footer__social-btn svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.footer__social-btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

@media (max-width: 480px) {
  .footer__social-btn span { display: none; }
  .footer__social-btn { padding: 8px; }
}

/* Footer lang toggle */
.footer .lang-toggle {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.08);
}

.footer .lang-toggle__btn { color: rgba(255,255,255,0.4); }

.footer .lang-toggle__btn.active {
  background: var(--primary);
  color: #fff;
}
