/* ExactAD — Static marketing site */

:root {
  --color-bg: #ffffff;
  --color-surface: #f5f5f5;
  --color-surface-elevated: #f0f0f0;
  --color-text: #1a1a1a;
  --color-text-muted: #4b5563;
  --color-accent: #d97706;
  --color-accent-hover: #b45309;
  --color-border: #e5e7eb;
  --font-heading: "Plus Jakarta Sans", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --container: min(1120px, 100% - 2rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

.container {
  width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  color: var(--color-accent-hover);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 8.5rem;
  padding: 0.5rem 0;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  color: var(--color-text);
}

.logo:hover {
  opacity: 0.9;
}

.logo-img {
  display: block;
  height: 8rem;
  width: auto;
  max-width: 560px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--color-text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.25rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.btn-primary {
  background: var(--color-accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--color-surface-elevated);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background: var(--color-border);
  color: var(--color-text);
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  background: none;
  border: none;
  color: var(--color-text);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  padding: 5rem 0 6rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(217, 119, 6, 0.08), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(229, 231, 235, 0.8), transparent),
    radial-gradient(ellipse 60% 40% at 0% 80%, rgba(229, 231, 235, 0.6), transparent);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 42rem;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0 0 0.5rem;
  color: var(--color-text);
}

.hero-brand {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--color-accent);
}

.hero-brand-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--color-text);
}

.hero-tagline {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin: 0 0 1.25rem;
  letter-spacing: 0.02em;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin: 0 0 2rem;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
  margin: 0 0 2.5rem;
  text-align: center;
  color: var(--color-text);
}

/* Feature cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: rgba(217, 119, 6, 0.35);
  transform: translateY(-2px);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 0 0.35rem;
  color: var(--color-text);
}

.feature-sub {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin: 0 0 1rem;
}

.feature-card ul {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.feature-card li {
  margin-bottom: 0.4rem;
}

.feature-link {
  font-weight: 600;
  font-size: 0.95rem;
}

/* Why section */
.why-section {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  max-width: 56rem;
  margin: 0 auto;
}

.why-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.05rem;
  color: var(--color-text);
}

.why-bullet {
  color: var(--color-accent);
  font-size: 0.65rem;
  flex-shrink: 0;
}

/* CTA */
.cta-section {
  padding: 5rem 0;
}

.cta-inner {
  text-align: center;
  max-width: 32rem;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 0.75rem;
  color: var(--color-text);
}

.cta-desc {
  color: var(--color-text-muted);
  margin: 0 0 1.5rem;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.footer-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 0.35rem;
  color: var(--color-text);
}

.footer-copy {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0 0 0.5rem;
}

.footer-legal {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  opacity: 0.8;
  margin: 0;
}

/* Mobile */
@media (max-width: 768px) {
  .nav,
  .header-inner .btn-primary {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .header-inner.nav-open .nav,
  .header-inner.nav-open .btn-primary {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 1rem;
    background: var(--color-surface-elevated);
    border-bottom: 1px solid var(--color-border);
  }

  .nav a {
    padding: 0.75rem;
    width: 100%;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .hero {
    padding: 3rem 0 4rem;
  }

  .section {
    padding: 3rem 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}
