/* ===== RESET & BASE ===== */
*, *::before, *::after { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
  max-width: 100%;
}

:root {
  --green: #2ecc71;
  --green-bright: #3fec8d;
  --accent: #00f2fe;
  --bg: #0b0e14;
  --bg-subtle: #121620;
  --bg-card: #181d29;
  --bg-input: #1f2535;
  --border: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(46, 204, 113, 0.4);
  --text: #eef2f8;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-pill: 100px;
  --shadow: 0 10px 40px -10px rgba(0,0,0,0.5);
  --shadow-lg: 0 25px 50px -12px rgba(0,0,0,0.6);
  --transition: 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

::selection { background: var(--green); color: #fff; }

html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden !important;
  position: relative;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-dim); }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 min(24px, 5%);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===== GRADIENT TEXT ===== */
.gradient-text {
  background: linear-gradient(135deg, #25D366 0%, #00B09B 50%, #96c93d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: inherit;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--green), #27ae60);
  color: #fff;
  box-shadow: 0 8px 30px -4px rgba(46,204,113,0.4);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px -4px rgba(46,204,113,0.6);
}
.btn-outline {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-outline:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px -4px rgba(46,204,113,0.3);
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(11,14,20,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.header.scrolled {
  background: rgba(11,14,20,0.9);
  padding: 8px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
}
.logo-text {
  background: linear-gradient(135deg, #25D366, #00B09B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-icon { display: flex; align-items: center; }

.nav { display: flex; gap: 4px; }
.nav-link {
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
}
.nav-link:hover { color: var(--green); background: rgba(46,204,113,0.05); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 17, 23, 0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 40px;
  clip-path: circle(0% at 90% 5%);
  transition: clip-path 0.6s cubic-bezier(0.77, 0, 0.175, 1);
  pointer-events: none;
}
.mobile-nav.open {
  clip-path: circle(150% at 90% 5%);
  pointer-events: auto;
}
.mobile-nav a {
  font-size: 1.8rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  color: var(--text);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
}
.mobile-nav.open a {
  opacity: 1;
  transform: translateY(0);
}
.mobile-nav.open a:nth-child(1) { transition-delay: 0.2s; }
.mobile-nav.open a:nth-child(2) { transition-delay: 0.3s; }
.mobile-nav a:hover { color: var(--green); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 20% 50%, rgba(37,211,102,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(0,176,155,0.06) 0%, transparent 60%),
              var(--bg);
  padding: 120px 0 80px;
}
.hero-bg-circles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(37,211,102,0.1);
  animation: pulse-ring 6s ease-in-out infinite;
}
.c1 { width: 600px; height: 600px; top: -200px; right: -100px; animation-delay: 0s; }
.c2 { width: 400px; height: 400px; bottom: -100px; left: -100px; animation-delay: 2s; }
.c3 { width: 800px; height: 800px; top: -300px; left: 50%; transform: translateX(-50%); animation-delay: 4s; opacity: 0.5; }

@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.05); opacity: 0.6; }
}
.c3 { animation: pulse-ring-3 6s ease-in-out infinite; }
@keyframes pulse-ring-3 {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.15; }
  50% { transform: translateX(-50%) scale(1.03); opacity: 0.3; }
}

.hero-content { text-align: center; position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,211,102,0.1);
  border: 1px solid rgba(37,211,102,0.25);
  color: var(--green);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 28px;
  animation: fadeInDown 0.6s ease forwards;
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; } 50% { opacity: 0.3; }
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.2rem, 10vw, 5.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  animation: fadeInUp 0.8s 0.1s cubic-bezier(0.23, 1, 0.32, 1) both;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 32px;
  animation: fadeInUp 0.6s 0.2s ease both;
}
.hero-actions {
  margin: 32px 0 48px;
  animation: fadeInUp 0.8s 0.2s cubic-bezier(0.23, 1, 0.32, 1) both;
}
@media (max-width: 768px) {
  .hero-actions {
    margin: 24px 0 32px;
  }
}

/* Search Box */
.search-box {
  max-width: 700px;
  margin: 0 auto 48px;
  animation: fadeInUp 0.6s 0.3s ease both;
}
.search-inner {
  display: flex;
  align-items: center;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 60px;
  padding: 6px 6px 6px 22px;
  gap: 12px;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}
.search-inner:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(37,211,102,0.12);
}
.search-icon {
  width: 20px; height: 20px;
  color: var(--text-dim);
  flex-shrink: 0;
}
.search-inner input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
}
.search-inner input::placeholder { color: var(--text-dim); }
.search-btn {
  background: linear-gradient(135deg, #25D366, #00B09B);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 12px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition);
  white-space: nowrap;
}
.search-btn:hover { opacity: 0.9; transform: scale(1.02); }
/* ===== SEARCH COMMAND CENTER ===== */
.search-command-center {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 16px;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 10;
  animation: fadeInUp 1s 0.25s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.main-search {
  display: flex;
  align-items: center;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 10px 10px 10px 24px;
  gap: 16px;
  transition: var(--transition);
}
.main-search:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 4px var(--border-focus);
}
.main-search .search-icon { width: 24px; height: 24px; color: var(--green); }
.main-search input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 500;
  font-family: inherit;
}

