/* =========================================================
   GYMOS LANDING PAGE — Apple "Liquid Glass" design system
   Deep dark canvas, refractive frosted glass panels, soft
   floating color blobs, continuous corners, calm motion.
========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #06070d;
  --bg-2: #0a0c18;

  --glass-fill: rgba(255, 255, 255, 0.06);
  --glass-fill-strong: rgba(255, 255, 255, 0.10);
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-border-strong: rgba(255, 255, 255, 0.22);
  --glass-blur: blur(38px) saturate(180%);
  --glass-blur-strong: blur(60px) saturate(200%);

  --specular: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -1px 0 rgba(0, 0, 0, 0.25);
  --shadow-glass: 0 20px 60px rgba(0, 0, 0, 0.55), 0 2px 8px rgba(0, 0, 0, 0.35), var(--specular);
  --shadow-glass-hover: 0 28px 80px rgba(0, 0, 0, 0.60), 0 4px 16px rgba(0, 0, 0, 0.40), var(--specular);

  --text: rgba(255, 255, 255, 0.94);
  --text-secondary: rgba(255, 255, 255, 0.62);
  --text-tertiary: rgba(255, 255, 255, 0.38);

  --blue: #4f9dff;
  --purple: #a879ff;
  --pink: #ff7ac6;
  --cyan: #5ce1e6;
  --amber: #ffc255;

  --grad-primary: linear-gradient(135deg, var(--blue) 0%, var(--purple) 55%, var(--pink) 100%);

  --r-lg: 24px;
  --r-xl: 32px;
  --r-2xl: 44px;
  --r-full: 999px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t: 0.5s;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100%;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* =========================================================
   BACKGROUND — soft floating color blobs behind the glass
========================================================= */

.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  animation: orb-drift 26s ease-in-out infinite;
}

.o1 { width: 520px; height: 520px; top: -10%; left: -8%; background: radial-gradient(circle, var(--blue), transparent 70%); }
.o2 { width: 460px; height: 460px; top: 5%; right: -10%; background: radial-gradient(circle, var(--purple), transparent 70%); animation-delay: -6s; }
.o3 { width: 420px; height: 420px; bottom: 10%; left: 8%; background: radial-gradient(circle, var(--pink), transparent 70%); animation-delay: -13s; }
.o4 { width: 380px; height: 380px; bottom: -12%; right: 12%; background: radial-gradient(circle, var(--cyan), transparent 70%); animation-delay: -19s; }

@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.08); }
  66% { transform: translate(-30px, 25px) scale(0.95); }
}

#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--grad-primary);
  z-index: 999;
  transition: width 0.1s linear;
}

/* =========================================================
   NAV — floating glass pill
========================================================= */

.lp-nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  width: min(920px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 10px 20px;
  border-radius: var(--r-full);
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: var(--glass-blur);
          backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-glass);
}

.lp-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 16px;
}

.lp-nav-logo img { width: 38px; height: 38px; border-radius: 11px; }

.lp-nav-links { display: flex; align-items: center; gap: 6px; }

.nav-link {
  padding: 9px 16px;
  border-radius: var(--r-full);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--ease) 0.25s, background var(--ease) 0.25s;
}

.nav-link:hover { color: var(--text); background: var(--glass-fill-strong); }

.nav-cta {
  padding: 10px 20px;
  border-radius: var(--r-full);
  font-size: 13.5px;
  font-weight: 700;
  background: var(--grad-primary);
  color: #06070d;
  box-shadow: var(--specular), 0 6px 20px rgba(79, 157, 255, 0.35);
  transition: transform var(--ease) 0.3s, box-shadow var(--ease) 0.3s;
}

.nav-cta:hover { transform: translateY(-1px) scale(1.02); box-shadow: var(--specular), 0 10px 28px rgba(79, 157, 255, 0.45); }

.lp-nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-full);
  background: var(--glass-fill-strong);
  border: 1px solid var(--glass-border);
  color: var(--text);
}

/* =========================================================
   BUTTONS — convex liquid glass
========================================================= */

.btn-primary, .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: var(--r-full);
  font-size: 15px;
  font-weight: 700;
  transition: transform var(--ease) 0.35s, box-shadow var(--ease) 0.35s, background var(--ease) 0.35s;
}

.btn-primary {
  background: var(--grad-primary);
  color: #06070d;
  box-shadow: var(--specular), 0 12px 32px rgba(168, 121, 255, 0.35);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--specular), 0 18px 44px rgba(168, 121, 255, 0.48); }

.btn-ghost {
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  color: var(--text);
  -webkit-backdrop-filter: var(--glass-blur);
          backdrop-filter: var(--glass-blur);
}

.btn-ghost:hover { background: var(--glass-fill-strong); transform: translateY(-2px); }

/* =========================================================
   HERO
========================================================= */

.lp-hero {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 150px 24px 60px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--r-full);
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: var(--glass-blur);
          backdrop-filter: var(--glass-blur);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

