/* ══════════════════════════════════════════════════════════
   Global HAS — Premium Landing Page Styles
   ══════════════════════════════════════════════════════════ */

/* ── CSS Variables ────────────────────────────────────── */
:root {
  /* Colors — Light Theme */
  --bg-primary: #ffffff;
  --bg-secondary: #f4f6f9;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-glass: rgba(0, 0, 0, 0.03);
  --border-glass: rgba(0, 0, 0, 0.08);
  --text-primary: #1a202c;
  --text-secondary: #4a5568;
  --text-muted: #a0aec0;
  --accent-1: #06b88a;
  --accent-2: #3b82f6;
  --accent-gradient: linear-gradient(135deg, #06b88a 0%, #3b82f6 50%, #7c3aed 100%);
  --accent-glow: rgba(6, 184, 138, 0.15);
  --danger: #ef4444;
  --success: #06b88a;
  /* Spacing */
  --section-pad: 100px;
  --container-max: 1200px;
  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 14px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  text-align: center;
  justify-content: center;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 4px 24px rgba(6, 214, 160, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(6, 214, 160, 0.4);
}

.btn-ghost {
  background: var(--bg-glass);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* ── Navbar ───────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.35s var(--ease);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 10px 0;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
}

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

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

.logo-accent {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
  border-radius: 10px;
  padding: 4px 8px;
  background: transparent;
  transition: all 0.35s var(--ease);
}

.navbar.scrolled .logo-img {
  height: 44px;
}

.footer .logo-img {
  height: 48px;
}

.login-card .logo-img {
  height: 64px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

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

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

.nav-cta {
  background: var(--accent-gradient) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  font-weight: 700 !important;
}

/* Language toggle */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid var(--border-glass);
  border-radius: 100px;
  background: var(--bg-glass);
  color: var(--text-primary);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s var(--ease);
}

.lang-toggle:hover {
  border-color: var(--accent-1);
  background: rgba(6, 184, 138, 0.08);
}

.lang-flag {
  font-size: 1.1rem;
}

.lang-label {
  letter-spacing: 0.5px;
}

.nav-right-mobile {
  display: none;
  align-items: center;
  gap: 12px;
}

.nav-right-mobile .lang-toggle {
  padding: 5px 10px;
  font-size: 0.8rem;
}

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

.hamburger span {
  width: 24px;
  height: 2px;
  background: #1a202c;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
}

.shape-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 184, 138, 0.12) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  animation: floatShape 12s ease-in-out infinite;
}

.shape-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.10) 0%, transparent 70%);
  bottom: -100px;
  left: -150px;
  animation: floatShape 15s ease-in-out infinite reverse;
}

.shape-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
  top: 40%;
  left: 50%;
  animation: floatShape 10s ease-in-out infinite 2s;
}

@keyframes floatShape {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -30px) scale(1.05);
  }

  66% {
    transform: translate(-20px, 20px) scale(0.95);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: left;
  max-width: 600px;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-image {
  position: relative;
  z-index: 1;
}

.hero-image img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-1);
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
  animation: fadeInUp 0.8s var(--ease) both;
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s var(--ease) 0.15s both;
}

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

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 36px;
  animation: fadeInUp 0.8s var(--ease) 0.3s both;
}

.hero-subtitle strong {
  color: var(--text-primary);
}

.highlight {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s var(--ease) 0.45s both;
}

.hero-stats {
  display: flex;
  justify-content: flex-start;
  gap: 36px;
  animation: fadeInUp 0.8s var(--ease) 0.6s both;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Section Common ───────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-1);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ── Services ─────────────────────────────────────────── */
.services {
  padding: var(--section-pad) 0;
  background: var(--bg-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.services-showcase {
  margin-bottom: 48px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.08);
}

.services-showcase img {
  width: 100%;
  display: block;
  border-radius: 20px;
}

.service-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 36px 30px;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity 0.4s;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(6, 184, 138, 0.25);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #fff;
}

.service-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-features li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-1);
  font-weight: 700;
}

/* ── About ────────────────────────────────────────────── */
.about {
  padding: var(--section-pad) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  display: block;
  border-radius: 20px;
}