.refine-filters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}

@media (max-width: 640px) {
  .refine-filters {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
.filter-box {
  display: flex;
  align-items: center;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0 16px;
  transition: var(--transition);
}
.filter-box:hover { border-color: var(--text-dim); }
.filter-box svg { width: 16px; height: 16px; color: var(--text-dim); flex-shrink: 0; }
.filter-box select {
  flex: 1;
  background: none;
  border: none;
  padding: 14px 10px;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  outline: none;
  cursor: pointer;
}
.filter-box select option { background: var(--bg); color: var(--text); }

.inline-results {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  animation: fadeIn 0.5s ease both;
}
.results-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
  padding: 0 4px;
  width: 100%;
  max-width: 100%;
}
@media (max-width: 768px) {
  .results-meta {
    flex-direction: column;
    text-align: center;
    gap: 18px;
    width: 100%;
  }
}
.results-meta h3 {
  font-size: clamp(1.1rem, 4vw, 1.4rem);
  color: var(--text);
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  line-height: 1.2;
}
.btn-clear-search {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.btn-clear-search:active {
  transform: scale(0.96);
}
.btn-clear-search:hover {
  background: rgba(255,50,50,0.1);
  color: #ff6b6b;
  border-color: rgba(255,50,50,0.2);
}

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

.search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
}
.search-tag {
  padding: 8px 18px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.search-tag:hover {
  border-color: var(--green);
  color: var(--green);
  background: rgba(37,211,102,0.08);
  transform: translateY(-2px);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 40px;
  max-width: 640px;
  margin: 0 auto;
  animation: fadeInUp 0.6s 0.4s ease both;
}
.stat-item { text-align: center; padding: 0 28px; }
.stat-num {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--green);
}
.stat-label { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section-dark { background: var(--bg2); }
.section-header { text-align: center; margin-bottom: 40px; }
.section-badge {
  display: inline-block;
  background: rgba(37,211,102,0.1);
  border: 1px solid rgba(37,211,102,0.2);
  color: var(--green);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.section-subtitle { color: var(--text-muted); font-size: 1rem; }

/* ===== CATEGORIES ===== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px 20px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.category-card:hover {
  transform: translateY(-6px);
  border-color: var(--green);
  box-shadow: var(--shadow-lg);
  background: rgba(46, 204, 113, 0.05);
}
.category-emoji { font-size: 2.2rem; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3)); }
.category-name { font-size: 0.95rem; font-weight: 700; color: var(--text); }
.category-count { 
  font-size: 0.75rem; 
  font-weight: 600;
  color: var(--green); 
  background: rgba(46, 204, 113, 0.1);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
}

/* ===== FILTER TABS ===== */
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 36px;
}
.filter-tab {
  padding: 9px 20px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}
.filter-tab:hover { border-color: var(--green); color: var(--green); }
.filter-tab.active {
  background: linear-gradient(135deg, #25D366, #00B09B);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
}

/* ===== GROUP CARDS ===== */
.groups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}
.group-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.group-card:hover {
  transform: translateY(-8px);
  border-color: rgba(46, 204, 113, 0.4);
  box-shadow: var(--shadow-lg);
}
.group-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0; width: 100px; height: 100px;
  background: radial-gradient(circle at top right, rgba(46, 204, 113, 0.15), transparent 70%);
  pointer-events: none;
}

.group-card-header { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.group-avatar {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
  background: var(--bg-input);
  border: 1px solid var(--border);
}
.group-dp { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.group-info { flex: 1; min-width: 0; }
.group-name {
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.group-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.group-category {
  font-size: 0.7rem;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  background: rgba(46, 204, 113, 0.1);
  color: var(--green);
  font-weight: 700;
  text-transform: uppercase;
}
.group-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.group-footer { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.join-btn {
  background: linear-gradient(135deg, var(--green), #27ae60);
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
  transition: var(--transition);
}
.join-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(46, 204, 113, 0.4);
}

.load-more-wrap { text-align: center; }

/* ===== SUBMIT SECTION ===== */
.section-submit {
  background: radial-gradient(ellipse at 50% 100%, rgba(37,211,102,0.07) 0%, transparent 70%), var(--bg);
}
.submit-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 60px;
  max-width: 100%;
}
.submit-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.submit-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -1.2px;
}
.submit-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.submit-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.submit-benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--text);
  font-weight: 500;
}
.submit-form-wrap {
  background: var(--bg-input);
  padding: 40px;
  border-radius: 24px;
  border: 1px solid var(--border);
}
.submit-icon-wrap { margin-bottom: 16px; }

/* Form */
.submit-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px var(--border-focus);
}
.form-group select option { background: var(--bg2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Preview Card */
.submit-preview {
  margin-bottom: 16px;
  animation: fadeInDown 0.4s ease both;
}
.preview-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--bg3);
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.preview-card.loaded {
  border-style: solid;
  border-color: var(--green);
  background: rgba(37,211,102,0.05);
}
.preview-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  overflow: hidden;
  border: 1px solid var(--border);
}
.preview-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.preview-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 2px;
}
.preview-status {
  font-size: 0.72rem;
  color: var(--text-muted);
}
.preview-card.loading .preview-name {
  color: var(--text-muted);
  font-style: italic;
}

