:root {
  --brand-blue: #0051FF;
  --deep-gray: #1A1A1A;
  --silver: #C8CBD0;
  --green-check: #03C160;
  --error-red: #E63946;
  --amber-yellow: #FFDA3D;
  --light-gray: #F4F4F4;
  --very-light-gray: #FAFAFA;
  --off-white: #FFFFFF;

  --radius-lg: 16px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.08);
}

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

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  color: #222;
  background: var(--very-light-gray);
}

/* Layout helpers */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(250, 250, 250, 0.92);
  border-bottom: 1px solid rgba(200, 203, 208, 0.4);
}

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

.logo-img {
  height: 36px;
  display: block;
}

.main-nav {
  display: none;
  gap: 1.5rem;
  margin-left: 2rem;
}

.nav-link {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: #444;
}

.nav-link:hover {
  color: var(--brand-blue);
}

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

/* Language switcher */

.lang-switch {
  position: relative;
}

.lang-current {
  border-radius: var(--radius-pill);
  border: 1px solid var(--silver);
  background: #fff;
  padding: 0.35rem 0.8rem;
  font-size: 0.85rem;
  cursor: pointer;
}

.lang-menu {
  position: absolute;
  right: 0;
  top: 120%;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  padding: 0.4rem;
  min-width: 140px;
}

.lang-menu button {
  width: 100%;
  border: none;
  background: transparent;
  padding: 0.35rem 0.6rem;
  text-align: left;
  font-size: 0.85rem;
  cursor: pointer;
  border-radius: 8px;
}

.lang-menu button:hover {
  background: var(--very-light-gray);
}

.hidden {
  display: none !important;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  border: none;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.6rem 1.4rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.08s ease, box-shadow 0.08s ease, background 0.1s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-blue), #2a73ff);
  color: #fff;
  box-shadow: 0 12px 24px rgba(0, 81, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(0, 81, 255, 0.4);
}

.btn-outline {
  border: 1px solid var(--silver);
  background: #fff;
  color: #333;
}

.btn-outline:hover {
  background: var(--very-light-gray);
}

.btn-ghost {
  border-radius: var(--radius-pill);
  padding-inline: 1.2rem;
  background: transparent;
  border: 1px solid transparent;
  color: #333;
}

.btn-ghost:hover {
  border-color: var(--silver);
  background: rgba(0, 0, 0, 0.02);
}

.btn-disabled {
  background: var(--light-gray);
  color: #888;
  cursor: not-allowed;
  box-shadow: none;
}

/* Avatar */

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--deep-gray);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Sections */

.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--very-light-gray);
}

.section-title {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  margin: 0 0 0.5rem;
  color: var(--deep-gray);
}

.section-lead {
  max-width: 680px;
  font-size: 1rem;
  color: #555;
  margin: 0.25rem 0 2.5rem;
}

/* Hero */

