/* ========================================
   CSS Variables (from Tailwind theme)
   ======================================== */
:root {
  --background: oklch(0.99 0.001 0);
  --foreground: oklch(0.2 0.01 240);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.2 0.01 240);
  --primary: oklch(0.38 0.15 188);
  --primary-foreground: oklch(1 0 0);
  --secondary: oklch(0.45 0.12 200);
  --secondary-foreground: oklch(1 0 0);
  --muted: oklch(0.92 0.002 240);
  --muted-foreground: oklch(0.55 0.02 240);
  --accent: oklch(0.38 0.15 188);
  --accent-foreground: oklch(1 0 0);
  --destructive: oklch(0.577 0.245 27.325);
  --border: oklch(0.9 0.005 240);
  --input: oklch(0.96 0.003 240);
  --ring: oklch(0.38 0.15 188);
  --radius: 0.625rem;

  /* Opacity variants */
  --primary-5: color-mix(in oklch, var(--primary) 5%, transparent);
  --primary-10: color-mix(in oklch, var(--primary) 10%, transparent);
  --primary-20: color-mix(in oklch, var(--primary) 20%, transparent);
  --primary-30: color-mix(in oklch, var(--primary) 30%, transparent);
  --primary-50: color-mix(in oklch, var(--primary) 50%, transparent);
  --primary-90: color-mix(in oklch, var(--primary) 90%, transparent);
  --muted-30: color-mix(in oklch, var(--muted) 30%, transparent);
  --muted-40: color-mix(in oklch, var(--muted) 40%, transparent);
  --background-95: color-mix(in oklch, var(--background) 95%, transparent);
  --background-80: color-mix(in oklch, var(--background) 80%, transparent);
  --background-20: color-mix(in oklch, var(--background) 20%, transparent);
}

/* ========================================
   Reset & Base
   ======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  min-height: 100vh;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

ul {
  list-style: none;
}

/* ========================================
   Animations (matching tw-animate-css)
   ======================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInFromBottom {
  from {
    transform: translateY(1rem);
  }
  to {
    transform: translateY(0);
  }
}

.animate-in {
  animation-fill-mode: both;
  animation-duration: 0.3s;
}

.animate-in.fade-in {
  animation-name: fadeIn;
}

.animate-in.slide-in-from-bottom {
  animation-name: slideInFromBottom;
}

.animate-in.fade-in.slide-in-from-bottom {
  animation-name: fadeIn, slideInFromBottom;
}

.duration-1000 {
  animation-duration: 1000ms;
}

.delay-200 {
  animation-delay: 200ms;
}

.opacity-0 {
  opacity: 0;
}

/* ========================================
   Header
   ======================================== */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  background-color: var(--background-95);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-bottom: 1px solid var(--border);
}

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

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-logo img {
  width: 10.5rem;
  height: 2rem;
}

.header-desktop-menu {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.header-desktop-menu a {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  transition: color 0.15s;
}

.header-desktop-menu a:hover {
  color: var(--primary);
}

.header-desktop-cta {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.mobile-menu-toggle {
  display: block;
  padding: 0.5rem;
  background: none;
  border: none;
  color: var(--foreground);
}

.mobile-menu-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}

.mobile-menu {
  display: none;
  background-color: var(--background);
  border-bottom: 1px solid var(--border);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu-inner {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-menu-inner a {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.mobile-menu-inner a:hover {
  color: var(--primary);
}

.mobile-menu-inner .btn {
  width: 100%;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.15s;
  border: none;
  outline: none;
  cursor: pointer;
  height: 2.25rem;
  padding: 0.5rem 1rem;
}

.btn svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  pointer-events: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background-color: var(--primary-90);
}

.btn-rounded {
  border-radius: var(--radius);
}

.btn-lg {
  height: 3rem;
  padding: 0.5rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius);
}

.btn-lg img {
  width: 1.25rem;
  height: 1.25rem;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  padding-top: 8rem;
  padding-bottom: 6rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.hero-container {
  max-width: 72rem;
  margin: 0 auto;
  text-align: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--primary-10);
  border-radius: 9999px;
  border: 1px solid var(--primary-20);
}

.hero-badge span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
}

.hero h1 {
  font-size: 3rem;
  line-height: 1;
  font-weight: 700;
  text-wrap: balance;
  color: var(--foreground);
  max-width: 56rem;
  margin: 0 auto;
  line-height: 1.25;
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  padding-top: 1.5rem;
}

.hero-cta a {
  display: inline-flex;
  justify-content: center;
}

/* ========================================
   Features Section
   ======================================== */
.features {
  padding: 6rem 1rem;
  background-color: var(--muted-30);
}

.features-container {
  max-width: 72rem;
  margin: 0 auto;
}

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

.section-header h2 {
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.feature-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background-color: var(--background);
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: var(--primary-50);
  background-color: var(--primary-5);
}

.feature-card-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  background-color: var(--primary-10);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s;
}

