/* OptOne — Landing Page
   Design tokens & base
   ------------------------------------------- */

:root {
  /* Colors */
  --black: #0B0B0F;
  --black-2: #14151B;
  --ink: #1A1F2A;
  --off-white: #F6F7F9;
  --white: #FFFFFF;
  --cyan: #27CDF2;
  --cyan-deep: #0FA3C7;
  --cyan-soft: rgba(39, 205, 242, 0.12);
  --gray-500: #6B7280;
  --gray-400: #9AA1AC;
  --gray-300: #C7CCD3;
  --gray-200: #E5E7EB;
  --gray-100: #EFF1F4;

  /* Type */
  --font-sans: "Geist", "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;

  /* Spacing */
  --container: 1240px;
  --pad-x: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--black);
  background: var(--off-white);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-wrap: pretty;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* Containers */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
  position: relative;
  z-index: 2;
}
.float-layer { z-index: 1; }

/* Type */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(40px, 5.6vw, 72px); }
h2 { font-size: clamp(32px, 4vw, 52px); letter-spacing: -0.025em; }
h3 { font-size: clamp(20px, 1.6vw, 24px); letter-spacing: -0.015em; line-height: 1.2; }
p { margin: 0; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}

.section-title {
  margin-top: 18px;
  margin-bottom: 24px;
}

.lead {
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.5;
  color: var(--gray-500);
  max-width: 720px;
}

.dark .eyebrow,
.dark .lead { color: var(--gray-300); }
.dark .eyebrow { color: var(--gray-400); }

/* Sections */
section {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0;
  overflow: hidden;
}
.dark { background: var(--black); color: var(--white); }
.dark h1, .dark h2, .dark h3 { color: var(--white); }
.light { background: var(--off-white); }

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(246, 247, 249, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--gray-200);
}
.site-header .logo img { height: 26px; width: auto; }
.site-header nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.site-header nav a {
  font-size: 14px;
  color: var(--gray-500);
  transition: color .2s ease;
}
.site-header nav a:hover { color: var(--black); }

.lang-toggle {
  display: inline-flex;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  padding: 3px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}
.lang-toggle button {
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--gray-500);
  font-family: inherit;
  text-transform: uppercase;
}
.lang-toggle button.active {
  background: var(--black);
  color: var(--white);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--black);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--cyan);
  color: var(--black);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--black);
  border: 1px solid var(--gray-300);
}
.btn-ghost:hover {
  border-color: var(--black);
  transform: translateY(-1px);
}
.dark .btn-ghost {
  color: var(--white);
  border-color: rgba(255,255,255,0.22);
}
.dark .btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}
.btn .arrow {
  width: 14px;
  height: 14px;
  transition: transform .2s ease;
}
.btn:hover .arrow { transform: translateX(3px); }

