/* ============================================
   Metro Marketing - Main Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Montserrat:wght@400;600;700;800&display=swap');

:root {
  --primary: #6C63FF;
  --primary-dark: #5046e5;
  --secondary: #FF6B35;
  --accent: #00D2FF;
  --accent2: #FFD700;
  --dark: #0D0D1A;
  --dark2: #1A1A2E;
  --dark3: #16213E;
  --text: #E8E8F0;
  --text-muted: #A0A0B8;
  --card-bg: rgba(255,255,255,0.05);
  --card-border: rgba(108,99,255,0.3);
  --success: #00E676;
  --gradient-main: linear-gradient(135deg, #6C63FF 0%, #FF6B35 100%);
  --gradient-dark: linear-gradient(180deg, #0D0D1A 0%, #1A1A2E 50%, #16213E 100%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--gradient-dark);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--secondary); }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13,13,26,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border);
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(13,13,26,0.98);
  box-shadow: 0 4px 30px rgba(108,99,255,0.2);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.navbar-logo {
  width: 42px;
  height: 42px;
  background: var(--gradient-main);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 900;
  color: white;
  box-shadow: 0 4px 15px rgba(108,99,255,0.5);
}

.navbar-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-title span {
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
}

/* ============================================
   COURSES & CONTACT
   ============================================ */
.contact-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.course-section {
  padding: 20px 2rem 70px;
}

.course-card {
  max-width: 1050px;
  margin: 0 auto;
  padding: clamp(1.6rem, 4vw, 3rem);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(108,99,255,0.16), rgba(0,210,255,0.08));
  box-shadow: 0 20px 55px rgba(0,0,0,0.2);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.4rem;
  align-items: start;
}

.course-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 2rem;
  background: var(--gradient-main);
  box-shadow: 0 10px 25px rgba(108,99,255,0.35);
}

.course-eyebrow {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.course-card h2 {
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  margin-bottom: 0.7rem;
}

.course-card p {
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 720px;
}

.course-catalog {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.course-mini-card {
  padding: 1.35rem;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.course-mini-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  background: rgba(108,99,255,0.11);
}

.course-mini-icon {
  font-size: 1.7rem;
  margin-bottom: 0.75rem;
}

.course-mini-card h3 {
  font-size: 1rem;
  line-height: 1.35;
  margin-bottom: 0.55rem;
}

.course-mini-card p {
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.55;
  min-height: 4.1em;
  margin-bottom: 0.9rem;
}

.course-mini-card a {
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.course-mini-card a:hover {
  color: white;
}

.course-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.25rem 0;
  list-style: none;
}

.course-features li {
  color: var(--text);
  font-size: 0.86rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  background: rgba(13,13,26,0.35);
}

.contact-section {
  max-width: 900px;
  margin-top: 1.5rem;
}

.contact-intro {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  background: rgba(13,13,26,0.35);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-field.full-width {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(160,160,184,0.35);
  border-radius: 10px;
  padding: 0.8rem 0.9rem;
  color: var(--text);
  background: rgba(255,255,255,0.06);
  font: inherit;
}

.form-field select option {
  color: #0D0D1A;
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 3px solid rgba(108,99,255,0.28);
  border-color: var(--primary);
}

.form-status {
  grid-column: 1 / -1;
  min-height: 1.4em;
  color: var(--success);
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .course-card {
    grid-template-columns: 1fr;
  }

  .course-catalog {
    grid-template-columns: 1fr;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: white;
  background: rgba(108,99,255,0.2);
}

.nav-cta {
  background: var(--gradient-main) !important;
  color: white !important;
  padding: 8px 20px !important;
  border-radius: 25px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 15px rgba(108,99,255,0.4);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(108,99,255,0.6) !important;
  background: rgba(255,255,255,0.1) !important;
}

.lang-toggle {
  background: rgba(108,99,255,0.15);
  border: 1px solid rgba(108,99,255,0.4);
  color: var(--text);
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.lang-toggle:hover {
  background: rgba(108,99,255,0.3);
  border-color: var(--primary);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--text);
  border-radius: 3px;
  transition: all 0.3s;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 2rem 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(108,99,255,0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(255,107,53,0.1) 0%, transparent 40%),
              radial-gradient(ellipse at 20% 80%, rgba(0,210,255,0.1) 0%, transparent 40%);
  animation: bgPulse 8s ease-in-out infinite alternate;
}

@keyframes bgPulse {
  0% { transform: scale(1) rotate(0deg); }
  100% { transform: scale(1.1) rotate(5deg); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-badge {
  display: inline-block;
  background: rgba(108,99,255,0.2);
  border: 1px solid var(--primary);
  color: var(--accent);
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeInDown 0.8s ease;
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero h1 .gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero h1 .accent-text {
  color: var(--accent);
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: 'Poppins', sans-serif;
}

.btn-primary {
  background: var(--gradient-main);
  color: white;
  box-shadow: 0 6px 25px rgba(108,99,255,0.5);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(108,99,255,0.7);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--card-border);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(108,99,255,0.1);
  transform: translateY(-3px);
}

.btn-secondary {
  background: linear-gradient(135deg, #FF6B35, #FFD700);
  color: white;
  box-shadow: 0 6px 25px rgba(255,107,53,0.5);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(255,107,53,0.7);
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background: rgba(108,99,255,0.1);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  padding: 1.5rem 2rem;
}

.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 4px;
}

/* ============================================
   SECTIONS
   ============================================ */
section {
  padding: 80px 2rem;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-badge {
  display: inline-block;
  background: rgba(108,99,255,0.2);
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* ============================================
   NICHES GRID
   ============================================ */
.niches-grid {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2rem;
}

.niche-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.niche-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--card-gradient, var(--gradient-main));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.niche-card:hover::before {
  transform: scaleX(1);
}

.niche-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 20px 60px rgba(108,99,255,0.2);
}

.niche-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  background: var(--card-gradient, var(--gradient-main));
  box-shadow: 0 8px 25px rgba(108,99,255,0.4);
}

.niche-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.niche-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.niche-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.5rem;
}

.tag {
  background: rgba(108,99,255,0.15);
  border: 1px solid rgba(108,99,255,0.3);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
}

.niche-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap 0.3s ease;
}

.niche-card:hover .niche-link {
  gap: 12px;
}

/* ============================================
   METRO FEATURED CARD
   ============================================ */
.metro-featured {
  max-width: 1300px;
  margin: 0 auto 3rem;
  background: linear-gradient(135deg, rgba(255,107,53,0.15), rgba(108,99,255,0.15));
  border: 2px solid var(--secondary);
  border-radius: 24px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.metro-featured::before {
  content: '⭐ RECOMENDADO';
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--secondary);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.metro-featured h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--secondary);
}

.metro-featured p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.commission-badge {
  display: inline-block;
  background: linear-gradient(135deg, #FF6B35, #FFD700);
  color: white;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
}

/* ============================================
   CONTENT PAGE STYLES
   ============================================ */
.page-hero {
  min-height: 45vh;
  display: flex;
  align-items: center;
  padding: 120px 2rem 60px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(108,99,255,0.2) 0%, transparent 70%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.page-hero-icon {
  width: 90px;
  height: 90px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem;
  background: var(--gradient-main);
  box-shadow: 0 15px 40px rgba(108,99,255,0.5);
}

.page-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 1rem;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* Content layout */
.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 3rem;
  align-items: start;
}

.content-body {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 2.5rem;
}

.content-body h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
  margin-top: 2rem;
  color: var(--accent);
}

.content-body h2:first-child { margin-top: 0; }

.content-body p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.content-body ul {
  list-style: none;
  margin: 1rem 0 1.5rem;
}

.content-body ul li {
  padding: 8px 0;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.6;
}

.content-body ul li::before {
  content: '✦';
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 90px;
}

.sidebar-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 1.5rem;
}

.sidebar-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--card-border);
  color: var(--accent);
}