.feature-card:hover .feature-icon {
  background-color: var(--primary-20);
}

.feature-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.feature-card p {
  font-size: 0.875rem;
  line-height: 1.375;
  color: var(--muted-foreground);
}

/* ========================================
   Capabilities Section
   ======================================== */
.capabilities {
  padding: 6rem 1rem;
}

.capabilities-container {
  max-width: 72rem;
  margin: 0 auto;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.capability-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.capability-card:hover {
  border-color: var(--primary-50);
  background-color: var(--primary-5);
}

.capability-check {
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.capability-check-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  background-color: var(--primary-20);
  transition: background-color 0.15s;
}

.capability-card:hover .capability-check-icon {
  background-color: var(--primary-30);
}

.capability-check-icon svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
}

.capability-card p {
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 500;
  color: var(--foreground);
}

/* ========================================
   CTA Section
   ======================================== */
.cta {
  padding: 6rem 1rem;
}

.cta-container {
  max-width: 56rem;
  margin: 0 auto;
}

.cta-box {
  padding: 3rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background-color: var(--muted-40);
}

.cta-box .section-header {
  margin-bottom: 2rem;
}

.cta-contacts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 42rem;
  margin: 0 auto;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background-color: var(--background);
  text-align: center;
  transition: all 0.3s;
}

.contact-card:hover {
  border-color: var(--primary-50);
  background-color: var(--primary-5);
}

.contact-card svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
  transition: transform 0.15s;
}

.contact-card:hover svg {
  transform: scale(1.1);
}

.contact-card .contact-label {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--muted-foreground);
}

.contact-card .contact-value {
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background-color: var(--foreground);
  color: var(--background);
  padding: 3rem 1rem;
}

.footer-container {
  max-width: 72rem;
  margin: 0 auto;
}

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

.footer-brand img {
  width: 10.5rem;
  height: 2rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--background-80);
}

.footer-links h4 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--background-80);
  transition: color 0.15s;
}

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

.footer-bottom {
  border-top: 1px solid var(--background-20);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--background-80);
}

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

.footer-bottom-links a {
  color: var(--background-80);
  transition: color 0.15s;
}

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

/* ========================================
   Responsive — sm (640px+)
   ======================================== */
@media (min-width: 640px) {
  .header-nav {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .hero {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .hero-cta {
    flex-direction: row;
  }

  .features {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .capabilities {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .cta {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .footer-bottom {
    flex-direction: row;
  }
}

/* ========================================
   Responsive — md (768px+)
   ======================================== */
@media (min-width: 768px) {
  .header-desktop-menu {
    display: flex;
  }

  .header-desktop-cta {
    display: flex;
  }

  .mobile-menu-toggle {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }

  .hero h1 {
    font-size: 3.75rem;
    line-height: 1;
    line-height: 1.25;
  }

  .hero-description {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }

  .section-header h2 {
    font-size: 3rem;
    line-height: 1;
  }

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

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

  .cta-box {
    padding: 4rem;
  }

  .cta-contacts {
    grid-template-columns: repeat(3, 1fr);
  }

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

/* ========================================
   Responsive — lg (1024px+)
   ======================================== */
@media (min-width: 1024px) {
  .header-nav {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .hero {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .features {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .features-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .capabilities {
    padding-left: 2rem;
    padding-right: 2rem;
  }

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

  .cta {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .footer {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
