/*
Theme Name: N0M3RCi
Theme URI: https://t.me/KwameJr_bot
Author: N0M3RCi
Author URI: https://t.me/KwameJr_bot
Description: Connect any OpenAI-compatible API to Telegram. Provide your own API key from any supported provider.
Version: 1.0
Requires at least: 5.0
Tested up to: 6.5
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: n0m3rci
*/

/* ================================================
   N0M3RCi Bot - Connect any OpenAI-compatible API on Telegram.
   Color Palette: Black / Yellow / White
   ================================================ */

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

:root {
  --yellow: #FFD600;
  --yellow-light: #FFE55C;
  --yellow-dark: #E6BE00;
  --black: #0a0a00;
  --black-2: #111108;
  --black-3: #1a1a10;
  --black-4: #222218;
  --white: #ffffff;
  --off-white: #f0f0e8;
  --text: #e8e8d8;
  --text-muted: #9a9a80;
  --text-dim: #4a4a38;
  --border: rgba(255, 214, 0, 0.15);
  --border-light: rgba(255, 255, 255, 0.07);
  --radius: 16px;
  --font: 'Inter', system-ui, sans-serif;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

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

/* ===== UTILITIES ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.highlight { color: var(--yellow); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.22s ease;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--yellow);
  color: var(--black);
  box-shadow: 0 4px 24px rgba(255, 214, 0, 0.3);
}
.btn-primary:hover {
  background: var(--yellow-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 214, 0, 0.45);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.btn-secondary:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  transform: translateY(-2px);
}
.btn-large { padding: 18px 44px; font-size: 17px; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
}
.navbar.scrolled {
  background: rgba(10, 10, 0, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon { font-size: 22px; }
.logo-text {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-links .nav-btn {
  padding: 10px 22px;
  background: var(--yellow);
  color: var(--black) !important;
  border-radius: 50px;
  font-weight: 700;
}
.nav-links .nav-btn:hover { background: var(--yellow-light); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 0 20px;
  border-top: 1px solid var(--border);
  background: rgba(10, 10, 0, 0.97);
  backdrop-filter: blur(20px);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 12px 0;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--white); }
.mobile-menu .nav-btn {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--yellow);
  color: var(--black) !important;
  border-radius: 50px;
  font-weight: 700;
  width: fit-content;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 214, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 214, 0, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  animation: glow-pulse 10s ease-in-out infinite alternate;
}
.glow-1 {
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(255, 214, 0, 0.12) 0%, transparent 70%);
  top: -200px; left: -150px;
}
.glow-2 {
  width: 500px; height: 500px;
  background: radial-gradient(ellipse, rgba(255, 214, 0, 0.07) 0%, transparent 70%);
  bottom: -100px; right: -100px;
  animation-delay: -5s;
}
@keyframes glow-pulse {
  from { transform: scale(1); }
  to   { transform: scale(1.15) translate(20px, -20px); }
}
.particles { position: absolute; inset: 0; }
.particle {
  position: absolute;
  background: rgba(255, 214, 0, 0.5);
  border-radius: 50%;
  animation: particle-rise linear infinite;
}
@keyframes particle-rise {
  0%   { transform: translateY(100vh); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 0.6; }
  100% { transform: translateY(-100px); opacity: 0; }
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  display: flex;
  align-items: center;
  gap: 60px;
  width: 100%;
}
.hero-content { flex: 1; max-width: 560px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 214, 0, 0.1);
  border: 1px solid rgba(255, 214, 0, 0.3);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--yellow);
  margin-bottom: 28px;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--yellow);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--yellow);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 480px;
}
.hero-subtitle strong { color: var(--yellow); font-weight: 600; }
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
}
.trust-item svg { color: var(--yellow); flex-shrink: 0; }

/* ===== CHAT MOCKUP ===== */
.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.chat-mockup {
  width: 100%;
  max-width: 380px;
  background: var(--black-2);
  border: 1px solid rgba(255, 214, 0, 0.15);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7), 0 0 60px rgba(255, 214, 0, 0.06);
  animation: float-chat 6s ease-in-out infinite;
}
@keyframes float-chat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}
.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--black-3);
  border-bottom: 1px solid var(--border-light);
}
.chat-avatar {
  width: 40px; height: 40px;
  background: rgba(255, 214, 0, 0.15);
  border: 1px solid rgba(255, 214, 0, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.chat-info { display: flex; flex-direction: column; gap: 2px; }
.chat-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}
.chat-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-muted);
}
.status-dot {
  width: 6px; height: 6px;
  background: #00e676;
  border-radius: 50%;
  box-shadow: 0 0 5px #00e676;
  animation: blink 2s ease-in-out infinite;
}
.chat-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 260px;
}
.chat-msg { display: flex; flex-direction: column; gap: 4px; }
.chat-msg.user { align-items: flex-end; }
.chat-msg.bot  { align-items: flex-start; }
.msg-bubble {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.5;
}
.chat-msg.bot .msg-bubble {
  background: var(--black-4);
  border: 1px solid var(--border-light);
  color: var(--text);
  border-bottom-left-radius: 4px;
}
.chat-msg.bot .msg-bubble strong { color: var(--yellow); }
.chat-msg.user .msg-bubble {
  background: var(--yellow);
  color: var(--black);
  font-weight: 600;
  border-bottom-right-radius: 4px;
}
.msg-time { font-size: 10px; color: var(--text-dim); }
.typing-dots { display: flex; gap: 4px; align-items: center; padding: 4px 0; }
.typing-dots span {
  width: 7px; height: 7px;
  background: var(--text-dim);
  border-radius: 50%;
  animation: typing 1.4s ease-in-out infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30%            { transform: translateY(-6px); opacity: 1; }
}
.chat-input-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--black-3);
  border-top: 1px solid var(--border-light);
}
.chat-input-mock {
  flex: 1;
  background: var(--black-4);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 9px 16px;
  font-size: 13px;
  color: var(--text-dim);
}
.send-btn {
  width: 34px; height: 34px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  flex-shrink: 0;
}

