/* BotsAI — Shared Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --green: #25D366;
  --green-dark: #128C7E;
  --green-deeper: #075E54;
  --dark: #070a0d;
  --gray-900: #0d1117;
  --gray-800: #161b22;
  --gray-700: #21262d;
  --gray-600: #30363d;
  --gray-400: #8b949e;
  --gray-300: #b1bac4;
  --white: #f0f6fc;
  --glow: rgba(37,211,102,0.15);
}

body {
  font-family: 'Heebo', 'Inter', sans-serif;
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

/* LTR overrides */
[dir="ltr"] body { font-family: 'Inter', 'Heebo', sans-serif; }

/* GRAIN */
body::after {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 14px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(7,10,13,0.88);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.logo {
  font-family: 'Rubik', sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-decoration: none;
  color: var(--white);
}
.logo span { color: var(--green); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--green) !important;
  color: var(--dark) !important;
  padding: 8px 22px !important;
  border-radius: 8px;
  font-weight: 700 !important;
  font-size: 14px !important;
}
.nav-cta:hover { background: #2be573 !important; }
.lang-switch {
  color: var(--gray-400) !important;
  border: 1px solid var(--gray-700);
  padding: 4px 12px !important;
  border-radius: 6px;
  font-size: 12px !important;
  font-weight: 600 !important;
}
.lang-switch:hover { border-color: var(--gray-400); }

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 24px 60px;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--glow) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37,211,102,0.2), transparent);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,211,102,0.08);
  border: 1px solid rgba(37,211,102,0.15);
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 13px;
  color: var(--green);
  font-weight: 500;
  margin-bottom: 36px;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

h1 {
  font-family: 'Rubik', sans-serif;
  font-size: clamp(36px, 6.5vw, 68px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  max-width: 750px;
  margin-bottom: 24px;
}
.highlight {
  background: linear-gradient(135deg, var(--green), #5afa8e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.subtitle {
  font-size: 19px;
  color: var(--gray-400);
  max-width: 520px;
  margin-bottom: 44px;
  font-weight: 400;
  line-height: 1.7;
}
.cta-group { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green);
  color: var(--dark);
  padding: 16px 40px;
  border-radius: 14px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.hero-cta:hover {
  background: #2be573;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(37,211,102,0.25);
}
.hero-sub { font-size: 13px; color: var(--gray-400); }
.hero-sub strong { color: var(--green); font-weight: 600; }

/* NUMBERS */
.numbers {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 50px 24px 60px;
  flex-wrap: wrap;
}
.num-card { text-align: center; min-width: 130px; }
.num-big {
  font-family: 'Rubik', sans-serif;
  font-size: 42px;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
}
.num-label { font-size: 14px; color: var(--gray-400); margin-top: 6px; }

/* PHONE MOCKUP */
.phone-section {
  padding: 30px 24px 80px;
  display: flex;
  justify-content: center;
}
.phone {
  width: 350px;
  background: var(--gray-900);
  border-radius: 28px;
  padding: 14px;
  border: 1px solid var(--gray-700);
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 60px rgba(37,211,102,0.05);
}
.phone-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 10px;
  border-bottom: 1px solid var(--gray-700);
  margin-bottom: 14px;
}
.phone-avatar {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.phone-name { font-weight: 700; font-size: 15px; }
.phone-status { font-size: 12px; color: var(--green); }
.chat { display: flex; flex-direction: column; gap: 8px; padding: 8px; }
.msg {
  max-width: 85%;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
}
.msg-in {
  background: var(--gray-800);
  align-self: flex-end;
  border-top-right-radius: 4px;
}
[dir="ltr"] .msg-in { border-top-right-radius: 12px; border-top-left-radius: 4px; align-self: flex-start; }
.msg-out {
  background: var(--green-deeper);
  align-self: flex-start;
  border-top-left-radius: 4px;
}
[dir="ltr"] .msg-out { border-top-left-radius: 12px; border-top-right-radius: 4px; align-self: flex-end; }
.msg-time { font-size: 10px; color: var(--gray-400); margin-top: 4px; }
.msg-bot-tag { font-size: 9px; color: var(--gray-400); opacity: 0.6; }

/* SECTIONS */
.section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--green);
  margin-bottom: 14px;
}
h2 {
  font-family: 'Rubik', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  margin-bottom: 48px;
  line-height: 1.2;
}

