
:root {
  --color-bg: #050814;
  --color-surface: #0e1424;
  --color-surface-alt: #121a2b;
  --color-border: #1e2a3f;
  --color-accent: #ff4655;
  --color-accent-soft: #30b894;
  --color-text: #e5edf9;
  --color-muted: #8a93a5;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 45px rgba(0,0,0,0.55);
  --shadow-subtle: 0 10px 30px rgba(0,0,0,0.35);
  --max-width: 1120px;
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #151c30 0, #050814 48%, #02040b 100%);
  color: var(--color-text);
}

body {
  min-height: 100vh;
}

/* Layout helpers */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: radial-gradient(circle at top left, #141c32, #050814);
}

.section-intro {
  max-width: 620px;
  color: var(--color-muted);
}

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.grid {
  display: grid;
  gap: 1.75rem;
}

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

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

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
}

.hero {
  padding: 4.5rem 0 3rem;
}

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

.hero-sub {
  padding-top: 5rem;
}

.hero-text h1 {
  font-size: clamp(2.2rem, 3vw, 2.8rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-text .lead {
  color: var(--color-muted);
  max-width: 640px;
}

.hero-media img {
  display: block;
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255,255,255,0.08);
}

.hero-home {
  padding-top: 5.5rem;
}

.hero-badge {
  position: relative;
  margin-top: 1.2rem;
  padding: 0.75rem 1rem;
  border-radius: 16px;
  background: rgba(6, 16, 36, 0.9);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.85rem;
  color: var(--color-muted);
}

.hero-badge .badge-label {
  display: inline-block;
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
  background: rgba(255,70,85,0.09);
  color: var(--color-accent);
  font-size: 0.76rem;
  margin-right: 0.45rem;
}

.hero-badge .badge-text {
  font-size: 0.82rem;
}

.eyebrow {
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--color-accent-soft);
  margin-bottom: 0.75rem;
}

.lead {
  font-size: 1rem;
}

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

.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.hero-highlights li::before {
  content: "• ";
  color: var(--color-accent-soft);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(2, 6, 22, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.96rem;
  color: #ffffff;
  text-decoration: none;
}

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

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--color-muted);
  font-size: 0.86rem;
  text-decoration: none;
  padding: 0.25rem 0.4rem;
  border-radius: 999px;
}

.main-nav a:hover {
  color: #ffffff;
  background: rgba(255,255,255,0.06);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  color: #ffffff;
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
  font-size: 1.1rem;
}

.lang-switch {
  display: flex;
  gap: 0.35rem;
  margin-left: 1.5rem;
  font-size: 0.78rem;
}

.lang {
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
}

.lang.active {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.lang.muted {
  color: var(--color-muted);
  opacity: 0.6;
}

/* Cards & elements */

.card {
  background: linear-gradient(145deg, rgba(15,22,39,0.96), rgba(6,12,26,0.96));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.04);
  box-shadow: var(--shadow-subtle);
  padding: 1.35rem 1.3rem;
}

.feature-card,
.module-card,
.testimonial-card,
.blog-card,
.pricing-card {
  position: relative;
  overflow: hidden;
}

.feature-card::before,
.module-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255,70,85,0.11), transparent 60%);
  opacity: 0;
  transition: opacity 0.25s ease-out;
}

.feature-card:hover::before,
.module-card:hover::before {
  opacity: 1;
}

.module-card img,
.blog-card img {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 0.9rem;
}

.blog-card-content {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.blog-meta {
  font-size: 0.8rem;
  color: var(--color-muted);
}

.feature-grid,
.module-grid,
.quicklink-grid,
.testimonial-grid,
.blog-grid,
.pricing-grid {
  margin-top: 2rem;
}

.testimonial-card p {
  font-size: 0.9rem;
}

.testimonial-name {
  margin-top: 0.75rem;
  color: var(--color-muted);
  font-size: 0.85rem;
}

.quicklink-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--color-text);
}

.quicklink-card h3 {
  font-size: 1rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  font-size: 0.78rem;
  color: var(--color-muted);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, background 0.12s, border-color 0.12s;
  white-space: nowrap;
}

.btn.primary {
  background: linear-gradient(135deg, var(--color-accent), #ff7a73);
  border-color: rgba(255,255,255,0.1);
  color: #ffffff;
  box-shadow: 0 14px 35px rgba(255,70,85,0.4);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(255,70,85,0.55);
}

.btn.ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.28);
  color: var(--color-text);
}