/* ===== SECTION COMMON ===== */
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 214, 0, 0.1);
  border: 1px solid rgba(255, 214, 0, 0.25);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== FEATURES ===== */
.features { padding: 120px 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--black-2);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}
.feature-card:hover::after { transform: scaleX(1); }
.feature-card:hover {
  border-color: rgba(255, 214, 0, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(255, 214, 0, 0.06);
}
.feature-card.featured {
  border-color: rgba(255, 214, 0, 0.25);
  background: linear-gradient(135deg, rgba(255, 214, 0, 0.06) 0%, var(--black-2) 70%);
}
.feature-icon { font-size: 36px; margin-bottom: 18px; display: block; line-height: 1; }
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 19px; font-weight: 700;
  color: var(--white); margin-bottom: 10px;
}
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.feature-card p strong { color: var(--yellow); font-weight: 600; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.feature-list li {
  font-size: 13px; color: var(--text-muted);
  padding-left: 18px; position: relative;
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 6px; height: 6px;
  background: var(--yellow);
  border-radius: 50%;
  opacity: 0.8;
}

/* ===== PROVIDERS ===== */
.providers {
  padding: 80px 0 120px;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 214, 0, 0.02) 50%, transparent 100%);
}
.providers-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.provider-card {
  flex: 1;
  min-width: 160px;
  max-width: 220px;
  background: var(--black-2);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.provider-card:hover {
  border-color: rgba(255, 214, 0, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(255, 214, 0, 0.07);
}
.provider-logo { color: var(--yellow); opacity: 0.85; transition: opacity 0.2s; }
.provider-card:hover .provider-logo { opacity: 1; }
.provider-card h4 { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--white); }
.provider-card p { font-size: 12px; color: var(--text-muted); }
.provider-more { opacity: 0.5; border-style: dashed; }
.provider-more .provider-logo { color: var(--text-muted); }

/* ===== HOW IT WORKS ===== */
.how-it-works { padding: 80px 0 120px; }
.steps { display: flex; align-items: flex-start; gap: 0; }
.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.step-number {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 700;
  color: var(--yellow);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.step-icon {
  width: 72px; height: 72px;
  background: rgba(255, 214, 0, 0.1);
  border: 1px solid rgba(255, 214, 0, 0.25);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
  transition: all 0.25s;
}
.step:hover .step-icon { background: rgba(255, 214, 0, 0.18); transform: scale(1.05); }
.step-content h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--white); }
.step-content p { font-size: 14px; color: var(--text-muted); line-height: 1.7; max-width: 240px; margin: 0 auto; }
.step-content p strong { color: var(--yellow-light); font-weight: 600; }
.step-arrow { flex-shrink: 0; color: rgba(255, 214, 0, 0.3); padding-top: 36px; }