/* HOW IT WORKS */
.how {
  padding: 100px 24px;
  max-width: 700px;
  margin: 0 auto;
}
.steps { display: flex; flex-direction: column; gap: 36px; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step-num {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--gray-800);
  border: 1px solid var(--gray-700);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rubik', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--green);
}
.step h3 {
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 6px;
}
.step p { color: var(--gray-400); font-size: 15px; }
.step-tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--green);
  background: rgba(37,211,102,0.08);
  padding: 3px 10px;
  border-radius: 6px;
  font-weight: 500;
}

/* USE CASES */
.usecases {
  padding: 80px 24px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
[dir="rtl"] .grid { text-align: right; }
[dir="ltr"] .grid { text-align: left; }
.card {
  background: var(--gray-900);
  border: 1px solid var(--gray-700);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s;
}
.card:hover {
  border-color: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37,211,102,0.08);
}
.card-icon { font-size: 28px; margin-bottom: 12px; }
.card h3 {
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 6px;
}
.card p { color: var(--gray-400); font-size: 14px; line-height: 1.6; }

/* DEMO */
.demo { padding: 60px 24px 80px; text-align: center; }
.demo-box {
  max-width: 520px;
  margin: 0 auto;
  background: var(--gray-900);
  border: 1px solid var(--gray-700);
  border-radius: 24px;
  padding: 48px 32px;
}
.demo-box p { color: var(--gray-400); font-size: 16px; margin-bottom: 28px; line-height: 1.6; }
.demo-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green-deeper);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s;
}
.demo-wa:hover { background: var(--green-dark); transform: translateY(-1px); }
.demo-wa svg { width: 20px; height: 20px; }

/* PRICING */
.pricing { padding: 100px 24px 40px; text-align: center; max-width: 600px; margin: 0 auto; }
.price-box {
  background: var(--gray-900);
  border: 2px solid var(--green);
  border-radius: 24px;
  padding: 44px 32px 36px;
  position: relative;
  box-shadow: 0 0 60px rgba(37,211,102,0.08);
}
.price-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--dark);
  padding: 4px 20px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}
.price-amount {
  font-family: 'Rubik', sans-serif;
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
  margin: 20px 0 6px;
}
.currency { font-size: 36px; vertical-align: top; margin-left: 4px; color: var(--gray-400); }
.period { font-size: 18px; color: var(--gray-400); font-weight: 400; }
.price-daily { color: var(--green); font-size: 15px; font-weight: 600; margin-bottom: 24px; }
.price-features { list-style: none; margin-bottom: 28px; }
[dir="rtl"] .price-features { text-align: right; }
[dir="ltr"] .price-features { text-align: left; }
.price-features li {
  padding: 8px 0;
  color: var(--gray-300);
  font-size: 15px;
  border-bottom: 1px solid var(--gray-800);
  display: flex;
  align-items: center;
  gap: 10px;
}
.price-features li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}
.price-btn {
  display: block;
  background: var(--green);
  color: var(--dark);
  padding: 16px;
  border-radius: 14px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  width: 100%;
  font-family: inherit;
}
.price-btn:hover {
  background: #2be573;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(37,211,102,0.25);
}
.price-note { color: var(--gray-400); font-size: 13px; margin-top: 16px; }
.price-guarantee {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
  margin-top: 12px;
}

/* CHECKOUT MODAL */
.checkout-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 24px;
}
.checkout-overlay.active { display: flex; }
.checkout-modal {
  background: var(--gray-900);
  border: 1px solid var(--gray-700);
  border-radius: 20px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow: hidden;
}
.checkout-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--gray-700);
}
.checkout-header h3 { font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 18px; }
.checkout-close {
  background: none; border: none; color: var(--gray-400);
  font-size: 24px; cursor: pointer; padding: 4px; line-height: 1;
}
.checkout-close:hover { color: var(--white); }
.checkout-iframe-wrap { width: 100%; height: 600px; overflow-y: auto; }
.checkout-iframe-wrap iframe { width: 100%; height: 100%; border: none; }

/* COFFEE */
.coffee { padding: 30px 24px 60px; max-width: 700px; margin: 0 auto; }
.coffee-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--gray-900);
  border: 1px solid var(--gray-700);
  border-radius: 16px;
  padding: 24px;
}
.coffee-item { text-align: center; min-width: 100px; }
.coffee-icon { font-size: 28px; margin-bottom: 4px; }
.coffee-price { font-family: 'Rubik', sans-serif; font-size: 24px; font-weight: 800; }
.coffee-label { font-size: 12px; color: var(--gray-400); }
.coffee-vs { color: var(--gray-600); font-weight: 700; font-size: 14px; }

