/* ==========================================================================
   TeleBots Store - Modern Telegram Bot Marketplace Stylesheet
   ========================================================================== */

:root {
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Color Palette */
  --bg-dark: #0b0f17;
  --bg-card: #131926;
  --bg-card-hover: #182030;
  --bg-card-border: rgba(255, 255, 255, 0.08);

  --accent-primary: #24A1DE;
  --accent-primary-hover: #1b8fc9;
  --accent-secondary: #0088cc;
  --accent-glow: rgba(36, 161, 222, 0.25);
  
  --color-success: #10b981;
  --color-success-bg: rgba(16, 185, 129, 0.12);
  --color-warning: #f59e0b;
  --color-purple: #8b5cf6;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --border-radius-sm: 8px;
  --border-radius-md: 14px;
  --border-radius-lg: 20px;
  --border-radius-xl: 28px;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Typography Helpers */
a {
  color: inherit;
  text-decoration: none;
}

button, input, select {
  font-family: inherit;
  font-size: inherit;
}

/* Background Effects */
.bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

.bg-glow-1 {
  top: -100px;
  right: -100px;
  background: radial-gradient(circle, var(--accent-primary) 0%, rgba(0,136,204,0) 70%);
}

.bg-glow-2 {
  top: 50%;
  left: -200px;
  background: radial-gradient(circle, var(--color-purple) 0%, rgba(139,92,246,0) 70%);
}

.bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 30%, rgba(0,0,0,0));
  pointer-events: none;
  z-index: 0;
}

/* Layout Container */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  padding: 0.75rem 1.4rem;
  border-radius: var(--border-radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

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

.btn-lg {
  padding: 0.95rem 1.8rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(36, 161, 222, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  border-color: var(--bg-card-border);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.45);
}

/* Header Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 23, 0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--bg-card-border);
  padding: 1rem 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: rgba(36, 161, 222, 0.12);
  border: 1px solid rgba(36, 161, 222, 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Hero Section */
.hero-section {
  padding: 5rem 0 4rem;
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  border-radius: 99px;
  background: rgba(36, 161, 222, 0.1);
  border: 1px solid rgba(36, 161, 222, 0.25);
  color: var(--accent-primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-primary);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
}

.gradient-text {
  background: linear-gradient(135deg, #38bdf8 0%, #24A1DE 50%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 2.2rem;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--bg-card-border);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-main);
}

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

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--bg-card-border);
}

/* Mockup Card in Hero */
.mockup-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--bg-card-border);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.mockup-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.status-pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
}
.status-pill.green {
  background: rgba(39, 201, 63, 0.15);
  color: #27c93f;
}

.mockup-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.9rem;
}

.msg-bubble {
  max-width: 85%;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  position: relative;
}

.msg-received {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.05);
  border-bottom-left-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.msg-sent {
  align-self: flex-end;
  background: var(--accent-secondary);
  color: #fff;
  border-bottom-right-radius: 2px;
}

.msg-author {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 0.2rem;
}

.msg-time {
  font-size: 0.68rem;
  color: var(--text-dim);
  float: right;
  margin-top: 0.4rem;
  margin-left: 0.8rem;
}

.inline-buttons {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.6rem;
  flex-wrap: wrap;
}

.btn-inline {
  background: rgba(36, 161, 222, 0.2);
  color: #38bdf8;
  border: 1px solid rgba(36, 161, 222, 0.3);
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Section Common Headers */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.8rem;
}

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

/* Catalog Section */
.catalog-section {
  padding: 6rem 0;
  background: rgba(0, 0, 0, 0.2);
}

.catalog-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.category-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pill-btn {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  color: var(--text-muted);
  padding: 0.5rem 1.1rem;
  border-radius: 99px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.pill-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
}

.pill-btn.active {
  background: var(--accent-primary);
  color: #fff;
  border-color: var(--accent-primary);
  box-shadow: 0 4px 12px var(--accent-glow);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  padding: 0.5rem 1rem;
  border-radius: 99px;
  width: 280px;
  transition: border-color var(--transition-fast);
}

.search-box:focus-within {
  border-color: var(--accent-primary);
}

.search-box input {
  background: transparent;
  border: none;
  color: var(--text-main);
  outline: none;
  width: 100%;
  font-size: 0.9rem;
}

/* Bots Grid */
.bots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.bot-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--border-radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

