/* Arcadia SW Systems Inc. — Site Styles */

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

:root {
  --blue-dark: #1a3a5c;
  --blue-mid: #2563a8;
  --blue-light: #6fa8dc;
  --gradient: linear-gradient(135deg, #1a3a5c 0%, #2563a8 60%, #6fa8dc 100%);
  --gradient-text: linear-gradient(90deg, #1a3a5c 0%, #2563a8 100%);
  --bg: #f6f8fb;
  --surface: #ffffff;
  --text: #1a1a1a;
  --muted: #666;
  --border: rgba(0,0,0,0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 40px rgba(37, 99, 168, 0.18);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Gradient text helper ── */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Nav ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,250,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 24px;
}

.nav-logo {
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  color: var(--text);
  letter-spacing: -0.3px;
  white-space: nowrap;
}

.nav-logo span {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(0,0,0,0.05);
}

/* ── Page wrapper ── */
.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Hero ── */
.hero {
  padding: 100px 0 80px;
  text-align: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 21px);
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.5;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
  border: none;
}

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

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 20px rgba(37, 99, 168, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 8px 30px rgba(37, 99, 168, 0.45);
}

.btn-secondary {
  background: white;
  color: var(--text);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow);
}

.btn-secondary:hover {
  box-shadow: var(--shadow-hover);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ── Cards ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

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

/* ── App grid ── */
.apps-section {
  padding: 60px 0 80px;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 48px;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.featured-project {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.2fr);
  gap: 32px;
  align-items: center;
  background:
    radial-gradient(circle at 10% 0%, rgba(67, 217, 151, 0.18), transparent 34%),
    radial-gradient(circle at 88% 15%, rgba(255, 179, 43, 0.12), transparent 30%),
    #071018;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 32px;
  color: #f5f8fb;
  box-shadow: 0 28px 80px rgba(7,16,24,0.24);
  overflow: hidden;
}

.featured-copy {
  min-width: 0;
}

.featured-kicker,
.case-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #43d997;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.featured-project h3 {
  font-size: 58px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 18px;
}

.featured-project p {
  color: #c7d1de;
  font-size: 17px;
  line-height: 1.55;
  margin-bottom: 22px;
}

.mini-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.mini-metrics span,
.case-layer-list span {
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.07);
  color: #e7edf5;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
}

.featured-actions {
  justify-content: flex-start;
}

.featured-visual {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 24px 70px rgba(0,0,0,0.36);
}

.featured-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.btn-city {
  background: linear-gradient(135deg, #16a66a 0%, #43d997 100%);
  color: #071018;
  box-shadow: 0 4px 20px rgba(67, 217, 151, 0.24);
}

.btn-city:hover {
  box-shadow: 0 8px 30px rgba(67, 217, 151, 0.34);
}

.btn-dark {
  background: rgba(255,255,255,0.08);
  color: #f5f8fb;
  border: 1.5px solid rgba(255,255,255,0.18);
}

.btn-dark:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.22);
}

.app-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.app-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.app-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(37, 99, 168, 0.25);
}

.app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.app-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.app-tagline {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.app-badge {
  display: inline-block;
  background: rgba(37, 99, 168, 0.08);
  color: var(--blue-mid);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 999px;
  align-self: flex-start;
}

/* ── Values / about section ── */
.about-section {
  padding: 60px 0 80px;
  border-top: 1px solid var(--border);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.value-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.value-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.value-body {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── App page hero ── */
.app-hero {
  padding: 80px 0 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 720px) {
  .app-hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 60px 0 40px;
  }
  .app-hero .btn-group {
    justify-content: center;
  }
}

.app-hero-icon {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(37, 99, 168, 0.3);
  margin-bottom: 24px;
}

.app-hero-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.app-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 16px;
}

.app-hero-sub {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.5;
}

/* ── Features list ── */
.features-section {
  padding: 60px 0;
  border-top: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.feature-item {
  display: flex;
  gap: 16px;
}

.feature-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient);
  flex-shrink: 0;
  margin-top: 8px;
}

.feature-text strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.feature-text span {
  font-size: 14px;
  color: var(--muted);
}

/* ── CityGrid case study ── */
.citygrid-case {
  background: #f5f7fa;
}

.case-hero {
  position: relative;
  min-height: min(720px, calc(100vh - 60px));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #071018;
  color: #f5f8fb;
}

.case-hero-bg {
  position: absolute;
  inset: 0;
}

.case-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,16,24,0.94) 0%, rgba(7,16,24,0.72) 42%, rgba(7,16,24,0.22) 100%),
    linear-gradient(0deg, rgba(7,16,24,0.88) 0%, rgba(7,16,24,0.1) 55%);
}

.case-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}

.case-hero-content {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
  padding: 110px 0 78px;
}

.case-live-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #43d997;
  box-shadow: 0 0 0 6px rgba(67,217,151,0.16);
}

.case-hero h1 {
  font-size: 118px;
  line-height: 0.9;
  letter-spacing: 0;
  font-weight: 900;
  margin-bottom: 24px;
}

.case-hero-sub {
  max-width: 760px;
  color: #d7e1ee;
  font-size: 24px;
  line-height: 1.45;
  margin-bottom: 34px;
}

.case-hero-actions {
  justify-content: flex-start;
}