.btn.ghost:hover {
  background: rgba(255,255,255,0.06);
}

.btn:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Lists */

.bullet-list {
  list-style: none;
  padding-left: 0;
  margin: 0.75rem 0 0;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.bullet-list li {
  margin-bottom: 0.35rem;
  position: relative;
  padding-left: 1.1rem;
}

.bullet-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-accent-soft);
}

.mini-list {
  list-style: none;
  padding-left: 0;
  margin: 0.6rem 0 0;
  font-size: 0.84rem;
  color: var(--color-muted);
}

.mini-list li {
  margin-bottom: 0.2rem;
}

.ordered-list {
  padding-left: 1rem;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.ordered-list.compact li {
  margin-bottom: 0.2rem;
}

/* FAQ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(5,10,25,0.96);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 0.8rem 1rem;
  text-align: left;
  background: none;
  border: none;
  color: var(--color-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 0.9rem;
}

.faq-toggle {
  font-size: 1.1rem;
  color: var(--color-muted);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1rem;
  transition: max-height 0.2s ease-out, padding-bottom 0.2s ease-out;
  font-size: 0.88rem;
  color: var(--color-muted);
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding-bottom: 0.8rem;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

/* Timeline */

.timeline {
  border-left: 2px solid rgba(255,255,255,0.08);
  margin-top: 1.5rem;
}

.timeline-item {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1.3rem;
}

.timeline-step {
  position: absolute;
  left: -0.7rem;
  top: 0;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 999px;
  background: var(--color-accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.timeline-content h3 {
  margin: 0 0 0.3rem;
  font-size: 0.98rem;
}

/* Checklists */

.checklist {
  list-style: none;
  padding-left: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.checklist li {
  margin-bottom: 0.4rem;
}

.checklist input[type="checkbox"] {
  margin-right: 0.5rem;
}

.checklist-status {
  font-size: 0.82rem;
  margin-top: 0.4rem;
  color: var(--color-muted);
}

/* Forms */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

label {
  font-size: 0.85rem;
  color: var(--color-muted);
}

input[type="text"],
input[type="email"],
select,
textarea {
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(3,10,26,0.96);
  padding: 0.6rem 0.75rem;
  color: var(--color-text);
  font-size: 0.9rem;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255,255,255,0.35);
}

textarea {
  resize: vertical;
}

/* Notes */

.note {
  font-size: 0.86rem;
  color: var(--color-muted);
}

.note.small {
  font-size: 0.78rem;
}

/* Footer */

.site-footer {
  margin-top: 3rem;
  padding: 3rem 0 2rem;
  background: radial-gradient(circle at bottom, #02030a, #010207);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.4fr;
  gap: 1.75rem;
}

.site-footer h4 {
  margin-top: 0;
  font-size: 0.98rem;
}

.footer-links {
  list-style: none;
  padding-left: 0;
  margin: 0.4rem 0 0;
}

.footer-links a {
  color: var(--color-muted);
  font-size: 0.86rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffffff;
}

.disclaimer {
  font-size: 0.8rem;
  color: var(--color-muted);
}

.disclaimer.small {
  margin-top: 0.5rem;
  font-size: 0.75rem;
}

.footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--color-muted);
}

.footer-bottom a {
  color: var(--color-muted);
  text-decoration: none;
}

/* Misc */

.mini-disclaimer {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.25rem;
}

.mini-disclaimer p {
  font-size: 0.86rem;
  color: var(--color-muted);
}

/* Responsive */

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .hero-grid,
  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-media {
    order: -1;
  }
  .hero {
    padding-top: 4.5rem;
  }
}

@media (max-width: 768px) {
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
  .grid-4 {
    grid-template-columns: minmax(0, 1fr);
  }
  .pricing-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .section-header-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .header-inner {
    padding-inline: 1rem;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .main-nav {
    position: absolute;
    inset: 56px 0 auto;
    background: rgba(2, 6, 22, 0.98);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    transition: transform 0.12s ease-out, opacity 0.12s ease-out;
  }
  .main-nav.open {
    transform: scaleY(1);
    opacity: 1;
  }
  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 1rem 1rem;
  }
  .lang-switch {
    padding: 0 1rem 1rem;
    margin-left: 0;
  }
}
