/* ScaleDM — Clean Studio Theme
   Ascendant Labs · ascendantlabs.co/scaledm */

:root {
  --bg: #FAF7F2;
  --card: #FFFFFF;
  --card-subtle: #F3EFE9;
  --border: #E8E1D5;
  --border-subtle: rgba(44, 38, 35, 0.08);
  --border-hover: #D0C6B8;

  --text: #1C1816;
  --text-muted: #6B645D;
  --text-subtle: #9C938B;

  --accent: #1477D9;
  --accent-soft: rgba(20, 119, 217, 0.08);
  --accent-border: rgba(20, 119, 217, 0.25);
  --accent-ink: #0F5BB5;

  --green: #2E8B57;

  --shadow-sm: 0 2px 8px rgba(35, 30, 26, 0.04);
  --shadow-md: 0 12px 32px rgba(35, 30, 26, 0.08), 0 2px 6px rgba(35, 30, 26, 0.04);
  --shadow-lg: 0 24px 60px rgba(35, 30, 26, 0.12);

  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, monospace;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background-color: var(--bg);
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

.shell {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 24px 72px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ================= HEADER ================= */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}

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

.studio-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.15s ease;
}

.studio-link:hover {
  color: var(--text);
}

.studio-link img {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  display: block;
}

.divider-slash {
  color: var(--border);
  font-size: 14px;
}

.app-crumb {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  color: var(--text-muted);
}

.topbar-nav a {
  transition: color 0.15s ease;
}

.topbar-nav a:hover {
  color: var(--text);
}

.topbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--text);
  color: #FFFFFF !important;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 7px;
  transition: all 0.15s ease;
}

.topbar-btn svg {
  flex-shrink: 0;
}

.topbar-btn:hover {
  background: #000;
  transform: translateY(-1px);
}

/* ================= HERO BLOCK ================= */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
}

.app-badge-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.app-icon {
  width: 68px;
  height: 68px;
  border-radius: 17px;
  box-shadow: 0 4px 14px rgba(20, 119, 217, 0.15);
  display: block;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.app-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.app-meta-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-name {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
}

.badge-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3.5px 8.5px;
  border-radius: 9999px;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  gap: 5.5px;
}

.badge-live {
  background: rgba(46, 139, 87, 0.08);
  color: var(--green);
  border: 1px solid rgba(46, 139, 87, 0.22);
}

.badge-play,
.badge-apple {
  background: #FFFFFF;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.badge-play svg,
.badge-apple svg {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
}

.badge-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(46, 139, 87, 0.45);
  animation: pulse-ring 2.4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(46, 139, 87, 0.55);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(46, 139, 87, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(46, 139, 87, 0);
  }
}

.app-platform {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.statement {
  font-size: clamp(30px, 4.2vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 18px;
}

.sub-statement {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

/* Store buttons */
.btn-play-store,
.btn-app-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1C1816;
  color: #FFFFFF !important;
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 10px;
  line-height: 1;
  letter-spacing: -0.01em;
  transition: all 0.15s ease;
  box-shadow: 0 2px 6px rgba(28, 24, 22, 0.12);
}

.btn-play-store:hover,
.btn-app-store:hover {
  background: #000000;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(28, 24, 22, 0.2);
  color: #FFFFFF !important;
}

.btn-play-store svg,
.btn-app-store svg {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
}

.btn-play-store .btn-text-group,
.btn-app-store .btn-text-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.btn-play-store .btn-micro,
.btn-app-store .btn-micro {
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
  line-height: 1;
  margin-bottom: 2px;
}

.btn-play-store .btn-main,
.btn-app-store .btn-main {
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.btn-web-app {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
  font-size: 13.5px;
  font-weight: 600;
  padding: 11px 18px;
  border-radius: 10px;
  transition: all 0.15s ease;
}

.btn-web-app:hover {
  border-color: var(--border-hover);
  background: #FFFFFF;
  color: var(--accent);
  transform: translateY(-1px);
}

.meta-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-subtle);
  font-family: var(--font);
}

.meta-trust-pill strong {
  color: var(--text-muted);
  font-weight: 600;
}

/* Hero Media / Phone preview */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-phone-card {
  width: 100%;
  max-width: 320px;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  border: 4px solid #FFFFFF;
  display: block;
  background: #FFFFFF;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-phone-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(35, 30, 26, 0.16);
}

/* ================= SCREENSHOTS GALLERY ================= */
.promo-showcase-section {
  padding: 48px 0 24px;
  border-top: 1px solid var(--border);
  margin-bottom: 48px;
}

.section-label {
  font-size: 11.5px;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
}

.section-heading {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 28px;
}

.screenshots-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.screenshot-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.screenshot-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.screenshot-card img {
  width: 100%;
  height: auto;
  display: block;
  background: #F9F9F9;
}

.screenshot-caption {
  padding: 12px 14px;
  border-top: 1px solid var(--border-subtle);
  background: #FFFFFF;
  flex: 1;
}

.screenshot-caption strong {
  display: block;
  font-size: 13px;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 3px;
}

.screenshot-caption span {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  display: block;
}

/* ================= FEATURES GRID ================= */
.features-section {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  margin-bottom: 48px;
}

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

.feature-col {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.feature-col:hover {
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.col-idx {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.feature-col h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.feature-col p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ================= TRUST & META COMPLIANCE ================= */
.trust-section {
  padding: 44px 0;
  border-top: 1px solid var(--border);
  margin-bottom: 48px;
  scroll-margin-top: 40px;
}

.trust-section h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 12px;
}

.trust-intro {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.trust-highlights-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.trust-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trust-points li {
  font-size: 14px;
  color: var(--text);
  line-height: 1.55;
  padding-left: 20px;
  position: relative;
}

.trust-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.disclaimer-box {
  background: #F0F7FF;
  border: 1px solid #CDE2FD;
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 24px;
}

.disclaimer-box h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: #0F5BB5;
  margin-bottom: 4px;
}

.disclaimer-box p {
  font-size: 13px;
  color: #1F3F68;
  line-height: 1.5;
}

.policy-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

.policy-link-row a {
  color: var(--accent);
  font-weight: 700;
}

.policy-link-row a:hover {
  text-decoration: underline;
}

/* ================= SUPPORT SECTION ================= */
.support-section {
  padding: 36px 0;
  border-top: 1px solid var(--border);
  margin-bottom: 40px;
}

.support-section h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.support-section p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 10px;
}

.contact-email {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--accent);
  display: inline-block;
}

.contact-email:hover {
  text-decoration: underline;
}

/* ================= FOOTER ================= */
.footer {
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-subtle);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: var(--text);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-visual {
    order: -1;
  }

  .screenshots-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

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

  .topbar-nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .shell {
    padding: 24px 18px 48px;
  }

  .topbar {
    margin-bottom: 36px;
  }

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

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