/* ===== PRIVACY ===== */
.privacy { padding: 80px 0; }
.privacy-inner {
  background: var(--black-2);
  border: 1px solid rgba(255, 214, 0, 0.2);
  border-radius: 24px;
  padding: 56px 48px;
  display: flex;
  align-items: center;
  gap: 48px;
  position: relative;
  overflow: hidden;
}
.privacy-inner::before {
  content: '';
  position: absolute;
  top: -60px; left: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255, 214, 0, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.privacy-icon { font-size: 64px; flex-shrink: 0; line-height: 1; }
.privacy-content { flex: 1; }
.privacy-content h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800; color: var(--white);
  margin-bottom: 14px; letter-spacing: -0.5px;
}
.privacy-content p { font-size: 15px; color: var(--text-muted); line-height: 1.75; max-width: 480px; }
.privacy-content p strong { color: var(--yellow); font-weight: 600; }
.privacy-stats { flex-shrink: 0; display: flex; flex-direction: column; gap: 24px; }
.priv-stat { text-align: center; display: flex; flex-direction: column; gap: 4px; }
.priv-value { font-family: var(--font-display); font-size: 36px; font-weight: 800; color: var(--yellow); line-height: 1; }
.priv-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }

/* ===== CTA ===== */
.cta-section { padding: 120px 0; }
.cta-inner {
  text-align: center;
  background: var(--black-2);
  border: 1px solid rgba(255, 214, 0, 0.2);
  border-radius: 28px;
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 300px;
  background: radial-gradient(ellipse, rgba(255, 214, 0, 0.07) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 800; color: var(--white);
  margin-bottom: 16px; letter-spacing: -1px; position: relative;
}
.cta-inner p { font-size: 18px; color: var(--text-muted); margin-bottom: 40px; position: relative; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; position: relative; }
.cta-note { font-size: 13px !important; color: var(--text-dim) !important; margin-bottom: 0 !important; position: relative; }

/* ===== FOOTER ===== */
.footer { padding: 60px 0 32px; border-top: 1px solid var(--border-light); }
.footer-inner { display: flex; gap: 80px; margin-bottom: 48px; }
.footer-brand { flex: 1; max-width: 300px; }
.footer-brand p { font-size: 14px; color: var(--text-muted); margin-top: 16px; line-height: 1.7; }
.footer-links { display: flex; gap: 60px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { font-size: 11px; font-weight: 700; color: var(--yellow); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 4px; }
.footer-col a { font-size: 14px; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid var(--border-light); padding-top: 24px; text-align: center; }
.footer-bottom p { font-size: 13px; color: var(--text-dim); }

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-inner { flex-direction: column; text-align: center; padding-top: 120px; }
  .hero-content { max-width: 100%; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-visual { width: 100%; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .privacy-inner { flex-direction: column; text-align: center; padding: 40px 32px; }
  .privacy-stats { flex-direction: row; gap: 32px; justify-content: center; }
  .privacy-content p { margin: 0 auto; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; align-items: center; gap: 32px; }
  .step-arrow { transform: rotate(90deg); padding: 0; }
  .footer-inner { flex-direction: column; gap: 40px; }
  .footer-links { gap: 40px; }
}
@media (max-width: 480px) {
  .hero-title { letter-spacing: -1px; }
  .cta-inner { padding: 48px 20px; }
  .providers-grid { gap: 12px; }
  .provider-card { min-width: 140px; }
}
