:root {
  --primary: #1a73e8;
  --primary-dark: #1557b0;
  --primary-light: #e8f0fe;
  --text-dark: #1a1a2e;
  --text-mid: #444;
  --text-light: #666;
  --text-muted: #999;
  --bg-white: #ffffff;
  --bg-light: #f7f8fc;
  --bg-card: #f2f4f8;
  --border: #e2e6ef;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 6px 24px rgba(0, 0, 0, 0.11);
  --radius: 14px;
  --radius-sm: 8px;
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: "Syne", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --max-width: 960px;
}

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  background: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 48px;
}

.site-header {
  background: var(--bg-white);
  border-bottom: 1.5px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px 48px;
}

.site-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.4px;
  text-align: center;
  text-decoration: none;
}
.site-logo span {
  color: var(--primary);
}

.header-search-form {
  width: 100%;
  max-width: 520px;
  display: flex;
  align-items: center;
  background: var(--bg-light);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  overflow: hidden;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}
.header-search-form:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.12);
}

.search-form {
  display: flex;
  align-items: center;
  background: var(--bg-light);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  overflow: hidden;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}
.search-form:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.12);
}

.search-input {
  border: none;
  background: transparent;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-dark);
  width: 100%;
  flex: 1;
  outline: none;
}
.search-input::placeholder {
  color: var(--text-muted);
}

.search-btn {
  background: var(--primary);
  border: none;
  padding: 10px 18px;
  cursor: pointer;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition);
}
.search-btn:hover {
  background: var(--primary-dark);
}
.search-btn svg {
  width: 16px;
  height: 16px;
}

/* 
   AD PLACEHOLDER
    */
.ad-placeholder {
  background: var(--bg-light);
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-body);
}
.ad-placeholder.banner {
  width: 100%;
  height: 90px;
  margin: 24px 0;
}
.ad-placeholder.rectangle {
  width: 100%;
  height: 250px;
  margin: 24px 0;
}

/* 
   HERO SECTION
    */
.hero {
  text-align: center;
  padding: 56px 48px 40px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 12px;
}
.hero-subtitle {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 40px;
}

/* ── Platform / Service Cards Grid ── */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
}

.platform-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 22px 10px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  border: 1.5px solid var(--bg-card);
  transition:
    background var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
  text-decoration: none;
  color: var(--text-dark);
}

.platform-card:hover {
  background: var(--bg-white);
  border-color: var(--border);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.platform-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.platform-icon svg {
  width: 44px;
  height: 44px;
}

.platform-name {
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--text-dark);
  font-family: var(--font-body);
  white-space: normal;
  text-align: center;
  line-height: 1.3;
}

/* Divider */
.section-divider {
  border: none;
  border-top: 1.5px solid var(--border);
  margin: 44px 0 0;
}

/* 
   CONTENT SECTIONS
    */
.content-section {
  padding: 48px 0 0;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}
.section-text {
  color: var(--text-mid);
  font-size: 0.96rem;
  margin-bottom: 13px;
  line-height: 1.8;
}
.section-text:last-child {
  margin-bottom: 0;
}

/* ── Features Grid ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 24px;
}
.feature-card {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition:
    box-shadow var(--transition),
    border-color var(--transition);
}
.feature-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: #c5d8fb;
}
.feature-check {
  width: 26px;
  height: 26px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.feature-check svg {
  width: 13px;
  height: 13px;
}
.feature-content h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--text-dark);
  margin-bottom: 5px;
}
.feature-content p {
  font-size: 0.86rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* ── Keyword list with left accent bar ── */
.keyword-list {
  margin-top: 18px;
}
.keyword-list p {
  font-size: 0.95rem;
  color: var(--text-mid);
  margin-bottom: 10px;
  line-height: 1.75;
  padding-left: 14px;
  border-left: 3px solid var(--primary-light);
}
.keyword-list strong {
  color: var(--text-dark);
  font-weight: 700;
}

main.container {
  padding-bottom: 60px;
}

/* 
   FOOTER
    */
.site-footer {
  background: var(--bg-light);
  border-top: 1.5px solid var(--border);
  padding: 44px 0 20px;
  margin-top: 60px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 0 48px;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.footer-col ul li {
  margin-bottom: 9px;
}
.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--text-mid);
  transition: color var(--transition);
}
.footer-col ul li a:hover {
  color: var(--primary);
}
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding: 18px 48px 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* 
   RESPONSIVE
    */
@media (max-width: 860px) {
  .container {
    padding-left: 28px;
    padding-right: 28px;
  }
  .header-inner {
    padding: 14px 28px;
  }
  .footer-inner {
    padding: 0 28px;
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-bottom {
    padding: 16px 28px 0;
  }
  .hero {
    padding: 44px 28px 32px;
  }
  .platforms-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 600px;
  }
}

@media (max-width: 640px) {
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }
  .header-inner {
    padding: 12px 18px;
  }
  .header-search-form {
    max-width: 100%;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 18px;
  }
  .footer-bottom {
    padding: 14px 18px 0;
  }
  .hero {
    padding: 36px 18px 28px;
  }
}

@media (max-width: 380px) {
  .platforms-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 400px;
  }
}

/* 
   ANIMATIONS
    */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-up {
  animation: fadeUp 0.45s ease both;
}
.fade-up-1 {
  animation-delay: 0.05s;
}
.fade-up-2 {
  animation-delay: 0.13s;
}
.fade-up-3 {
  animation-delay: 0.22s;
}
