/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== ROOT VARIABLES ===== */
:root {
  --side-margin: clamp(16px, 6vw, 96px);
  --line-gap: clamp(12px, 3vh, 32px);
  --line-min-height: clamp(64px, 10vh, 140px);
}

/* ===== BODY ===== */
body {
  background: #0b0b0b;
  color: #ffffff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.g1, .j1, .m1, .p1, .s1, .v1 {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}


/* ===== BACKGROUND ===== */
.sky {
  position: fixed;
  inset: 0;
  z-index: -10;
}

/* --- Milky Way --- */
.milkyway {
  position: absolute;
  inset: -20%;
  background: linear-gradient(
    115deg,
    transparent 40%,
    rgba(255,255,255,0.05) 48%,
    rgba(255,255,255,0.08) 50%,
    rgba(255,255,255,0.05) 52%,
    transparent 60%
  );
  opacity: 0;
  filter: blur(2px);
  transform: rotate(-8deg);
}

/* --- Stars --- */
.stars {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1px 1px at 15% 20%, white, transparent),
    radial-gradient(1px 1px at 40% 35%, white, transparent),
    radial-gradient(1px 1px at 65% 15%, white, transparent),
    radial-gradient(1px 1px at 85% 50%, white, transparent);
  animation: twinkle 3s infinite alternate;
}

@keyframes twinkle {
  from { opacity: 0.4; }
  to   { opacity: 1; }
}

/* --- Moon --- */
.moon {
  position: absolute;
  top: 15%;
  left: 70%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 55% 50%, #fff 60%, #ddd);
  box-shadow: 0 0 40px rgba(255,255,255,0.6);
}

/* --- Sun --- */
.sun {
  position: absolute;
  left: 50%;
  bottom: -25%;
  transform: translateX(-50%);
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, #ffd27d 0%, #ff9f45 60%, transparent 70%);
}

.sun-rays {
  position: absolute;
  left: 50%;
  bottom: -25%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,200,120,0.25), transparent 65%);
  opacity: 0;
  filter: blur(2px);
}

.lens-flare {
  position: absolute;
  left: 50%;
  bottom: 10%;
  width: 600px;
  height: 600px;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at center, rgba(255,220,180,0.12), transparent 35%),
    radial-gradient(circle at 55% 45%, rgba(255,200,150,0.08), transparent 40%);
  opacity: 0;
  filter: blur(4px);
}

/* --- Mountains --- */
.mountain {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: #1a1a1a;
}

.mountain.back {
  height: 42%;
  opacity: 0.45;
  clip-path: polygon(0% 100%, 10% 72%, 25% 82%, 40% 66%, 55% 78%, 70% 62%, 85% 74%, 100% 68%, 100% 100%);
}

.mountain.mid {
  height: 32%;
  opacity: 0.7;
  clip-path: polygon(0% 100%, 8% 75%, 22% 85%, 38% 68%, 50% 82%, 65% 60%, 78% 76%, 100% 70%, 100% 100%);
}

.mountain.front {
  height: 24%;
  opacity: 1;
  clip-path: polygon(0% 100%, 12% 80%, 28% 90%, 42% 72%, 58% 88%, 72% 68%, 88% 82%, 100% 75%, 100% 100%);
}

/* ===== LYFWIS LAYOUT ===== */
.page {
  display: flex;
  flex-direction: column;
  gap: var(--line-gap);
  width: 100%;
  min-height: 100vh;
}

.line {
  display: grid;
  grid-template-columns: var(--side-margin) 1fr var(--side-margin);
  min-height: var(--line-min-height);
}

.margin {
  pointer-events: none;
}

