/* ── Variables ── */
:root {
  --primary: #13324A;
  --secondary: #D3484B;
  --bg: #FFFBF6;
  --bg-2: #F4F1EA;
  --text: #0E2537;
  --text-muted: #5a6f7e;
  --radius: 12px;
  --max-w: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

/* ── Utilities ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: inherit;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  background: var(--primary);
  color: var(--bg);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(19, 50, 74, 0.2);
}

.btn:active {
  transform: translateY(0);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 17px;
}

.btn-secondary {
  background: var(--secondary);
  color: #fff;
}

.btn-secondary:hover {
  box-shadow: 0 8px 24px rgba(211, 72, 75, 0.25);
}

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 251, 246, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(14, 37, 55, 0.06);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nav-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}

/* ── Hero ── */
.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(19, 50, 74, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 80% 20%, rgba(211, 72, 75, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--primary);
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* ── Features ── */
.features {
  padding: 80px 0 100px;
}

.section-title {
  text-align: center;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 56px;
  letter-spacing: -0.01em;
}

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

.feature-card {
  background: var(--bg-2);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(19, 50, 74, 0.08);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--primary);
  color: var(--bg);
  margin-bottom: 24px;
}

.feature-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── CTA ── */
.cta {
  padding: 100px 0;
  background: var(--primary);
  text-align: center;
}

.cta-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--bg);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.cta-subtitle {
  font-size: clamp(16px, 2.5vw, 18px);
  color: rgba(255, 251, 246, 0.7);
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* ── Footer ── */
.footer {
  padding: 60px 0 32px;
  background: var(--bg-2);
}

.footer-inner {
  text-align: center;
}

.footer-heading {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.footer-company {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 4px;
}

.footer-email {
  font-size: 15px;
  color: var(--secondary);
  transition: opacity 0.2s;
}

.footer-email:hover {
  opacity: 0.7;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(14, 37, 55, 0.08);
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero {
    padding: 130px 0 72px;
  }

  .features {
    padding: 60px 0 72px;
  }

  .cta {
    padding: 72px 0;
  }

  .feature-card {
    padding: 32px 24px;
  }
}
