@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-50: #f0fdf4;
  --green-100: #dcfce7;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-700: #15803d;
  --blue-50: #eff6ff;
  --blue-600: #2563eb;
  --purple-600: #9333ea;
  --red-600: #dc2626;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow: 0 10px 25px rgba(0,0,0,.08);
  --shadow-lg: 0 20px 40px rgba(0,0,0,.12);
  --radius: 1rem;
  --radius-xl: 1.25rem;
  --container: 1200px;
  --header-h: 80px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--white);
}

h1, h2, h3, h4, h5, h6,
.logo-text,
.section-title,
.btn,
.stat-num,
.hero-content h1 {
  font-family: 'Montserrat', 'Inter', system-ui, sans-serif;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.logo-wrap img { height: 3.5rem; width: auto; object-fit: contain; }

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
}

.main-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.main-nav a {
  color: var(--gray-700);
  font-weight: 500;
  transition: color .3s, transform .3s;
}

.main-nav a:hover, .main-nav a.active { color: var(--green-600); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-phone {
  display: none;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  font-weight: 600;
}

.header-phone svg { color: var(--green-600); width: 1rem; height: 1rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .625rem 1.25rem;
  border: none;
  border-radius: var(--radius-xl);
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .3s;
  white-space: nowrap;
}

.btn-green {
  background: var(--green-600);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-green:hover { background: var(--green-700); transform: scale(1.03); }

.btn-white {
  background: var(--white);
  color: var(--green-600);
}

.btn-white:hover { background: #f0fdf4; }

.btn-lg { padding: 1rem 2rem; font-size: 1rem; }

.btn-red { background: var(--red-600); color: var(--white); }
.btn-red:hover { background: #b91c1c; }

.menu-toggle {
  display: flex;
  padding: .5rem;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-xl);
  background: var(--white);
  cursor: pointer;
}

.menu-toggle svg { width: 1.5rem; height: 1.5rem; color: var(--green-600); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: .75rem;
  padding: 1rem 0 1.25rem;
  border-top: 1px solid #e5e7eb;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  padding: .5rem 0;
  color: var(--gray-700);
  font-weight: 500;
}

/* Hero */
.hero {
  position: relative;
  margin-top: var(--header-h);
  padding: 8rem 0 5rem;
  background: linear-gradient(135deg, var(--green-50), var(--blue-50), #faf5ff);
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  width: 18rem; height: 18rem;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .7;
  mix-blend-mode: multiply;
  animation: blob 8s infinite;
}

.hero-blob-1 { top: 5rem; left: 2.5rem; background: #bbf7d0; }
.hero-blob-2 { top: 10rem; right: 2.5rem; background: #bfdbfe; animation-delay: 2s; }
.hero-blob-3 { bottom: -2rem; left: 5rem; background: #e9d5ff; animation-delay: 4s; }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.text-gradient {
  background: linear-gradient(90deg, var(--green-600), #059669);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.125rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
  max-width: 36rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 1.5rem;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--gray-700);
  font-weight: 500;
}

.hero-badge svg { color: var(--green-600); width: 1.25rem; height: 1.25rem; }

.hero-image-wrap { position: relative; }

.hero-image-wrap img {
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 7/6;
}

.hero-float-card {
  position: absolute;
  bottom: -2rem;
  left: -2rem;
  background: var(--white);
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  animation: float 4s ease-in-out infinite;
}

.hero-float-card .num {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--green-600);
}

.hero-star {
  position: absolute;
  top: -1.5rem;
  right: -1.5rem;
  background: var(--green-600);
  color: var(--white);
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  animation: bounce 2s infinite;
}

/* Sections */
section { padding: 5rem 0; }

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 1.5rem;
}

.section-subtitle {
  text-align: center;
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.bg-white { background: var(--white); }
.bg-gray { background: var(--gray-50); }
.bg-green { background: var(--green-600); color: var(--white); }
.bg-gradient-soft { background: linear-gradient(135deg, var(--gray-50), var(--blue-50)); }

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-card {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  border-radius: 1rem;
  padding: 2rem;
  transition: transform .3s;
}

.stat-card:hover { transform: scale(1.03); }

.stat-card svg { width: 3rem; height: 3rem; margin: 0 auto 1rem; }

.stat-num {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: .5rem;
}

.stat-label { opacity: .85; }

/* Cards grid */
.grid-2 { display: grid; gap: 3rem; }
.grid-3 { display: grid; gap: 2rem; }
.grid-4 { display: grid; gap: 2rem; }

.card {
  background: var(--white);
  border-radius: .75rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .4s, box-shadow .4s;
}

.card:hover {
  transform: translateY(-.5rem);
  box-shadow: var(--shadow-lg);
}

.card-image { position: relative; height: 12rem; overflow: hidden; }
.card-image.tall { height: 14rem; }

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-image .overlay {
  position: absolute;
  inset: 0;
  opacity: .2;
}

.overlay-green { background: linear-gradient(to top, var(--green-600), var(--green-500)); }
.overlay-blue { background: var(--blue-600); }
.overlay-purple { background: var(--purple-600); }
.overlay-red { background: var(--red-600); }

.card-body { padding: 2rem; }

.card-icon {
  width: 4rem; height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -3rem auto 1.5rem;
  position: relative;
  z-index: 2;
  border: 4px solid var(--white);
  box-shadow: var(--shadow);
}

.card-icon.green { background: var(--green-100); color: var(--green-600); }
.card-icon.blue { background: #dbeafe; color: var(--blue-600); }
.card-icon.purple { background: #f3e8ff; color: var(--purple-600); }

.card-body h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}

.card-body p {
  color: var(--gray-600);
  text-align: center;
  margin-bottom: 1rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .375rem 0;
  color: var(--gray-700);
  transition: transform .3s;
}

.card:hover .feature-list li { transform: translateX(.25rem); }

.feature-list svg { color: var(--green-600); width: 1rem; height: 1rem; flex-shrink: 0; }

.check-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.check-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--gray-700);
}

.check-item svg { color: var(--green-600); width: 1.25rem; height: 1.25rem; }

/* About */
.about-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.about-content p {
  color: var(--gray-600);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

/* Process */
.process-step { text-align: center; }

.process-circle {
  width: 5rem; height: 5rem;
  background: var(--green-600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  box-shadow: var(--shadow);
  color: var(--white);
}

.process-circle svg { width: 2.5rem; height: 2.5rem; }

.process-num {
  position: absolute;
  top: -.5rem; right: calc(50% - 3rem);
  width: 2rem; height: 2rem;
  background: var(--white);
  color: var(--green-600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .875rem;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.process-wrap { position: relative; }

.process-step h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.process-step p { color: var(--gray-600); }

/* CTA banner */
.cta-banner {
  background: var(--green-600);
  color: var(--white);
  border-radius: .75rem;
  padding: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.1);
}

.cta-banner > * { position: relative; z-index: 1; }

.cta-banner h3 { font-size: 1.875rem; font-weight: 800; margin-bottom: 1rem; }
.cta-banner p { font-size: 1.125rem; opacity: .9; max-width: 48rem; margin: 0 auto 2rem; }

.info-card {
  background: linear-gradient(135deg, #fff, var(--green-50));
  border-radius: .75rem;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.info-card.blue { background: linear-gradient(135deg, #fff, var(--blue-50)); }

.info-card h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: .5rem; }
.info-card .tag { color: var(--green-600); font-weight: 600; margin-bottom: 1rem; }
.info-card.blue .tag { color: var(--blue-600); }

/* Footer */
.site-footer {
  background: var(--gray-900);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-brand p { color: var(--gray-400); margin: 1.5rem 0; }

.footer-brand .logo-text { color: var(--green-500); }

.footer-col h4 {
  color: var(--green-500);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.footer-col a {
  color: var(--gray-400);
  display: block;
  padding: .375rem 0;
  transition: color .3s;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
  color: var(--gray-400);
}

.social-row { display: flex; gap: 1rem; }

.social-btn {
  width: 2.5rem; height: 2.5rem;
  background: var(--gray-800);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: background .3s, color .3s, transform .3s;
}

.social-btn svg {
  width: 1.125rem;
  height: 1.125rem;
}

.social-btn:hover {
  background: var(--green-600);
  color: var(--white);
  transform: scale(1.1);
}

/* Contact page */
.contact-section { padding: 8rem 0 5rem; margin-top: var(--header-h); background: var(--gray-50); }

.contact-grid { display: grid; gap: 3rem; }

.contact-info-box {
  background: var(--green-50);
  padding: 1.5rem;
  border-radius: .75rem;
  margin-bottom: 2rem;
}

.contact-info-box h3 { color: #166534; font-size: 1.125rem; margin-bottom: 1rem; }

.contact-row {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.contact-row svg { color: var(--green-600); width: 1.25rem; height: 1.25rem; flex-shrink: 0; margin-top: .2rem; }

.benefit-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.benefit-icon {
  width: 3rem; height: 3rem;
  background: var(--green-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-icon svg { color: var(--green-600); width: 1.5rem; height: 1.5rem; }

.form-card {
  background: var(--white);
  border-radius: .75rem;
  box-shadow: var(--shadow-lg);
  padding: 2rem;
}

.form-group { margin-bottom: 1.5rem; }

.form-group label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: .5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: .5rem;
  font: inherit;
  transition: border-color .2s, box-shadow .2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(34,197,94,.15);
}

.form-msg {
  padding: .75rem 1rem;
  border-radius: .5rem;
  margin-bottom: 1rem;
  display: none;
}

.form-msg.success { display: block; background: #dcfce7; color: #166534; }
.form-msg.error { display: block; background: #fee2e2; color: #991b1b; }

/* Admin */
.admin-login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--green-100), var(--green-200), #86efac);
  padding: 2rem;
}

.admin-login-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 24rem;
  border: 1px solid var(--green-100);
}

.admin-login-card h2 {
  color: var(--green-700);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.admin-layout { display: none; min-height: 100vh; background: var(--gray-50); }
.admin-layout.active { display: flex; }

.admin-sidebar {
  width: 260px;
  background: var(--gray-900);
  color: var(--white);
  padding: 1.5rem;
  flex-shrink: 0;
}

.admin-sidebar h2 { color: var(--green-500); font-size: 1.25rem; margin-bottom: .25rem; }
.admin-sidebar .welcome { color: var(--gray-400); font-size: .875rem; margin-bottom: 2rem; }

.admin-nav-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: .75rem 1rem;
  border: none;
  background: transparent;
  color: var(--gray-400);
  border-radius: .5rem;
  cursor: pointer;
  font: inherit;
  margin-bottom: .25rem;
  transition: background .2s, color .2s;
}

.admin-nav-btn:hover, .admin-nav-btn.active {
  background: rgba(34,197,94,.15);
  color: var(--green-500);
}

.admin-main { flex: 1; padding: 2rem; overflow: auto; }

.admin-panel { display: none; }
.admin-panel.active { display: block; }

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.admin-stat {
  background: var(--white);
  padding: 1.5rem;
  border-radius: .75rem;
  box-shadow: var(--shadow);
}

.admin-stat .label { color: var(--gray-600); font-size: .875rem; }
.admin-stat .value { font-size: 2rem; font-weight: 800; color: var(--green-600); }

.admin-table-wrap {
  background: var(--white);
  border-radius: .75rem;
  box-shadow: var(--shadow);
  overflow: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
}

.admin-table th, .admin-table td {
  padding: .875rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

.admin-table th { background: var(--gray-50); font-weight: 600; }

.status-select {
  padding: .375rem .5rem;
  border-radius: .375rem;
  border: 1px solid #d1d5db;
  font-size: .8125rem;
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-toolbar input, .admin-toolbar select {
  padding: .5rem .75rem;
  border: 1px solid #d1d5db;
  border-radius: .5rem;
  font: inherit;
}

/* Animations */
@keyframes blob {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(20px,-30px) scale(1.05); }
  66% { transform: translate(-15px,15px) scale(.95); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }

/* Responsive */
@media (min-width: 768px) {
  .menu-toggle { display: none; }
  .main-nav { display: flex; }
  .header-phone { display: flex; }
  .btn-desktop { display: inline-flex; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .check-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .btn-desktop { display: none; }
  .admin-layout.active { flex-direction: column; }
  .admin-sidebar { width: 100%; }
}
