/* =============================================
   BASE RESET & TOKENS
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-dark:    #1C1B2E;
  --bg-light:   #F5F5F5;
  --orange:     #F5A623;
  --orange-hover: #FFB83F;
  --white:      #FFFFFF;
  --muted:      #A0A0B0;
  --dark-text:  #1C1B2E;
  --card-bg:    #FFFFFF;
  --card-border: rgba(255, 255, 255, 0.08);
  --font:       'Plus Jakarta Sans', sans-serif;
  --mono:       'Courier New', 'Fira Code', monospace;
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-pill:50px;
  --transition: 0.22s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background-color: var(--bg-dark);
  color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

/* =============================================
   UTILITIES
   ============================================= */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 800;
  text-align: center;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.section-title--dark { color: var(--dark-text); }

.section-subtitle {
  text-align: center;
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 3rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.section-subtitle--dark { color: #666; }

/* br only on desktop */
.br-desktop { display: none; }
@media (min-width: 600px) { .br-desktop { display: inline; } }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background-color var(--transition),
              transform var(--transition),
              box-shadow var(--transition);
}

.btn--primary {
  background-color: var(--orange);
  color: var(--dark-text);
}
.btn--primary:hover {
  background-color: var(--orange-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(245, 166, 35, 0.38);
}
.btn--primary:active {
  transform: translateY(-1px);
}

.btn--large {
  padding: 20px 54px;
  font-size: 1.15rem;
}

/* =============================================
   BLOBS (decorative circles)
   ============================================= */
.blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.blob--1 {
  width: 580px;
  height: 580px;
  background: #7B4F2E;
  filter: blur(105px);
  opacity: 0.42;
  top: -100px;
  left: -160px;
}
.blob--2 {
  width: 400px;
  height: 400px;
  background: #5C2E0E;
  filter: blur(95px);
  opacity: 0.44;
  bottom: -70px;
  right: -90px;
}
.blob--3 {
  width: 260px;
  height: 260px;
  background: var(--orange);
  filter: blur(110px);
  opacity: 0.16;
  top: 34%;
  right: 10%;
}
.blob--4 {
  width: 560px;
  height: 560px;
  background: #7B4F2E;
  filter: blur(110px);
  opacity: 0.28;
  top: -160px;
  right: -160px;
}
.blob--5 {
  width: 380px;
  height: 380px;
  background: #5C2E0E;
  filter: blur(100px);
  opacity: 0.25;
  bottom: 60px;
  left: -100px;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-dark);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 48px 24px;
}

.hero__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 2rem;
}

.hero__logo-frame {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
}

.hero__logo-img {
  display: block;
  width: 150%;
  height: 150%;
  object-fit: cover;
  transform: translate(-17%, -22%);
}

.hero__brand {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.5px;
}

.hero__tagline {
  margin-bottom: 1.5rem;
}

.hero__tagline-lead {
  display: block;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  font-weight: 600;
  color: var(--white);
  opacity: 0.8;
  letter-spacing: 0.2px;
  margin-bottom: 0.25rem;
}

.hero__tagline-main {
  display: block;
  font-size: clamp(2.6rem, 7.5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.1;
}

.hero__subtitle {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--muted);
  margin-bottom: 2.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* =============================================
   PROBLEM
   ============================================= */
.problem {
  background-color: var(--bg-light);
  padding: 96px 0;
}

.problem__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
  margin-top: 3rem;
}

.card--light {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.07);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card--light:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.12);
}

.card__icon {
  font-size: 2.2rem;
  margin-bottom: 1.1rem;
}

.card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 0.65rem;
}

.card__desc {
  color: #5a5a6e;
  font-size: 0.94rem;
  line-height: 1.72;
}

/* =============================================
   HOW IT WORKS
   ============================================= */
.how {
  background-color: var(--bg-dark);
  padding: 96px 0;
}

.how__steps {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-top: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.step {
  flex: 1 1 200px;
  max-width: 230px;
  text-align: center;
  padding: 30px 20px 26px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.step:hover {
  background: rgba(245, 166, 35, 0.07);
  border-color: rgba(245, 166, 35, 0.28);
  transform: translateY(-3px);
}

.step__icon { font-size: 2rem; margin-bottom: 0.6rem; }

.step__number {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.step__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.65rem;
}

.step__desc {
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.65;
}

.step__arrow {
  font-size: 1.4rem;
  color: var(--orange);
  opacity: 0.45;
  align-self: center;
  flex-shrink: 0;
  display: none;
}
@media (min-width: 860px) { .step__arrow { display: block; } }

/* =============================================
   GUIDE
   ============================================= */
.guide {
  background-color: var(--bg-light);
  padding: 96px 0;
}

.guide__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.guide-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  transition: transform var(--transition), box-shadow var(--transition);
}
.guide-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.guide-card__title {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 1rem;
}

.guide-card__examples {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.guide-card__examples li {
  padding: 9px 13px;
  background: #FFF7E8;
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.guide-card__examples code {
  font-family: var(--mono);
  font-size: 0.84rem;
  color: #C47A00;
}

/* =============================================
   COMMANDS
   ============================================= */
.commands {
  background-color: var(--bg-dark);
  padding: 96px 0;
}

.commands__group + .commands__group {
  margin-top: 2.5rem;
}

.commands__group-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 2px;
  text-transform: uppercase;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(245, 166, 35, 0.18);
  margin-bottom: 1rem;
}

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

.command-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.command-card:hover {
  border-color: rgba(245, 166, 35, 0.38);
  background: rgba(245, 166, 35, 0.05);
  transform: translateY(-2px);
}

.command-card__cmd {
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--orange);
  font-weight: 600;
}
.command-card__cmd::before {
  content: '> ';
  opacity: 0.45;
}

.command-card__desc {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.55;
}

/* =============================================
   CTA FINAL
   ============================================= */
.cta {
  position: relative;
  background-color: var(--bg-dark);
  padding: 120px 0 0;
  overflow: hidden;
}

.cta__bg {
  position: absolute;
  inset: 0;
}

.cta__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-bottom: 96px;
}

.cta__title {
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.1rem;
}

.cta__subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 2.75rem;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 28px 24px;
  text-align: center;
}

.footer p {
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.3px;
}

/* =============================================
   RESPONSIVE — MOBILE ADJUSTMENTS
   ============================================= */
@media (max-width: 768px) {
  .hero__tagline-lead { font-size: 1.15rem; }
  .hero__tagline-main { font-size: 2.15rem; }
  .hero__logo-frame { width: 48px; height: 48px; }
  .hero__brand { font-size: 1.8rem; }

  .how__steps { flex-direction: column; align-items: center; }
  .step { max-width: 100%; width: 100%; }
  .step__arrow { display: none !important; }

  .problem__cards,
  .guide__grid,
  .commands__grid {
    grid-template-columns: 1fr;
  }

  .btn--large { padding: 17px 40px; font-size: 1.02rem; }
}

@media (max-width: 480px) {
  .hero__content { padding: 40px 24px; }
  .cta__content  { padding-bottom: 72px; }
}
