:root {
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --text: #1a1a2e;
  --text-secondary: #5a5d78;
  --accent: #2979ff;
  --accent-dark: #2062d6;
  --accent-light: #e8f0fe;
  --border: #e4e7ec;
  --radius: 14px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 12px 36px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.1);
  --font: "Inter", -apple-system, "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 60px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
}

.brand:hover { text-decoration: none; opacity: 0.85; }

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
}

.nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}

.nav a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.92rem;
  text-decoration: none;
}

.nav a:hover { color: var(--text); text-decoration: none; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; border-radius: 8px; }
.btn-lg { padding: 14px 28px; font-size: 0.95rem; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(41, 121, 255, 0.35);
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1.5px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-white {
  background: #fff;
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.btn-white:hover { color: var(--accent-dark); box-shadow: var(--shadow-md); }

/* ===== Hero (split layout) ===== */
.hero {
  padding: 80px 0 64px;
  overflow: hidden;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}

.hero-text p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin: 0 0 28px;
  max-width: 440px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-phone {
  display: flex;
  justify-content: center;
}

.hero-phone img {
  width: min(260px, 100%);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}

/* ===== Feature Rows (alternating) ===== */
.feature-row {
  padding: 80px 0;
}

.feature-row.alt {
  background: var(--bg-alt);
}

.row-split {
  display: grid;
  grid-template-columns: 0.45fr 0.55fr;
  gap: 56px;
  align-items: center;
}

.row-split.reverse {
  grid-template-columns: 0.55fr 0.45fr;
}

.row-split.reverse .row-img {
  order: 2;
}

.row-split.reverse .row-body {
  order: 1;
}

.row-img {
  display: flex;
  justify-content: center;
}

.row-img img {
  width: min(240px, 100%);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}

.row-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: var(--accent-light);
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.row-body h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.row-body p {
  color: var(--text-secondary);
  margin: 0 0 20px;
  line-height: 1.7;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 12l3 3 5-5'/%3E%3C/svg%3E");
  background-size: 13px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ===== Card Grid ===== */
.features-grid-section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  margin: 0 0 40px;
  letter-spacing: -0.02em;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-light);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.card-icon svg {
  width: 20px;
  height: 20px;
}

.card h4 {
  margin: 0 0 5px;
  font-size: 0.95rem;
  font-weight: 600;
}

.card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* ===== Download CTA (split) ===== */
.download-cta {
  background: linear-gradient(135deg, #1565c0 0%, #2979ff 60%, #42a5f5 100%);
  color: #fff;
  padding: 80px 0;
  overflow: hidden;
}

.download-cta-inner {
  display: grid;
  grid-template-columns: 1fr 0.6fr;
  gap: 40px;
  align-items: center;
}

.download-cta-text h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 12px;
}

.download-cta-text p {
  margin: 0 0 28px;
  opacity: 0.9;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 420px;
}

.download-cta-phone {
  display: flex;
  justify-content: center;
}

.download-cta-phone img {
  width: min(220px, 100%);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

/* ===== Footer ===== */
.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--border);
}

.footer-simple { text-align: center; }

.footer-simple p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.footer-simple a { color: var(--text-secondary); }
.footer-simple a:hover { color: var(--text); text-decoration: none; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav { display: none; }

  .hero-split {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-phone img { width: min(220px, 60vw); }

  .row-split,
  .row-split.reverse {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .row-split.reverse .row-img { order: 0; }
  .row-split.reverse .row-body { order: 0; }
  .row-img img { width: min(200px, 50vw); margin: 0 auto; }
  .check-list { display: inline-block; text-align: left; }

  .card-grid { grid-template-columns: 1fr 1fr; }

  .download-cta-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .download-cta-text p { margin-left: auto; margin-right: auto; }
  .download-cta-phone img { width: min(200px, 50vw); }
}

@media (max-width: 600px) {
  .hero { padding: 56px 0 48px; }
  .card-grid { grid-template-columns: 1fr; }
}
