/* ============================================================
   OneLabs TMA Creator – Landing Page Styles
   Primary accent: #00d4aa (cyan-green)
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cyan: #00d4aa;
  --cyan-mid: #00b891;
  --blue: #0099ff;
  --bg: #060a12;
  --bg2: #0b1120;
  --surface: rgba(255,255,255,0.04);
  --surface2: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.07);
  --border2: rgba(255,255,255,0.12);
  --text: #e8eaf0;
  --text2: #9ca3af;
  --muted: #6b7280;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 24px 64px rgba(0,0,0,0.5);
  --font: 'Outfit', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Typography ---------- */
.gradient-text {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.4rem;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 100%);
  color: #000;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(0,212,170,0.25);
  white-space: nowrap;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: 0 8px 28px rgba(0,212,170,0.38); }
.btn-primary.btn-lg { padding: 0.85rem 2rem; font-size: 1.05rem; }
.btn-primary.btn-block { width: 100%; border-radius: var(--radius); padding: 0.85rem; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.4rem;
  background: transparent;
  color: var(--text);
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid var(--border2);
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn-ghost:hover { background: var(--surface); border-color: rgba(255,255,255,0.2); transform: translateY(-1px); }
.btn-ghost.btn-lg { padding: 0.85rem 2rem; font-size: 1.05rem; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem;
  width: 100%;
  background: transparent;
  color: var(--cyan);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--cyan);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-outline:hover { background: rgba(0,212,170,0.08); transform: translateY(-1px); }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(6,10,18,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.nav-logo-img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  object-fit: contain;
}
.nav-logo-text {
  font-size: 1.15rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fff, var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text2);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7rem 1.5rem 5rem;
  overflow: hidden;
  gap: 4rem;
  max-width: 1160px;
  margin: 0 auto;
}
#particleCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  flex: 1;
  max-width: 600px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,212,170,0.1);
  border: 1px solid rgba(0,212,170,0.25);
  border-radius: 50px;
  padding: 0.35rem 1rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--cyan);
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.6s ease;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 0 0 rgba(0,212,170,0.6); }
  50% { box-shadow: 0 0 0 5px rgba(0,212,170,0); }
}
.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  animation: fadeInDown 0.7s ease 0.1s both;
}
.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 520px;
  animation: fadeInDown 0.7s ease 0.2s both;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fadeInDown 0.7s ease 0.3s both;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  animation: fadeInDown 0.7s ease 0.4s both;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--cyan);
}
.stat-label { font-size: 0.78rem; color: var(--muted); }
.stat-divider { width: 1px; height: 36px; background: var(--border2); }

/* Phone mockup */
.hero-visual {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  animation: fadeInUp 0.9s ease 0.2s both;
}
.phone-mockup {
  width: 240px;
  border-radius: 36px;
  background: #0e1726;
  border: 2px solid rgba(255,255,255,0.12);
  box-shadow: 0 40px 100px rgba(0,0,0,0.7), 0 0 60px rgba(0,212,170,0.1);
  overflow: hidden;
  animation: float-phone 4s ease-in-out infinite;
}
@keyframes float-phone {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.phone-screen { padding: 1rem; }
.tg-header {
  display: flex; align-items: center; gap: 0.6rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 0.75rem;
}
.tg-avatar { font-size: 1.5rem; }
.tg-name { font-size: 0.85rem; font-weight: 600; }
.tg-online { font-size: 0.7rem; color: var(--cyan); }
.tg-balance-card {
  background: linear-gradient(135deg, rgba(0,212,170,0.15), rgba(0,100,255,0.1));
  border: 1px solid rgba(0,212,170,0.2);
  border-radius: 12px;
  padding: 0.75rem;
  margin-bottom: 0.6rem;
  text-align: center;
}
.tg-balance-label { font-size: 0.65rem; color: var(--muted); }
.tg-balance-val { font-size: 1.2rem; font-weight: 700; margin: 0.1rem 0; }
.tg-balance-usd { font-size: 0.65rem; color: var(--cyan); }
.tg-actions { display: flex; gap: 0.4rem; margin-bottom: 0.6rem; }
.tg-action-btn {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 0.45rem 0.3rem;
  font-size: 0.65rem;
  text-align: center;
  font-weight: 500;
}
.tg-ref-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.7rem;
}
.tg-ref-val { color: var(--cyan); font-weight: 600; }

/* ---------- Sections ---------- */
.section {
  padding: 6rem 0;
  position: relative;
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-tag {
  display: inline-block;
  background: rgba(0,212,170,0.1);
  border: 1px solid rgba(0,212,170,0.2);
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--text2);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---------- How It Works ---------- */
.steps-grid {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
}
.step-card {
  flex: 1;
  max-width: 320px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  text-align: center;
  position: relative;
  transition: transform 0.3s, border-color 0.3s;
}
.step-card:hover { transform: translateY(-6px); border-color: rgba(0,212,170,0.3); }
.step-number {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  opacity: 0.7;
}
.step-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.step-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.6rem; }
.step-card p { font-size: 0.9rem; color: var(--text2); line-height: 1.6; }
.step-connector {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, rgba(0,212,170,0.3), rgba(0,100,255,0.3));
  margin-top: 5.5rem;
  flex-shrink: 0;
}

