/* =========================================================
   NORAFLOW LANDING PAGE
   Main design:
   - Cream background
   - Noraflow green
   - Black editorial sections
   - Large typography
   - Real app screenshots
   ========================================================= */

:root {
  --green: #315d2d;
  --green-light: #a8d47f;
  --green-soft: #e8f1df;
  --cream: #f4f1e8;
  --ink: #11150f;
  --muted: #697166;
  --white: #ffffff;

  --content-width: 1160px;
  --section-space: 125px;
}

/* -------------------------
   RESET
   ------------------------- */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  line-height: 1.55;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}


/* -------------------------
   SHARED
   ------------------------- */

.container {
  width: min(var(--content-width), calc(100% - 36px));
  margin-inline: auto;
}

.section {
  padding: var(--section-space) 0;
}

.section-label {
  margin: 0 0 15px;
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(44px, 5.4vw, 72px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

h2 em {
  color: var(--green);
  font-style: normal;
}


/* -------------------------
   NAVIGATION
   ------------------------- */

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
}

.nav {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  font-family: "Manrope", sans-serif;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.brand-mark {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;

  border-radius: 50%;
  background: var(--white);
  color: var(--green);

  font-size: 14px;
}

.nav-links {
  display: flex;
  gap: 30px;
  font-size: 13px;
}

.nav-links a {
  opacity: 0.85;
}

.nav-button {
  padding: 11px 17px;
  border-radius: 50px;
  background: var(--white);
  color: var(--green);

  font-size: 12px;
  font-weight: 800;
}

.nav-button span {
  margin-left: 5px;
}


/* -------------------------
   BUTTONS
   ------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  padding: 15px 20px;
  border-radius: 50px;

  font-size: 13px;
  font-weight: 800;
}

.button-primary {
  background: var(--green-light);
  color: #183017;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
}

.button-light {
  background: var(--white);
  color: var(--ink);
}


/* -------------------------
   HERO
   ------------------------- */

.hero {
  position: relative;
  min-height: 800px;
  overflow: hidden;

  background: var(--green);
  color: var(--white);
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-shape-one {
  width: 650px;
  height: 650px;
  right: -250px;
  top: 90px;
  background: rgba(168, 212, 127, 0.12);
}

.hero-shape-two {
  width: 300px;
  height: 300px;
  left: -180px;
  bottom: -180px;
  background: rgba(255, 255, 255, 0.035);
}

.hero-content {
  position: relative;
  z-index: 2;

  padding-top: 155px;

  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 45px;
  align-items: center;
}

.eyebrow {
  margin: 0;

  color: var(--green-light);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 700px;
  margin: 18px 0 25px;

  font-family: "Manrope", sans-serif;
  font-size: clamp(56px, 7vw, 92px);
  font-weight: 800;
  line-height: 0.91;
  letter-spacing: -0.075em;
}

.hero h1 em {
  color: var(--green-light);
  font-style: normal;
}

.hero-description {
  max-width: 510px;
  margin: 0;

  color: #d9e3d4;
  font-size: 17px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 29px;
}

.hero-note {
  margin-top: 16px;
  color: #aebba8;
  font-size: 10px;
}


/* -------------------------
   HERO PHONE
   ------------------------- */

.hero-product {
  position: relative;
  height: 565px;
}

.hero-glow {
  position: absolute;
  width: 450px;
  height: 450px;
  top: 55px;
  right: 0;

  border-radius: 50%;
  background: var(--green-light);
}

.phone-mockup {
  position: absolute;
  z-index: 2;

  width: 285px;
  height: 555px;

  overflow: hidden;

  border: 6px solid #171b16;
  border-radius: 38px;
  background: #f8faf5;

  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.28);
}

.phone-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.phone-main {
  top: 0;
  right: 82px;
}

.floating-note {
  position: absolute;
  z-index: 4;

  display: flex;
  align-items: center;
  gap: 10px;

  padding: 12px 15px;
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);

  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.16);

  font-size: 10px;
}

.floating-note strong,
.floating-note small {
  display: block;
}

.floating-note small {
  margin-top: 2px;
  color: #899188;
}

.note-icon {
  width: 29px;
  height: 29px;

  display: grid;
  place-items: center;

  border-radius: 9px;
  background: var(--green-soft);
  color: var(--green);

  font-weight: 800;
}

.floating-note-top {
  top: 145px;
  right: 0;
}

.floating-note-bottom {
  left: 0;
  bottom: 80px;
}




/* -------------------------
   PROBLEM
   ------------------------- */

