/* ── TYBE landing — teal / amber on deep green-black ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0E1514;
  --bg2: #121b1a;
  --surface: #17211f;
  --surface2: #1b2524;
  --border: #26332f;
  --text: #DEE4E2;
  --muted: #8fa39f;
  --primary: #4CD9DF;      /* teal (dark primary) */
  --primary-deep: #00696D;
  --tile: #0B6E4F;         /* app icon green */
  --amber: #FFB68C;        /* secondary */
  --indigo: #BAC3FF;       /* tertiary */
  --glow: rgba(76, 217, 223, 0.16);
  --radius: 14px;
  --font: 'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 680px; }
.center { text-align: center; }

.accent-text {
  background: linear-gradient(120deg, var(--primary), var(--amber));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ── Brand ── */
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-tile {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--tile); box-shadow: 0 2px 10px rgba(11,110,79,0.5);
}
.brand-tile.small { width: 28px; height: 28px; border-radius: 7px; }
.brand-name { font-weight: 800; font-size: 1.2rem; letter-spacing: 0.5px; color: var(--text); }

/* ── Nav ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 14px 24px;
  background: rgba(14, 21, 20, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.btn-ghost {
  border: 1px solid var(--border); padding: 8px 16px; border-radius: 8px;
  color: var(--text) !important; transition: border-color 0.2s;
}
.btn-ghost:hover { border-color: var(--primary); }

/* ── Buttons ── */
.btn-primary, .btn-secondary {
  display: inline-block; font-family: var(--font); font-size: 1rem; font-weight: 600;
  padding: 14px 30px; border-radius: 11px; border: none; cursor: pointer;
  text-decoration: none; transition: opacity 0.2s, transform 0.15s, border-color 0.2s;
}
.btn-primary {
  background: linear-gradient(120deg, var(--primary), #7defe4);
  color: #04322f;
}
.btn-primary:hover { opacity: 0.92; transform: translateY(-1px); }
.btn-primary.wide { width: 100%; text-align: center; }
.btn-secondary { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--primary); }

/* ── Hero ── */
.hero { position: relative; overflow: hidden; padding: 150px 0 90px; }
.hero-glow {
  position: absolute; top: -10%; right: -5%;
  width: 620px; height: 620px; max-width: 90vw;
  background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; position: relative; }
.eyebrow {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--primary); margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; line-height: 1.08; letter-spacing: -1.5px; margin-bottom: 22px; }
.hero-sub { font-size: 1.1rem; color: var(--muted); max-width: 540px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-note { font-size: 0.85rem; color: var(--muted); }

/* ── Phone mockup ── */
.hero-visual { display: flex; justify-content: center; }
.phone {
  position: relative; width: 260px; aspect-ratio: 9 / 19;
  background: #05100e; border: 2px solid var(--border);
  border-radius: 34px; padding: 12px; box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}
.phone.small { width: 200px; }
.phone-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 90px; height: 20px; background: #05100e; border-radius: 0 0 12px 12px; z-index: 2; }
.phone-screen { width: 100%; height: 100%; border-radius: 24px; overflow: hidden; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }
.phone-screen.placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: repeating-linear-gradient(135deg, var(--surface), var(--surface) 12px, var(--surface2) 12px, var(--surface2) 24px);
  border: 1px dashed var(--border); color: var(--muted); text-align: center; padding: 16px;
}
.ph-icon { font-size: 2rem; }
.ph-label { font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; color: var(--primary); }
.ph-sub { font-size: 0.85rem; color: var(--muted); }

/* ── Trust strip ── */
.strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg2); }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 28px 24px; }
.strip-item { display: flex; flex-direction: column; gap: 4px; text-align: center; }
.strip-item strong { font-size: 1.25rem; color: var(--primary); font-weight: 800; }
.strip-item span { font-size: 0.85rem; color: var(--muted); }

/* ── Sections ── */
.section { padding: 90px 0; }
.section.alt { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.section h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -1px; line-height: 1.15; margin-bottom: 18px; }
.section-sub { font-size: 1.05rem; color: var(--muted); max-width: 560px; margin-bottom: 40px; }
.center .section-sub { margin-left: auto; margin-right: auto; }

/* ── Feature cards ── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--primary); transform: translateY(-3px); }
.card-icon { font-size: 1.7rem; margin-bottom: 14px; }
.card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 0.92rem; color: var(--muted); }

/* ── Steps ── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.step-num {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(120deg, var(--primary-deep), var(--tile)); color: #fff;
  font-weight: 800; margin-bottom: 16px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--muted); }

/* ── Screenshots ── */
.shots { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-top: 44px; }

/* ── Pricing ── */
.price-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 40px 32px; max-width: 400px; margin: 0 auto 24px; text-align: center;
}
.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--amber); color: #3a1a00; font-size: 0.75rem; font-weight: 700;
  padding: 6px 16px; border-radius: 100px; letter-spacing: 0.5px;
}
.price-card h3 { font-size: 1.3rem; margin: 8px 0 12px; }
.price .amt { font-size: 2.8rem; font-weight: 800; color: var(--text); }
.price .per { font-size: 1rem; color: var(--muted); }
.price-trial { font-size: 0.9rem; color: var(--primary); margin: 8px 0 20px; }
.price-list { list-style: none; text-align: left; max-width: 240px; margin: 0 auto 26px; }
.price-list li { font-size: 0.95rem; color: var(--muted); padding: 8px 0 8px 28px; position: relative; border-bottom: 1px solid var(--border); }
.price-list li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 800; }
.disclaimer { font-size: 0.82rem; color: var(--muted); max-width: 520px; margin: 0 auto; }

/* ── Lead form ── */
.lead-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; max-width: 560px; margin: 0 auto; text-align: left; }
.form-group { margin-bottom: 20px; }
label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 8px; }
label .opt { color: var(--muted); font-weight: 400; }
input, textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--border); border-radius: 9px;
  color: var(--text); font-family: var(--font); font-size: 0.95rem; padding: 12px 15px;
  transition: border-color 0.2s; outline: none; resize: vertical;
}
input::placeholder, textarea::placeholder { color: #4a5a56; }
input:focus, textarea:focus { border-color: var(--primary); }

.form-message { padding: 14px 18px; border-radius: 9px; font-size: 0.95rem; font-weight: 500; margin-bottom: 22px; max-width: 560px; margin-left: auto; margin-right: auto; }
.form-message.success { background: rgba(76,175,80,0.12); border: 1px solid rgba(76,175,80,0.35); color: #7ee68a; }
.form-message.error { background: rgba(239,68,68,0.12); border: 1px solid rgba(239,68,68,0.35); color: #ff9b9b; }

/* ── Footer ── */
.footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 40px 24px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.footer p { font-size: 0.9rem; color: var(--muted); }
.footer .muted { font-size: 0.82rem; }
.footer a { color: var(--primary); text-decoration: none; }
.footer a:hover { text-decoration: underline; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-cta { justify-content: center; }
  .hero-visual { margin-top: 20px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .strip-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .nav { padding: 12px 18px; }
  .nav-links { gap: 14px; }
  .nav-links a:not(.btn-ghost) { display: none; }
  .hero { padding: 130px 0 70px; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .lead-form { padding: 26px 20px; }
  .price-card { padding: 36px 22px; }
}