.hero-title {
  font-size: clamp(40px, 7vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
}

.hero-title .grad {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-mock {
  border-radius: var(--r-2xl);
  overflow: hidden;
  background: var(--glass-fill);
  border: 1px solid var(--glass-border-strong);
  -webkit-backdrop-filter: var(--glass-blur-strong);
          backdrop-filter: var(--glass-blur-strong);
  box-shadow: var(--shadow-glass-hover);
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.03);
}

.m-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.m-dot:nth-child(1) { background: #ff6159; }
.m-dot:nth-child(2) { background: #ffbd2e; }
.m-dot:nth-child(3) { background: #28c93f; }

.mock-url {
  margin-left: 12px;
  font-size: 12px;
  color: var(--text-tertiary);
  font-weight: 600;
}

.hero-mock-img { width: 100%; display: block; }

/* =========================================================
   STATS
========================================================= */

.stats-row {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto 100px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.stat-card {
  text-align: center;
  padding: 26px 16px;
  border-radius: var(--r-xl);
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: var(--glass-blur);
          backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-glass);
}

.stat-num { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.stat-num.acc { background: var(--grad-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { font-size: 12px; color: var(--text-tertiary); font-weight: 600; margin-top: 6px; }

/* =========================================================
   SECTIONS — shared head
========================================================= */

.section {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 90px 24px;
}

.section-head { text-align: center; max-width: 620px; margin: 0 auto 56px; }

.s-tag {
  display: inline-flex;
  padding: 7px 16px;
  border-radius: var(--r-full);
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.section-line { width: 48px; height: 3px; border-radius: var(--r-full); background: var(--grad-primary); margin: 0 auto 20px; }

.s-title { font-size: clamp(28px, 4vw, 38px); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 14px; }
.s-desc { color: var(--text-secondary); font-size: 15.5px; line-height: 1.6; }

/* =========================================================
   FEATURES GRID
========================================================= */

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

.feat-card {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--r-xl);
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: var(--glass-blur);
          backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-glass);
  transition: transform var(--ease) 0.4s, box-shadow var(--ease) 0.4s, background var(--ease) 0.4s, border-color var(--ease) 0.4s;
}

.feat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glass-hover);
  background: var(--glass-fill-strong);
  border-color: var(--glass-border-strong);
}

.feat-card.hot { border-color: rgba(168, 121, 255, 0.35); }

.feat-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  border-radius: 14px;
  background: var(--glass-fill-strong);
  border: 1px solid var(--glass-border);
  margin-bottom: 16px;
}

.feat-name { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feat-desc { font-size: 13.5px; line-height: 1.55; color: var(--text-secondary); }

/* =========================================================
   SCREENSHOTS
========================================================= */

.screen-block {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 90px;
}

.screen-block.flip { grid-template-columns: 1.15fr 0.85fr; }
.screen-block.flip .screen-label { order: 2; }
.screen-block.flip .app-frame { order: 1; }

.screen-label .s-tag { margin-bottom: 16px; }
.screen-title { font-size: 24px; font-weight: 800; letter-spacing: -0.015em; margin: 0 0 12px; }
.screen-desc { color: var(--text-secondary); font-size: 14.5px; line-height: 1.6; margin-bottom: 20px; }

.screen-bullets { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.screen-bullets li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text-secondary); }
.bull { width: 7px; height: 7px; border-radius: 50%; background: var(--grad-primary); flex-shrink: 0; }

.app-frame {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--glass-fill);
  border: 1px solid var(--glass-border-strong);
  -webkit-backdrop-filter: var(--glass-blur-strong);
          backdrop-filter: var(--glass-blur-strong);
  box-shadow: var(--shadow-glass);
}

.screen-img { width: 100%; display: block; }

.screens-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.screens-mini-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--glass-fill);
  margin-bottom: 14px;
}

.screens-mini-frame img { width: 100%; display: block; }


.screens-mini-tag { font-size: 12px; font-weight: 700; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 0.04em; }
.screens-mini-meta p { font-size: 13px; color: var(--text-secondary); margin: 6px 0 0; line-height: 1.5; }

/* =========================================================
   WORKFLOW
========================================================= */

.workflow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.wf-steps { display: flex; flex-direction: column; gap: 22px; }

.wf-step { display: flex; gap: 18px; align-items: flex-start; }

.wf-num {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #06070d;
  font-weight: 800;
  font-size: 15px;
  box-shadow: var(--specular);
}

.wf-text h3 { font-size: 16.5px; font-weight: 700; margin: 0 0 6px; }
.wf-text p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.55; margin: 0; }

.wf-panel {
  padding: 26px;
  border-radius: var(--r-xl);
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: var(--glass-blur);
          backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-glass);
}

.wf-panel-title { font-size: 12px; font-weight: 700; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 18px; }

.wf-ticket {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  margin-bottom: 10px;
}

.wf-ti { font-size: 18px; }
.wf-info { flex: 1; min-width: 0; }
.wf-name { font-size: 13.5px; font-weight: 700; }
.wf-sub { font-size: 11.5px; color: var(--text-tertiary); margin-top: 2px; }

