/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Colors from theme.css */
  --background: #ffffff;
  --foreground: #030213;
  --primary: #030213;
  --muted: #ececf0;
  --muted-foreground: #717182;
  --border: rgba(0, 0, 0, 0.1);
  --blue-50: #eff6ff;
  --blue-600: #2563eb;
  --blue-300: #93c5fd;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-900: #0f172a;
  
  --radius: 0.625rem;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
}

/* Utilities / Layout */
.min-h-screen {
  min-height: 100vh;
}

.bg-gradient-main {
  background: linear-gradient(to bottom right, var(--slate-50), #ffffff, var(--blue-50));
}

.relative {
  position: relative;
}

.overflow-hidden {
  overflow: hidden;
}

.absolute-inset-0 {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.bg-gradient-hero {
  background: linear-gradient(to bottom, rgba(37, 99, 235, 0.05), transparent);
}

.container {
  max-width: 80rem; /* 7xl */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Spacing */
.pt-responsive { padding-top: 3rem; }
.pb-responsive { padding-bottom: 3rem; }
.py-responsive { padding-top: 2rem; padding-bottom: 2rem; }
.mb-responsive { margin-bottom: 2rem; }

@media (min-width: 640px) {
  .pt-responsive { padding-top: 4rem; }
  .pb-responsive { padding-bottom: 4rem; }
  .py-responsive { padding-top: 3rem; padding-bottom: 3rem; }
  .mb-responsive { margin-bottom: 3rem; }
}

@media (min-width: 768px) {
  .pt-responsive { padding-top: 5rem; }
  .pb-responsive { padding-bottom: 5rem; }
  .py-responsive { padding-top: 4rem; padding-bottom: 4rem; }
}

@media (min-width: 1024px) {
  .pt-responsive { padding-top: 6rem; }
  .pb-responsive { padding-bottom: 6rem; }
  .py-responsive { padding-top: 5rem; padding-bottom: 5rem; }
}

.text-center {
  text-align: center;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Animations */
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slide-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fade-in 0.8s ease-out;
}

.animate-slide-up-delay {
  animation: slide-up 0.8s ease-out 0.2s both;
}

/* Typography */
.main-logo {
  height: 8rem;
  width: auto;
}
@media (min-width: 640px) { .main-logo { height: 10rem; } }
@media (min-width: 768px) { .main-logo { height: 12rem; } }
@media (min-width: 1024px) { .main-logo { height: 14rem; } }
@media (min-width: 1280px) { .main-logo { height: 16rem; } }

.hero-text {
  font-size: 1rem;
  color: var(--slate-600);
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  line-height: 1.625;
}
@media (min-width: 640px) { .hero-text { font-size: 1.125rem; } }
@media (min-width: 768px) { .hero-text { font-size: 1.25rem; } }
@media (min-width: 1024px) { .hero-text { font-size: 1.5rem; } }

.section-title {
  font-size: 1.25rem;
  color: var(--slate-900);
  margin-bottom: 0.75rem;
}
@media (min-width: 640px) { .section-title { font-size: 1.5rem; margin-bottom: 1rem; } }
@media (min-width: 768px) { .section-title { font-size: 1.875rem; } }
@media (min-width: 1024px) { .section-title { font-size: 2.25rem; } }

.section-subtitle {
  font-size: 0.875rem;
  color: var(--slate-600);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) { .section-subtitle { font-size: 1rem; margin-bottom: 3rem; } }
@media (min-width: 768px) { .section-subtitle { font-size: 1.125rem; margin-bottom: 4rem; } }

/* Grid */
.grid-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) { .grid-cards { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }
@media (min-width: 768px) { .grid-cards { gap: 1.5rem; } }
@media (min-width: 1024px) { .grid-cards { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

/* Cards */
.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card {
  background-color: white;
  border-radius: 0.75rem; /* xl */
  padding: 1.25rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s;
  border: 1px solid var(--slate-100);
  cursor: pointer;
}

@media (min-width: 640px) { .card { border-radius: 1rem; padding: 1.5rem; } }
@media (min-width: 768px) { .card { padding: 1.75rem; } }

.card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border-color: var(--blue-300);
  transform: translateY(-0.25rem);
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 8rem;
  margin-bottom: 1rem;
  background: linear-gradient(to bottom right, rgba(248, 250, 252, 0.5), transparent);
  border-radius: 0.5rem;
  padding: 0.75rem;
}
@media (min-width: 640px) { .logo-container { height: 9rem; margin-bottom: 1.25rem; padding: 1rem; } }
@media (min-width: 768px) { .logo-container { height: 10rem; } }
@media (min-width: 1024px) { .logo-container { height: 11rem; } }

.card-logo {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s;
}

.card:hover .card-logo {
  transform: scale(1.05);
}

.card-content {
  text-align: center;
}

.card-tagline {
  font-size: 0.75rem;
  color: var(--blue-600);
  margin-bottom: 0.5rem;
}
@media (min-width: 640px) { .card-tagline { font-size: 0.875rem; } }
@media (min-width: 768px) { .card-tagline { font-size: 1rem; } }

.card-desc {
  font-size: 0.75rem;
  color: var(--slate-600);
  line-height: 1.625;
}
@media (min-width: 640px) { .card-desc { font-size: 0.875rem; } }

.learn-more {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--slate-100);
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  justify-content: center;
}
@media (min-width: 640px) { .learn-more { margin-top: 1.25rem; padding-top: 1rem; } }

.card:hover .learn-more {
  opacity: 1;
}

.learn-more-text {
  color: var(--blue-600);
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
@media (min-width: 640px) { .learn-more-text { font-size: 0.875rem; } }

.arrow-icon {
  width: 0.75rem;
  height: 0.75rem;
  transition: transform 0.3s;
}
@media (min-width: 640px) { .arrow-icon { width: 1rem; height: 1rem; } }

.card:hover .arrow-icon {
  transform: translateX(0.25rem);
}

/* Footer */
.footer {
  border-top: 1px solid var(--slate-200);
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
  margin-top: 3rem;
}
@media (min-width: 640px) { .footer { margin-top: 4rem; } }
@media (min-width: 768px) { .footer { margin-top: 5rem; } }

.footer-content {
  padding-top: 2rem;
  padding-bottom: 2rem;
  text-align: center;
}
@media (min-width: 640px) { .footer-content { padding-top: 2.5rem; padding-bottom: 2.5rem; } }
@media (min-width: 768px) { .footer-content { padding-top: 3rem; padding-bottom: 3rem; } }

.footer-text {
  font-size: 0.875rem;
  color: var(--slate-600);
  margin-bottom: 1rem;
}
@media (min-width: 640px) { .footer-text { font-size: 1rem; margin-bottom: 1.25rem; } }
@media (min-width: 768px) { .footer-text { font-size: 1.125rem; } }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--slate-500);
  margin-bottom: 1.5rem;
}
@media (min-width: 640px) { .footer-links { gap: 1.5rem; font-size: 0.875rem; margin-bottom: 2rem; } }
@media (min-width: 768px) { .footer-links { gap: 2rem; } }

.footer-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-link:hover {
  color: var(--blue-600);
}

.copyright {
  font-size: 0.75rem;
  color: var(--slate-400);
}
@media (min-width: 640px) { .copyright { font-size: 0.875rem; } }