.case-stats-band {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.case-stats {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.case-stats div {
  border-left: 1px solid var(--border);
  padding-left: 18px;
}

.case-stats div:first-child {
  border-left: 0;
  padding-left: 0;
}

.case-stats strong {
  display: block;
  font-size: 20px;
  line-height: 1.1;
  margin-bottom: 6px;
}

.case-stats span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.case-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 78px 24px;
}

.case-section-head {
  max-width: 780px;
  margin-bottom: 42px;
}

.case-section .section-title {
  font-size: 42px;
  letter-spacing: 0;
  margin-bottom: 18px;
}

.case-lede {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.case-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 32px;
}

.case-feature {
  border-top: 2px solid rgba(22,166,106,0.5);
  padding-top: 18px;
}

.case-feature h3,
.case-proof h3 {
  font-size: 18px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 10px;
}

.case-feature p,
.case-proof p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.case-visual-band {
  background: #071018;
  color: #f5f8fb;
}

.case-visual-band .section-label {
  color: #43d997;
}

.case-visual-band .case-lede {
  color: #b7c2d1;
}

.case-shot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.case-shot {
  margin: 0;
  background: #0d141f;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0,0,0,0.26);
}

.case-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.case-shot figcaption {
  display: grid;
  gap: 6px;
  padding: 18px;
}

.case-shot figcaption strong {
  font-size: 15px;
}

.case-shot figcaption span {
  color: #aeb9c8;
  font-size: 13px;
  line-height: 1.5;
}

.case-shot-mobile {
  display: grid;
  grid-template-columns: minmax(160px, 0.58fr) 1fr;
  align-items: center;
}

.case-shot-mobile img {
  aspect-ratio: 390 / 844;
  height: 100%;
  max-height: 520px;
  object-position: top center;
}

.case-build {
  padding-bottom: 86px;
}

.case-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.case-proof {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.case-proof > span {
  display: block;
  color: #16a66a;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 16px;
}

.case-data-band {
  background: #eaf0f3;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.case-layer-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.case-layer-list span {
  background: #ffffff;
  border-color: rgba(7,16,24,0.1);
  color: #253140;
}

.case-cta-band {
  background:
    radial-gradient(circle at 18% 0%, rgba(67,217,151,0.16), transparent 32%),
    #071018;
  color: #f5f8fb;
  padding: 70px 24px;
}

.case-cta-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.case-cta-inner img {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

.case-cta-inner h2 {
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: 0;
  margin-bottom: 10px;
}

.case-cta-inner p:not(.section-label) {
  color: #b7c2d1;
  font-size: 16px;
  line-height: 1.55;
}

.case-cta-actions {
  justify-content: flex-end;
}

/* ── Privacy page ── */
.privacy-page {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 24px;
}

.privacy-page .prose {
  padding: 60px 0 80px;
}

.privacy-page h1 {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 8px;
}

.privacy-page .meta {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 40px;
}

.privacy-page h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 40px 0 12px;
}

.privacy-page p, .privacy-page li {
  font-size: 15px;
  color: #333;
  line-height: 1.7;
  margin-bottom: 12px;
}

.privacy-page ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.privacy-page li {
  margin-bottom: 6px;
}

.privacy-page hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-left {
  font-size: 14px;
  color: var(--muted);
}

.footer-left strong {
  color: var(--text);
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-links a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}

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

/* ── Responsive ── */
@media (max-width: 600px) {
  .hero {
    padding: 60px 0 60px;
  }

  nav {
    padding: 0 16px;
  }

  .page {
    padding: 0 16px;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 900px) {
  .featured-project {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .featured-actions,
  .case-hero-actions {
    justify-content: flex-start;
  }

  .case-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-hero h1 {
    font-size: 84px;
  }

  .case-hero-sub {
    font-size: 21px;
  }

  .case-section .section-title,
  .case-cta-inner h2 {
    font-size: 36px;
  }

  .case-stats div,
  .case-stats div:first-child {
    border-left: 1px solid var(--border);
    padding-left: 18px;
  }

  .case-feature-grid,
  .case-proof-grid,
  .case-shot-grid {
    grid-template-columns: 1fr;
  }

  .case-cta-inner {
    grid-template-columns: 72px 1fr;
  }

  .case-cta-inner img {
    width: 72px;
    height: 72px;
    border-radius: 16px;
  }

  .case-cta-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .featured-project {
    border-radius: 18px;
  }

  .featured-visual {
    border-radius: 14px;
  }

  .featured-project h3 {
    font-size: 38px;
  }

  .case-hero {
    min-height: 680px;
  }

  .case-hero-content {
    width: min(100% - 32px, 1100px);
    padding: 88px 0 52px;
  }

  .case-hero h1 {
    font-size: 58px;
  }

  .case-hero-sub {
    font-size: 18px;
  }

  .case-section .section-title,
  .case-cta-inner h2 {
    font-size: 30px;
  }

  .case-stats {
    grid-template-columns: 1fr;
  }

  .case-section {
    padding: 58px 16px;
  }

  .case-shot-mobile {
    grid-template-columns: 1fr;
  }

  .case-shot-mobile img {
    width: min(260px, 100%);
    height: auto;
    margin: 0 auto;
  }

  .case-cta-inner {
    grid-template-columns: 1fr;
  }
}
