:root {
  --gray-950: #0a0a0a;
  --gray-900: #171717;
  --gray-800: #262626;
  --gray-700: #404040;
  --gray-600: #525252;
  --gray-500: #737373;
  --gray-400: #a3a3a3;
  --gray-300: #d4d4d4;
  --gray-200: #e5e5e5;
  --gray-100: #f5f5f5;
  --gray-50: #fafafa;
  --white: #ffffff;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-900);
  background-color: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  overflow-x: hidden;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--gray-200);
  transition: all 0.2s ease;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1536px;
  margin: 0 auto;
}

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

.logo-img {
  height: 48px;
  width: auto;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.875rem;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gray-900);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gray-900);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  padding: 0.5rem;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--gray-900);
  transition: all 0.3s ease;
  border-radius: 2px;
}

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

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

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

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 999;
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.mobile-menu.active {
  display: flex;
  opacity: 1;
}

.mobile-menu::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(0,0,0,0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0,0,0,0.03) 0%, transparent 50%);
  pointer-events: none;
}

.mobile-menu-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
  position: relative;
  z-index: 1;
}

.mobile-menu-content a {
  color: var(--gray-900);
  text-decoration: none;
  font-size: 2rem;
  font-weight: 700;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  opacity: 0;
  transform: translateY(30px) scale(0.9);
  position: relative;
  padding: 0.5rem 2rem;
}

.mobile-menu-content a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleX(0);
  width: 4px;
  height: 70%;
  background: var(--gray-900);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.mobile-menu-content a::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--gray-900);
  transition: transform 0.3s ease;
}

.mobile-menu-content a:hover::before {
  transform: translateY(-50%) scaleX(1);
}

.mobile-menu-content a:hover::after,
.mobile-menu-content a.active::after {
  transform: translateX(-50%) scaleX(1);
}

.mobile-menu.active .mobile-menu-content a {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.mobile-menu-content a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-content a:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu-content a:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu-content a:nth-child(4) { transition-delay: 0.4s; }

.mobile-menu-content a:hover {
  color: var(--gray-600);
  transform: translateY(0) scale(1.05);
  letter-spacing: 1px;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  background: linear-gradient(to bottom, var(--gray-50), var(--white));
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
  align-items: center;
}

.hero-content {
  grid-column: span 7;
}

.hero-content h1 {
  font-size: 3.75rem;
  font-weight: 800;
  line-height: 1;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
}

.hero-content .gradient-text {
  background: linear-gradient(to right, var(--gray-900), var(--gray-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--gray-900);
  color: var(--white);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.btn-primary:hover {
  background: var(--gray-800);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  background: var(--white);
  color: var(--gray-900);
  border: 1px solid var(--gray-300);
}

.btn-secondary:hover {
  background: var(--gray-50);
  border-color: var(--gray-400);
}

.hero-visual {
  grid-column: span 5;
  position: relative;
}

.hero-image {
  position: relative;
  background: linear-gradient(135deg, var(--gray-900), var(--gray-700));
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: morph 8s ease-in-out infinite;
}

.hero-image svg {
  width: 35%;
  height: 35%;
  color: var(--white);
  opacity: 0.95;
  z-index: 2;
  position: relative;
}

/* Morphing Blob Animation */
@keyframes morph {
  0%, 100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  25% {
    border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
  }
  50% {
    border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
  }
  75% {
    border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
  }
}

/* Section */
section {
  padding: 5rem 0;
}

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

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 48rem;
  margin: 0 auto;
}

/* Grid System */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

/* Cards */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 0.75rem;
  padding: 2rem;
  transition: all 0.2s ease;
  height: 100%;
}

.card:hover {
  border-color: var(--gray-300);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.card-icon {
  width: 3rem;
  height: 3rem;
  background: var(--gray-100);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--gray-600);
  line-height: 1.625;
}

/* Stats */
.stat-card {
  text-align: center;
  padding: 2rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  background: var(--gray-100);
  color: var(--gray-700);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--gray-200);
  border-radius: 0.75rem;
  transition: all 0.2s ease;
}

.contact-item:hover {
  border-color: var(--gray-300);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--gray-900);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.contact-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.contact-content p {
  font-size: 0.875rem;
  color: var(--gray-600);
}

.form-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 0.75rem;
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 0.875rem;
  background: var(--white);
  color: var(--gray-900);
  transition: all 0.2s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--gray-900);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

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

/* CTA Section */
.cta-section {
  background: var(--gray-900);
  border-radius: 1rem;
  padding: 4rem 3rem;
  text-align: center;
  color: var(--white);
}

.cta-section h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.125rem;
  color: var(--gray-400);
  margin-bottom: 2rem;
}

.cta-section .btn-primary {
  background: var(--white);
  color: var(--gray-900);
}

.cta-section .btn-primary:hover {
  background: var(--gray-100);
}

/* Footer */
footer {
  background: var(--gray-900);
  color: var(--white);
  padding: 3rem 0 1.5rem;
  margin-top: 5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-section p {
  color: var(--gray-400);
  line-height: 1.75;
  font-size: 0.875rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--gray-800);
  text-align: center;
  color: var(--gray-500);
  font-size: 0.875rem;
}

/* Utilities */
.bg-gray-50 { background: var(--gray-50); }
.bg-white { background: var(--white); }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mx-auto { margin-left: auto; margin-right: auto; }
.my-4 { margin-top: 1rem; margin-bottom: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-8 { margin-bottom: 2rem; }

.max-w-4xl { max-width: 56rem; }
.max-w-6xl { max-width: 72rem; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content {
    grid-column: span 12;
  }
  
  .hero-visual {
    grid-column: span 12;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .container {
    padding: 0 1.5rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .section-header h2 {
    font-size: 1.875rem;
  }
  
  .grid-cols-2,
  .grid-cols-3,
  .grid-cols-4 {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .cta-section {
    padding: 3rem 2rem;
  }

  .container {
    padding: 0 1rem;
  }

  .hero-grid {
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1rem;
  }
  
  .nav-container {
    padding: 1rem;
  }
  
  .logo-img {
    height: 40px;
  }
  
  .hero {
    padding: 6rem 0 3rem;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .form-card {
    padding: 1.5rem;
  }

  .mobile-menu-content a {
    font-size: 1.5rem;
  }

  .btn {
    font-size: 0.875rem;
    padding: 0.625rem 1.25rem;
  }

  .grid {
    gap: 1rem;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease forwards;
}


/* Simple Filled Login Button */
.btn-login {
  background: var(--gray-900);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 600;
  margin-left: 1rem;
}

.btn-login::after {
  display: none !important;
}

.btn-login:hover {
  background: var(--gray-800);
}

/* Mobile */
@media (max-width: 768px) {
  .btn-login {
    background: var(--gray-900);
    color: var(--white) !important;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    margin-left: 0;
  }
}