/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg-white);
  color: var(--text-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
button { cursor: pointer; }
a { text-decoration: none; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: 88px 0;
}

.section--white { background: var(--bg-white); }
.section--blue  { background: var(--bg-blue); }

.section--contact { padding-bottom: 80px; }

/* Section header */
.section-head {
  text-align: center;
  margin-bottom: 52px;
}

.section-badge {
  display: inline-block;
  font-family: 'medium';
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 18px;
  border-radius: 100px;
}

.section-title {
  font-family: 'bold';
  font-size: 2rem;
  color: var(--text-dark);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  margin: 10px auto 0;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: linear-gradient(145deg, #0071bb 0%, #003d75 100%);
  overflow: hidden;
  padding: 100px 28px 80px;
  text-align: center;
}

/* Decorative circles */
.hero-bg-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.06;
  background: #ffffff;
}
.hero-bg-circle--1 {
  width: 520px; height: 520px;
  top: -180px; right: -140px;
}
.hero-bg-circle--2 {
  width: 320px; height: 320px;
  bottom: -100px; left: -80px;
}

/* Language toggle */
.site-lang-toggle {
  display: flex;
  background: rgba(0,0,0,0.07);
  border-radius: 20px;
  overflow: hidden;
}
.site-lang-btn {
  border: none; background: transparent;
  color: #6B4C34; padding: 4px 14px;
  cursor: pointer; font-size: 13px; font-weight: 700;
  font-family: 'medium', inherit; border-radius: 20px;
  transition: background 0.2s, color 0.2s;
}
.site-lang-btn.active { background: #0071bb; color: white; }

/* Hero content */
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.hero-logo {
  width: 110px;
  height: auto;
  margin: 0 auto 28px;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.2));
}

.hero-title {
  font-family: 'bold';
  font-size: 2.4rem;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-family: 'regular';
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
  margin-bottom: 44px;
}

/* CTA area */
.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}

.hero-qr {
  width: 110px; height: 110px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255,255,255,0.3);
  flex-shrink: 0;
}

.hero-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Store buttons */
.btn-store {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.45);
  border-radius: var(--radius-sm);
  padding: 12px 22px;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  min-width: 210px;
}
.btn-store:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.75);
  transform: translateY(-1px);
}
.btn-store__icon {
  font-size: 32px;
  color: #ffffff;
}
.btn-store__text {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.btn-store__label {
  font-family: 'regular';
  font-size: 11px;
  color: rgba(255,255,255,0.75);
}
.btn-store__name {
  font-family: 'demiBold';
  font-size: 16px;
  color: #ffffff;
  line-height: 1.2;
}

/* Wave divider */
.hero-wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  line-height: 0;
}
.hero-wave svg {
  width: 100%;
  height: 64px;
}

/* ============================================================
   INTRO
   ============================================================ */
.intro-list {
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.intro-para {
  font-family: 'regular';
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-base);
  text-align: justify;
}

.intro-para:last-child {
  font-family: 'medium';
  color: var(--text-dark);
  padding: 16px 20px;
  background: var(--primary-light);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  text-align: left;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 12px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-blue);
}
.service-card > span {
  font-family: 'medium';
  font-size: 13px;
  color: var(--text-dark);
  text-align: center;
}

.service-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 24px;
  transition: transform 0.25s;
}
.service-card:hover .service-icon {
  transform: scale(1.08);
}
.service-icon svg { width: 26px; height: 26px; }
.service-icon .material-icons { font-size: 26px; }

/* ============================================================
   FEATURES
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-blue);
}

.feature-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 22px;
  margin-bottom: 18px;
}
.feature-icon .material-icons { font-size: 24px; }

.feature-card h3 {
  font-family: 'demiBold';
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.feature-card p {
  font-family: 'light';
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ============================================================
   SCREENSHOTS
   ============================================================ */
.screens-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}

.screens-row--center {
  justify-content: center;
}

.screen-item {
  flex: 1 1 0;
  min-width: 140px;
  max-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.screen-item--lg {
  min-width: 200px;
  max-width: 300px;
}

.screen-label {
  font-family: 'medium';
  font-size: 13px;
  color: var(--text-dark);
  text-align: center;
}

.screen-frame {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.13);
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.25s, box-shadow 0.25s;
}
.screen-frame:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
}
.screen-frame img {
  width: 100%;
  display: block;
}

/* ============================================================
   CONTACT
   ============================================================ */
.social-row {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.social-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 20px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.social-btn:hover {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.12);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #0d1117;
  padding: 28px 28px;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 12px;
}

.footer-link {
  font-family: 'regular';
  font-size: 12px;
  color: #6b7280;
  transition: color 0.2s;
}
.footer-link:hover { color: #e5e7eb; }
.footer-link--btn { cursor: pointer; }

.footer-dot {
  font-size: 12px;
  color: #374151;
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */

/* Base state — hidden before reveal */
.reveal {
  opacity: 0;
  transition: opacity 0.65s ease, transform 0.65s ease;
  will-change: opacity, transform;
}

.reveal.fade-up    { transform: translateY(40px); }
.reveal.fade-left  { transform: translateX(-48px); }
.reveal.fade-right { transform: translateX(48px); }
.reveal.zoom-in    { transform: scale(0.88); }

/* Visible state — triggered by IntersectionObserver */
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger delays */
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.40s; }
.reveal[data-delay="6"] { transition-delay: 0.48s; }

/* ============================================================
   RESPONSIVE — Tablet (≤900px)
   ============================================================ */
@media (max-width: 900px) {
  .section { padding: 72px 0; }

  .hero-title { font-size: 1.9rem; }

  .services-grid { grid-template-columns: repeat(3, 1fr); }

  .features-grid { grid-template-columns: repeat(2, 1fr); }

  .section-title { font-size: 1.7rem; }
}

/* ============================================================
   RESPONSIVE — Mobile (≤600px)
   ============================================================ */
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .container { padding: 0 18px; }

  .hero { padding: 80px 18px 72px; }
  .hero-title { font-size: 1.55rem; }
  .hero-subtitle { font-size: 0.95rem; }
  .btn-lang { top: 16px; right: 16px; }

  .hero-cta { flex-direction: column; gap: 20px; }
  .hero-qr { order: 1; }
  .hero-btns { order: 0; width: 100%; }
  .btn-store { min-width: unset; width: 100%; }

  .section-head { margin-bottom: 36px; }
  .section-title { font-size: 1.5rem; }

  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .service-card { padding: 20px 10px; }

  .features-grid { grid-template-columns: 1fr; gap: 16px; }

  .screens-row { gap: 14px; }
  .screen-item { min-width: 130px; }
  .screen-item--lg { min-width: 140px; max-width: 200px; }

  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
  .footer-dot { display: none; }
}
