/* ==========================================
   Aptiq Digital
   ========================================== */

:root {
  --navy: #0f172a;
  --blue: #2563eb;
  --teal: #14b8a6;
  --white: #ffffff;
  --gray: #f8fafc;
  --text: #334155;
  --border: #e2e8f0;

  --max-width: 1200px;
}

/* Reset */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: #fff;
  color: var(--text);
  line-height: 1.7;
}

/* Layout */

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.narrow {
  max-width: 800px;
}

/* Navigation */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
}

.logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
}

nav {
  display: flex;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
}

nav a:hover {
  color: var(--blue);
}

/* Buttons */

.btn-primary {
  background: var(--navy);
  color: white;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 10px;
  font-weight: 600;
  display: inline-block;
  transition: .25s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #1e293b;
}

.btn-secondary {
  border: 1px solid var(--navy);
  color: var(--navy);
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 10px;
  font-weight: 600;
  display: inline-block;
}

.btn-secondary:hover {
  background: var(--gray);
}

/* Hero */

.hero {
  padding: 120px 0;
  text-align: center;
}

.eyebrow {
  color: var(--blue);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.8rem, 8vw, 5rem);
  line-height: 1.05;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 30px;
}

.hero-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.35rem;
  color: #475569;
}

.hero-actions {
  margin-top: 45px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* Sections */

.section {
  padding: 100px 0;
}

.section h2 {
  color: var(--navy);
  font-size: 2.2rem;
  margin-bottom: 25px;
  line-height: 1.2;
}

.section p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

/* Gray Section */

.gray {
  background: var(--gray);
}

/* Cards */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.card {
  background: white;
  padding: 35px;
  border-radius: 18px;
  border: 1px solid var(--border);
  transition: .3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(15,23,42,.08);
}

.card h3 {
  color: var(--navy);
  margin-bottom: 15px;
  font-size: 1.35rem;
}

/* Highlight */

.highlight {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
}

/* Dark Section */

.dark {
  background: var(--navy);
  color: white;
}

.dark h2 {
  color: white;
}

.dark p {
  color: rgba(255,255,255,.85);
}

/* CTA */

.cta {
  background: var(--gray);
  text-align: center;
  padding: 120px 0;
}

.cta h2 {
  color: var(--navy);
  font-size: 2.6rem;
  margin-bottom: 20px;
}

.cta p {
  max-width: 700px;
  margin: 0 auto 35px;
  font-size: 1.15rem;
}

/* Footer */

footer {
  background: var(--navy);
  color: white;
  text-align: center;
  padding: 60px 0;
}

footer h3 {
  margin-bottom: 10px;
}

footer p {
  margin-bottom: 10px;
  color: rgba(255,255,255,.85);
}

footer small {
  color: rgba(255,255,255,.6);
}

/* Mobile */

@media (max-width: 900px) {

  .cards {
    grid-template-columns: 1fr;
  }

  .header .container {
    flex-direction: column;
    gap: 20px;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding: 80px 0;
  }

  .section {
    padding: 70px 0;
  }
}