/* ============================================================
   KLAIMER — Landing Page Stylesheet
   Theme: Dark Navy + Orange CTA
   Colors:
     --navy-dark:    #0D1B2A  (page background)
     --navy-mid:     #1E3A5F  (section backgrounds)
     --navy-card:    #162336  (card backgrounds)
     --orange:       #FF6B35  (CTA / accent)
     --orange-hover: #E85A22
     --text-light:   #E8EDF2
     --text-muted:   #8FA3B8
     --border:       #2A4A6B
============================================================ */

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

:root {
  --navy-dark:    #0D1B2A;
  --navy-mid:     #1E3A5F;
  --navy-card:    #162336;
  --orange:       #FF6B35;
  --orange-hover: #E85A22;
  --text-light:   #E8EDF2;
  --text-muted:   #8FA3B8;
  --border:       #2A4A6B;
  --success:      #22C55E;
  --radius:       10px;
  --transition:   0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--navy-dark);
  color: var(--text-light);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Urgency Banner ─────────────────────────────────────── */
#urgency-banner {
  background: linear-gradient(90deg, #b83200, var(--orange), #b83200);
  background-size: 200% 100%;
  animation: bannerShimmer 4s ease infinite;
  text-align: center;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

@keyframes bannerShimmer {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

#urgency-banner span { white-space: nowrap; }
#days-left { font-size: 16px; font-weight: 800; }

/* ── Navigation ─────────────────────────────────────────── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  border-bottom: 1px solid var(--border);
  background: var(--navy-dark);
  position: sticky;
  top: 37px;  /* height of banner — JS in main.js adjusts this dynamically */
  z-index: 99;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 800;
  color: var(--text-light);
  letter-spacing: -0.5px;
  text-decoration: none;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-logo .logo-full { height: 44px; }
.nav-logo .logo-icon { display: none; }

.nav-logo .logo-text {
  color: var(--text-light);
}

.nav-logo .logo-text span {
  color: var(--orange);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-login {
  color: var(--text-muted) !important;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none !important;
  transition: color var(--transition);
}

.nav-login:hover {
  color: var(--text-light) !important;
  text-decoration: none !important;
}

.nav-cta {
  background: var(--orange);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  transition: background var(--transition), transform var(--transition);
  text-decoration: none !important;
}

.nav-cta:hover {
  background: var(--orange-hover);
  transform: translateY(-1px);
}

/* ── Section Utility ────────────────────────────────────── */
section { padding: 80px 20px; }

.container {
  max-width: 960px;
  margin: 0 auto;
}

.container--wide {
  max-width: 1100px;
  margin: 0 auto;
}

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

.section-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: var(--text-light);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 640px;
}

/* ── Hero Section ───────────────────────────────────────── */
#hero {
  padding: 90px 20px 80px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, #1a3a60 0%, var(--navy-dark) 70%);
}

#hero .hero-eyebrow {
  display: inline-block;
  background: rgba(255, 107, 53, 0.12);
  border: 1px solid rgba(255, 107, 53, 0.3);
  color: var(--orange);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 28px;
  text-transform: uppercase;
}

#hero h1 {
  font-size: clamp(30px, 5.5vw, 52px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  color: #fff;
  max-width: 760px;
  margin: 0 auto 24px;
}

#hero h1 em {
  font-style: normal;
  color: var(--orange);
}

#hero .hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* ── CTA Form Block (hero + bottom) ─────────────────────── */
.cta-form-block {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 40px;
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
}

.cta-form-block h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 6px;
}

.cta-form-block p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.cta-checklist {
  list-style: none;
  margin: -4px 0 20px;
  padding: 0;
}

.cta-checklist li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  color: var(--text-light);
  font-size: 13px;
  line-height: 1.5;
}

.cta-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

/* SendFox / generic form styling */
.cta-form-block form,
#sendfox_embed_signup form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-form-block input[type="email"],
.cta-form-block input[type="text"],
#sendfox_embed_signup input[type="email"],
#sendfox_embed_signup input[type="text"] {
  width: 100%;
  padding: 14px 16px;
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-light);
  font-size: 15px;
  outline: none;
  transition: border-color var(--transition);
}

.cta-form-block input[type="email"]:focus,
.cta-form-block input[type="text"]:focus,
#sendfox_embed_signup input:focus {
  border-color: var(--orange);
}

.cta-form-block input::placeholder,
#sendfox_embed_signup input::placeholder {
  color: var(--text-muted);
}

.btn-primary,
.cta-form-block button[type="submit"],
#sendfox_embed_signup button[type="submit"] {
  display: block;
  width: 100%;
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 15px 24px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  letter-spacing: 0.01em;
}

.btn-primary:hover,
.cta-form-block button[type="submit"]:hover,
#sendfox_embed_signup button[type="submit"]:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
}

.trust-line {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 14px;
}

.trust-line svg {
  flex-shrink: 0;
  color: var(--success);
}

.pricing-anchor {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 12px;
  text-align: center;
}

