/* =========================================================================
   ARXBOT LANDING PAGE - STYLES (style.css)
   ========================================================================= */

/* --- CSS VARIABLES & TOKENS --- */
:root {
  --bg-color: #050508;
  --bg-card: rgba(13, 13, 23, 0.6);
  --border-glass: rgba(255, 255, 255, 0.06);
  --border-glass-hover: rgba(88, 101, 242, 0.35);
  
  --accent: #5865f2;         /* Discord Blue */
  --accent-glow: rgba(88, 101, 242, 0.35);
  --accent-purple: #eb459e;  /* Fuchsia Purple */
  --accent-purple-glow: rgba(235, 69, 158, 0.25);
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --text-dark: #111827;
  
  --font-family-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-family-display: 'Outfit', sans-serif;
  
  --glass-blur: 16px;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius-lg: 1.25rem;
  --border-radius-md: 0.75rem;
}

/* --- RESET & BASIC STYLES --- */
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  scroll-behavior: smooth;
}

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

/* --- BACKGROUND GLOWS --- */
.bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(150px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.25;
}

.bg-glow-1 {
  background: var(--accent);
  top: -100px;
  left: -200px;
}

.bg-glow-2 {
  background: var(--accent-purple);
  top: 600px;
  right: -200px;
}

.bg-glow-3 {
  background: #3b82f6;
  bottom: 200px;
  left: 20%;
}

/* --- CONTAINER --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- GLASS CARD UTILITY --- */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-lg);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: var(--border-glass-hover);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5), 0 0 20px 0 var(--accent-glow);
  transform: translateY(-4px);
}

