/* ============================================================
   CHANGED — Landing Page Styles
   Colors:  Accent Green #32FD83  |  Dark #111a11  |  Light #f4f4f4
   Font:    Inter (Google Fonts)
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green: #32FD83;
  --green-mid: #1de87a;
  --green-dark: #0b4d24;
  --dark-panel: #111a11;
  --light-panel: #ffffff;
  --text-dark: #0d160d;
  --text-white: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.4);

  --radius-card: 24px;
  --shadow-card: 0 40px 120px rgba(0, 0, 0, 0.45);
}

html,
body {
  height: 100%;
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ── Page wrapper ── */
.page-wrapper {
  height: 100vh;
  display: flex;
}

/* ── Card ── */
.card {
  display: flex;
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}


/* ============================================================
   LEFT PANEL — DARK
   ============================================================ */
.panel--dark {
  width: 46%;
  flex-shrink: 0;
  position: relative;
  background: var(--dark-panel);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 52px;
  overflow: hidden;
}

/* Subtle green blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  animation: blobDrift 14s ease-in-out infinite alternate;
}

.blob--1 {
  width: 380px;
  height: 380px;
  background: var(--green);
  opacity: 0.10;
  top: -120px;
  left: -120px;
}

.blob--2 {
  width: 260px;
  height: 260px;
  background: var(--green-mid);
  opacity: 0.08;
  bottom: -60px;
  right: -40px;
  animation-delay: -5s;
  animation-duration: 18s;
}

@keyframes blobDrift {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(18px, 24px) scale(1.04);
  }

  100% {
    transform: translate(-10px, -16px) scale(0.97);
  }
}

/* Nav links — top of dark panel */
.dark__nav {
  position: absolute;
  top: 32px;
  left: 52px;
  display: flex;
  gap: 28px;
  z-index: 2;
}

.dark__nav-link {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.dark__nav-link:hover {
  color: var(--green);
}

/* Language selector — shared + index.html dark nav variant */
.lang-selector { position: relative; }

.dark__lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}
.dark__lang-btn:hover { color: var(--green); }
.dark__lang-btn svg { opacity: 0.7; flex-shrink: 0; }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: #1a2a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 6px;
  min-width: 148px;
  display: none;
  z-index: 200;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}
.lang-selector.is-open .lang-dropdown { display: block; }

.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.65);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s, color 0.15s;
}
.lang-option:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.lang-option.is-active { color: #32FD83; }

/* Brand block */
.dark__brand {
  position: relative;
  z-index: 2;
}

.dark__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
}

