/* =============================================
   HOME PAGE — Specific Styles
   ============================================= */

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--white);
  padding-top: var(--nav-height);
}

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

.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.hero-bg-orb-1 {
  width: 500px;
  height: 500px;
  background: rgba(79, 70, 229, 0.12);
  top: -100px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.hero-bg-orb-2 {
  width: 350px;
  height: 350px;
  background: rgba(124, 58, 237, 0.1);
  bottom: 0;
  left: -50px;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--gradient-light);
  border: 1px solid rgba(79,70,229,0.2);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 28px;
  animation: fadeSlideIn 0.8s ease forwards;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--gradient);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 24px;
  color: var(--gray-900);
  animation: fadeSlideIn 0.8s ease 0.1s both;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--gray-500);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 40px;
  animation: fadeSlideIn 0.8s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeSlideIn 0.8s ease 0.3s both;
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeSlideIn 0.8s ease 0.2s both;
}

.hero-card-mockup {
  width: 460px;
  max-width: 100%;
  background: white;
  border-radius: 20px;
  box-shadow: 0 40px 100px rgba(79,70,229,0.2);
  overflow: hidden;
}

.hero-mockup-header {
  background: var(--gradient);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-mockup-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
}

.hero-mockup-body {
  padding: 24px;
}

.hero-metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.hero-metric {
  background: var(--off-white);
  border-radius: 12px;
  padding: 16px;
}

.hero-metric-value {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-metric-label {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 2px;
}

.hero-chart-bar {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
  padding: 8px;
  background: var(--off-white);
  border-radius: 12px;
}

.hero-chart-bar span {
  flex: 1;
  background: var(--gradient);
  border-radius: 4px 4px 0 0;
  opacity: 0.7;
  animation: barGrow 1.5s ease forwards;
  transform-origin: bottom;
}

.hero-chart-bar span:nth-child(1) { height: 40%; animation-delay: 0.5s; }
.hero-chart-bar span:nth-child(2) { height: 65%; animation-delay: 0.6s; }
.hero-chart-bar span:nth-child(3) { height: 50%; animation-delay: 0.7s; }
.hero-chart-bar span:nth-child(4) { height: 80%; animation-delay: 0.8s; }
.hero-chart-bar span:nth-child(5) { height: 60%; animation-delay: 0.9s; }
.hero-chart-bar span:nth-child(6) { height: 90%; animation-delay: 1.0s; opacity: 1; }
.hero-chart-bar span:nth-child(7) { height: 75%; animation-delay: 1.1s; }

@keyframes barGrow {
  from { transform: scaleY(0); opacity: 0; }
  to { transform: scaleY(1); opacity: 0.7; }
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* ---- Stats Bar ---- */
.stats-bar {
  background: var(--off-white);
  padding: 48px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--gray-500);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  background: var(--gray-200);
  display: block;
}

/* ---- Services Overview ---- */
.services-grid-overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-overview-card {
  display: block;
}

.service-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 14px;
  transition: var(--transition);
}

.card:hover .service-link-arrow {
  gap: 10px;
}

/* ---- Why Choose Us ---- */
.why-section {
  background: var(--off-white);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.why-features {
  display: grid;
  gap: 20px;
}

.why-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.why-feature:hover {
  border-color: rgba(79,70,229,0.3);
  box-shadow: var(--shadow-card);
}

.why-feature-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: var(--gradient-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.why-feature-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: var(--gray-900);
}

.why-feature-desc {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.why-visual {
  position: relative;
}

.why-big-card {
  background: var(--gradient);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  color: white;
  position: relative;
  overflow: hidden;
}

.why-big-card::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}

.why-big-card-title {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 12px;
  color: white;
}

.why-big-card-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  line-height: 1.7;
}

.why-big-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.why-metric {
  background: rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 16px;
  backdrop-filter: blur(10px);
}

.why-metric-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: white;
  margin-bottom: 4px;
}

.why-metric-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
}

/* ---- Offices ---- */
.offices-section {}

.offices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.office-card {
  background: white;
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.office-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-light);
  opacity: 0;
  transition: var(--transition);
}

.office-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(79,70,229,0.2);
}

.office-card:hover::before { opacity: 1; }

.office-flag {
  font-size: 3rem;
  margin-bottom: 16px;
  position: relative;
}

.office-country {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 4px;
  position: relative;
}

.office-city {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 12px;
  position: relative;
}

.office-address {
  font-size: 0.82rem;
  color: var(--gray-500);
  line-height: 1.6;
  position: relative;
}

/* ---- Testimonials ---- */
.testimonials-section {
  background: var(--off-white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.testimonial-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.testimonial-stars {
  color: #F59E0B;
  font-size: 0.85rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gray-900);
}

.testimonial-role {
  font-size: 0.78rem;
  color: var(--gray-500);
}

.client-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.client-logo-pill {
  padding: 12px 24px;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-500);
  transition: var(--transition);
}

.client-logo-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow-card);
}

/* ---- Calendly ---- */
.calendly-section-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: center;
}

.calendly-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.calendly-text p {
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 24px;
}

.calendly-perks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calendly-perk {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--gray-600);
}

.calendly-perk-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gradient-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--primary);
}

/* ==============================
   RESPONSIVE HOME
   ============================== */
@media (max-width: 1024px) {
  .hero-layout { grid-template-columns: 1fr; gap: 40px; }
  .hero-card-mockup { width: 100%; max-width: 400px; margin: 0 auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid-overview { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .calendly-section-inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.4rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .offices-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .services-grid-overview { grid-template-columns: 1fr; }
}