.problem {
  background: var(--cream);
}

.problem-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
  align-items: center;
}

.problem-copy h2 {
  max-width: 650px;
}

.problem-copy p:not(.section-label) {
  max-width: 570px;
  color: var(--muted);
  font-size: 15px;
}

.problem-copy p:nth-of-type(2) {
  margin-top: 28px;
}

.paper-stack {
  position: relative;
  height: 430px;
}

.paper {
  position: absolute;

  width: min(360px, 90%);
  min-height: 150px;

  padding: 25px;

  border-radius: 20px;
  background: #fffdf7;

  box-shadow: 0 25px 55px rgba(36, 43, 32, 0.12);

  font-size: 13px;
}

.paper span,
.paper b,
.paper strong {
  display: block;
}

.paper span {
  color: #9a9d95;
  font-size: 10px;
}

.paper b {
  margin: 14px 0 7px;
  font-family: "Manrope", sans-serif;
  font-size: 20px;
}

.paper strong {
  color: #bd604f;
  font-family: "Manrope", sans-serif;
}

.paper-back {
  right: 0;
  top: 5px;
  transform: rotate(7deg);
}

.paper-middle {
  left: 35px;
  top: 100px;
  transform: rotate(-5deg);
}

.paper-front {
  right: 30px;
  top: 195px;
  transform: rotate(3deg);
}

.paper-caption {
  position: absolute;
  left: 0;
  bottom: 10px;

  font-family: "Manrope", sans-serif;
  font-size: 28px;
  line-height: 1.05;
}

.paper-caption span,
.paper-caption strong {
  display: block;
}

.paper-caption strong {
  color: var(--green);
}


/* -------------------------
   SOLUTION
   ------------------------- */

.solution {
  background: var(--green-soft);
}

.solution-content {
  text-align: center;
}

.solution-content h2 {
  max-width: 760px;
  margin: 0 auto;
}

.solution-content h2 em {
  color: var(--green);
}

.solution-content > p:not(.section-label) {
  max-width: 600px;
  margin: 20px auto 0;
  color: var(--muted);
}

.solution-flow {
  margin-top: 55px;

  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 18px;
  align-items: center;

  text-align: left;
}

.flow-item {
  padding: 26px 5px;
}

.flow-item span {
  color: #83937c;
  font-size: 10px;
  font-weight: 800;
}

.flow-item strong,
.flow-item small {
  display: block;
}

.flow-item strong {
  margin: 9px 0 5px;

  font-family: "Manrope", sans-serif;
  font-size: 18px;
}

.flow-item small {
  color: var(--muted);
  font-size: 12px;
}

.flow-highlight strong {
  color: var(--green);
}

.flow-arrow {
  color: var(--green);
  font-size: 25px;
}


/* -------------------------
   HOW IT WORKS
   ------------------------- */

.how {
  background: var(--ink);
  color: var(--white);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;

  margin-bottom: 60px;
}

.section-heading h2 {
  max-width: 650px;
}

.section-heading h2 em {
  color: var(--green-light);
}