.about-content p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 1.02rem;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-gradient);
  margin-top: 6px;
  flex-shrink: 0;
}

.about-feature strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.about-feature span {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* About Visual — floating cards */
.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.about-card-stack {
  position: relative;
  width: 320px;
  height: 320px;
}

.about-floating-card {
  position: absolute;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s var(--ease);
}

.about-floating-card:hover {
  transform: scale(1.08) !important;
}

.card-emoji {
  font-size: 1.6rem;
}

.card-1 {
  top: 0;
  left: 0;
  animation: float1 6s ease-in-out infinite;
}

.card-2 {
  top: 10px;
  right: 0;
  animation: float2 7s ease-in-out infinite 1s;
}

.card-3 {
  bottom: 30px;
  left: 20px;
  animation: float3 5s ease-in-out infinite 0.5s;
}

.card-4 {
  bottom: 0;
  right: 10px;
  animation: float4 8s ease-in-out infinite 2s;
}

@keyframes float1 {

  0%,
  100% {
    transform: translate(0, 0)
  }

  50% {
    transform: translate(10px, -15px)
  }
}

@keyframes float2 {

  0%,
  100% {
    transform: translate(0, 0)
  }

  50% {
    transform: translate(-10px, 12px)
  }
}

@keyframes float3 {

  0%,
  100% {
    transform: translate(0, 0)
  }

  50% {
    transform: translate(15px, 10px)
  }
}

@keyframes float4 {

  0%,
  100% {
    transform: translate(0, 0)
  }

  50% {
    transform: translate(-12px, -8px)
  }
}

/* ── Clients Carousel ─────────────────────────────────── */
.clients {
  padding: var(--section-pad) 0;
}

.clients-carousel {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.clients-track {
  display: flex;
  gap: 48px;
  align-items: center;
  animation: scrollClients 30s linear infinite;
  width: max-content;
}

.client-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  min-width: 120px;
  filter: grayscale(100%) opacity(0.5);
  transition: all 0.4s var(--ease);
}

.client-logo:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.08);
}

.client-logo img {
  max-height: 55px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@keyframes scrollClients {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ── Contact ──────────────────────────────────────────── */
.contact {
  padding: var(--section-pad) 0;
  background: var(--bg-secondary);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-info .section-title {
  text-align: left;
}

.contact-info p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 1rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.contact-detail svg {
  color: var(--accent-1);
  flex-shrink: 0;
}

/* Form */
.contact-form-wrapper {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.required {
  color: var(--accent-1);
}

.form-group input,
.form-group textarea {
  background: #f8f9fb;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 14px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: all 0.3s var(--ease);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-1);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* Success State */
.success-state {
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.success-state h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.success-state p {
  color: var(--text-secondary);
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.calendly-btn {
  margin-bottom: 16px;
  font-size: 1.1rem !important;
  padding: 18px 40px !important;
}

/* ── Footer ───────────────────────────────────────────── */
.footer {
  padding: 48px 0 24px;
  border-top: 1px solid var(--border-glass);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

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

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color 0.3s;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-glass);
}

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

/* ── Loading state ────────────────────────────────────── */
.btn.loading {
  pointer-events: none;
  opacity: 0.7;
}

.btn.loading span {
  visibility: hidden;
}

.btn.loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ── Scroll Animations ────────────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s var(--ease);
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 968px) {
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-visual {
    display: none;
  }

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

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

  .contact-info .section-title {
    text-align: center;
  }

  .contact-details {
    align-items: center;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 64px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    transition: right 0.4s var(--ease);
    z-index: 999;
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.1);
  }

  .nav-links a {
    color: #1a202c !important;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-right-mobile {
    display: flex;
  }

  .hamburger {
    display: flex;
    z-index: 1001;
  }

  .hero-split {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    text-align: center;
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-image {
    max-width: 500px;
    margin: 0 auto;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .stat-number {
    font-size: 1.5rem;
  }

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

  .contact-form-wrapper {
    padding: 28px 20px;
  }

  .footer-content {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-brand p {
    max-width: 100%;
  }
}

/* ══════════════════════════════════════════════════════════
   Admin Panel Styles
   ══════════════════════════════════════════════════════════ */

/* Login */
.admin-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--bg-primary);
}

.login-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 48px 40px;
  width: 100%;
  max-width: 440px;
  text-align: center;
}

.login-card h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.login-card p {
  color: var(--text-secondary);
  margin-bottom: 28px;
  font-size: 0.92rem;
}

.login-card .form-group {
  text-align: left;
}

.login-card .btn {
  margin-top: 8px;
}

.login-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 10px;
  padding: 12px;
  color: var(--danger);
  font-size: 0.88rem;
  display: none;
  margin-bottom: 16px;
}

/* Dashboard */
.admin-dashboard {
  min-height: 100vh;
  background: var(--bg-primary);
}

.admin-header {
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.admin-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.admin-header-left h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}

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

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
  border-radius: 10px;
}

.btn-danger {
  background: rgba(239, 68, 68, 0.15);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
  background: rgba(239, 68, 68, 0.25);
}

.btn-success {
  background: rgba(6, 214, 160, 0.15);
  color: var(--accent-1);
  border: 1px solid rgba(6, 214, 160, 0.3);
}

.btn-success:hover {
  background: rgba(6, 214, 160, 0.25);
}

.admin-body {
  padding: 32px 0;
}

/* Stats strip */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.admin-stat-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 24px;
}

.admin-stat-card .stat-label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.admin-stat-card .stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
}