/* ---------- Features ---------- */
.features-section { background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 50%, var(--bg) 100%); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,212,170,0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(0,212,170,0.2); box-shadow: 0 16px 48px rgba(0,0,0,0.3); }
.feature-card:hover::before { opacity: 1; }
.feature-card.feature-large { grid-column: span 1; background: linear-gradient(135deg, rgba(0,212,170,0.06), rgba(0,100,255,0.06)); border-color: rgba(0,212,170,0.15); }
.feature-icon-wrap { margin-bottom: 1rem; }
.feature-icon { font-size: 2rem; }
.feature-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.6rem; }
.feature-card p { font-size: 0.875rem; color: var(--text2); line-height: 1.65; }
.feature-tag {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--cyan);
  background: rgba(0,212,170,0.1);
  border: 1px solid rgba(0,212,170,0.2);
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  letter-spacing: 0.05em;
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: transform 0.3s;
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card.pricing-featured {
  background: linear-gradient(135deg, rgba(0,212,170,0.08), rgba(0,100,255,0.06));
  border-color: rgba(0,212,170,0.3);
  box-shadow: 0 0 0 1px rgba(0,212,170,0.1) inset, 0 24px 64px rgba(0,212,170,0.08);
}
.plan-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #000;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.9rem;
  border-radius: 50px;
  white-space: nowrap;
}
.plan-name { font-size: 1rem; font-weight: 600; color: var(--text2); margin-bottom: 0.5rem; }
.plan-price { margin-bottom: 0.5rem; }
.price-amount { font-size: 2.4rem; font-weight: 700; }
.price-period { font-size: 1rem; color: var(--muted); }
.plan-desc { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.5rem; }
.plan-features { display: flex; flex-direction: column; gap: 0.55rem; margin-bottom: 1.75rem; }
.plan-features li { font-size: 0.875rem; color: var(--text2); display: flex; align-items: center; gap: 0.5rem; }
.check { color: var(--cyan); font-weight: 700; }
.muted-check { color: var(--muted); }

/* ---------- CTA ---------- */
.cta-section {
  padding: 6rem 0;
  position: relative;
}
.cta-inner {
  background: linear-gradient(135deg, rgba(0,212,170,0.08), rgba(0,100,255,0.06));
  border: 1px solid rgba(0,212,170,0.2);
  border-radius: 32px;
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,212,170,0.12) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-title { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 700; margin-bottom: 0.75rem; }
.cta-subtitle { font-size: 1rem; color: var(--text2); margin-bottom: 2rem; }
.cta-form {
  display: flex;
  gap: 0.75rem;
  max-width: 560px;
  margin: 0 auto 1rem;
}
.cta-input {
  flex: 1;
  padding: 0.85rem 1.25rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}
.cta-input:focus { border-color: var(--cyan); }
.cta-input::placeholder { color: var(--muted); }
.cta-toast {
  display: inline-block;
  background: rgba(0,212,170,0.15);
  border: 1px solid rgba(0,212,170,0.3);
  color: var(--cyan);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}
.cta-toast.show { opacity: 1; transform: translateY(0); }
.cta-note { font-size: 0.8rem; color: var(--muted); }

/* ---------- Footer ---------- */
.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg2);
}
.footer-top {
  display: flex;
  gap: 4rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.footer-brand { flex: 1; min-width: 200px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.footer-logo-img { width: 36px; height: 36px; border-radius: 8px; object-fit: contain; }
.footer-logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fff, var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-tagline { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }
.footer-links-group { display: flex; gap: 3rem; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col-title { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text2); margin-bottom: 0.25rem; }
.footer-col a { font-size: 0.875rem; color: var(--muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ---------- Animations ---------- */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero { flex-direction: column; text-align: center; padding-top: 7rem; }
  .hero-content { max-width: 100%; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(6,10,18,0.98);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-actions.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: auto;
    padding: 0 1.5rem 1.5rem;
    background: rgba(6,10,18,0.98);
    left: 0; right: 0;
  }
  .hamburger { display: flex; }
  .steps-grid { flex-direction: column; align-items: center; gap: 1.5rem; }
  .step-connector { width: 2px; height: 40px; margin: 0; background: linear-gradient(180deg, rgba(0,212,170,0.3), rgba(0,100,255,0.3)); }
  .features-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .cta-form { flex-direction: column; }
  .footer-top { gap: 2rem; }
  .footer-links-group { gap: 2rem; }
}

@media (max-width: 480px) {
  .section { padding: 4rem 0; }
  .cta-inner { padding: 2.5rem 1.25rem; border-radius: 20px; }
}
