:root {
  --color-background: #0d0d0d;
  --color-surface: #171717;
  --color-surface-light: #1f1f1f;
  --color-text: #f6f6f6;
  --color-muted: #a0a0a0;
  --color-accent: #f97316;
  --border-radius: 16px;
  --spacing: clamp(1rem, 3vw, 2rem);
  --container-width: min(1100px, 90vw);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background-color: var(--color-background);
  color: var(--color-text);
}

body {
  line-height: 1.6;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

h1,
h2,
h3 {
  font-family: "Montserrat", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

.container {
  width: var(--container-width);
  margin: 0 auto;
  text-align: left;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
  background: var(--color-background);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header .container {
  text-align: left;
}

.top-nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  position: relative;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.language-switcher {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lang-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-text);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  font-family: inherit;
  min-width: 50px;
  text-decoration: none;
  display: inline-block;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-accent);
  border-color: rgba(249, 115, 22, 0.3);
}

.brand {
  font-family: "Montserrat-Alt1", "Montserrat", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: left;
}

.brand-name {
  font-family: "Montserrat-Alt1", "Montserrat", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-weight: 800;
  font-style: italic;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  background: var(--color-accent);
  color: #0d0d0d;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(249, 115, 22, 0.35);
}

.cta-button--ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid rgba(249, 115, 22, 0.5);
}

.cta-button--ghost:hover {
  background: rgba(249, 115, 22, 0.12);
  box-shadow: 0 8px 18px rgba(249, 115, 22, 0.15);
}

.hero {
  position: relative;
  padding: clamp(3rem, 10vw, 6rem) 0;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(249, 115, 22, 0.18), transparent 60%);
  opacity: 0.85;
  pointer-events: none;
}

.hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  line-height: 1.2;
  font-weight: 100;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  max-width: none;
}

h1 b {
  font-weight: 900;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 50%;
}

h3 {
  font-size: clamp(1.4rem, 3vw, 1.75rem);
}

.hero__cta-group {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  justify-content: flex-start;
  align-items: center;
}

.section {
  padding: clamp(3rem, 8vw, 5rem) 0;
}

.section-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
}

.section--cta {
  text-align: left;
  background: var(--color-surface);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.problem-card {
  background: var(--color-surface);
  border-radius: var(--border-radius);
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: grid;
  gap: 1.5rem;
}

.problem-card header h3 {
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
}

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

.problem-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.15);
  color: var(--color-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.problem-card__body ul {
  margin: 1rem 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
  color: var(--color-muted);
}

.problem-card__body li {
  position: relative;
  padding-left: 1.75rem;
}

.problem-card__body li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.cta-link {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
}

.cta-link:hover {
  text-decoration: underline;
}

.faq-accordion {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}

.faq-accordion details {
  background: var(--color-surface);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1rem 1.5rem;
}

.faq-accordion summary {
  cursor: pointer;
  font-weight: 600;
  outline: none;
  list-style: none;
}

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

.faq-accordion details[open] {
  border-color: rgba(249, 115, 22, 0.3);
}

.faq-accordion details p {
  margin-top: 0.75rem;
  color: var(--color-muted);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
  margin-top: 2rem;
}

.step-card {
  background: var(--color-surface);
  border-radius: var(--border-radius);
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: grid;
  gap: 0.75rem;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.65), rgba(249, 115, 22, 0));
  color: var(--color-text);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.step-card h3 {
  font-size: clamp(1.35rem, 2vw, 1.65rem);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
  align-items: start;
}

.about-content {
  display: grid;
  gap: 1rem;
}

.about-content p {
  color: var(--color-muted);
  margin: 0;
}

.tagline {
  color: var(--color-muted);
  margin-top: 1.5rem;
}

.founder-profile {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}

.profile-photo-large {
  width: 200px;
  height: 200px;
  border-radius: var(--border-radius);
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.founder-info {
  display: grid;
  gap: 0.5rem;
}

.founder-info p {
  margin: 0;
}

.footer {
  padding: 2rem 0;
  background: var(--color-surface-light);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
  color: var(--color-muted);
}

.footer__note {
  gap: 0.5rem;
  color: var(--color-muted);
}

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

/* Override width constraints inside grid layouts */
.problem-grid h2,
.problem-grid h3,
.problem-grid p,
.problem-card h2,
.problem-card h3,
.problem-card p,
.steps-grid h2,
.steps-grid h3,
.steps-grid p,
.step-card h2,
.step-card h3,
.step-card p,
.about-layout h2,
.about-layout h3,
.about-layout p {
  max-width: 100%;
}

@media (max-width: 640px) {
  .top-nav .cta-button {
    display: none;
  }

  .hero__cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .top-nav {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0;
  }

  .header-actions {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }

  .language-switcher {
    position: static;
    transform: none;
    order: -1;
    margin-bottom: 0.5rem;
  }

  .cta-button {
    width: 100%;
    text-align: center;
  }

  .site-header {
    position: static;
    padding: 0.75rem 0;
  }

  h2 {
    max-width: 100%;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .founder-profile {
    flex-direction: column;
  }

  .profile-photo-large {
    width: 160px;
    height: 160px;
  }

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