.official-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: rgba(108,99,255,0.1);
  border: 1px solid rgba(108,99,255,0.2);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  font-size: 0.85rem;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.official-link:hover {
  background: rgba(108,99,255,0.2);
  border-color: var(--primary);
  transform: translateX(5px);
}

.official-link .link-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.official-link .link-text {
  flex: 1;
}

.official-link .link-text span {
  display: block;
  font-weight: 600;
  margin-bottom: 2px;
}

.official-link .link-text small {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.commission-card {
  background: linear-gradient(135deg, rgba(255,107,53,0.15), rgba(255,215,0,0.1));
  border: 2px solid var(--secondary);
  border-radius: 20px;
  padding: 1.5rem;
  text-align: center;
}

.commission-amount {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #FF6B35, #FFD700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 0.5rem;
}

.commission-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ============================================
   INFO BOXES
   ============================================ */
.info-box {
  background: rgba(108,99,255,0.1);
  border-left: 4px solid var(--primary);
  border-radius: 0 12px 12px 0;
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
}

.info-box.warning {
  background: rgba(255,107,53,0.1);
  border-color: var(--secondary);
}

.info-box.success {
  background: rgba(0,230,118,0.1);
  border-color: var(--success);
}

.info-box p {
  margin: 0 !important;
  color: var(--text) !important;
  font-size: 0.9rem;
}

.info-box strong {
  color: var(--primary);
}

.info-box.warning strong {
  color: var(--secondary);
}

.info-box.success strong {
  color: var(--success);
}

/* ============================================
   STEPS
   ============================================ */
.steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(108,99,255,0.4);
}

.step-content h4 {
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.step-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0 !important;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, rgba(108,99,255,0.15), rgba(255,107,53,0.1));
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  margin: 3rem auto;
  max-width: 1200px;
}

.cta-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--text-muted);
  max-width: 550px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: rgba(0,0,0,0.4);
  border-top: 1px solid var(--card-border);
  padding: 3rem 2rem 1.5rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.87rem;
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 280px;
}