/* --- GRADIENT TEXT --- */
.gradient-text {
  background: linear-gradient(135deg, #ffffff 10%, var(--accent) 70%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- HEADER / NAVIGATION --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(5, 5, 8, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-main);
  font-family: var(--font-family-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.logo-icon {
  font-size: 1.75rem;
}

.logo-text span {
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--text-main);
}

.header-actions {
  display: flex;
  gap: 1rem;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-purple) 100%);
  color: white;
  box-shadow: 0 4px 20px 0 var(--accent-glow);
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px 0 rgba(88, 101, 242, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

.w-full {
  width: 100%;
}

/* --- HERO SECTION --- */
.hero-section {
  padding: 10rem 0 6rem 0;
  position: relative;
}

.hero-container-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.badge-premium-tier {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(88, 101, 242, 0.15);
  border: 1px solid rgba(88, 101, 242, 0.25);
  color: #c3c8ff;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 2rem;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-family-display);
  font-size: 3.75rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.hero-actions-group {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.hero-features-mini {
  display: flex;
  gap: 2rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.mini-feat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mini-feat::before {
  content: "✦";
  color: var(--accent-purple);
  font-weight: bold;
}

/* --- WEB PREVIEW MOCKUP --- */
.preview-card {
  width: 100%;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.preview-header {
  background: rgba(255, 255, 255, 0.03);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.preview-header .title {
  margin-left: 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: monospace;
}

.preview-body {
  display: flex;
  min-height: 250px;
}

.preview-sidebar {
  width: 130px;
  background: rgba(0, 0, 0, 0.15);
  border-right: 1px solid rgba(255, 255, 255, 0.03);
  padding: 1rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar-item {
  font-size: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.35rem;
  color: var(--text-muted);
}

.sidebar-item.active {
  background: rgba(88, 101, 242, 0.1);
  color: white;
  font-weight: 500;
}

.preview-content-area {
  flex: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.preview-stat-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stat-title {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.stat-value {
  font-weight: 700;
  font-size: 0.85rem;
}

.text-accent {
  color: #ffbd2e;
}

.preview-switch-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.switch-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
}

.switch {
  width: 32px;
  height: 18px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  position: relative;
  cursor: pointer;
}

.switch.active {
  background: var(--success);
}

.switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  background: white;
  border-radius: 50%;
  transition: 0.2s;
}

.switch.active::after {
  left: 16px;
}

/* --- STATS SECTION --- */
.stats-section {
  padding: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.stat-card {
  padding: 2rem;
}

.stat-number {
  font-family: var(--font-family-display);
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.text-center {
  text-align: center;
}

/* --- SECTION HEADER --- */
.section-header {
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.section-title {
  font-family: var(--font-family-display);
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* --- FEATURES SECTION --- */
.features-section {
  padding: 6rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  padding: 2.5rem;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.feature-title {
  font-family: var(--font-family-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.feature-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- COMMAND SIMULATOR --- */
.simulator-section {
  padding: 6rem 0;
}

.simulator-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

.command-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  padding: 0.6rem 1.25rem;
  border-radius: 2rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.chip.active, .chip:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  box-shadow: 0 0 15px var(--accent-glow);
}

/* --- DISCORD WINDOW MOCKUP --- */
.discord-window {
  background: #313338;       /* Discord dark background */
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
}

.discord-header {
  background: #2b2d31;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  font-size: 0.875rem;
}

.hashtag {
  color: #80848e;
  font-size: 1.2rem;
  font-weight: bold;
}

.channel-name {
  color: #f2f3f5;
  font-weight: 600;
}

.channel-desc {
  color: #949ba4;
  font-size: 0.75rem;
}

.discord-messages {
  height: 350px;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.discord-message {
  display: flex;
  gap: 1rem;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #5865f2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.avatar.user-avatar {
  background: #43b581;
}

.msg-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.msg-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.msg-author {
  color: #f2f3f5;
  font-weight: 600;
  font-size: 0.95rem;
}

.bot-tag {
  background: #5865f2;
  color: white;
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.05rem 0.275rem;
  border-radius: 3px;
  text-transform: uppercase;
}

.msg-time {
  color: #949ba4;
  font-size: 0.75rem;
}

.msg-text {
  color: #dbdee1;
  font-size: 0.95rem;
}

/* Discord Embed Style */
.discord-embed {
  background: #1e1f22;
  border-left: 4px solid var(--accent);
  padding: 1rem 1.25rem;
  border-radius: 4px;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.embed-title {
  color: #f2f3f5;
  font-weight: 700;
  font-size: 1rem;
}

.embed-desc {
  color: #dbdee1;
  font-size: 0.875rem;
}

.embed-fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.embed-field {
  display: flex;
  flex-direction: column;
  font-size: 0.8rem;
}

.field-name {
  color: #949ba4;
  font-weight: 600;
}

.field-value {
  color: #dbdee1;
}

.discord-input-area {
  background: #2b2d31;
  margin: 0 1.25rem 1.25rem 1.25rem;
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.plus-icon, .emoji-icon {
  color: #b5bac1;
  cursor: pointer;
}

.discord-input {
  flex: 1;
  color: #949ba4;
  font-size: 0.95rem;
}

/* --- PRICING SECTION --- */
.pricing-section {
  padding: 6rem 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.featured {
  border: 2px solid var(--accent);
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.05) 0%, rgba(235, 69, 158, 0.05) 100%);
}

.badge-featured {
  position: absolute;
  top: 1rem;
  right: -2rem;
  background: var(--accent);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 3rem;
  transform: rotate(45deg);
}

.tier-name {
  font-family: var(--font-family-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.price {
  font-family: var(--font-family-display);
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.price span {
  font-size: 1.15rem;
  color: var(--text-muted);
  font-weight: 500;
}

.tier-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-grow: 1;
}

.pricing-features li {
  font-size: 0.95rem;
}

/* --- FAQ SECTION --- */
.faq-section {
  padding: 6rem 0;
}

.faq-accordion-group {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform 0.2s;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-content {
  max-height: 200px;
  margin-top: 1rem;
}

.faq-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- CTA BANNER --- */
.cta-banner-section {
  padding: 4rem 0;
}

.cta-banner {
  padding: 4rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.05) 0%, rgba(13, 13, 23, 0.9) 100%);
}

.cta-banner h2 {
  font-family: var(--font-family-display);
  font-size: 2.5rem;
  font-weight: 800;
}

.cta-banner p {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 600px;
}

.cta-banner-actions {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

/* --- FOOTER --- */
.footer {
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 5rem 0 3rem 0;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 320px;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-col h4 {
  font-family: var(--font-family-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer-links-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.footer-links-col a:hover {
  color: var(--text-main);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* --- MOBILE NAVIGATION --- */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.mobile-nav-toggle span {
  width: 100%;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* --- ANIMATION CLASS --- */
.scroll-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate.animated {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVENESS (RWD) --- */
@media (max-width: 968px) {
  .hero-container-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions-group {
    justify-content: center;
  }
  
  .hero-features-mini {
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr repeat(3, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .header-actions, .nav {
    display: none;
  }
  
  .mobile-nav-toggle {
    display: flex;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  
  .footer-brand p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-title {
    font-size: 2.75rem;
  }
}