/* FAQ */
.faq { padding: 80px 24px; max-width: 700px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 16px; }
.faq-item {
  background: var(--gray-900);
  border: 1px solid var(--gray-700);
  border-radius: 14px;
  padding: 20px 24px;
  cursor: pointer;
  transition: border-color 0.2s;
}
.faq-item:hover { border-color: var(--gray-600); }
.faq-q { font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.faq-a { color: var(--gray-400); font-size: 14px; line-height: 1.7; }

/* FOOTER */
footer {
  padding: 40px 24px;
  text-align: center;
  border-top: 1px solid var(--gray-800);
}
footer p { margin-bottom: 8px; }
footer a { color: var(--gray-400); text-decoration: none; margin: 0 12px; font-size: 13px; }
footer a:hover { color: var(--white); }
.footer-note { font-size: 12px; color: var(--gray-600); }

/* === THANK YOU PAGE === */
.ty-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.ty-body::before {
  content: '';
  position: fixed;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--glow) 0%, transparent 65%);
  pointer-events: none;
}
.ty-card {
  background: var(--gray-900);
  border: 1px solid var(--gray-700);
  border-radius: 24px;
  padding: 48px 36px;
  max-width: 520px;
  width: 100%;
  text-align: center;
}
.success-icon {
  width: 72px; height: 72px;
  background: rgba(37,211,102,0.12);
  border: 2px solid var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 0 auto 24px;
  animation: pop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes pop { 0%{transform:scale(0)} 100%{transform:scale(1)} }
.ty-card h1 {
  font-size: 28px;
  max-width: none;
  margin-bottom: 12px;
}
.ty-subtitle { color: var(--gray-400); font-size: 16px; margin-bottom: 36px; line-height: 1.6; }
.ty-steps { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }
[dir="rtl"] .ty-steps { text-align: right; }
[dir="ltr"] .ty-steps { text-align: left; }
.ty-step { display: flex; gap: 14px; align-items: flex-start; }
.ty-step-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: var(--gray-800);
  border: 1px solid var(--gray-700);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rubik', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--green);
}
.ty-step h3 { font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 16px; margin-bottom: 2px; }
.ty-step p { color: var(--gray-400); font-size: 14px; line-height: 1.5; }
.order-box {
  background: var(--gray-800);
  border: 1px solid var(--gray-700);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  direction: ltr;
}
.order-label { font-size: 13px; color: var(--gray-400); }
.order-id {
  font-family: 'Rubik', monospace;
  font-weight: 700;
  font-size: 18px;
  color: var(--green);
  letter-spacing: 1px;
}
.order-note { font-size: 12px; color: var(--gray-400); margin-bottom: 28px; }
.wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--green);
  color: var(--dark);
  padding: 16px 32px;
  border-radius: 14px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
  width: 100%;
  font-family: inherit;
}
.wa-btn:hover {
  background: #2be573;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(37,211,102,0.25);
}
.wa-btn svg { width: 22px; height: 22px; }
.help-text { color: var(--gray-400); font-size: 13px; margin-top: 20px; line-height: 1.6; }
.help-text a { color: var(--green); text-decoration: none; }
.refund-note {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-700);
  font-size: 13px;
  color: var(--gray-400);
  line-height: 1.6;
}
.refund-note a { color: var(--green); text-decoration: none; font-weight: 600; }

/* CONFETTI */
.confetti { position: fixed; top: 0; left: 0; right: 0; height: 100vh; pointer-events: none; overflow: hidden; z-index: 10; }
.confetti-piece {
  position: absolute;
  width: 8px; height: 12px;
  background: var(--green);
  top: -20px;
  opacity: 0;
  border-radius: 2px;
  animation: confetti-fall 3s ease-out forwards;
}
@keyframes confetti-fall {
  0% { opacity: 1; transform: translateY(0) rotate(0deg); }
  100% { opacity: 0; transform: translateY(100vh) rotate(720deg); }
}

/* MOBILE */
@media (max-width: 640px) {
  nav { padding: 12px 16px; }
  .nav-links a:not(.nav-cta):not(.lang-switch) { display: none; }
  .hero { padding: 100px 20px 50px; }
  .numbers { gap: 20px; }
  .grid { grid-template-columns: 1fr; }
  .coffee-bar { flex-direction: column; gap: 14px; }
  .coffee-vs { display: none; }
  .phone { width: 100%; max-width: 350px; }
  .checkout-modal { max-height: 85vh; }
  .checkout-iframe-wrap { height: 500px; }
  .ty-card { padding: 36px 24px; }
  .order-box { flex-direction: column; gap: 4px; text-align: center; }
}
