/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  color: #171717;
  background: white;
}

/* Font Family Classes */
.font-geist {
  font-family: Geist, Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
}

.font-geist-semibold {
  font-family: Geist, Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-weight: 600;
}

.font-inter {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
}

/* SVG Stroke Width Classes */
.stroke-1-5 {
  stroke-width: 1.5;
}

/* Background Pattern Classes */
.bg-dot-pattern {
  background-image: radial-gradient(#fff 1px, transparent 1px);
  background-size: 10px 10px;
}

/* Button Gradient Classes */
.bg-dark-gradient {
  background: linear-gradient(#171717, #111111);
}

/* Radial Dot Pattern Background */
.bg-radial-dots {
  background: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 10px 10px;
  opacity: 0.15;
}

/* Emerald Gradient Button */
.bg-emerald-gradient {
  background: linear-gradient(180deg, #10b981, #059669);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Emerald Glow Effect */
.emerald-glow {
  filter: blur(18px);
  background: radial-gradient(60% 60% at 50% 50%, rgba(16, 185, 129, 0.35), rgba(16, 185, 129, 0) 70%);
}

/* Letter Spacing Classes */
.tracking-tight-custom {
  letter-spacing: -0.01em;
}

/* Container */
.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 768px) {
  .container {
    padding: 0 2.5rem;
  }
}

/* Header Component */
.header {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  margin-top: 1.5rem;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .header {
    padding: 0 1.5rem;
  }
}

@media (min-width: 768px) {
  .header {
    padding: 0 2.5rem;
  }
}

.header__container {
  width: 100%;
  background: white;
  border: 1px solid rgba(229, 229, 229, 0.7);
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.header__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}

@media (min-width: 768px) {
  .header__content {
    padding: 1rem 1.5rem;
  }
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.header__logo-icon {
  width: 36px;
  height: 36px;
  color: #171717;
}

@media (min-width: 768px) {
  .header__logo-icon {
    width: 3rem;
    height: 3rem;
  }
}

.header__logo-text {
  font-size: 1.125rem;
  font-weight: 400;
  color: #171717;
  letter-spacing: -0.025em;
  text-align: left;
}

@media (min-width: 768px) {
  .header__logo-text {
    font-size: 1.25rem;
  }
}

.header__nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: #525252;
}

@media (min-width: 768px) {
  .header__nav {
    display: flex;
  }
}

.header__nav-link {
  color: #525252;
  text-decoration: none;
  letter-spacing: -0.025em;
  transition: color 0.2s ease;
}

.header__nav-link:hover {
  color: #171717;
}

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

.header__cta {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  color: white;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.5);
  border-radius: 0.75rem;
  background: linear-gradient(rgb(23, 23, 23), rgb(17, 17, 17));
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  letter-spacing: -0.01em;
  transition: transform 0.2s ease;
}

@media (min-width: 768px) {
  .header__cta {
    display: inline-flex;
  }
}

.header__cta:hover {
  transform: scale(0.98);
}

.header__mobile-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: #404040;
  background: none;
  border: 1px solid #e5e5e5;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
  position: relative;
  z-index: 50;
  pointer-events: auto;
}

@media (min-width: 768px) {
  .header__mobile-menu-btn {
    display: none;
  }
}

.header__mobile-menu-btn:hover {
  background-color: #fafafa;
}

.header__mobile-menu-btn:active {
  background-color: #f0f0f0;
  transform: scale(0.95);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 4rem 0;
  overflow: hidden;
}

.hero__background {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
}

.hero__background-effects {
  position: absolute;
  inset: 0;
}

.hero__background-blur--emerald {
  position: absolute;
  top: -6rem;
  left: -6rem;
  width: 26.25rem;
  height: 26.25rem;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  filter: blur(3rem);
}

.hero__background-blur--blue {
  position: absolute;
  bottom: -6rem;
  right: -6rem;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.1);
  filter: blur(3rem);
}

