/* ══════════════════════════════════════════════
   HiAiBi — Static Website Styles
   ══════════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #1f2937;
  background: linear-gradient(to bottom right, #faf5ff, #f0f9ff, #fdf2f8);
  overflow-x: hidden;
}

.container {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Gradient Text Utility ── */
.gradient-text {
  background: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.highlight-text {
  font-weight: 600;
  background: linear-gradient(90deg, #7c3aed, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Scroll Animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: var(--delay, 0s);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: var(--delay, 0s);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #8b5cf6, #06b6d4);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #7c3aed, #0891b2);
}

/* ══════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.8), rgba(255,255,255,0.6), rgba(255,255,255,0.9));
}

/* Floating Orbs */
.floating-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  z-index: 1;
}
.orb-1 {
  top: 5rem;
  left: 2.5rem;
  width: 5rem;
  height: 5rem;
  background: linear-gradient(to bottom right, rgba(168,85,247,0.3), rgba(34,211,238,0.3));
  animation: float1 6s ease-in-out infinite;
}
.orb-2 {
  bottom: 5rem;
  right: 2.5rem;
  width: 8rem;
  height: 8rem;
  background: linear-gradient(to bottom right, rgba(236,72,153,0.3), rgba(168,85,247,0.3));
  animation: float2 8s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}
@keyframes float2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(20px) rotate(-5deg); }
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1152px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
  text-align: center;
}

.badge {
  display: inline-block;
  margin-bottom: 1.5rem;
}
.badge-text {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  background: linear-gradient(90deg, rgba(168,85,247,0.15), rgba(6,182,212,0.15), rgba(236,72,153,0.15));
  border: 1px solid rgba(168,85,247,0.5);
  backdrop-filter: blur(8px);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  background-image: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}
.badge-text::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: linear-gradient(90deg, rgba(168,85,247,0.15), rgba(6,182,212,0.15), rgba(236,72,153,0.15));
  border: 1px solid rgba(168,85,247,0.5);
  z-index: -1;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #111827;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: #374151;
  margin-bottom: 1rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero-desc {
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 2.5rem;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
  background: linear-gradient(90deg, #7c3aed, #06b6d4, #ec4899);
  border: none;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(139,92,246,0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}
.cta-button:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 20px 40px rgba(139,92,246,0.4);
}
.cta-button:active {
  transform: scale(0.97);
}

/* ══════════════════════════════════════════════
   ABOUT
   ══════════════════════════════════════════════ */
.about {
  padding: 6rem 1.5rem;
}

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

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #111827;
}

.section-subtitle {
  font-size: 1.25rem;
  color: #374151;
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.7;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.pillar-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid #f3f4f6;
  transition: all 0.3s ease;
}
.pillar-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.1);
}