/* Hero */
.hero {
  padding-top: 180px;
  padding-bottom: 120px;
  background: var(--off-white);
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-copy h1 {
  margin-top: 24px;
}
.hero-copy h1 .accent {
  color: var(--black);
  position: relative;
  display: inline-block;
}
.hero-copy h1 .accent::after {
  content: "";
  position: absolute;
  left: 0; bottom: 6px;
  width: 100%; height: 6px;
  background: var(--cyan);
  z-index: -1;
  opacity: .85;
}
.hero-copy .lead { margin-top: 28px; max-width: 560px; }
.hero-actions {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-meta {
  margin-top: 56px;
  display: flex;
  gap: 32px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.hero-meta div span { display:block; color: var(--black); font-size: 13px; margin-top: 4px; }

/* Hero diagram */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  margin-top: -40px;
}
@media (min-width: 961px) {
  .hero-visual { margin-top: -140px; align-self: center; }
}
.hero-visual svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Floating orbs / fruits */
.float-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.float-obj {
  position: absolute;
  will-change: transform;
}

/* Problem section (dark) */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 64px;
}
.problem-text p { color: var(--gray-300); font-size: 18px; line-height: 1.6; }
.problem-text p + p { margin-top: 18px; }

.key-msgs {
  display: grid;
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
}
.key-msg {
  background: var(--black);
  padding: 28px 26px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.key-msg .num {
  font-family: var(--font-mono);
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: 0.12em;
  min-width: 28px;
  margin-top: 4px;
}
.key-msg p { color: var(--white); font-size: 16px; line-height: 1.45; }

/* What is OptOne */
.about {
  padding-top: clamp(100px, 12vw, 160px);
  padding-bottom: clamp(100px, 12vw, 160px);
}
.about-block {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.about-symbol {
  position: relative;
  aspect-ratio: 1/1;
  width: 100%;
  max-width: 380px;
  margin-left: auto;
}
.about-symbol .ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed var(--gray-300);
}
.about-symbol .ring.r2 { inset: 12%; border-color: var(--gray-200); }
.about-symbol img {
  position: absolute;
  width: 56%;
  height: 56%;
  inset: 0;
  margin: auto;
  object-fit: contain;
}
.about-text h2 { margin-bottom: 32px; }
.about-text p { font-size: 19px; line-height: 1.55; color: var(--gray-500); }
.about-text p + p { margin-top: 18px; }
.about-text strong { color: var(--black); font-weight: 500; }

/* How it works (dark) */
.steps {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.step {
  position: relative;
  padding: 28px 24px 32px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
  transition: border-color .3s ease, transform .3s ease;
}
.step:hover {
  border-color: var(--cyan);
  transform: translateY(-4px);
}
.step .step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--cyan);
  text-transform: uppercase;
}
.step h3 {
  margin-top: 18px;
  color: var(--white);
  font-size: 19px;
  letter-spacing: -0.01em;
}
.step p {
  margin-top: 14px;
  color: var(--gray-300);
  font-size: 15px;
  line-height: 1.55;
}
.step .step-icon {
  width: 32px; height: 32px;
  margin-top: 8px;
  color: var(--cyan);
}
.steps-line {
  position: absolute;
  top: 50px; left: 0; right: 0;
  height: 1px;
  z-index: -1;
}
.steps-line svg { width: 100%; height: 1px; overflow: visible;}

/* For whom */
.audience {
  padding-top: clamp(100px, 12vw, 160px);
  padding-bottom: clamp(100px, 12vw, 160px);
}
.audience-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
}
.aud-card {
  background: var(--white);
  padding: 40px 36px;
  position: relative;
  transition: background .3s ease;
}
.aud-card:hover { background: var(--off-white); }
.aud-card .aud-num {
  font-family: var(--font-mono);
  color: var(--cyan-deep);
  font-size: 11px;
  letter-spacing: 0.14em;
}
.aud-card h3 { margin-top: 16px; font-size: 22px; }
.aud-card p {
  margin-top: 14px;
  color: var(--gray-500);
  font-size: 16px;
  line-height: 1.55;
}

/* Differentials (dark) */
.diff-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.diff-card {
  padding: 32px 28px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.02);
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  transition: border-color .3s ease, background .3s ease;
}
.diff-card:hover {
  border-color: var(--cyan);
  background: rgba(39,205,242,0.04);
}
.diff-card .diff-icon {
  width: 40px; height: 40px;
  color: var(--cyan);
  margin-bottom: 24px;
}
.diff-card h3 { font-size: 19px; }
.diff-card p {
  margin-top: 12px;
  color: var(--gray-300);
  font-size: 14.5px;
  line-height: 1.55;
}

/* Value generated */
.value {
  padding-top: clamp(100px, 12vw, 160px);
  padding-bottom: clamp(100px, 12vw, 160px);
}
.value-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.value-col {
  padding: 36px 32px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  position: relative;
}
.value-col header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 24px;
}
.value-col header .badge {
  width: 36px; height: 36px;
  background: var(--cyan-soft);
  color: var(--cyan-deep);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.value-col header h3 { font-size: 17px; }
.value-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.value-col li {
  display: flex;
  gap: 12px;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--gray-500);
}
.value-col li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  margin-top: 9px;
  flex-shrink: 0;
}

