/* ai.molokaitech.com — Main Stylesheet */

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --secondary: #06b6d4;
  --accent: #f59e0b;
  --bg: #0a0a1a;
  --bg-card: #12122a;
  --bg-card-hover: #1a1a3e;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --border: #1e293b;
  --gradient-1: linear-gradient(135deg, #6366f1, #06b6d4);
  --gradient-2: linear-gradient(135deg, #f59e0b, #ef4444);
  --gradient-3: linear-gradient(135deg, #10b981, #06b6d4);
  --max-width: 1200px;
  --header-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Navigation ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(10, 10, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

nav .inner {
  width: 100%;
  max-width: var(--max-width);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.35rem;
  font-weight: 700;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.btn-nav {
  padding: 8px 20px;
  border-radius: 8px;
  background: var(--gradient-1);
  color: white !important;
  font-weight: 600;
  transition: opacity 0.2s;
}
.btn-nav:hover { opacity: 0.9; }

/* ── Sections ── */
section {
  padding: 100px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--secondary);
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.7;
}

/* ── Hero ── */
#hero {
  padding-top: calc(var(--header-h) + 60px);
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 90vh;
}

#hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--secondary);
  margin-bottom: 24px;
}

#hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
}

#hero h1 span { background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

#hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 540px;
  line-height: 1.8;
}

.hero-cta {
  display: flex; gap: 16px; flex-wrap: wrap;
}

.btn-primary {
  padding: 14px 32px;
  border-radius: 10px;
  border: none;
  background: var(--gradient-1);
  color: white;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(99,102,241,0.35); }

.btn-secondary {
  padding: 14px 32px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover { border-color: var(--primary); background: rgba(99,102,241,0.1); }

.hero-img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 80px rgba(99,102,241,0.15);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.stat h3 { font-size: 1.8rem; font-weight: 700; }
.stat h3 span { font-size: 1rem; }
.stat p { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

/* ── Services / Products ── */
#services { text-align: center; }

#services .section-sub { margin: 0 auto 60px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 12px 48px rgba(99,102,241,0.12);
}

.service-card .icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.service-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.service-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.service-card .tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

.service-card .features { list-style: none; margin-top: 16px; }
.service-card .features li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-card .features li::before { content: "→"; color: var(--primary); font-weight: 700; }

/* ── Product Detail ── */
#products { }
.product-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 100px;
}
.product-row:last-child { margin-bottom: 0; }
.product-row.reverse { direction: rtl; }
.product-row.reverse > * { direction: ltr; }
.product-img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.product-content h2 { font-size: 1.8rem; margin-bottom: 16px; }
.product-content p { color: var(--text-muted); margin-bottom: 20px; }
.product-pricing { display: flex; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.price-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  text-align: center;
  min-width: 120px;
}
.price-box .amount { font-size: 1.3rem; font-weight: 700; color: var(--text); }
.price-box .label { font-size: 0.75rem; color: var(--text-muted); margin-top: 4px; }

/* ── Pricing Table ── */
#pricing { text-align: center; }
#pricing .section-sub { margin: 0 auto 60px; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: left;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
}
.pricing-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), 0 12px 48px rgba(99,102,241,0.12);
}
.pricing-card.featured::before {
  content: "Popular";
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-1);
  color: white;
  padding: 4px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}
.pricing-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.pricing-card .price { font-size: 2.5rem; font-weight: 800; margin: 16px 0 4px; }
.pricing-card .price span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }
.pricing-card .desc { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 24px; }
.pricing-card ul { list-style: none; margin-bottom: 28px; }
.pricing-card ul li {
  font-size: 0.85rem;
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
}
.pricing-card ul li::before { content: "✓"; color: var(--primary); font-weight: 700; }
.pricing-card .btn-primary, .pricing-card .btn-secondary { width: 100%; text-align: center; display: block; box-sizing: border-box; }

.subscribe-row { display: flex; gap: 8px; margin-top: 12px; }
.sub-input {
  flex: 1;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 0.85rem;
  min-width: 0;
}
.sub-input::placeholder { color: var(--text-muted); }
.subscribe-row .btn-primary,
.subscribe-row .btn-secondary {
  padding: 10px 16px;
  font-size: 0.85rem;
  width: auto;
  white-space: nowrap;
}

/* ── About ── */
#about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-img { width: 100%; border-radius: 12px; border: 1px solid var(--border); }
.about-text h2 { font-size: 2rem; margin-bottom: 20px; }
.about-text p { color: var(--text-muted); margin-bottom: 16px; line-height: 1.8; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.about-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
}
.about-item h4 { font-size: 0.9rem; margin-bottom: 4px; }
.about-item p { font-size: 0.8rem; color: var(--text-muted); margin: 0; }

/* ── CTA ── */
#cta {
  text-align: center;
  background: var(--gradient-1);
  border-radius: 20px;
  padding: 80px 40px;
  margin: 0 24px 60px;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}
#cta h2 { font-size: 2.2rem; font-weight: 700; margin-bottom: 16px; color: white; }
#cta p { font-size: 1.05rem; color: rgba(255,255,255,0.85); margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }
#cta .btn-primary { background: white; color: var(--primary); }
#cta .btn-primary:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.2); }
#cta .btn-secondary { border-color: rgba(255,255,255,0.3); color: white; }

/* ── Footer ── */
footer {
  text-align: center;
  padding: 40px 24px 60px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}
footer p { margin-bottom: 8px; }
footer a { color: var(--primary); text-decoration: none; }

/* ── Responsive ── */
@media (max-width: 900px) {
  #hero { grid-template-columns: 1fr; text-align: center; }
  #hero p { margin: 0 auto 36px; }
  .hero-cta { justify-content: center; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .product-row { grid-template-columns: 1fr; gap: 32px; }
  .product-row.reverse { direction: ltr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  #about { grid-template-columns: 1fr; }
  .section-title { font-size: 1.8rem; }
  #hero h1 { font-size: 2.2rem; }
  #cta { padding: 60px 24px; }
  #cta h2 { font-size: 1.6rem; }
}

@media (max-width: 600px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 0.8rem; }
  .stats { grid-template-columns: 1fr; text-align: center; }
  .about-grid { grid-template-columns: 1fr; }
  .product-pricing { justify-content: center; }
}