.hero__background-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: radial-gradient(#fff 1px, transparent 1px);
  background-size: 10px 10px;
}

.hero__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 1.5rem 1.5rem 1.5rem 1.5rem;
  position: relative;
}

@media (min-width: 640px) {
  .hero__content {
    padding: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .hero__content {
    grid-template-columns: 1fr 1fr;
  }
}

.hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__badge {
  font-size: 0.75rem;
  color: #6ee7b7;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
  .hero__badge {
    font-size: 0.875rem;
  }
}

.hero__title {
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: white;
}

@media (min-width: 640px) {
  .hero__title {
    font-size: 3.75rem;
  }
}

@media (min-width: 768px) {
  .hero__title {
    font-size: 4.5rem;
  }
}

.hero__description {
  font-size: 0.875rem;
  color: #d4d4d8;
  letter-spacing: -0.025em;
  max-width: 60ch;
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .hero__description {
    font-size: 1rem;
  }
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .hero__actions {
    gap: 1rem;
  }
}

.hero__cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  color: #171717;
  text-decoration: none;
  letter-spacing: -0.025em;
  background: linear-gradient(to right, #34d399, #22c55e);
  border-radius: 0.75rem;
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.25);
  transition: background 0.2s ease;
}

.hero__cta-primary:hover {
  background: linear-gradient(to right, #10b981, #16a34a);
}

.hero__cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  color: white;
  text-decoration: none;
  letter-spacing: -0.025em;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  transition: background-color 0.2s ease;
}

.hero__cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero__cta-icon {
  width: 1rem;
  height: 1rem;
  stroke-width: 1.5;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.hero__stat {
  display: flex;
  flex-direction: column;
}

.hero__stat-number {
  font-size: 1.25rem;
  letter-spacing: -0.025em;
  color: white;
}

@media (min-width: 640px) {
  .hero__stat-number {
    font-size: 1.5rem;
  }
}

.hero__stat-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  color: #a3a3a3;
  letter-spacing: 0.05em;
}

.hero__stat-divider {
  height: 2.5rem;
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
}

/* Utility Classes */
.hidden {
  display: none !important;
}

/* Mobile Navigation */
#mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  display: flex !important;
}

#mobile-nav.mobile-nav-visible {
  transform: translateX(0);
}

#mobile-nav.mobile-nav-hidden {
  transform: translateX(100%);
}

.mobile-nav-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 2rem;
  text-align: center;
}

.mobile-nav-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.mobile-nav-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.mobile-nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: #000000;
  text-decoration: none;
  transition: all 0.2s ease;
  padding: 1rem 2rem;
  border-radius: 0;
  width: 100%;
  text-align: center;
}

.mobile-nav-link:hover {
  color: #000000;
  background: #ffffff;
  transform: none;
}

.mobile-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background: #059669;
  color: white;
  text-decoration: none;
  border-radius: 0.75rem;
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.mobile-nav-cta:hover {
  background: #047857;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4);
}

.mobile-nav-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  border: 1px solid #e5e5e5;
  background: rgba(255, 255, 255, 0.8);
  color: #404040;
  cursor: pointer;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.mobile-nav-close:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

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

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.animate-slide-in-left {
  animation: slideInLeft 0.6s ease-out;
}

.animate-slide-in-right {
  animation: slideInRight 0.6s ease-out;
}

.animate-scale-in {
  animation: scaleIn 0.6s ease-out;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-spin {
  animation: spin 1s linear infinite;
}

/* Animation Delays */
.animate-delay-100 {
  animation-delay: 0.1s;
}

.animate-delay-200 {
  animation-delay: 0.2s;
}

.animate-delay-300 {
  animation-delay: 0.3s;
}

.animate-delay-500 {
  animation-delay: 0.5s;
}

.animate-delay-700 {
  animation-delay: 0.7s;
}

.animate-delay-1000 {
  animation-delay: 1s;
}