.footer-col h4 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.87rem;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--primary);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer-disclaimer {
  background: rgba(255,107,53,0.1);
  border: 1px solid rgba(255,107,53,0.3);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  max-width: 1200px;
  margin: 1.5rem auto 0;
}

.footer-disclaimer p {
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.6;
  text-align: center;
}

.footer-disclaimer strong {
  color: var(--secondary);
}

/* ============================================
   CHAT WIDGET
   ============================================ */
.chat-toggle {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--gradient-main);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 8px 30px rgba(108,99,255,0.6);
  z-index: 2000;
  transition: all 0.3s ease;
  animation: chatPulse 3s ease-in-out infinite;
}

@keyframes chatPulse {
  0%, 100% { box-shadow: 0 8px 30px rgba(108,99,255,0.6); }
  50% { box-shadow: 0 8px 40px rgba(108,99,255,0.9), 0 0 0 8px rgba(108,99,255,0.1); }
}

.chat-toggle:hover {
  transform: scale(1.1);
}

.chat-notification {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  background: var(--secondary);
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 700;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--dark);
}

.chat-window {
  position: fixed;
  bottom: 110px;
  right: 30px;
  width: 370px;
  max-height: 520px;
  background: var(--dark2);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  z-index: 1999;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transform: scale(0) translateY(20px);
  transform-origin: bottom right;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0;
  pointer-events: none;
}

.chat-window.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

.chat-header {
  background: var(--gradient-main);
  padding: 1.2rem 1.5rem;
  border-radius: 24px 24px 0 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-avatar {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.chat-header-info h4 {
  font-weight: 700;
  font-size: 0.95rem;
}

.chat-header-info p {
  font-size: 0.75rem;
  opacity: 0.8;
}

.chat-status {
  width: 8px;
  height: 8px;
  background: #00E676;
  border-radius: 50%;
  display: inline-block;
  margin-right: 5px;
  animation: statusBlink 2s infinite;
}

@keyframes statusBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.chat-close {
  margin-left: auto;
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.chat-close:hover { background: rgba(255,255,255,0.35); }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 280px;
  max-height: 280px;
}

.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 2px; }

.msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.875rem;
  line-height: 1.5;
  animation: msgAppear 0.3s ease;
}

@keyframes msgAppear {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.msg-bot {
  background: rgba(108,99,255,0.15);
  border: 1px solid rgba(108,99,255,0.3);
  color: var(--text);
  border-radius: 4px 16px 16px 16px;
  align-self: flex-start;
}

.msg-user {
  background: var(--gradient-main);
  color: white;
  border-radius: 16px 16px 4px 16px;
  align-self: flex-end;
}

.chat-options {
  padding: 0 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.chat-option-btn {
  background: rgba(108,99,255,0.15);
  border: 1px solid rgba(108,99,255,0.3);
  color: var(--text);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.chat-option-btn:hover {
  background: rgba(108,99,255,0.3);
  border-color: var(--primary);
}

.chat-input-area {
  padding: 1rem;
  border-top: 1px solid var(--card-border);
  display: flex;
  gap: 10px;
}

.chat-input {
  flex: 1;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--card-border);
  border-radius: 25px;
  padding: 10px 16px;
  color: var(--text);
  font-size: 0.875rem;
  font-family: 'Poppins', sans-serif;
  outline: none;
  transition: border-color 0.3s;
}

.chat-input:focus { border-color: var(--primary); }
.chat-input::placeholder { color: var(--text-muted); }

.chat-send {
  width: 40px;
  height: 40px;
  background: var(--gradient-main);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}

.chat-send:hover { transform: scale(1.1); }

/* ============================================
   TYPING INDICATOR
   ============================================ */
.typing-indicator {
  display: flex;
  gap: 5px;
  padding: 12px 16px;
  background: rgba(108,99,255,0.15);
  border: 1px solid rgba(108,99,255,0.3);
  border-radius: 4px 16px 16px 16px;
  width: fit-content;
}

.typing-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
}

/* ============================================
   TERMS PAGE
   ============================================ */
.terms-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

.terms-section {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.terms-section h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--card-border);
  color: var(--primary);
}

.terms-section p, .terms-section li {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.terms-section ul {
  list-style: none;
  padding-left: 1rem;
}

.terms-section ul li::before {
  content: '▸ ';
  color: var(--primary);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
  }
  .sidebar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(13,13,26,0.98);
    padding: 1rem;
    flex-direction: column;
    border-bottom: 1px solid var(--card-border);
  }

  .nav-menu.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .niches-grid {
    grid-template-columns: 1fr;
  }

  .metro-featured {
    grid-template-columns: 1fr;
  }

  .chat-window {
    width: calc(100vw - 40px);
    right: 20px;
    bottom: 100px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

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

@media (max-width: 480px) {
  section { padding: 60px 1rem; }
  .navbar { padding: 0 1rem; }
  .content-body { padding: 1.5rem; }
}
