:root {
  /* Backgrounds */
  --bg: #0b0d10; /* near-black graphite */
  --bg-light: #12151a; /* header / sections */
  --card: #181c22; /* cards, panels */

  /* Text */
  --text: #e6e7ea; /* primary text */
  --muted: #9aa0a6; /* secondary text */

  /* Accent (metal highlight) */
  --accent: #c7c9cc; /* brushed silver */
  --accent-dark: #9da3aa;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scrollbar-gutter: stable;
}

html,
body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.page-content {
  flex: 1 0 auto;
  width: 100%;
}

.page-contact .page-content {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.a-text {
  text-decoration: underline;
}

section {
  border-bottom: 1px solid rgba(200, 200, 200, 0.25);
}

section:last-of-type {
  border-bottom: none;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.header {
  background: var(--bg);
  border-bottom: 1px solid rgba(200, 200, 200, 0.25);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.header-logo {
  display: block; /* prevents inline baseline gaps */
  height: 1.5rem; /* or whatever you want */
  width: auto;
}

.header-logo-link {
  display: flex;
  align-items: center;
}

.header,
.footer {
  width: 100%;
  flex: 0 0 auto;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
}

/* Hero */
.hero {
  padding: 4rem 0;
}

.hero-grid {
  display: grid;
  gap: 3rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
}

.subtitle {
  color: var(--muted);
  margin: 1rem 0 2rem;
}

.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  max-width: 350px;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.mockup {
  width: 100%;
  max-width: 420px;
  height: 260px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1f2937, #020617);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}

.cta-note {
  font-size: 0.95rem;
}

/* Buttons */
.cta-button {
  display: inline-block;
  background: linear-gradient(180deg, var(--accent), var(--accent-dark));
  color: #0b0d10;
  font-weight: 500;
  border-radius: 8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta-button:hover {
  box-shadow: 0 6px 20px rgba(200, 200, 200, 0.25);
}

.cta-button.small {
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
}

.cta-button.large {
  padding: 0.9rem 1.4rem;
  font-size: 1rem;
}

/* Features */
.features {
  background: var(--bg);
  padding: 4rem 0;
}

.features h2 {
  text-align: center;
  margin-bottom: 2.5rem;
}

.feature-grid {
  display: grid;
  gap: 1.5rem;
}

.feature-card {
  border: 1px solid rgba(199, 201, 204, 0.18);
  padding: 1.5rem;
  border-radius: 12px;
}

.feature-card p {
  color: var(--muted);
}

.feature-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.feature-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  fill: var(--text);
}

.feature-card h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.2;
}

.feature-card:hover .feature-icon {
  filter: brightness(1.1);
}

/* =========================
   Context section (improved)
   ========================= */

.context {
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.context h2 {
  text-align: center;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.context-lead {
  max-width: 720px;
  margin: 0 auto 2.25rem;
  text-align: center;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* grid */
.context-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

/* cards */
.context-card {
  border: 1px solid rgba(199, 201, 204, 0.18);
  border-radius: 14px;
  padding: 1.5rem;
  position: relative;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

/* subtle top highlight */
.context-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  pointer-events: none;
}

.context-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.context-card p {
  margin: 0;
  color: var(--muted);
}

/* Responsive */
@media (min-width: 768px) {
  .context-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .context-card {
    padding: 1.75rem;
  }
}

/* =========================
   CTA variants (Hero + Final CTA)
   ========================= */

.hero-ctas,
.final-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.hero-note {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Secondary CTA (outlined / ghost) */
.cta-button.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(199, 201, 204, 0.28);
  box-shadow: none;
}

.cta-button.secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
  border-color: rgba(199, 201, 204, 0.45);
}

/* On very small screens, keep CTAs full-width if you want */
@media (max-width: 420px) {
  .hero-ctas .cta-button,
  .final-ctas .cta-button {
    width: 100%;
    text-align: center;
  }
}

/* =========================
   Pricing section
   ========================= */

.pricing {
  padding: 4.5rem 0;
  background: var(--bg);
}

.pricing h2 {
  text-align: center;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.pricing-lead {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.pricing-footnote {
  max-width: 760px;
  margin: 2.5rem auto 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  /* font-style: italic; */
}

.pricing-grid {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

.pricing-card {
  /* background: var(--card); */
  border: 1px solid rgba(199, 201, 204, 0.18);
  border-radius: 16px;
  padding: 1.75rem;
  position: relative;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
}

.plan-head h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.plan-price {
  margin: 0.25rem 0 0.35rem;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.plan-price .price {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.plan-price .period {
  color: var(--muted);
  font-size: 0.95rem;
}

.plan-sub {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.plan-features {
  margin: 1.25rem 0 1.5rem;
  padding-left: 1.05rem;
  color: var(--muted);
}

.plan-features li {
  margin: 0.5rem 0;
}

.plan-features strong {
  color: var(--text);
}

/* Keep the button pinned toward the bottom for equal-height cards */
.pricing-card .cta-button.large {
  margin-top: auto;
  width: 100%;
  text-align: center;
}

.plan-footnote {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

/* Featured (Pro) */
.pricing-card.featured {
  background: var(--card);
  border-color: rgba(199, 201, 204, 0.35);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
}

.pricing-card.featured > * {
  position: relative;
  z-index: 1;
}

/* Responsive layout for pricing */
@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .pricing-card {
    padding: 2rem;
  }
}

/* Final CTA */
.final-cta {
  padding: 4rem 0;
  text-align: center;
}

.final-cta p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.final-cta-icon {
  min-width: 70px;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(200, 200, 200, 0.25);
  padding: 2rem 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer p {
  margin: 0.25rem 0;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

/* Contact */
.contact {
  padding: 4.5rem 0;
}

.contact-column {
  display: flex;
  flex-direction: column;
  max-width: 760px;
  margin: 0 auto;
  gap: 0.55rem; /* medium vertical rhythm */
}

/* Reset heavy defaults */
.contact-column h1,
.contact-column h3,
.contact-column p {
  margin: 0;
}

/* Headings get deliberate separation */
.contact-column h3 {
  margin-top: 1.1rem;
}

/* Body copy breathing room */
.contact-column p {
  margin-top: 0.35rem;
}

/* Notes slightly softer + spaced */
.contact-note {
  margin-top: 0.5rem;
}

.contact-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.contact-title-row h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
}

.contact-title-image {
  width: 38px;
  height: 38px;
  margin-right: 2.3rem;
  flex-shrink: 0;
  opacity: 0.95;
}

.contact-note {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-form {
  margin-top: 0.6rem;
  padding: 0; /* no card padding */
}

.contact-form .form-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.9rem;
}

.contact-form .form-row:first-child {
  margin-top: 0;
}

.contact-form label {
  font-size: 0.95rem;
  color: var(--muted);
}

/* Inputs */
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 0;
  padding: 0.7rem 0.8rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Placeholder */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(154, 160, 166, 0.8);
}

/* Focus state */
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #ffffff;
  box-shadow: none;
}

/* Submit button */
.contact-form .contact-button {
  margin-top: 1rem;
  width: auto;
  padding: 0.7rem 1.4rem;
  align-self: flex-start;
  text-align: center;
  border: 0;
  cursor: pointer;
}

/* Form footnote */
.contact-form .form-note {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-button {
  display: inline-block;
  background: var(--accent);
  color: #0b0d10;
  font-weight: 500;
  border-radius: 8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  font-size: 1rem;
}

/* Stronger Chrome autofill override */
/* Autofill fix (Chrome/Edge) */
.contact-form input:-webkit-autofill,
.contact-form input:-webkit-autofill:hover,
.contact-form input:-webkit-autofill:focus,
.contact-form textarea:-webkit-autofill,
.contact-form textarea:-webkit-autofill:hover,
.contact-form textarea:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text) !important;
  caret-color: var(--text) !important;

  /* IMPORTANT: use your page background color here */
  -webkit-box-shadow: 0 0 0 1000px #0b0d10 inset !important;
  box-shadow: 0 0 0 1000px #0b0d10 inset !important;

  border: 1px solid rgba(255, 255, 255, 0.85);

  /* reduce flicker */
  transition: background-color 9999s ease-in-out 0s;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-success {
  margin-top: 0.6rem;
}

.contact-success-title {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.contact-success h3 {
  color: #50c878;
  margin-top: 0;
}

.success-icon {
  width: 22px;
  height: auto;
  margin-bottom: 3px;
}

.contact-success p {
  margin: 0;
  color: var(--muted);
}

/* Responsive */
@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .header .container,
  .footer .container {
    max-width: 98%; /* or 1320 / 1400 */
  }
}
@media (min-width: 1536px) {
  .header .container,
  .footer .container {
    max-width: 98%;
  }
}
