/* =============================================
   Web Forge Studio - Landing Page Styles
   Palette: Cream hero + Dark navy sections + Orange accents
   ============================================= */

:root {
  --navy:    #1b2a4a;
  --navy-2:  #111d33;
  --navy-3:  #243556;
  --cream:   #f8f6f2;
  --cream-2: #f0ede8;
  --cream-3: #e5e2dc;
  --orange:  #c47a2b;
  --orange-h:#a8661f;
  --white:   #ffffff;
  --text:    #1b2a4a;
  --muted:   #6b7280;
  --border:  #e5e2dc;

  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --max-w: 1120px;
  --radius: 10px;
  --radius-lg: 16px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ---- UTILS ---- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 14px;
  text-align: center;
}
.section-title--light { color: var(--cream); }
.section-title--left  { text-align: left; }

.section-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 52px;
  text-align: center;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.93rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn--orange  { background: var(--orange); color: var(--white); }
.btn--orange:hover { background: var(--orange-h); transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn--outline:hover { border-color: var(--navy); }
.btn--sm  { padding: 9px 18px; font-size: 0.86rem; }
.btn--lg  { padding: 17px 38px; font-size: 1.05rem; }
.btn--full { display: block; text-align: center; width: 100%; }

/* ---- NAV ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo__img {
  height: 26px;
  width: auto;
}
.logo__img--footer {
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.nav__links {
  display: flex;
  gap: 24px;
  margin-left: auto;
  align-items: center;
}
.nav__links a:not(.btn) {
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav__links a:not(.btn):hover { color: var(--orange); }

/* ---- HERO ---- */
.hero {
  background: var(--cream);
  padding: 100px 0 80px;
  text-align: center;
}
.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 3.5rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 22px;
}
.hero__headline em {
  font-style: normal;
  color: var(--orange);
  font-weight: 800;
}
.hero__sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- TRUST BAR ---- */
.trust {
  background: var(--cream-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.trust__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
}
.trust__icon {
  color: var(--orange);
  font-size: 1rem;
  font-weight: 700;
}

/* ---- HOW IT WORKS ---- */
.how {
  background: var(--navy);
  padding: 88px 0;
  text-align: center;
}
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 52px;
  text-align: left;
}
.step {
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: border-color 0.3s, transform 0.3s;
}
.step:hover {
  border-color: rgba(200,135,42,0.4);
  transform: translateY(-4px);
}
.step__num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--orange);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 14px;
}
.step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 10px;
}
.step p {
  font-size: 0.9rem;
  color: rgba(244,237,224,0.55);
  line-height: 1.7;
}

/* ---- PORTFOLIO ---- */
.portfolio {
  background: var(--cream);
  padding: 88px 0;
}
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.portfolio__item {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}
.portfolio__name { font-weight: 600; font-size: 0.95rem; padding: 16px 20px; }
.portfolio__desc { font-size: 0.85rem; color: var(--muted); }
.portfolio__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--orange);
  transition: color 0.2s;
}
.portfolio__link:hover { color: var(--orange-h); }

/* Before/After mockup */
.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 260px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(28,35,51,0.12);
  border: 1px solid var(--border);
}
.ba__side { position: relative; overflow: hidden; height: 100%; }
.ba__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  border-radius: 3px;
}
.ba__badge--before { background: rgba(13,13,13,0.8); }
.ba__badge--after  { background: rgba(34,197,94,0.8); }
.ba__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* ---- ABOUT ---- */
.about {
  background: var(--navy);
  padding: 88px 0;
}
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 72px;
  align-items: center;
}
.about__photo img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.about__photo-fallback {
  width: 100%;
  aspect-ratio: 4/3;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(244,237,224,0.25);
}
.about__photo-fallback span { font-size: 3rem; margin-bottom: 8px; }

.about__content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 22px;
}
.about__content h2 em {
  font-style: normal;
  color: var(--orange);
  font-weight: 700;
}
.about__content p {
  font-size: 0.93rem;
  color: rgba(244,237,224,0.62);
  margin-bottom: 14px;
  line-height: 1.75;
}
.about__sig {
  font-size: 0.88rem !important;
  font-weight: 600;
  color: var(--orange) !important;
  margin-top: 20px !important;
}