.pillar-icon {
  display: inline-flex;
  padding: 1rem;
  border-radius: 0.75rem;
  color: white;
  margin-bottom: 1.5rem;
}
.gradient-pink { background: linear-gradient(to bottom right, #ec4899, #8b5cf6); }
.gradient-purple { background: linear-gradient(to bottom right, #8b5cf6, #3b82f6); }
.gradient-blue { background: linear-gradient(to bottom right, #3b82f6, #06b6d4); }

.pillar-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}
.pillar-card p {
  color: #6b7280;
  line-height: 1.7;
}

.mission-statement {
  background: linear-gradient(90deg, rgba(168,85,247,0.1), rgba(6,182,212,0.1), rgba(236,72,153,0.1));
  border-radius: 1.5rem;
  padding: 3rem;
  text-align: center;
  border: 1px solid rgba(168,85,247,0.2);
  backdrop-filter: blur(8px);
}
.mission-statement p {
  font-size: clamp(1.25rem, 2.5vw, 1.875rem);
  font-weight: 600;
  color: #1f2937;
  line-height: 1.6;
}

/* ══════════════════════════════════════════════
   SERVICES
   ══════════════════════════════════════════════ */
.services {
  padding: 6rem 1.5rem;
  background: linear-gradient(to bottom right, #f9fafb, #eff6ff);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.service-card {
  background: white;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  border: 1px solid #f3f4f6;
  transition: all 0.3s ease;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.service-image {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(to bottom right, #f3f4f6, #e5e7eb);
}
.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-image img {
  transform: scale(1.1);
}
.service-image-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  transition: opacity 0.3s ease;
}
.service-card:hover .service-image-overlay {
  opacity: 0.3;
}

.overlay-purple-cyan { background: linear-gradient(to bottom right, #8b5cf6, #06b6d4); }
.overlay-blue-purple { background: linear-gradient(to bottom right, #3b82f6, #8b5cf6); }
.overlay-cyan-pink { background: linear-gradient(to bottom right, #06b6d4, #ec4899); }
.overlay-pink-purple { background: linear-gradient(to bottom right, #ec4899, #8b5cf6); }
.overlay-purple-blue { background: linear-gradient(to bottom right, #8b5cf6, #3b82f6); }

.service-content {
  padding: 2rem;
}
.service-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}
.service-card:hover .service-content h3 {
  background: linear-gradient(135deg, #8b5cf6, #06b6d4, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.service-content p {
  color: #6b7280;
  line-height: 1.7;
}

.decorative-bar {
  margin-top: 1.5rem;
  height: 4px;
  width: 5rem;
  border-radius: 9999px;
  transition: width 0.3s ease;
}
.service-card:hover .decorative-bar {
  width: 100%;
}
.bar-purple-cyan { background: linear-gradient(90deg, #8b5cf6, #06b6d4); }
.bar-blue-purple { background: linear-gradient(90deg, #3b82f6, #8b5cf6); }
.bar-cyan-pink { background: linear-gradient(90deg, #06b6d4, #ec4899); }
.bar-pink-purple { background: linear-gradient(90deg, #ec4899, #8b5cf6); }

/* ══════════════════════════════════════════════
   FEATURES
   ══════════════════════════════════════════════ */
.features {
  padding: 6rem 1.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid #f3f4f6;
  text-align: center;
  transition: all 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.feature-icon {
  position: relative;
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.5rem;
  border-radius: 0.75rem;
  overflow: hidden;
  background: linear-gradient(to bottom right, #f3f4f6, #e5e7eb);
}
.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.feature-card:hover .feature-icon img {
  transform: scale(1.1);
}
.feature-icon-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  transition: opacity 0.3s ease;
}
.feature-card:hover .feature-icon-overlay {
  opacity: 0.2;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.75rem;
  transition: all 0.3s ease;
}
.feature-card:hover h3 {
  background: linear-gradient(135deg, #8b5cf6, #06b6d4, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.feature-card p {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.7;
}

/* CTA Section */
.cta-section {
  margin-top: 5rem;
  text-align: center;
  background: linear-gradient(90deg, #7c3aed, #06b6d4, #ec4899);
  border-radius: 1.5rem;
  padding: 3rem;
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}
.cta-section h3 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 800;
  color: white;
  margin-bottom: 1.5rem;
}
.cta-section p {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-button-white {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #7c3aed;
  background: white;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}
.cta-button-white:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* ══════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════ */
.footer {
  background: linear-gradient(to bottom right, #111827, #1f2937);
  color: white;
  padding: 3rem 1.5rem;
  text-align: center;
}

.footer-brand {
  font-size: 1.875rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #a78bfa, #22d3ee, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-tagline {
  color: #9ca3af;
  margin-bottom: 1.5rem;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.footer-contact {
  margin-bottom: 2rem;
}
.footer-contact a {
  color: #22d3ee;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}
.footer-contact a:hover {
  color: #67e8f9;
}

.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #374151, transparent);
  margin-bottom: 2rem;
}

.footer-copyright {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #9ca3af;
  font-size: 0.875rem;
}
.heart-icon {
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .cta-section {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .hero-content {
    padding: 3rem 1rem;
  }
  .mission-statement {
    padding: 2rem 1.5rem;
  }
  .about,
  .services,
  .features {
    padding: 4rem 1rem;
  }
}