.hero {
  padding-top: 5rem;
  padding-bottom: 4rem;
  background: radial-gradient(circle at top left, rgba(0, 81, 255, 0.08), transparent 55%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-kicker {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-blue);
  margin: 0 0 0.75rem;
}

.hero-title {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin: 0 0 0.75rem;
  color: var(--deep-gray);
}

.hero-subtitle {
  margin: 0 0 1.5rem;
  color: #555;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}

.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #555;
  font-size: 0.95rem;
}

.hero-bullets li::before {
  content: "•";
  color: var(--green-check);
  font-weight: 700;
  display: inline-block;
  margin-right: 0.45rem;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-card {
  background: #fff;
  border-radius: 24px;
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(200, 203, 208, 0.6);
}

.hero-logo {
  width: 180px;
  max-width: 100%;
  margin-bottom: 0.75rem;
}

.hero-card-title {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 600;
  margin: 0 0 1rem;
  font-size: 1rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.metric-label {
  display: block;
  font-size: 0.75rem;
  color: #777;
}

.metric-value {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1rem;
}

.hero-small {
  font-size: 0.75rem;
  color: #777;
}

.hero-stick img {
  width: 200px;
  max-width: 100%;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.25));
}

/* Steps / Features / Pricing */

.steps-grid,
.features-grid,
.pricing-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.step-card,
.feature-card,
.pricing-card,
.faq-item {
  background: #fff;
  border-radius: 18px;
  padding: 1.3rem 1.4rem;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(230, 230, 230, 0.9);
}

.section-alt .step-card,
.section-alt .feature-card,
.section-alt .pricing-card,
.section-alt .faq-item {
  background: #fff;
}

.step-icon {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: rgba(0, 81, 255, 0.07);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.step-card h3,
.feature-card h3,
.pricing-card h3 {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 600;
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.step-card p,
.feature-card p,
.pricing-card p,
.faq-item p {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
}

.feature-card ul,
.pricing-card ul {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
}

.feature-card li,
.pricing-card li {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 0.35rem;
}

.feature-card li::before,
.pricing-card li::before {
  content: "✔";
  color: var(--green-check);
  margin-right: 0.45rem;
}

/* Pro card */

.feature-card-pro {
  border-color: rgba(0, 81, 255, 0.3);
}

.pill {
  display: inline-block;
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-pill);
  background: rgba(0, 81, 255, 0.08);
  color: var(--brand-blue);
  font-size: 0.75rem;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

/* Pricing */

.pricing-card {
  position: relative;
}

.pricing-card-muted {
  opacity: 0.85;
}

.price-tag {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  margin: 0.3rem 0 0.4rem;
}

/* FAQ */

.faq-item summary {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  float: right;
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin-top: 0.6rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(200, 203, 208, 0.6);
  background: #fafafa;
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: #666;
}

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

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

.footer-links a {
  color: #666;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Responsive */

@media (min-width: 900px) {
  .main-nav {
    display: flex;
  }
}

@media (max-width: 899px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    order: -1;
  }
  .header-inner {
    gap: 0.75rem;
  }
}

@media (max-width: 720px) {
  .steps-grid,
  .features-grid,
  .pricing-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
}


/* Auth / Forms / Account */

.auth-page {
  padding: 4rem 0;
}

.auth-layout {
  max-width: 480px;
  margin: 0 auto;
}

.auth-card {
  background: #fff;
  border-radius: 18px;
  padding: 1.6rem 1.8rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(200, 203, 208, 0.5);
}

.auth-title {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0 0 0.35rem;
  color: var(--deep-gray);
}

.auth-subtitle {
  font-size: 0.95rem;
  color: #555;
  margin: 0 0 1.5rem;
}

.auth-flash-success,
.auth-flash-error {
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.auth-flash-success {
  background: #e6f9ef;
  border: 1px solid rgba(3, 193, 96, 0.4);
  color: #145c32;
}

.auth-flash-error {
  background: #fde7ea;
  border: 1px solid rgba(230, 57, 70, 0.4);
  color: #7f1d1d;
}

.form-row {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 0.3rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--silver);
  padding: 0.55rem 0.7rem;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
  background: #fff;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 1px rgba(0, 81, 255, 0.15);
  background: #fff;
}

.form-input[readonly],
.form-select[readonly] {
  background: #f3f4f6;
  color: #666;
}

.form-error {
  margin-top: 0.3rem;
  font-size: 0.8rem;
  color: var(--error-red);
}

.form-help {
  margin-top: 0.3rem;
  font-size: 0.8rem;
  color: #777;
}

.form-actions {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.auth-link {
  font-size: 0.9rem;
  color: var(--brand-blue);
  text-decoration: none;
}

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

/* Account page */

.account-page {
  padding: 4rem 0;
}

.account-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
  gap: 2rem;
}

.account-card {
  background: #fff;
  border-radius: 18px;
  padding: 1.6rem 1.8rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(200, 203, 208, 0.5);
}

.account-title {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  margin: 0 0 0.4rem;
  color: var(--deep-gray);
}

.account-subtitle {
  margin: 0 0 1.4rem;
  font-size: 0.95rem;
  color: #555;
}

.account-meta {
  font-size: 0.85rem;
  color: #777;
}

.account-avatar-preview {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.75rem;
}

.account-avatar-preview .user-avatar {
  width: 44px;
  height: 44px;
  font-size: 1.05rem;
}

.account-avatar-note {
  font-size: 0.85rem;
  color: #666;
}

@media (max-width: 900px) {
  .account-grid {
    grid-template-columns: 1fr;
  }
}
