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

:root {
  --primary-dark: #0f172a;
  --primary-brand: #184486; /* Exponent Blue */
  --primary-brand-light: rgba(24, 68, 134, 0.1);
  --text-main: #1e293b;
  --text-muted: #64748b;
  --bg-color: #ffffff;
  --border-color: #f1f5f9;
  --grid-color: rgba(0, 0, 0, 0.03);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 15px rgba(24, 68, 134, 0.08);
}

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

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Background Grids and Gradients */
.background-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.grid-bg {
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, var(--grid-color) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-color) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: center center;
}

.gradient-top-right {
  position: absolute;
  top: -15%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(24, 68, 134, 0.08) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  filter: blur(40px);
}

.gradient-bottom-left {
  position: absolute;
  bottom: -15%;
  left: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(24, 68, 134, 0.08) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  filter: blur(40px);
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  width: 100%;
  z-index: 10;
}

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

.logo-icon-wrapper {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-brand);
}

.logo-img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.logo-fallback i {
  font-size: 1.25rem;
}

.logo-text h1 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.1rem;
}

.logo-text p {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.header-pill {
  background-color: white;
  color: var(--primary-brand);
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.header-pill:hover {
  border-color: var(--primary-brand);
  transform: translateY(-1px);
}

.header-pill .dot {
  width: 6px;
  height: 6px;
  background-color: var(--primary-brand);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(24, 68, 134, 0.4); }
  70% { box-shadow: 0 0 0 4px rgba(24, 68, 134, 0); }
  100% { box-shadow: 0 0 0 0 rgba(24, 68, 134, 0); }
}

/* Main Content */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem 6rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  z-index: 10;
}

.top-badge {
  background-color: var(--primary-brand-light);
  color: var(--primary-brand);
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(24, 68, 134, 0.15);
}

.hero-title {
  font-size: 5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--primary-dark);
}

.hero-title .highlight {
  color: var(--primary-brand);
  display: block;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-weight: 500;
  line-height: 1.6;
}

.cta-primary-btn {
  background-color: var(--primary-dark);
  color: white;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  margin-bottom: 4rem;
}

.cta-primary-btn:hover {
  background-color: black;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Stats Section */
.section-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.section-label::before,
.section-label::after {
  content: '';
  height: 1px;
  width: 20px;
  background-color: var(--border-color);
}

.stats-grid {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.stat-card {
  background: white;
  border: 1px solid var(--border-color);
  padding: 1.25rem 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  min-width: 160px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(24, 68, 134, 0.2);
}

.stat-card h3 {
  color: var(--primary-brand);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
  line-height: 1;
}

.stat-card p {
  color: var(--text-muted);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

/* Services / Features Grid */
.services-grid {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.service-pill {
  background: white;
  border: 1px solid var(--border-color);
  padding: 0.75rem 1.5rem 0.75rem 0.75rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: var(--shadow-sm);
  color: var(--primary-dark);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.service-pill:hover {
  transform: translateY(-2px);
  border-color: var(--primary-brand);
}

.service-icon {
  width: 28px;
  height: 28px;
  background-color: var(--primary-brand-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-brand);
  font-size: 0.75rem;
}

/* Footer */
footer {
  padding: 2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: auto;
  z-index: 10;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.footer-left strong {
  color: var(--primary-dark);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

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

.designed-by {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.developer-badge {
  background-color: white;
  border: 1px solid var(--border-color);
  color: var(--primary-brand);
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease;
}

.developer-badge:hover {
  border-color: var(--primary-brand);
}

.developer-badge .dev-icon {
  background-color: var(--primary-dark);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  object-fit: cover;
}

/* Page Layout for Policies */
.policy-page-wrapper {
  max-width: 1000px;
  margin: 2rem auto 4rem;
  padding: 0 2rem;
  width: 100%;
}

.policy-header {
  text-align: center;
  margin-bottom: 3rem;
}

.policy-header h1 {
  font-size: 3rem;
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

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

.policy-container {
  background: white;
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  padding: 4rem;
  text-align: left;
}

.policy-container h2 {
  font-size: 1.5rem;
  color: var(--primary-brand);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
  font-weight: 700;
}

.policy-container h2:first-of-type {
  margin-top: 0;
}

.policy-container p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.policy-container ul {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  font-size: 1.05rem;
}

.policy-container li {
  margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-title { font-size: 4rem; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 3rem; }
  header { flex-direction: column; gap: 1rem; padding: 1.5rem; text-align: center; }
  .stats-grid { gap: 1rem; }
  .stat-card { min-width: 45%; padding: 1rem; }
  footer { flex-direction: column; gap: 1.5rem; text-align: center; padding: 2rem; }
  .footer-left { justify-content: center; text-align: center; line-height: 1.4; }
  .policy-container { margin: 2rem 1rem; padding: 1.5rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.5rem; }
  .stat-card { min-width: 100%; }
}
