/* ============================================
   RESET & BASE
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors (HSL format) */
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(222, 47%, 11%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(222, 47%, 11%);
  --primary: hsl(221, 83%, 53%);
  --primary-foreground: hsl(0, 0%, 100%);
  --primary-dark: hsl(221, 83%, 43%);
  --primary-glow: hsl(221, 83%, 70%);
  --secondary: hsl(215, 28%, 17%);
  --secondary-foreground: hsl(0, 0%, 100%);
  --muted: hsl(210, 40%, 96%);
  --muted-foreground: hsl(215, 16%, 47%);
  --accent: hsl(221, 83%, 53%);
  --border: hsl(214, 32%, 91%);

  /* Design tokens */
  --radius: 0.75rem;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-soft: 0 4px 6px -1px rgb(0 0 0 / 0.05),
    0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-medium: 0 10px 15px -3px rgb(0 0 0 / 0.07),
    0 4px 6px -4px rgb(0 0 0 / 0.05);
  --shadow-large: 0 20px 25px -5px rgb(0 0 0 / 0.08),
    0 8px 10px -6px rgb(0 0 0 / 0.05);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   UTILITIES
   ============================================ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--primary-glow));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-in-out;
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  white-space: nowrap;
}

.btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  box-shadow: var(--shadow-medium);
  transform: translateY(-1px);
}

.btn-primary .btn-icon {
  transition: transform 0.3s ease;
}

.btn-primary:hover .btn-icon {
  transform: translateX(4px);
}

.btn-outline {
  background-color: transparent;
  color: var(--foreground);
  border: 2px solid var(--border);
}

.btn-outline:hover {
  background-color: var(--muted);
}

.btn-cta {
  background-color: white;
  color: var(--primary);
  box-shadow: var(--shadow-large);
}

.btn-cta:hover {
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  transform: translateY(-2px);
}

.btn-icon,
.btn-icon-left {
  width: 1.25rem;
  height: 1.25rem;
  stroke-width: 2;
}

.btn-cta .btn-icon-left {
  transition: transform 0.3s ease;
}

.btn-cta:hover .btn-icon-left {
  transform: scale(1.1);
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

@media (min-width: 768px) {
  .header-content {
    height: 5rem;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--primary-glow));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (min-width: 768px) {
  .logo-text {
    font-size: 1.5rem;
  }
}

.nav {
  display: none;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
}

.nav-link {
  background: none;
  border: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  opacity: 0.8;
  cursor: pointer;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.nav-link:hover {
  color: var(--primary);
  opacity: 1;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  padding-top: 6rem;
  padding-bottom: 4rem;
  background: linear-gradient(180deg, var(--background), hsl(210, 40%, 98%));
}

@media (min-width: 768px) {
  .hero {
    padding-top: 8rem;
    padding-bottom: 6rem;
  }
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  line-height: 1.75;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.25rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.hero-image-wrapper {
  position: relative;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    hsla(221, 83%, 53%, 0.2),
    hsla(221, 83%, 70%, 0.2)
  );
  border-radius: 1rem;
  filter: blur(48px);
}

.hero-image {
  position: relative;
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: var(--shadow-large);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 4rem 0;
  background-color: var(--background);
}

@media (min-width: 768px) {
  .section {
    padding: 6rem 0;
  }
}

.section-muted {
  background-color: hsl(210, 40%, 98%);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .section-header {
    margin-bottom: 4rem;
  }
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 48rem;
  margin: 0 auto;
}

/* ============================================
   INSIGHTS CARDS
   ============================================ */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .insights-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .insights-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.card {
  background-color: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.card-hover:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-4px);
  border-color: hsla(221, 83%, 53%, 0.5);
}

.card-content {
  padding: 1.5rem;
  text-align: center;
}

.icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background-color: hsla(221, 83%, 53%, 0.1);
  margin-bottom: 1rem;
  transition: background-color 0.3s ease;
}

@media (min-width: 768px) {
  .icon-wrapper {
    width: 3.5rem;
    height: 3.5rem;
  }
}

.card-hover:hover .icon-wrapper {
  background-color: hsla(221, 83%, 53%, 0.2);
}

.icon-wrapper svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

@media (min-width: 768px) {
  .icon-wrapper svg {
    width: 1.75rem;
    height: 1.75rem;
  }
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .card-title {
    font-size: 1.125rem;
  }
}

.card-description {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .card-description {
    font-size: 0.875rem;
  }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-card {
  max-width: 56rem;
  margin: 0 auto;
  background-color: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-large);
}

@media (min-width: 768px) {
  .services-card {
    padding: 3rem;
  }
}

.services-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  transition: var(--transition-smooth);
}

.service-item:hover {
  transform: translateX(4px);
}

.service-check {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0.25rem;
  border-radius: 50%;
  background-color: hsla(221, 83%, 53%, 0.1);
  color: var(--primary);
  transition: background-color 0.3s ease;
}

.service-item:hover .service-check {
  background-color: hsla(221, 83%, 53%, 0.2);
}

.service-item span {
  font-size: 1rem;
  font-weight: 500;
}

@media (min-width: 768px) {
  .service-item span {
    font-size: 1.125rem;
  }
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
  padding: 4rem 0;
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--primary-dark),
    var(--secondary)
  );
  color: var(--primary-foreground);
}

@media (min-width: 768px) {
  .cta {
    padding: 6rem 0;
  }
}

.cta-content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.cta-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .cta-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .cta-title {
    font-size: 3rem;
  }
}

.cta-description {
  font-size: 1.125rem;
  line-height: 1.75;
  margin-bottom: 2rem;
  opacity: 0.9;
}

@media (min-width: 768px) {
  .cta-description {
    font-size: 1.25rem;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-logo-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.footer-logo-text {
  font-size: 1.125rem;
  font-weight: 700;
}

.footer-description {
  font-size: 0.875rem;
  opacity: 0.8;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--secondary-foreground);
  text-decoration: none;
  opacity: 0.8;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary);
  opacity: 1;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  opacity: 0.8;
}

.footer-contact-item svg {
  width: 1rem;
  height: 1rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.6;
}
