/* NordCalAI marketing site — matches the app's brand: black bg + lime accent, Nordic-minimal */
:root {
  --bg: #000000;
  --surface: #0c0c0c;
  --surface-2: #141414;
  --border: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --text-2: #b0b0b0;
  --text-3: #6e6e6e;
  --accent: #c6f135;
  --accent-2: #8ac926;
  --radius: 22px;
  --radius-sm: 14px;
  --radius-lg: 28px;
  --max-w: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  position: relative;
}

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

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

/* Background orbs */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
  z-index: 0;
  pointer-events: none;
}
.orb-1 {
  width: 600px;
  height: 600px;
  background: var(--accent);
  top: -200px;
  right: -200px;
}
.orb-2 {
  width: 500px;
  height: 500px;
  background: #c6f135;
  bottom: -150px;
  left: -150px;
  opacity: 0.10;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  padding: 0;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(0, 0, 0, 0.65);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.3px;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  color: var(--text-2);
}

.nav-links a {
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent);
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 32px 100px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(198, 241, 53, 0.12);
  color: var(--accent);
  border: 1px solid rgba(198, 241, 53, 0.3);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  margin-bottom: 24px;
}

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

.accent {
  color: var(--accent);
}

.hero-sub {
  font-size: 18px;
  color: var(--text-2);
  margin-bottom: 36px;
  max-width: 520px;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.2px;
  transition: transform 0.15s, opacity 0.2s, background 0.2s;
  cursor: pointer;
  border: none;
}

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

.btn-primary {
  background: var(--accent);
  color: #000;
}

.btn-primary:hover {
  background: #d4ff4a;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: var(--surface-2);
}

.btn-large {
  padding: 20px 36px;
  font-size: 17px;
}

.cta-sub {
  font-size: 13px;
  color: var(--text-3);
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone {
  position: relative;
  width: 280px;
  height: 280px;
  border-radius: 64px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 100px rgba(198, 241, 53, 0.15);
}

.phone-icon {
  width: 200px;
  height: 200px;
  position: relative;
  z-index: 2;
}

.phone-lockup {
  width: 240px;
  height: auto;
  position: relative;
  z-index: 2;
  border-radius: 28px;
}

.phone-glow {
  position: absolute;
  inset: 40px;
  background: var(--accent);
  filter: blur(70px);
  opacity: 0.35;
  border-radius: 50%;
  z-index: 1;
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 100px 32px;
}

.section-alt {
  background: var(--surface);
  max-width: none;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-alt > * {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1.2px;
  text-align: center;
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  color: var(--text-2);
  margin-bottom: 56px;
  font-size: 17px;
}

/* Feature cards grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: rgba(198, 241, 53, 0.3);
  transform: translateY(-2px);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(198, 241, 53, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.card p {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.6;
}

/* How it works steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.step {
  text-align: center;
  padding: 32px;
}

.step-num {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(198, 241, 53, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
}

.step h3 {
  font-size: 20px;
  margin-bottom: 8px;
  font-weight: 700;
}

.step p {
  color: var(--text-2);
  font-size: 15px;
}

/* Pricing */
.pricing-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: var(--accent);
  filter: blur(80px);
  opacity: 0.1;
  pointer-events: none;
}

.pricing-card > * {
  position: relative;
}

.pricing-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--accent);
  color: #000;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.pricing-price {
  margin-bottom: 32px;
}

.pricing-price .amount {
  font-size: 72px;
  font-weight: 800;
  letter-spacing: -3px;
  color: var(--text);
}

.pricing-price .currency {
  font-size: 20px;
  font-weight: 600;
  margin-left: 6px;
  color: var(--text-2);
}

.pricing-price .period {
  display: block;
  font-size: 14px;
  color: var(--text-3);
  margin-top: 4px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
  display: inline-block;
}

.pricing-features li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}

.pricing-features li::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(198, 241, 53, 0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c6f135' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

.pricing-fine {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.5;
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 48px 32px;
  background: var(--surface);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.footer-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--text-2);
}

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

.footer-fine {
  font-size: 13px;
  color: var(--text-3);
}

/* CTA section */
.cta-section {
  text-align: center;
  padding: 80px 32px 100px;
}

/* 404 */
.not-found {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 200px);
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 32px 100px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.not-found-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(198, 241, 53, 0.15) 0%, transparent 60%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -1;
}

.not-found-code {
  font-size: clamp(140px, 24vw, 260px);
  font-weight: 800;
  letter-spacing: -10px;
  line-height: 0.85;
  color: var(--accent);
  text-shadow:
    0 0 40px rgba(198, 241, 53, 0.4),
    0 0 80px rgba(198, 241, 53, 0.2);
  margin-bottom: 12px;
  position: relative;
  animation: floatGently 6s ease-in-out infinite;
}

@keyframes floatGently {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.not-found-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(198, 241, 53, 0.12);
  color: var(--accent);
  border: 1px solid rgba(198, 241, 53, 0.3);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.not-found-title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
  line-height: 1.15;
}

.not-found-sub {
  font-size: 16px;
  color: var(--text-2);
  max-width: 420px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.not-found .cta-row {
  margin-bottom: 0;
}

/* Article pages (privacy / terms / about / support) */
.article {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 32px 60px;
}

.article-title {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  line-height: 1.1;
}

.article-lede {
  font-size: 18px;
  color: var(--text-2);
  margin-bottom: 32px;
  line-height: 1.6;
}

.article p {
  color: var(--text-2);
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.75;
}

.article h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--text);
}

.article h3 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 10px;
  color: var(--text);
}

.article ul,
.article ol {
  margin: 0 0 20px 0;
  padding-left: 24px;
  color: var(--text-2);
}

.article li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.article a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(198, 241, 53, 0.3);
  transition: border-color 0.2s;
}

.article a:hover {
  border-bottom-color: var(--accent);
}

.article code {
  background: var(--surface-2);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.92em;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
}

.article strong {
  color: var(--text);
  font-weight: 600;
}

/* FAQ details/summary */
.article details {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin-bottom: 12px;
  transition: border-color 0.2s;
}

.article details[open] {
  border-color: rgba(198, 241, 53, 0.25);
}

.article summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
}

.article summary::-webkit-details-marker {
  display: none;
}

.article summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.2s;
}

.article details[open] summary::after {
  content: '−';
}

.article details p,
.article details ul {
  margin-top: 12px;
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.65;
}

.nav-links a.active {
  color: var(--accent);
}

/* Mobile */
@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 60px 24px 80px;
    gap: 48px;
    text-align: center;
  }
  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }
  .cta-row {
    justify-content: center;
  }
  .nav-links {
    gap: 20px;
  }
  .section {
    padding: 64px 24px;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .phone {
    width: 220px;
    height: 220px;
  }
  .phone-icon {
    width: 160px;
    height: 160px;
  }
}

@media (max-width: 500px) {
  .nav-inner {
    padding: 14px 20px;
  }
  .brand-name {
    display: none;
  }
  .nav-links {
    font-size: 13px;
    gap: 14px;
  }
}