/* Success */
.form-success {
  text-align: center;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.success-icon { font-size: 3rem; }
.form-success h3 { font-size: 1.4rem; font-weight: 700; }
.form-success p { color: var(--text-muted); }

/* ===== SEARCH RESULTS OVERLAY ===== */
.search-results-overlay {
  background: var(--bg);
  padding: 40px 0;
  border-top: 1px solid var(--border);
}
.search-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.search-results-header h3 { font-size: 1.3rem; font-weight: 700; }
.close-search {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  font-family: inherit;
  transition: var(--transition);
}
.close-search:hover { color: var(--text); border-color: var(--text-muted); }

/* ===== FOOTER ===== */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  overflow: hidden;
  width: 100%;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-tagline { color: var(--text-muted); font-size: 0.88rem; margin: 14px 0 20px; line-height: 1.6; }
.footer-social { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  transition: var(--transition);
}
.social-link:hover { border-color: var(--green); color: var(--green); }

.footer-links h4 { font-size: 0.85rem; font-weight: 700; margin-bottom: 16px; color: var(--text); }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.85rem; color: var(--text-muted); transition: var(--transition); }
.footer-links a:hover { color: var(--green); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  text-align: center;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-dim); }
.footer-warning { color: rgba(255,180,50,0.7) !important; }

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: var(--shadow);
  z-index: 9999;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s;
  opacity: 0;
  pointer-events: none;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px; height: 44px;
  background: linear-gradient(135deg, #25D366, #00B09B);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  z-index: 500;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(37,211,102,0.5); }

/* ===== LOADERS ===== */
.shimmer {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
  from { background-position: -200% 0; }
  to { background-position: 200% 0; }
}

.grid-loader {
  display: flex;
  flex-direction: column;
  gap: 20px;
  grid-column: 1 / -1;
  padding: 40px 0;
  align-items: center;
}
.loader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .submit-card { padding: 40px; gap: 40px; }
}
@media (max-width: 768px) {
  .container { padding: 0 5%; overflow: hidden; }
  .nav { display: none; }
  .btn-outline { display: none; }
  .hamburger { display: flex; z-index: 1001; }
  
  .hero { padding: clamp(80px, 15vh, 120px) 0 60px; min-height: auto; }
  .hero-badge { margin-bottom: 16px; padding: 6px 14px; font-size: 0.8rem; }
  .hero-title { font-size: clamp(2rem, 9vw, 3rem); margin-bottom: 16px; word-break: break-word; overflow-wrap: anywhere; }
  .hero-stats { padding: 16px; border-radius: 12px; width: 100%; border: 1px solid var(--border); display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .stat-item { padding: 12px; border-bottom: 1px solid var(--border); width: 100%; text-align: center; }
  .stat-item:last-child { border-bottom: none; }
  .stat-num { font-size: 1.3rem; }
  .stat-label { font-size: 0.75rem; }
  .stat-divider { display: none; }
  
  .search-command-center {
    padding: 12px;
    margin: 20px auto;
    border-radius: 20px;
    width: 100%;
    box-sizing: border-box;
    max-width: calc(100vw - 32px);
  }
  .main-search {
    flex-direction: column;
    padding: 8px;
    gap: 8px;
    width: 100%;
  }
  .main-search input {
    width: 100%;
    padding: 14px;
    text-align: center;
    font-size: 0.95rem;
    background: rgba(46, 204, 113, 0.03);
    border-radius: 12px;
  }
  .search-btn {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    border-radius: 12px;
  }
  
  .section { padding: clamp(40px, 8vh, 60px) 0; }
  .section-title { font-size: clamp(1.5rem, 6vw, 2.22rem); word-break: break-word; }
  
  .group-card { padding: 20px; border-radius: 20px; width: 100%; }
  
  .submit-card { 
    grid-template-columns: 1fr; 
    padding: clamp(20px, 6vw, 40px); 
    gap: 32px; 
    border-radius: 24px; 
    width: 100%; 
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
  }
  .submit-form-wrap { width: 100%; }
  .submit-title { font-size: clamp(1.6rem, 7vw, 2rem); letter-spacing: -0.5px; }
  .submit-info { text-align: center; width: 100%; }
  .submit-benefits { display: inline-flex; flex-direction: column; align-items: flex-start; text-align: left; width: 100%; gap: 12px; }
  .form-row { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(1.6rem, 9vw, 2rem); }
  .hero-stats { flex-direction: column; padding: 16px; align-items: stretch; }
  .stat-item { border-bottom: 1px solid var(--border); padding: 12px 0; }
  .stat-item:last-child { border-bottom: none; }
  .stat-divider { display: none; }
  .submit-card { padding: 20px 16px; }
  .header-inner { height: 60px; }
  .logo { font-size: 1.1rem; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
}
