/* ===========================
   LEATO WEBSITE — STYLE.CSS
   =========================== */

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

:root {
  --brand: #22C55E;
  --brand-deep: #16A34A;
  --brand-glow: rgba(34, 197, 94, 0.18);
  --gold: #FFD700;
  --gold-deep: #FFB300;
  --gold-glow: rgba(255, 215, 0, 0.15);
  --bg: #0F0E0E;
  --surface: #1A1818;
  --surface-2: #242222;
  --ink: #F5F0F0;
  --ink-sub: #9A9696;
  --ink-muted: #6F6A6A;
  --border: rgba(255,255,255,0.08);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

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

a { text-decoration: none; color: inherit; transition: color 0.2s; }
a:hover { color: var(--brand); }

img { max-width: 100%; display: block; }

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 3px; }

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  background: rgba(15,14,14,0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.navbar.scrolled { background: rgba(15,14,14,0.95); }
.nav-inner {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo-img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.5px;
}
.dot { color: var(--brand); }
.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-sub);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--brand); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding: 120px 40px 80px;
  overflow: hidden;
  flex-wrap: wrap;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.hero-glow-1 {
  width: 500px; height: 500px;
  top: -150px; left: -120px;
  background: radial-gradient(circle, rgba(34,197,94,0.12) 0%, transparent 70%);
  animation: glowFloat 6s ease-in-out infinite alternate;
}
.hero-glow-2 {
  width: 450px; height: 450px;
  bottom: -100px; right: -100px;
  background: radial-gradient(circle, rgba(34,197,94,0.09) 0%, transparent 70%);
  animation: glowFloat 8s ease-in-out infinite alternate-reverse;
}
@keyframes glowFloat {
  from { transform: translate(0, 0); }
  to   { transform: translate(20px, -30px); }
}

.hero-content {
  position: relative;
  max-width: 560px;
  z-index: 1;
  animation: fadeSlideUp 0.9s cubic-bezier(0.22,1,0.36,1) both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.28);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--brand);
  margin-bottom: 28px;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2.5px;
  color: var(--ink);
  margin-bottom: 20px;
}
.hero-title-green {
  color: var(--brand);
  display: block;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--ink-sub);
  line-height: 1.6;
  max-width: 440px;
  margin-bottom: 36px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 32px;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 32px rgba(34,197,94,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(34,197,94,0.45);
  color: #fff;
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 15px 24px;
  color: var(--ink-sub);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover {
  color: var(--brand);
  border-color: rgba(34,197,94,0.3);
}

/* ---------- PHONE MOCKUP ---------- */
.hero-mockup {
  position: relative;
  z-index: 1;
  animation: fadeSlideUp 1.1s cubic-bezier(0.22,1,0.36,1) 0.15s both;
}

.phone-frame {
  width: 280px;
  border-radius: 44px;
  background: var(--surface);
  border: 2px solid rgba(255,255,255,0.1);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.5),
    0 40px 80px rgba(0,0,0,0.6),
    0 0 60px rgba(34,197,94,0.08);
  padding: 16px 12px;
  position: relative;
}
.phone-frame::before {
  content: '';
  position: absolute;
  top: 14px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 6px;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
}

.phone-screen {
  border-radius: 32px;
  background: var(--bg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.phone-inner { padding: 18px 14px 14px; }

.phone-header { margin-bottom: 16px; }
.phone-greeting { font-size: 12px; color: var(--ink-muted); font-weight: 500; }
.phone-title { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--ink); margin-top: 4px; line-height: 1.3; }

.phone-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.ptag {
  font-size: 11px; font-weight: 600;
  padding: 5px 10px;
  border-radius: 100px;
  background: var(--surface-2);
  color: var(--ink-sub);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.ptag-active {
  background: rgba(34,197,94,0.15);
  color: var(--brand);
  border-color: rgba(34,197,94,0.3);
}

.phone-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 8px;
  border: 1px solid var(--border);
  transition: transform 0.2s;
}
.phone-card:hover { transform: scale(1.01); }
.pcard-img { font-size: 28px; min-width: 44px; height: 44px; display:flex; align-items:center; justify-content:center; background: var(--surface-2); border-radius: 10px; }
.pcard-info { flex: 1; }
.pcard-title { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--ink); }
.pcard-sub { font-size: 10.5px; color: var(--ink-muted); margin-top: 2px; }
.pcard-badge { font-size: 10px; font-weight: 700; color: #FFD700; margin-top: 3px; }

.phone-ai-pill {
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, rgba(34,197,94,0.12), rgba(34,197,94,0.06));
  border: 1px solid rgba(34,197,94,0.22);
  border-radius: 100px;
  padding: 9px 14px;
  margin-top: 10px;
  font-size: 11.5px; font-weight: 600; color: var(--brand);
}
.ai-icon { font-size: 14px; }