.section-heading > p {
  max-width: 360px;
  margin: 0;
  color: #9da79a;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.step-number {
  color: var(--green-light);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.step-visual {
  height: 380px;
  margin: 18px 0 25px;

  overflow: hidden;
  border-radius: 28px;
  background: #1e241d;
}

.step-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.step h3 {
  margin: 0 0 5px;

  font-family: "Manrope", sans-serif;
  font-size: 23px;
  letter-spacing: -0.03em;
}

.step p {
  max-width: 320px;
  margin: 0;

  color: #9ca69a;
  font-size: 13px;
}


/* -------------------------
   APP SHOWCASE
   ------------------------- */

.app-showcase {
  background: var(--white);
}

.showcase-heading {
  max-width: 760px;
  margin-bottom: 65px;
}

.showcase-heading > p:last-child {
  max-width: 460px;
  color: var(--muted);
}

.showcase-stage {
  position: relative;

  height: 650px;

  display: flex;
  justify-content: center;
  align-items: center;
}

.showcase-phone {
  position: absolute;

  width: 275px;
  height: 540px;

  overflow: hidden;

  border: 6px solid #171b16;
  border-radius: 36px;
  background: #f8faf5;

  box-shadow: 0 35px 70px rgba(30, 45, 27, 0.16);
}

.showcase-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.showcase-phone-left {
  left: 10%;
  transform: rotate(-9deg) translateY(35px);
}

.showcase-phone-center {
  z-index: 3;
}

.showcase-phone-right {
  right: 10%;
  transform: rotate(9deg) translateY(35px);
}

.showcase-caption {
  display: flex;
  justify-content: center;
  gap: 40px;

  margin-top: 5px;

  color: var(--muted);
  font-size: 11px;
}

.showcase-caption span:nth-child(2) {
  color: var(--green);
  font-weight: 800;
}


/* -------------------------
   FEATURES
   ------------------------- */

.features {
  background: var(--cream);
}

.feature-list {
  margin-top: 55px;
}

.feature {
  display: flex;
  flex-direction: row;
  gap: 30px;

  padding: 30px 0;

  border-top: 1px solid rgba(49, 93, 45, 0.13);
}

.feature-number {
  color: #9ca69a;
  font-size: 10px;
}

.feature h3 {
  margin: 0 0 6px;

  font-family: "Manrope", sans-serif;
  font-size: 22px;
}

.feature p {
  max-width: 570px;
  margin: 0;

  color: var(--muted);
  font-size: 13px;
}


.feature-pic{
  width: 50px;
  height: 50px;
}


/* -------------------------
   BIG STATEMENT
   ------------------------- */

.statement {
  background: var(--green);
  color: var(--white);
}

.statement h2 {
  max-width: 900px;
  font-size: clamp(48px, 7vw, 88px);
}

.statement h2 span {
  color: var(--green-light);
}


/* -------------------------
   CTA
   ------------------------- */

.cta {
  padding-top: 80px;
  padding-bottom: 80px;
}

.cta-box {
  padding: 90px 30px;

  border-radius: 40px;

  background: var(--ink);
  color: var(--white);

  text-align: center;
}

.cta-box h2 {
  max-width: 900px;
  margin: 0 auto;
}

.cta-box h2 em {
  color: var(--green-light);
}

.cta-box > p:not(.section-label) {
  color: #aeb7aa;
}

.cta-box .button {
  margin-top: 15px;
}


/* -------------------------
   FOOTER
   ------------------------- */

.footer {
  background: #080b09;
  color: #f4f7f2;
  padding: 80px 0 25px;
}


/* Main footer layout */

.footer-container {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) repeat(1, minmax(120px, .7fr));
  gap: 60px;
  align-items: var(--section-space);
}


/* ---------------------------------------------------------
   BRAND
   --------------------------------------------------------- */

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #f4f7f2;
  text-decoration: none;
}

.footer-brand-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 34px;
}