/* ===== Alignment guarantee (important) ===== */
.content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* ===== Glassmorphism for Line 1 ===== */
.line-1 {
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  background: rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* ===== Header content layout (inside sector B) ===== */
.header-content {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ===== Brand block (logo + name) ===== */
.brand {
  display: flex;
  align-items: center;
  gap: 0.5px;
}

.logo {
  height: 34px;
  width: auto;
}


/* ===== Brand name styling + hover ===== */
.brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #22FFA6;
  cursor: pointer;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.brand-name:hover {
  transform: translateY(-1px);
  opacity: 0.85;
  text-shadow: 0 0 8px rgba(182, 255, 207, 0.5);
  color: #ccffdd;

}

/* ===== “Talk to us” button (never wraps) ===== */

.cta-btn {
  white-space: nowrap;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(183, 247, 216, 0.55);
  background: linear-gradient(135deg, #8fffe2, #ffd08a);
  color: #0c2a2a;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition:
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.cta-btn:hover {
  background: rgba(34, 255, 166, 0.14);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(183, 247, 216, 0.25);
  color: #ccffdd;
}

/* ===== Enable smooth scrolling (CSS-only) ===== */

html {
  scroll-behavior: smooth;
}

/* ===== Offset for header height ===== */

#talk-section {
  scroll-margin-top: calc(var(--line-min-height) + var(--line-gap));
}


/* ===== G1 container (glassmorphism) ===== */

/* ===== glassmorphism ===== */

.g1 {
  width: 100%;
  max-width: none;

  padding: clamp(18px, 3.5vw, 44px);
  gap: clamp(10px, 2.5vw, 18px);

  display: flex;
  flex-direction: column;

  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
}


/* ===== Typography (matches your image tone) ===== */

.g1-title {
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  line-height: 1.2;
  font-weight: 650;
  color: #ffffff;
}

.g1-sub,
.g1-foot {
  font-size: clamp(1.2rem, 1.2vw, 1rem);
}

.g1-actions {
  display: flex;
  gap: clamp(10px, 2vw, 16px);
  margin-top: clamp(8px, 2vw, 14px);
  flex-wrap: nowrap;
}

/* ===== Max comfort on very small screens ===== */

@supports (padding: max(0px)) {
  .g1 {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }
}

/* ===== G wrapper (controls 2:1 ratio + adaptability) ===== */

.g-wrap {
  width: 100%;
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: end;
  gap: clamp(16px, 3vw, 28px);
}

/* Stack on smaller screens */
@media (max-width: 900px) {
  .g-wrap {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
}


/* ===== G2 sizing rules ===== */

.g2 {
  width: 100%;
  height: clamp(120px, 22vh, 180px);
  overflow: hidden;

  display: flex;
  align-items: center;

  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 28px;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 10px 30px rgba(0,0,0,0.25);
}


/* ===== Carousel mechanics (pure CSS + tiny JS) ===== */


/* ===== Track + items ===== */

.g2-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
  will-change: transform;
}

.g2-item {
  min-width: 100%;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: clamp(16px, 3vw, 28px);
  text-align: center;
  white-space: nowrap;

  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 650;
  letter-spacing: 0.3px;
  color: #ffffff;
}



/* ===== Enable swipe (touch-friendly) ===== */

.g2 {
  touch-action: pan-x;
}



/* ===== CSS — glassmorphism + typography for Sector J ===== */

/* ===== J1 container (glass card) ===== */

.j1 {
  width: 100%;
  padding: clamp(16px, 4vw, 44px);
  gap: clamp(14px, 2.5vw, 22px);

  display: flex;
  flex-direction: column;

  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;

  overflow: hidden;
}



/* ===== Typography (clear, editorial, not salesy) ===== */

.j1-title {
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  line-height: 1.25;
  font-weight: 650;
  color: #ffffff;
}

.j1-body {
  font-size: clamp(1.2rem, 1.2vw, 1rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}




/* ===== match inner text rhythm to G1 ===== */

.j1-title,
.j1-body {
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
}

/* ===== Make Line 2 height adaptive ===== */

.line-2,
.line-3 {
  min-height: clamp(160px, 26vh, 320px);
}

/* ===== CSS — Sector M main glass (same system as J) ===== */

/* ===== Main container (M1) ===== */

.m1 {
  width: 100%;
  padding: clamp(20px, 4vw, 44px);

  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2.5vw, 22px);

  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;

  overflow: hidden;
}

/* ===== Typography (aligned with Line 3 tone) ===== */

.m1-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 650;
  color: #ffffff;
}

.m1-sub {
  font-size: clamp(1.2rem, 1.2vw, 1.05rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

/* ===== List grid ===== */

.m1-grid {
  display: grid;
  gap: clamp(14px, 3vw, 22px);
  grid-template-columns: repeat(
    auto-fit,
    minmax(min(100%, 240px), 1fr)
  );
}

/* ===== Individual list items (own glassmorphism) ===== */

.m1-item {
  padding: clamp(16px, 3vw, 24px);

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  font-size: clamp(1rem, 1.1vw, 1.05rem);
  font-weight: 650;
  color: #ffffff;

  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 18px;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 8px 20px rgba(0,0,0,0.22);
}

/* ===== main glass container for Sector P ===== */

/* ===== P1 container (same system as J & M) ===== */

.p1 {
  width: 100%;
  padding: clamp(20px, 4vw, 44px);

  display: flex;
  flex-direction: column;
  gap: clamp(18px, 3vw, 28px);

  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;

  overflow: hidden;
}

/* ===== Section title ===== */

.p1-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 650;
  color: #ffffff;
}

/* ===== Adaptive list layout (2 → 3 columns) ===== */

.p1-grid {
  display: grid;
  gap: clamp(16px, 3vw, 26px);
  grid-template-columns: repeat(
    auto-fit,
    minmax(min(100%, 260px), 1fr)
  );
}

/* ===== Individual list items (own glass + centered text) ===== */

.p1-item {
  padding: clamp(18px, 3vw, 26px);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;

  text-align: center;

  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 20px;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 8px 22px rgba(0,0,0,0.22);
}

/* ===== Typography inside cards ===== */

.p1-item strong {
  font-size: clamp(1.2rem, 1.3vw, 1.1rem);
  font-weight: 650;
  color: #ffffff;
}

.p1-item span {
  font-size: clamp(1rem, 1.1vw, 1rem);
  color: rgba(255, 255, 255, 0.85);
}

/* ===== CSS — main glass container for Sector S ===== */

/* ===== Sector S main glass (same system as J / M / P) ===== */

.s1 {
  width: 100%;
  padding: clamp(22px, 4vw, 46px);

  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4vw, 36px);

  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;

  overflow: hidden;
}


/* ===== Section title ===== */

.s1-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 650;
  color: #ffffff;
}

/* ===== sequential list layout (adaptive by design) ===== */
/* ===== Sequence container ===== */
.sequence {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(14px, 3vw, 24px);
}

@media (max-width: 640px) {
  .sequence {
    grid-template-columns: 1fr;
  }
}

/* ===== Individual steps (glassmorphism) ===== */

.sequence-step {
  width: 100%;
  padding: clamp(18px, 3.5vw, 26px);

  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 3vw, 20px);

  text-align: center;

  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 8px 22px rgba(0,0,0,0.25);
}