/* Experience block (dark) */
.exp-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 56px;
}
.exp-text p { color: var(--gray-300); font-size: 18px; line-height: 1.6; }
.exp-text p + p { margin-top: 18px; }
.exp-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.exp-pill {
  padding: 24px 22px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  background: rgba(255,255,255,0.02);
}
.exp-pill .ico { width: 24px; height: 24px; color: var(--cyan); margin-bottom: 14px; }
.exp-pill h4 { font-size: 15px; font-weight: 500; color: var(--white); margin: 0 0 8px; }
.exp-pill p { color: var(--gray-400); font-size: 13.5px; line-height: 1.5; }

/* Security */
.security-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.sec-item {
  text-align: left;
  padding: 28px 24px;
  border-top: 1px solid var(--gray-300);
  position: relative;
}
.sec-item .sec-ico {
  width: 28px; height: 28px;
  color: var(--cyan-deep);
  margin-bottom: 20px;
}
.sec-item h4 { font-size: 17px; font-weight: 500; }
.sec-item p {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--gray-500);
}

/* CTA + Form (dark) */
.cta {
  padding-top: clamp(100px, 12vw, 160px);
  padding-bottom: clamp(100px, 12vw, 160px);
}
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.cta-copy h2 { font-size: clamp(36px, 3.6vw, 56px); }
.cta-copy .lead { margin-top: 28px; }

.contact-form {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 36px 32px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
}
.field input,
.field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  padding: 10px 0 10px;
  color: var(--white);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color .2s ease;
}
.field input:focus,
.field textarea:focus { border-color: var(--cyan); }
.field textarea { resize: vertical; min-height: 90px; }
.form-foot {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.form-foot .privacy {
  font-size: 12.5px;
  color: var(--gray-400);
  max-width: 380px;
}
.form-foot .privacy a { color: var(--cyan); border-bottom: 1px solid currentColor; }
.btn-submit {
  padding: 14px 28px;
  background: var(--cyan);
  color: var(--black);
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-submit:hover { background: var(--white); }

/* Footer */
.site-footer {
  background: var(--black);
  color: var(--gray-300);
  padding: 64px var(--pad-x) 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-grid .brand img { height: 28px; }
.footer-grid .brand p {
  margin-top: 18px;
  font-size: 14px;
  color: var(--gray-400);
  max-width: 280px;
  line-height: 1.55;
}
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin: 0 0 18px;
  font-weight: 500;
}
.footer-col a {
  display: block;
  font-size: 14.5px;
  color: var(--gray-300);
  padding: 6px 0;
  transition: color .2s ease;
}
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
  max-width: var(--container);
  margin: 24px auto 0;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--gray-400);
  flex-wrap: wrap;
  gap: 12px;
}

/* WhatsApp floating button */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.35);
  z-index: 90;
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-fab:hover {
  transform: scale(1.06);
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.5);
}
.whatsapp-fab svg { width: 28px; height: 28px; }
.whatsapp-fab::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0.4;
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .5; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* Reveal animation base */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .problem-grid,
  .about-block,
  .exp-block,
  .cta-grid { grid-template-columns: 1fr; gap: 48px; }
  .steps,
  .diff-grid,
  .value-grid,
  .security-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .site-header nav { display: none; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .steps,
  .diff-grid,
  .value-grid,
  .security-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 140px; }
}

/* Privacy page */
.privacy-page {
  padding: 160px var(--pad-x) 80px;
  max-width: 820px;
  margin: 0 auto;
}
.privacy-page h1 { font-size: clamp(36px, 4vw, 56px); margin-bottom: 24px; }
.privacy-page h2 { font-size: 22px; margin-top: 40px; margin-bottom: 12px; }
.privacy-page p, .privacy-page li {
  font-size: 16px;
  color: var(--gray-500);
  line-height: 1.65;
}
.privacy-page p { margin: 14px 0; }
.privacy-page ul { padding-left: 20px; }
.privacy-page a { color: var(--cyan-deep); border-bottom: 1px solid currentColor; }
.privacy-page .back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 32px;
}