/* ---------- SECTION SHARED ---------- */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--brand);
  margin-bottom: 12px;
}
.section-eyebrow-gold { color: var(--gold); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--ink);
  margin-bottom: 14px;
  line-height: 1.15;
}
.section-title-gold {
  background: linear-gradient(135deg, var(--gold-deep), var(--gold), #FFF0A0, var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-sub {
  font-size: 17px; color: var(--ink-sub);
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 52px;
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- FEATURES ---------- */
.features-section {
  padding: 100px 24px;
  background: var(--bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  cursor: default;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  border-color: rgba(34,197,94,0.2);
}
.feature-card.card-green {
  background: linear-gradient(135deg, rgba(34,197,94,0.12), rgba(34,197,94,0.04));
  border-color: rgba(34,197,94,0.25);
}
.feature-card.card-dark-accent {
  background: var(--surface-2);
}

.feat-icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 15px;
  color: var(--ink-sub);
  line-height: 1.6;
}

/* ---------- PRO SECTION ---------- */
.pro-section {
  padding: 100px 24px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.pro-section::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(255,215,0,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.pro-plans {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.pro-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  flex: 1;
  min-width: 280px;
  max-width: 380px;
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
}
.pro-card:hover { transform: translateY(-4px); }

.pro-card-featured {
  background: linear-gradient(160deg, #1a1207 0%, #221a05 100%);
  border-color: rgba(255,215,0,0.35);
  box-shadow: 0 0 60px rgba(255,215,0,0.1), 0 20px 60px rgba(0,0,0,0.5);
}
.pro-card-featured:hover {
  box-shadow: 0 0 80px rgba(255,215,0,0.18), 0 30px 70px rgba(0,0,0,0.5);
}

.pro-featured-tag {
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-deep), var(--gold));
  color: #0F0E0E;
  font-size: 11px; font-weight: 800;
  padding: 5px 16px;
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.pro-plan-label {
  font-size: 12px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--brand);
  margin-bottom: 10px;
}
.pro-plan-label-gold { color: var(--gold); }

.pro-price {
  font-family: var(--font-display);
  font-size: 42px; font-weight: 900;
  color: var(--ink);
  margin-bottom: 24px;
  letter-spacing: -1px;
}
.pro-price-gold { color: var(--gold); }
.pro-period { font-size: 16px; font-weight: 400; color: var(--ink-muted); }

.pro-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.pro-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink-sub);
  font-weight: 500;
}
.check { color: var(--brand); font-weight: 900; font-size: 15px; flex-shrink: 0; }
.check-gold { color: var(--gold); }

.pro-note {
  font-size: 12.5px; color: var(--ink-muted);
  text-align: center;
  margin-top: 4px;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--bg);
  padding: 60px 24px 40px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.footer-brand {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-bottom: 12px;
}
.footer-logo { width: 36px; height: 36px; border-radius: 9px; }
.footer-name {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 800; color: var(--ink);
}
.footer-tagline {
  font-size: 15px; color: var(--ink-muted);
  margin-bottom: 24px;
}
.footer-links {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 8px;
  margin-bottom: 20px;
}
.footer-links a {
  font-size: 14px; font-weight: 500; color: var(--ink-sub);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--brand); }
.footer-sep { color: var(--ink-muted); }
.footer-legal {
  font-size: 12px; color: var(--ink-muted);
  line-height: 1.8;
}

/* ---------- LEGAL PAGES ---------- */
.legal-page {
  min-height: 100vh;
  padding: 100px 24px 80px;
}
.legal-inner {
  max-width: 780px;
  margin: 0 auto;
}
.legal-tag {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--brand);
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 20px;
}
.legal-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -1.5px;
  margin-bottom: 8px;
  line-height: 1.1;
}
.legal-updated {
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: 48px;
}
.legal-body h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 36px;
  margin-bottom: 12px;
}
.legal-body p, .legal-body li {
  font-size: 15.5px;
  color: var(--ink-sub);
  line-height: 1.75;
}
.legal-body ul {
  padding-left: 20px;
  margin-top: 8px;
}
.legal-body li { margin-bottom: 6px; }
.legal-body a { color: var(--brand); text-decoration: underline; }
.legal-divider {
  width: 100%; height: 1px;
  background: var(--border);
  margin: 40px 0;
}
.legal-highlight {
  background: rgba(34,197,94,0.07);
  border: 1px solid rgba(34,197,94,0.18);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 20px 0;
}
.legal-highlight p { color: var(--ink); font-weight: 500; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 24px 60px;
    gap: 40px;
  }
  .hero-mockup { align-self: center; }
  .phone-frame { width: 240px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 13px; }
  .features-grid { grid-template-columns: 1fr; }
  .pro-plans { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .hero-title { letter-spacing: -1.5px; }
  .hero-cta-group { flex-direction: column; align-items: flex-start; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .nav-links { display: none; }
}