.pricing-anchor strong {
  color: var(--orange);
  font-weight: 700;
}

/* ── Stats Bar ──────────────────────────────────────────── */
#stats {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.stat-item .stat-number {
  font-size: 36px;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-item .stat-label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ── Product Screenshots ───────────────────────────────── */
#product-preview {
  background: var(--navy-mid);
}

.screenshot-showcase {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-top: 40px;
}

.screenshot-item {
  display: flex;
  align-items: center;
  gap: 40px;
}

.screenshot-item:nth-child(even) {
  flex-direction: row-reverse;
}

.screenshot-frame {
  flex: 0 0 58%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.04);
}

.screenshot-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.screenshot-caption {
  flex: 1;
}

.screenshot-caption h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-light);
}

.screenshot-caption p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .screenshot-item,
  .screenshot-item:nth-child(even) {
    flex-direction: column;
  }
  .screenshot-frame {
    flex: none;
    width: 100%;
  }
}

/* ── How It Works ───────────────────────────────────────── */
#how-it-works {
  background: var(--navy-dark);
}

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

.step-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  position: relative;
}

.step-number {
  width: 44px;
  height: 44px;
  background: rgba(255, 107, 53, 0.12);
  border: 1px solid rgba(255, 107, 53, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 20px;
}

.step-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 10px;
}

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

.step-connector {
  position: absolute;
  right: -25px;
  top: 44px;
  color: var(--border);
  font-size: 20px;
  z-index: 1;
}

/* ── Deductions Found ───────────────────────────────────── */
#deductions {
  background: var(--navy-mid);
}

.deductions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.deduction-item {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: border-color var(--transition);
}

.deduction-item:hover {
  border-color: rgba(255, 107, 53, 0.4);
}

.deduction-icon {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.deduction-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 4px;
}

.deduction-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Why Klaimer ────────────────────────────────────────── */
#why-klaimer {
  background: var(--navy-dark);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.why-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 24px;
}

.why-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 10px;
}

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

/* ── Testimonials ───────────────────────────────────────── */
#testimonials {
  background: var(--navy-dark);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.testimonial-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 26px;
}

.testimonial-stars {
  color: #FFB800;
  font-size: 16px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--orange);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.author-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-light);
}

.author-title {
  font-size: 12px;
  color: var(--text-muted);
}

/* ── Trust / Security ───────────────────────────────────── */
#trust {
  background: var(--navy-mid);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
  text-align: center;
}

.trust-item {
  padding: 24px 16px;
}

.trust-icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.trust-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 8px;
}

.trust-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Bottom CTA Section ─────────────────────────────────── */
#bottom-cta {
  background: radial-gradient(ellipse at 50% 100%, #1a3a60 0%, var(--navy-dark) 70%);
  text-align: center;
}

#bottom-cta .section-title {
  max-width: 640px;
  margin: 0 auto 16px;
}

#bottom-cta .section-sub {
  margin: 0 auto 40px;
}

/* ── FAQ ────────────────────────────────────────────────── */
#faq {
  background: var(--navy-dark);
}

.faq-list {
  margin-top: 48px;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 15px;
  font-weight: 600;
  padding: 20px 22px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color var(--transition);
}

.faq-question:hover { color: var(--orange); }

.faq-chevron {
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--text-muted);
}

.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-item.open .faq-question { color: var(--orange); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 22px;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 22px 20px;
}

.faq-answer p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Footer ─────────────────────────────────────────────── */
footer {
  background: #080F18;
  border-top: 1px solid var(--border);
  padding: 40px 20px;
  text-align: center;
}

.footer-logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: 12px;
}

.footer-logo span { color: var(--orange); }

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

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

.footer-links a:hover { color: var(--orange); text-decoration: none; }

.footer-copy {
  font-size: 12px;
  color: #4A6A8A;
}

/* ── Cookie Consent Banner ─────────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  padding: 16px 20px;
  z-index: 9999;
}

.cookie-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-inner p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.cookie-inner a {
  color: var(--orange);
  text-decoration: none;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.cookie-btn-accept {
  background: var(--orange);
  color: #fff;
}

.cookie-btn-accept:hover {
  background: var(--orange-hover);
}

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

.cookie-btn-decline:hover {
  border-color: var(--text-muted);
}

@media (max-width: 600px) {
  .cookie-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
  nav { padding: 14px 20px; }

  .nav-logo .logo-full { display: none; }
  .nav-logo .logo-icon { display: block; }

  .steps-grid,
  .testimonials-grid,
  .why-grid { grid-template-columns: 1fr; }

  .trust-grid { grid-template-columns: repeat(2, 1fr); }

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

  .stats-grid { grid-template-columns: 1fr; gap: 28px; }

  .cta-form-block { padding: 28px 22px; }

  .step-connector { display: none; }
}

@media (max-width: 480px) {
  section { padding: 60px 16px; }
  nav { top: 42px; }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-links { gap: 14px; }
}