.dark__title {
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 900;
  color: var(--text-white);
  letter-spacing: -3px;
  line-height: 0.88;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.dark__tagline {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}


/* ============================================================
   RIGHT PANEL — LIGHT
   ============================================================ */
.panel--light {
  flex: 1;
  position: relative;
  background: var(--light-panel);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 52px 44px 52px;
  overflow: hidden;
}

/* ── Geometric background shapes ── */
.geo {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.geo--1 {
  background: rgba(0, 0, 0, 0.038);
  clip-path: polygon(52% 0%, 100% 0%, 100% 100%, 32% 100%);
}

.geo--2 {
  background: rgba(50, 253, 131, 0.045);
  clip-path: polygon(72% 0%, 100% 0%, 100% 48%);
}

.geo--3 {
  background: rgba(0, 0, 0, 0.022);
  clip-path: polygon(42% 0%, 62% 0%, 34% 100%, 14% 100%);
}

/* ── Logo — top right ── */
.light__logo {
  position: absolute;
  top: 28px;
  right: 40px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  height: 36px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.logo-wordmark {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 600;
  font-size: 24px;
  /* proportionally adapted from 36.37px */
  letter-spacing: -1.38px;
  line-height: 1.125;
  /* 40.9 / 36.37 ratio preserved */
  color: var(--text-dark);
  white-space: nowrap;
}

/* ── Main content ── */
.light__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: clamp(120px, 28vw, 380px);
  /* clear of phone mockup */
  position: relative;
  z-index: 2;
}

.light__headline {
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.0;
  letter-spacing: -1.5px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.light__sub {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(13, 22, 13, 0.45);
  margin-bottom: 20px;
}

/* ── Email signup form ── */
.signup-form {
  display: flex;
  max-width: 400px;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}

.signup-form input {
  flex: 1;
  padding: 13px 16px;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 13px;
  color: var(--text-dark);
  background: transparent;
}

.signup-form input::placeholder {
  color: rgba(13, 22, 13, 0.35);
}

.signup-form button {
  padding: 13px 22px;
  background: var(--green);
  color: var(--green-dark);
  border: none;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.signup-form button:hover {
  background: var(--green-mid);
}

/* ── Hero CTA buttons ── */
.hero-btns {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 4px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  border: none;
}

.hero-btn--primary {
  background: var(--green);
  color: var(--green-dark);
}
.hero-btn--primary:hover { background: var(--green-mid); }

.hero-btn--ghost {
  background: transparent;
  color: rgba(13, 22, 13, 0.6);
  border: 1.5px solid rgba(13, 22, 13, 0.18);
}
.hero-btn--ghost:hover {
  color: var(--text-dark);
  border-color: rgba(13, 22, 13, 0.35);
}

@media (max-width: 375px) {
  .hero-btns { flex-direction: column; }
  .hero-btn  { width: 100%; }
}

/* ── Social icons — bottom ── */
.light__social {
  display: flex;
  justify-content: space-between;
  padding-left: clamp(120px, 28vw, 380px);
  max-width: calc(clamp(120px, 28vw, 380px) + 400px);
  position: relative;
  z-index: 2;
}

.social-icon {
  color: rgba(13, 22, 13, 0.35);
  text-decoration: none;
  transition: color 0.2s;
}

.social-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.social-icon:hover {
  color: var(--text-dark);
}

/* Mobile nav links in light panel — hidden on desktop */
.light__mobile-nav {
  display: none;
}

.light__copy {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: rgba(13, 22, 13, 0.25);
  padding-left: clamp(120px, 28vw, 380px);
  position: relative;
  z-index: 2;
  margin-top: 10px;
}


/* ============================================================
   PHONE MOCKUP — absolutely positioned, straddles the split
   ============================================================ */
.phone-wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  height: 74%;
  width: auto;
  pointer-events: none;
  /* smooth transition for input-focus retreat */
  transition: transform 0.52s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.52s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Desktop: slide left into the dark panel, slightly up, scale back */
.phone-wrap--retreat {
  transform: translate(calc(-50% - 110px), calc(-50% - 18px)) scale(0.93);
}

.phone-img {
  height: 100%;
  width: auto;
  display: none;
  filter: drop-shadow(0 24px 56px rgba(0, 0, 0, 0.5));
}

.phone-img.loaded {
  display: block;
}

@keyframes phoneFloat {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}


/* ============================================================
   RESPONSIVE — TABLET + MOBILE  (≤ 900px)
   Full-screen card, phone stays absolutely positioned at the
   split line — mirrors the desktop philosophy vertically.
   ============================================================ */
@media (max-width: 900px) {

  /* ── Wrapper ── */
  .page-wrapper {
    padding: 0;
    align-items: flex-start;
    justify-content: flex-start;
    min-height: 100vh;
    min-height: 100svh;
  }

  /* ── Card: expands beyond viewport, page scrolls ── */
  .card {
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    height: auto;
    border-radius: 0;
    box-shadow: none;
  }

  /* ── Dark panel: exactly 44% of viewport height ── */
  .panel--dark {
    flex: none;
    height: 44vh;
    height: 44svh;
    width: 100%;
    padding: 0 40px;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
  }

  .dark__eyebrow {
    margin-bottom: 12px;
    font-size: 10px;
    letter-spacing: 3px;
  }

  .dark__title {
    font-size: clamp(58px, 16vw, 86px);
    margin-bottom: 12px;
    letter-spacing: -2px;
  }

  .dark__tagline {
    font-size: 11px;
    letter-spacing: 3px;
  }

  /* ── Dark nav mobile: only language selector, links move to light panel ── */
  .dark__nav-link {
    display: none;
  }
  .dark__nav {
    left: 16px;
    top: 20px;
    z-index: 50;
  }

  /* Make the language button more visible on mobile */
  .dark__lang-btn {
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.10);
    padding: 6px 10px;
    border-radius: 999px;
  }
  .dark__lang-btn:hover { color: #fff; background: rgba(255, 255, 255, 0.16); }

  /* Dropdown: same dark style, fully opaque */
  .dark__nav .lang-dropdown {
    position: fixed;
    top: 56px;
    left: 16px;
    background: #1a2a1a;
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7);
  }
  .dark__nav .lang-option {
    color: #ffffff;
  }
  .dark__nav .lang-option.is-active { color: #32FD83; }

  /* ── Mobile nav links — shown in light panel footer ── */
  .light__mobile-nav {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 16px;
    flex-wrap: wrap;
  }
  .light__mobile-nav a {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(13, 22, 13, 0.45);
    text-decoration: none;
    transition: color 0.2s;
  }
  .light__mobile-nav a:hover { color: var(--text-dark); }

  /* ── Light panel: grows to fit phone + all content ── */
  .panel--light {
    flex: 1;
    width: 100%;
    padding: 490px 36px 56px;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    gap: 0;
  }

  /* ── Logo: centred, prominent ── */
  .light__logo {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 20px;
  }

  .logo-icon {
    height: 46px;
  }

  .logo-wordmark {
    font-size: 32px;
  }

  /* ── Content ── */
  .light__content {
    flex: 0 0 auto;
    width: 100%;
    padding-left: 0;
    align-items: center;
    justify-content: flex-start;
  }

  .light__headline {
    font-size: clamp(32px, 8.5vw, 46px);
    margin-bottom: 14px;
    letter-spacing: -1.5px;
    line-height: 0.95;
  }

  .light__sub {
    margin-bottom: 18px;
  }

  /* ── Form: full width ── */
  .signup-form {
    width: 100%;
    max-width: none;
  }

  /* ── Social ── */
  .light__social {
    padding-left: 0;
    justify-content: center;
    gap: 22px;
    flex-shrink: 0;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }

  /* ── Copyright: reset desktop padding, center on mobile ── */
  .light__copy {
    padding-left: 0;
    text-align: center;
    margin-top: 10px;
  }

  /* ── Phone: centred in the visible white area (44svh → 100svh) ── */
  .phone-wrap {
    display: block;
    position: absolute;
    left: 50%;
    top: 72vh;
    top: 72svh;
    transform: translate(-50%, -50%);
    width: min(720px, 180vw);
    height: auto;
    z-index: 30;
  }

  .phone-img {
    height: auto;
    width: 100%;
    animation: none;
    filter: drop-shadow(0 20px 48px rgba(0, 0, 0, 0.38));
  }
}

/* ── Small phones (≤ 375px) — smaller phone, adjusted clearance ── */
@media (max-width: 375px) {
  .dark__title {
    font-size: 52px;
  }

  .panel--dark {
    padding: 0 28px;
  }

  .phone-wrap {
    width: min(200px, 54vw);
  }

  .panel--light {
    padding: 460px 28px 48px;
  }

  .light__headline {
    font-size: 28px;
  }

  .signup-form {
    flex-direction: column;
    border: none;
    border-radius: 0;
    background: transparent;
    overflow: visible;
    gap: 10px;
  }

  .signup-form input {
    border: 1.5px solid rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    background: #fff;
    padding: 14px 16px;
  }

  .signup-form button {
    border-radius: 8px;
    padding: 14px;
    width: 100%;
  }
}