.bot-card:hover {
  transform: translateY(-6px);
  border-color: rgba(36, 161, 222, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.bot-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.bot-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(36, 161, 222, 0.12);
  border: 1px solid rgba(36, 161, 222, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.bot-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-primary);
}

.bot-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.bot-description {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
  flex-grow: 1;
}

.bot-features-list {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.bot-features-list li {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bot-features-list li::before {
  content: '✓';
  color: var(--color-success);
  font-weight: 700;
}

.bot-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.2rem;
  border-top: 1px solid var(--bg-card-border);
  margin-top: auto;
}

.bot-price-box {
  display: flex;
  flex-direction: column;
}

.bot-price-label {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.bot-price-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  font-family: var(--font-mono);
}

/* Simulator Section */
.simulator-section {
  padding: 6rem 0;
}

.simulator-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.simulator-info {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.sim-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-primary);
  text-transform: uppercase;
}

.simulator-info h3 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.25;
}

.quick-commands {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  padding: 1.2rem;
  border-radius: var(--border-radius-md);
  margin-top: 0.5rem;
}

.qc-label {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 0.6rem;
  display: block;
}

.qc-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.qc-btn {
  background: rgba(36, 161, 222, 0.15);
  border: 1px solid rgba(36, 161, 222, 0.3);
  color: #38bdf8;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.qc-btn:hover {
  background: var(--accent-primary);
  color: #fff;
}

.sim-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
}

.sim-feat-item {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}

.sim-feat-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.sim-feat-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-main);
}

.sim-feat-item span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Telegram UI Simulator Component */
.tg-window {
  background: #0e1621;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  height: 540px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.tg-header {
  background: #17212b;
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.4);
}

.tg-avatar {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #0088cc 0%, #24A1DE 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tg-user-info {
  flex-grow: 1;
}

.tg-name {
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.verified-badge {
  color: #38bdf8;
  font-size: 0.85rem;
}

.tg-status {
  font-size: 0.75rem;
  color: #7f91a4;
}

.tg-clear-btn {
  background: transparent;
  border: none;
  color: #7f91a4;
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 6px;
  transition: color var(--transition-fast);
}

.tg-clear-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.tg-messages {
  flex-grow: 1;
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  background-color: #0e1621;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
}

.tg-msg {
  max-width: 85%;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.45;
  position: relative;
  word-wrap: break-word;
}

.tg-msg-bot {
  align-self: flex-start;
  background: #182533;
  color: #f5f5f5;
  border-bottom-left-radius: 3px;
}

.tg-msg-user {
  align-self: flex-end;
  background: #2b5278;
  color: #fff;
  border-bottom-right-radius: 3px;
}

.tg-msg-time {
  font-size: 0.65rem;
  color: #6c7e93;
  float: right;
  margin-top: 0.3rem;
  margin-left: 0.6rem;
}

.tg-inline-keyboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.4rem;
  margin-top: 0.6rem;
}

.tg-inline-btn {
  background: rgba(43, 82, 120, 0.5);
  border: 1px solid rgba(100, 150, 200, 0.25);
  color: #64b5f6;
  padding: 0.45rem 0.6rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tg-inline-btn:hover {
  background: #2b5278;
  color: #fff;
}

.tg-input-bar {
  background: #17212b;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.4);
}

.tg-input-bar input {
  flex-grow: 1;
  background: #0e1621;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 0.6rem 1rem;
  color: #fff;
  outline: none;
  font-size: 0.88rem;
}

.tg-input-bar input:focus {
  border-color: #2b5278;
}

.tg-send-btn {
  background: #2b5278;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.tg-send-btn:hover {
  background: #396796;
}

/* Calculator Section */
.calculator-section {
  padding: 6rem 0;
  background: rgba(0, 0, 0, 0.2);
}

.calc-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
}