/* ---- PRICING ---- */
.pricing {
  background: var(--cream);
  padding: 88px 0;
}
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 56px;
}
.plan {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.plan:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(28,35,51,0.09); }
.plan__name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.plan__price {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-bottom: 28px;
}
.plan__currency { font-size: 1.5rem; margin-top: 6px; }
.plan__period {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--muted);
  margin-left: 4px;
}
.plan__features {
  list-style: none;
  margin-bottom: 28px;
}
.plan__features li {
  font-size: 0.9rem;
  color: var(--muted);
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}
.plan__features li:last-child { border-bottom: none; }
.plan__fine {
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: auto;
  padding-top: 14px;
  font-style: italic;
}
.plan__note {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
  margin-top: auto;
  padding-top: 14px;
}

/* Comparison table */
.comparison {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  overflow-x: auto;
}
.comparison h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 28px;
}
.comparison__wrap { overflow-x: auto; }
.comparison table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 560px;
}
.comparison thead tr { background: var(--navy); }
.comparison th {
  text-align: left;
  padding: 12px 18px;
  font-weight: 600;
  font-size: 0.82rem;
  color: rgba(244,237,224,0.7);
  letter-spacing: 0.04em;
}
.comparison th.col--us { color: var(--orange); }
.comparison td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}
.comparison tr:last-child td { border-bottom: none; }
.comparison tr:hover td { background: rgba(244,237,224,0.4); }
.comparison td.row-label { font-weight: 600; color: var(--text); }
.comparison td.col--us { font-weight: 600; color: var(--text); }
.comparison td.highlight { color: var(--orange); font-weight: 700; }
.comparison__note {
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
  margin-top: 20px;
  font-style: italic;
}

/* ---- TESTIMONIALS ---- */
.testimonials {
  background: var(--cream-2);
  padding: 88px 0;
}
.testi__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
  margin-bottom: 48px;
}
.testi {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.testi:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(28,35,51,0.08); }
.testi__stars {
  color: var(--orange);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.testi__quote {
  font-size: 0.93rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.testi__author strong {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 3px;
}
.testi__author span {
  font-size: 0.8rem;
  color: var(--muted);
}
.testi__badges {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 12px;
}
.testi__badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}
.testi__badge span { font-size: 1rem; }

/* ---- CTA ---- */
.cta {
  background: #243556;
  padding: 96px 0;
  text-align: center;
}
.cta__inner { max-width: 620px; margin: 0 auto; }
.cta__accent {
  width: 60px;
  height: 3px;
  background: var(--orange);
  margin: 0 auto 32px;
  border-radius: 2px;
}
.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 18px;
}
.cta p {
  font-size: 1rem;
  color: rgba(255,255,255,0.62);
  margin-bottom: 36px;
  line-height: 1.7;
}
.cta__fine {
  margin-top: 14px !important;
  font-size: 0.8rem !important;
  color: rgba(255,255,255,0.35) !important;
  margin-bottom: 0 !important;
}

/* ---- FOOTER ---- */
.footer { background: #111d33; }
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  padding-top: 56px;
  padding-bottom: 40px;
}
.footer__brand .logo { margin-bottom: 12px; }
.footer__brand p {
  font-size: 0.87rem;
  color: rgba(244,237,224,0.42);
  max-width: 260px;
  line-height: 1.6;
}
.footer__nav {
  display: flex;
  gap: 48px;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}
.footer__col h4 {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(244,237,224,0.9);
  margin-bottom: 4px;
}
.footer__col a {
  font-size: 0.87rem;
  color: rgba(244,237,224,0.45);
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--orange); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 18px 0;
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer__bottom p, .footer__bottom a {
  font-size: 0.8rem;
  color: rgba(244,237,224,0.28);
}
.footer__bottom a:hover { color: rgba(244,237,224,0.6); }

/* ---- ANIMATIONS ---- */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ---- RESPONSIVE ---- */
@media (max-width: 820px) {
  .nav__links { display: none; }
  .about__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__inner { flex-direction: column; gap: 32px; }
}
@media (max-width: 560px) {
  .trust__inner { gap: 20px; }
  .footer__nav { flex-direction: column; gap: 24px; }
  .footer__bottom-inner { flex-direction: column; align-items: flex-start; }
  .hero { padding: 72px 0 56px; }
  .comparison { padding: 24px 16px; }
  .plan { padding: 28px 20px; }
}