.footer-brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-brand-name {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-nora {
  color: #2878e6;
}

.brand-flow {
  color: #249b59;
}

.footer-tagline {
  margin: 18px 0 8px;
  color: #d8dfd7;
  font-size: 13px;
  line-height: 1.5;
}

.footer-description {
  max-width: 310px;
  margin: 0;
  color: #899489;
  font-size: 12px;
  line-height: 1.7;
}


/* ---------------------------------------------------------
   LINK COLUMNS
   --------------------------------------------------------- */

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-column h3 {
  margin: 0 0 8px;
  color: #f4f7f2;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}

.footer-column a {
  color: #929d93;
  text-decoration: none;
  font-size: 12px;
  line-height: 1.5;
  transition:
    color .2s ease,
    transform .2s ease;
}

.footer-column a:hover {
  color: #b8f28b;
  transform: translateX(2px);
}


/* ---------------------------------------------------------
   BOTTOM BAR
   --------------------------------------------------------- */

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  margin-top: 65px;
  padding-top: 20px;

  border-top: 1px solid rgba(255,255,255,.08);

  color: #687268;
  font-size: 10px;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-bottom-links a {
  color: #7e897f;
  text-decoration: none;
  transition: color .2s ease;
}

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


/* -------------------------
   SCROLL REVEAL
   ------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(25px);

  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}


/* -------------------------
   RESPONSIVE
   ------------------------- */

@media (max-width: 850px) {
  .nav-links,
  .nav-button {
    display: none;
  }

  .hero {
    min-height: auto;
    border-radius: 0 0 30px 30px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding-top: 125px;
    text-align: center;
  }

  .hero-description {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-product {
    height: 570px;
  }

  .hero-glow {
    right: 50%;
    transform: translateX(50%);
    width: 390px;
    height: 390px;
  }

  .phone-main {
    right: 50%;
    transform: translateX(50%);
  }

  .floating-note-top {
    right: 3%;
  }

  .floating-note-bottom {
    left: 3%;
  }

  .problem-grid,
  .why-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 20px;
  }

  .solution-flow {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0;
  }

  .flow-arrow {
    transform: rotate(90deg);
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .step-visual {
    height: 500px;
  }

  .showcase-stage {
    height: 600px;
  }

  .showcase-phone {
    width: 235px;
    height: 465px;
  }

  .showcase-phone-left {
    left: 4%;
  }

  .showcase-phone-right {
    right: 4%;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}


@media (max-width: 560px) {
  .container {
    width: calc(100% - 28px);
  }

  :root {
    --section-space: 85px;
  }

  .hero h1 {
    font-size: 53px;
  }

  .hero-product {
    transform: scale(0.9);
    margin: 0 -20px;
  }

  .floating-note {
    display: none;
  }

  .paper-stack {
    height: 360px;
  }

  .paper {
    width: 85%;
  }

  .paper-front {
    top: 165px;
  }

  .paper-caption {
    font-size: 22px;
  }

  .step-visual {
    height: 430px;
  }

  .showcase-stage {
    height: 520px;
  }

  .showcase-phone {
    width: 190px;
    height: 380px;
    border-width: 4px;
    border-radius: 27px;
  }

  .showcase-phone-left {
    left: 0;
    transform: rotate(-8deg) translateY(30px);
  }

  .showcase-phone-center {
    width: 215px;
    height: 430px;
  }

  .showcase-phone-right {
    right: 0;
    transform: rotate(8deg) translateY(30px);
  }

  .showcase-caption {
    gap: 12px;
    font-size: 9px;
  }

  .feature {
    grid-template-columns: 45px 1fr;
    gap: 15px;
  }

  .cta-box {
    padding: 65px 20px;
    border-radius: 28px;
  }
}


/* =========================================================
   NORAFLOW LOGO
   ========================================================= */

.brand-mark {
  overflow: hidden;
  padding: 0;
  background: transparent;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


/* =========================================================
   SCROLL REVEAL
   Add .reveal-item to any element you want animated.
   ========================================================= */

.reveal-item {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(.2,.7,.2,1);
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.steps .reveal-item:nth-child(2) {
  transition-delay: .08s;
}

.steps .reveal-item:nth-child(3) {
  transition-delay: .16s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal-item {
    opacity: 1;
    transform: none;
  }
}




/* =========================================================
   NORAFLOW DARK MODE — CORRECTED PALETTE
   =========================================================
   This file is designed to be loaded AFTER the normal
   style.css.

   It activates when:
       <body class="dark-mode">

   The palette is deliberately high-contrast:
   - Backgrounds are very dark.
   - Main text is near-white.
   - Secondary text is cool grey and still readable.
   - Noraflow green is brighter in dark mode.
   - Green is used for accents, not long paragraphs.

   IMPORTANT:
   Link this file AFTER style.css:

       <link rel="stylesheet" href="style.css">
       <link rel="stylesheet" href="dark-mode.css">
   ========================================================= */


/* ---------------------------------------------------------
   CORE DARK PALETTE
   --------------------------------------------------------- */

body.dark-mode {
  --green: #55B86A;
  --green-light: #B8F28B;
  --green-soft: #14251A;

  --cream: #080B09;
  --ink: #F4F7F2;
  --muted: #AAB5AA;
  --white: #F8FBF7;

  background: #080B09;
  color: #F4F7F2;
}


/* ---------------------------------------------------------
   PAGE
   --------------------------------------------------------- */

body.dark-mode {
  background-color: #080B09;
  color: #F4F7F2;
}

body.dark-mode main {
  background-color: #080B09;
}


/* ---------------------------------------------------------
   GLOBAL TEXT
   --------------------------------------------------------- */

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6,
body.dark-mode p,
body.dark-mode li,
body.dark-mode span,
body.dark-mode small {
  color: inherit;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4 {
  color: #F4F7F2;
}

body.dark-mode .section-label {
  color: #71C87B;
}

body.dark-mode .section-label.light {
  color: #B8F28B;
}


/* ---------------------------------------------------------
   NAVIGATION
   --------------------------------------------------------- */

body.dark-mode .site-header {
  color: #F4F7F2;
}

body.dark-mode .brand {
  color: #F4F7F2;
}

body.dark-mode .nav-links a {
  color: #D5DED4;
}

body.dark-mode .nav-links a:hover {
  color: #B8F28B;
}

body.dark-mode .nav-button {
  background: #F4F7F2;
  color: #0B110D;
}

body.dark-mode .nav-button:hover {
  background: #B8F28B;
  color: #081008;
}


/* ---------------------------------------------------------
   THEME TOGGLE
   --------------------------------------------------------- */

body.dark-mode .theme-toggle {
  border-color: rgba(184,242,139,.30);
  background: rgba(184,242,139,.10);
  color: #EAF7E4;
}

body.dark-mode .theme-toggle:hover {
  background: rgba(184,242,139,.18);
}

body.dark-mode .theme-toggle-text {
  color: #EAF7E4;
}


/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */

body.dark-mode .hero {
  background: #102318;
  color: #F4F7F2;
}

body.dark-mode .hero h1 {
  color: #F7FAF5;
}

body.dark-mode .hero h1 em {
  color: #B8F28B;
}

body.dark-mode .hero-description {
  color: #D0D9CF;
}

body.dark-mode .hero-note {
  color: #AEB9AE;
}

body.dark-mode .eyebrow {
  color: #B8F28B;
}

body.dark-mode .hero-orb-one {
  background: rgba(85,184,106,.13);
}

body.dark-mode .button-primary {
  background: #B8F28B;
  color: #102116;
}

body.dark-mode .button-primary:hover {
  background: #D0FFA9;
}

body.dark-mode .button-secondary {
  color: #F4F7F2;
  border-color: rgba(244,247,242,.30);
}

body.dark-mode .button-secondary:hover {
  border-color: #B8F28B;
  color: #B8F28B;
}


/* ---------------------------------------------------------
   PROBLEM SECTION
   --------------------------------------------------------- */

body.dark-mode .problem {
  background: #080B09;
  color: #F4F7F2;
}

body.dark-mode .problem-copy p:not(.section-label) {
  color: #AAB5AA;
}

body.dark-mode .paper {
  background: #151B16;
  color: #EDF4EC;
  box-shadow: 0 25px 55px rgba(0,0,0,.35);
}

body.dark-mode .paper strong {
  color: #FF7A7A;
}

body.dark-mode .paper-caption {
  color: #F4F7F2;
}

body.dark-mode .paper-caption em {
  color: #71C87B;
}


/* ---------------------------------------------------------
   SOLUTION
   --------------------------------------------------------- */

body.dark-mode .solution {
  background: #122018;
  color: #F4F7F2;
}

body.dark-mode .solution-content h2 {
  color: #F4F7F2;
}

body.dark-mode .solution-content h2 em {
  color: #B8F28B;
}

body.dark-mode .solution-content > p:not(.section-label) {
  color: #AEB9AE;
}

body.dark-mode .flow-item strong {
  color: #F0F5EE;
}

body.dark-mode .flow-item small {
  color: #AAB5AA;
}

body.dark-mode .flow-item span {
  color: #72B87A;
}

body.dark-mode .flow-highlight strong {
  color: #B8F28B;
}

body.dark-mode .flow-arrow {
  color: #71C87B;
}


/* ---------------------------------------------------------
   HOW IT WORKS
   --------------------------------------------------------- */

body.dark-mode .how {
  background: #050705;
  color: #F4F7F2;
}

body.dark-mode .section-heading h2 {
  color: #F4F7F2;
}

body.dark-mode .section-heading h2 em {
  color: #B8F28B;
}

body.dark-mode .section-heading > p {
  color: #A8B2A8;
}

body.dark-mode .step h3 {
  color: #F4F7F2;
}

body.dark-mode .step p {
  color: #AAB5AA;
}

body.dark-mode .step-number {
  color: #B8F28B;
}


/* ---------------------------------------------------------
   APP SHOWCASE
   --------------------------------------------------------- */

body.dark-mode .app-showcase {
  background: #0B0F0C;
  color: #F4F7F2;
}

body.dark-mode .showcase-heading h2 {
  color: #F4F7F2;
}

body.dark-mode .showcase-heading h2 em {
  color: #55B86A;
}

body.dark-mode .showcase-heading > p:last-child {
  color: #AAB5AA;
}

body.dark-mode .showcase-phone {
  border-color: #171D18;
  box-shadow: 0 35px 80px rgba(0,0,0,.48);
}


/* ---------------------------------------------------------
   FEATURES
   --------------------------------------------------------- */

body.dark-mode .features {
  background: #080B09;
  color: #F4F7F2;
}

body.dark-mode .feature {
  border-top-color: rgba(184,242,139,.13);
}

body.dark-mode .feature h3 {
  color: #F4F7F2;
}

body.dark-mode .feature p {
  color: #AAB5AA;
}

body.dark-mode .feature > span {
  color: #718071;
}


/* ---------------------------------------------------------
   STATEMENT
   --------------------------------------------------------- */

body.dark-mode .statement {
  background: #102318;
  color: #F4F7F2;
}

body.dark-mode .statement h2 {
  color: #F7FAF5;
}

body.dark-mode .statement h2 span {
  color: #B8F28B;
}

body.dark-mode .statement h2 em {
  color: #55B86A;
}


/* ---------------------------------------------------------
   CTA
   --------------------------------------------------------- */

body.dark-mode .cta {
  background: #080B09;
  color: #F4F7F2;
}

body.dark-mode .cta-box {
  background: #151D17;
  color: #F4F7F2;
}

body.dark-mode .cta-box h2 {
  color: #F7FAF5;
}

body.dark-mode .cta-box h2 em {
  color: #B8F28B;
}

body.dark-mode .cta-box > p:not(.section-label) {
  color: #AEB9AE;
}


/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */

body.dark-mode .footer {
  background: #080B09;
  color: #F4F7F2;
}

body.dark-mode .footer-content p,
body.dark-mode .footer-content small,
body.dark-mode .footer-links {
  color: #909B91;
}

body.dark-mode .footer-links a:hover {
  color: #B8F28B;
}


/* ---------------------------------------------------------
   BRAND ICON
   --------------------------------------------------------- */

body.dark-mode .brand-mark {
  background: transparent;
}

body.dark-mode .brand-mark img {
  opacity: 1;
}


/* ---------------------------------------------------------
   SCROLL ANIMATION
   --------------------------------------------------------- */

body.dark-mode .reveal-item {
  transition:
    opacity .8s ease,
    transform .8s cubic-bezier(.2,.7,.2,1);
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 850px) {
  body.dark-mode .theme-toggle {
    color: #EAF7E4;
    border-color: rgba(184,242,139,.30);
    background: rgba(184,242,139,.10);
  }
}


/* ---------------------------------------------------------
   ACCESSIBILITY
   --------------------------------------------------------- */

@media (prefers-contrast: more) {
  body.dark-mode {
    --ink: #FFFFFF;
    --muted: #D2DAD2;
  }

  body.dark-mode .hero-description,
  body.dark-mode .problem-copy p:not(.section-label),
  body.dark-mode .feature p,
  body.dark-mode .step p,
  body.dark-mode .section-heading > p {
    color: #DDE5DD;
  }
}


/* =========================================================
   THEME TOOLBAR — FINAL
   ========================================================= */

.theme-toggle {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50px;
  background: rgba(255,255,255,.08);
  color: var(--white);
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.theme-toggle:hover { transform: translateY(-1px); background: rgba(255,255,255,.15); }
.theme-moon { display: none; }
body.dark-mode .theme-sun { display: none; }
body.dark-mode .theme-moon { display: inline; }
body.dark-mode .theme-toggle {
  border-color: rgba(184,242,139,.30);
  background: rgba(184,242,139,.10);
  color: #EAF7E4;
}
body.dark-mode .theme-toggle:hover { background: rgba(184,242,139,.18); }

.phone-mockup img,
.showcase-phone img,
.step-visual img {
  object-fit: cover;
  object-position: top center;
}
body.dark-mode .phone-mockup,
body.dark-mode .showcase-phone {
  border-color: #171D18;
  background: #080B09;
}

@media (max-width: 850px) {
  .theme-toggle {
    min-height: 36px;
    margin-left: auto;
    margin-right: 8px;
    padding: 7px 10px;
  }
  .theme-toggle-text { display: none; }
}


/* =========================================================
   MOBILE FOOTER — PREVENT HORIZONTAL OVERFLOW
   ========================================================= */

.footer {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.footer-content {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.footer-content > div,
.footer-content > small {
  min-width: 0;
  max-width: 100%;
}

.footer-links {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
}

.footer-links a {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
}

@media (max-width: 560px) {

  .footer {
    padding: 55px 0 28px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-links {
    gap: 13px 18px;
  }

  .footer-content p {
    max-width: 260px;
  }

  .footer-content > small {
    display: block;
  }
}

.footer-support{
  display: flex;
  flex-direction: row;
  gap: 100px;
}

@media (max-width: 560px){

  .footer-container{
    display: flex;
    flex-direction: column;
    gap: 50px;
  }
  .footer-support{
    display: grid;
      grid-template-columns: 1fr 1fr;
      grid-template-rows: auto auto;
      gap: 20px;
      width: 300px;
      margin: 20px auto;
  }
}