.wf-badge { font-size: 11px; font-weight: 700; padding: 5px 11px; border-radius: var(--r-full); white-space: nowrap; }
.wf-badge.o { background: rgba(255, 194, 85, 0.18); color: var(--amber); }
.wf-badge.d { background: rgba(92, 225, 230, 0.18); color: var(--cyan); }
.wf-badge.p { background: rgba(168, 121, 255, 0.18); color: var(--purple); }

/* =========================================================
   CONTACT
========================================================= */

.contact-wrap { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; padding: 40px 24px 120px; }

.contact-card {
  position: relative;
  padding: 48px;
  border-radius: var(--r-2xl);
  background: var(--glass-fill);
  border: 1px solid var(--glass-border-strong);
  -webkit-backdrop-filter: var(--glass-blur-strong);
          backdrop-filter: var(--glass-blur-strong);
  box-shadow: var(--shadow-glass-hover);
}

.contact-head { text-align: center; margin-bottom: 32px; }
.contact-tag { margin: 0 auto 16px; }
.contact-head .section-line { margin-bottom: 18px; }
.contact-head h2 { font-size: 28px; font-weight: 800; margin: 0 0 12px; }
.contact-head p { color: var(--text-secondary); font-size: 14.5px; line-height: 1.6; }

.c-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.c-field { margin-bottom: 16px; }
.c-field label { display: block; font-size: 12.5px; font-weight: 700; color: var(--text-secondary); margin-bottom: 7px; }

.c-field input, .c-field select, .c-field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  transition: border-color var(--ease) 0.25s, background var(--ease) 0.25s;
}

.c-field textarea { resize: vertical; min-height: 90px; }

.c-field input:focus, .c-field select:focus, .c-field textarea:focus {
  outline: none;
  border-color: var(--purple);
  background: rgba(255, 255, 255, 0.08);
}

.c-submit {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: var(--r-full);
  background: var(--grad-primary);
  color: #06070d;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--specular), 0 14px 34px rgba(168, 121, 255, 0.35);
  transition: transform var(--ease) 0.3s, box-shadow var(--ease) 0.3s;
}

.c-submit:hover { transform: translateY(-2px); box-shadow: var(--specular), 0 20px 44px rgba(168, 121, 255, 0.45); }

.c-note { text-align: center; font-size: 12px; color: var(--text-tertiary); margin: 14px 0 0; }

.c-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.c-error {
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--pink);
  margin: 14px 0 0;
}

.c-success {
  display: none;
  text-align: center;
  padding: 30px 10px;
}

.c-success.show { display: block; }
.c-form.hide { display: none; }

.success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #06070d;
  font-size: 24px;
  font-weight: 800;
  box-shadow: var(--specular);
}

.success-title { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.success-sub { font-size: 13.5px; color: var(--text-secondary); line-height: 1.6; max-width: 380px; margin: 0 auto; }

/* =========================================================
   FOOTER
========================================================= */

.lp-footer {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 24px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid var(--glass-border);
}

.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.footer-brand img { width: 30px; height: 30px; border-radius: 9px; }

.footer-copy { font-size: 12.5px; color: var(--text-tertiary); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 12.5px; color: var(--text-tertiary); transition: color var(--ease) 0.25s; }
.footer-links a:hover { color: var(--text); }

/* =========================================================
   REVEAL ANIMATION
========================================================= */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), filter 0.7s var(--ease);
}

[data-reveal="scale"] { transform: scale(0.92); }
[data-reveal="blur"] { filter: blur(8px); transform: translateY(16px); }
[data-reveal="left"] { transform: translateX(-30px); }
[data-reveal="right"] { transform: translateX(30px); }
[data-reveal="flip"] { transform: translateY(24px) rotateX(6deg); }

[data-reveal].in-view {
  opacity: 1;
  transform: none;
  filter: none;
}

[data-delay="1"] { transition-delay: 0.08s; }
[data-delay="2"] { transition-delay: 0.16s; }
[data-delay="3"] { transition-delay: 0.24s; }
[data-delay="4"] { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { transition: none; opacity: 1; transform: none; filter: none; }
  .bg-orb { animation: none; }
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .screens-mini-grid { grid-template-columns: 1fr 1fr; }
  .workflow-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  .lp-nav-links {
    position: fixed;
    top: 74px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border-radius: var(--r-xl);
    background: var(--glass-fill-strong);
    border: 1px solid var(--glass-border);
    -webkit-backdrop-filter: var(--glass-blur-strong);
            backdrop-filter: var(--glass-blur-strong);
    box-shadow: var(--shadow-glass-hover);
    display: none;
  }

  .lp-nav-links.open { display: flex; }
  .nav-link, .nav-cta { text-align: center; }
  .lp-nav-toggle { display: flex; }

  .screen-block, .screen-block.flip { grid-template-columns: 1fr; gap: 24px; }
  .screen-block.flip .screen-label, .screen-block.flip .app-frame { order: initial; }

  .feat-grid { grid-template-columns: 1fr; }
  .screens-mini-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .c-row { grid-template-columns: 1fr; }
  .contact-card { padding: 32px 22px; }
}