.calc-options {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.calc-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.calc-label {
  font-size: 1.05rem;
  font-weight: 700;
}

.calc-grid-radios {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.radio-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  padding: 1rem 1.2rem;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.radio-card input {
  margin-top: 0.25rem;
  accent-color: var(--accent-primary);
}

.radio-card.active, .radio-card:has(input:checked) {
  border-color: var(--accent-primary);
  background: rgba(36, 161, 222, 0.08);
}

.rc-title {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.rc-desc {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.calc-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.checkbox-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  padding: 0.9rem 1.2rem;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: all var(--transition-fast);
}

.checkbox-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.checkbox-card input {
  accent-color: var(--accent-primary);
  width: 18px;
  height: 18px;
}

.cb-text {
  font-size: 0.9rem;
  font-weight: 500;
}

.summary-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: sticky;
  top: 100px;
}

.summary-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.summary-row strong {
  color: var(--text-main);
}

.summary-divider {
  height: 1px;
  background: var(--bg-card-border);
  margin: 0.4rem 0;
}

.summary-price-box {
  background: rgba(0, 0, 0, 0.3);
  padding: 1.2rem;
  border-radius: var(--border-radius-md);
  text-align: center;
}

.sp-label {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.sp-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: #38bdf8;
  font-family: var(--font-mono);
  margin: 0.2rem 0;
}

.sp-note {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* Features Grid */
.features-section {
  padding: 6rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  transition: transform var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-4px);
}

.fc-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(36, 161, 222, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* FAQ Section */
.faq-section {
  padding: 6rem 0;
  background: rgba(0, 0, 0, 0.2);
}

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

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--border-radius-md);
  overflow: hidden;
}

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

.faq-arrow {
  transition: transform var(--transition-fast);
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding-bottom: 1.25rem;
}

/* Footer */
.footer {
  background: #070a10;
  border-top: 1px solid var(--bg-card-border);
  padding: 4rem 0 2rem;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
}

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

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-links-group h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.footer-links-group {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links-group a, .footer-links-group p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

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

/* Modal Overlay & Checkout UI */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 1;
  transition: opacity var(--transition-fast);
}

.modal-overlay.hidden {
  display: none;
  opacity: 0;
  pointer-events: none;
}

.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--border-radius-xl);
  width: 100%;
  max-width: 540px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: var(--text-main);
}

.modal-step {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.modal-step.hidden {
  display: none;
}

.modal-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-primary);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  display: inline-block;
}

.modal-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
}

.modal-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.modal-features-box {
  background: rgba(0, 0, 0, 0.25);
  padding: 1rem 1.2rem;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--bg-card-border);
}

.modal-features-box h4 {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 0.6rem;
}

.modal-features-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.modal-features-box li {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
}

.form-group input, .form-group select {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--bg-card-border);
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius-md);
  color: var(--text-main);
  outline: none;
}

.form-group input:focus, .form-group select:focus {
  border-color: var(--accent-primary);
}

.checkout-price-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: rgba(36, 161, 222, 0.1);
  border: 1px solid rgba(36, 161, 222, 0.25);
  border-radius: var(--border-radius-md);
  font-weight: 600;
}

.checkout-price-display strong {
  font-size: 1.4rem;
  font-family: var(--font-mono);
  color: #38bdf8;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--bg-card-border);
}

/* Step 2 Pix Specific */
.pix-badge {
  display: inline-block;
  background: var(--color-success-bg);
  color: var(--color-success);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.2rem 0.7rem;
  border-radius: 99px;
  margin-bottom: 0.4rem;
}

.pix-qr-container {
  margin: 1rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

#pix-qr-svg-wrapper {
  background: #fff;
  padding: 1rem;
  border-radius: 16px;
  display: inline-block;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.qr-timer {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--color-warning);
}

.pix-copy-box {
  text-align: left;
  margin-top: 1rem;
}

.pix-copy-box label {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.copy-field {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.3rem;
}

.copy-field input {
  flex-grow: 1;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--bg-card-border);
  padding: 0.6rem 0.8rem;
  border-radius: var(--border-radius-sm);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.sim-pay-notice {
  margin-top: 1.2rem;
  padding: 0.8rem;
  background: rgba(245, 158, 11, 0.1);
  border: 1px dashed rgba(245, 158, 11, 0.3);
  border-radius: var(--border-radius-md);
  font-size: 0.82rem;
  color: #fbbf24;
}

/* Step 3 Delivery Specific */
.success-icon-badge {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.delivery-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--bg-card-border);
  padding: 1.2rem;
  border-radius: var(--border-radius-md);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

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

.delivery-row code {
  background: rgba(36, 161, 222, 0.2);
  color: #38bdf8;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-family: var(--font-mono);
}

.download-box {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.download-box h4 {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.download-link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--accent-primary);
  color: #fff;
  padding: 0.85rem 1rem;
  border-radius: var(--border-radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  transition: opacity var(--transition-fast);
}

.download-link-btn.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border: 1px solid var(--bg-card-border);
}

.download-link-btn:hover {
  opacity: 0.9;
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--accent-primary);
  color: var(--text-main);
  padding: 0.9rem 1.4rem;
  border-radius: var(--border-radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .simulator-wrapper {
    grid-template-columns: 1fr;
  }

  .calc-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .nav-links {
    display: none;
  }

  .calc-grid-radios {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }
}