/* ===== Step number (visual anchor) ===== */

.step-number {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
}

/* ===== Step text ===== */

.step-text {
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  font-weight: 600;
  color: #ffffff;
}

/* ===== CSS — main glass container for Sector V ===== */
/* ===== Sector V glass (same system as J / M / P) ===== */

.v1 {
  width: 100%;
  padding: clamp(24px, 4.5vw, 52px);

  display: flex;
  flex-direction: column;
  gap: clamp(18px, 3vw, 28px);

  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;

  overflow: hidden;
}


/* ===== Title & subtext ===== */

.v1-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 650;
  color: #ffffff;
}

.v1-sub {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  color: rgba(255, 255, 255, 0.85);
}


/* ===== Form layout (adaptive by design) ===== */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2.5vw, 22px);
}


/* ===== Two-column rows (collapse automatically) ===== */

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(12px, 3vw, 20px);
}

@media (max-width: 700px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== Budget row (currency + amount) ===== */

.budget-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: clamp(12px, 3vw, 20px);
}

@media (max-width: 500px) {
  .budget-row {
    grid-template-columns: 1fr;
  }
}


/* =====Inputs & textarea (glass-light, readable)===== */

.contact-form input,
.contact-form textarea,
.contact-form select {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #0c2a2a;

  font-size: 0.95rem;
  outline: none;

  backdrop-filter: blur(10px);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}


/* ===== Submit button (calm but confident) ===== */

.form-submit {
  margin-top: 8px;
  align-self: flex-start;

  padding: 12px 26px;
  border-radius: 999px;
  border: 1px solid rgba(183, 247, 216, 0.55);
  background: linear-gradient(135deg, #8fffe2, #ffd08a);
  color: #0c2a2a;

  font-size: 0.95rem;
  font-weight: 650;
  cursor: pointer;

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.form-submit:hover {
  background: rgba(34, 255, 166, 0.14);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(183, 247, 216, 0.25);
  color: #ccffdd;

}


/* ===== footer glass container (same adaptive system) ===== */

/* ===== Footer glass (Sector Y) ===== */

.line-8 {
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  background: rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.y1 {
  width: 100%;
  padding: clamp(14px, 3vw, 24px);

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  font-size: clamp(0.85rem, 1.1vw, 0.95rem);
  color: rgba(255, 255, 255, 0.85);

  text-align: center;
}


/* ===== Footer links (subtle, not dominant) ===== */

.footer-link {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-link:hover {
  opacity: 0.65;
}

.divider {
  opacity: 0.6;
}


/* ===== Divider styling (keeps spacing elegant) ===== */

.divider {
  opacity: 0.6;
}


/* ===== Step text ===== */