/* Search */
.search-bar {
  margin-bottom: 24px;
}

.search-bar input {
  width: 100%;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 14px 16px 14px 44px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.3s;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 14px center;
}

.search-bar input:focus {
  border-color: var(--accent-1);
}

.search-bar input::placeholder {
  color: var(--text-muted);
}

/* Table */
.table-wrapper {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  overflow: hidden;
}

.leads-table {
  width: 100%;
  border-collapse: collapse;
}

.leads-table th,
.leads-table td {
  padding: 14px 18px;
  text-align: left;
  font-size: 0.88rem;
}

.leads-table th {
  background: rgba(255, 255, 255, 0.03);
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border-glass);
}

.leads-table td {
  border-bottom: 1px solid var(--border-glass);
  color: var(--text-secondary);
}

.leads-table tr:last-child td {
  border-bottom: none;
}

.leads-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.leads-table .lead-name {
  color: var(--text-primary);
  font-weight: 600;
}

.leads-table .lead-email {
  color: var(--accent-1);
}

.leads-table .lead-date {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.empty-state-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

/* Admin responsive */
@media (max-width: 768px) {
  .admin-stats {
    grid-template-columns: 1fr;
  }

  .admin-header-content {
    flex-wrap: wrap;
    gap: 12px;
  }

  .table-wrapper {
    overflow-x: auto;
  }

  .leads-table {
    min-width: 600px;
  }

  .login-card {
    padding: 32px 24px;
  }
}

/* ══════════════════════════════════════════════════════════
   Admin Panel — Light Theme
   ══════════════════════════════════════════════════════════ */
.admin-wrapper,
.admin-dashboard {
  --bg-primary: #ffffff;
  --bg-secondary: #f4f6f9;
  --bg-glass: rgba(0, 0, 0, 0.03);
  --border-glass: rgba(0, 0, 0, 0.08);
  --text-primary: #1a202c;
  --text-secondary: #4a5568;
  --text-muted: #a0aec0;
  --accent-1: #06b88a;
  background: var(--bg-primary);
  color: var(--text-primary);
}

.admin-wrapper .form-group input {
  background: #f8f9fb;
  border-color: rgba(0, 0, 0, 0.1);
  color: #1a202c;
}

.admin-wrapper .form-group input::placeholder {
  color: #a0aec0;
}

.admin-header {
  background: var(--bg-secondary) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.admin-stat-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.leads-table th {
  background: var(--bg-secondary);
}

.leads-table td {
  border-color: rgba(0, 0, 0, 0.06);
}

.search-bar input {
  background: #f8f9fb !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  color: #1a202c !important;
}

.login-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

/* Lead row status colors */
.leads-table tr.lead-new {
  border-left: 4px solid #ef4444;
  background: rgba(239, 68, 68, 0.05);
}

.leads-table tr.lead-old {
  border-left: 4px solid #06b88a;
  background: rgba(6, 184, 138, 0.04);
}