/* Page styles extracted from inline styles */
/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 8rem 2rem 4rem;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -50%; right: -20%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, transparent 70%);
  border-radius: 50%;
  animation: heroFloat 20s infinite ease-in-out;
}
.hero::after {
  content: '';
  position: absolute; bottom: -30%; left: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(124,58,237,0.04) 0%, transparent 70%);
  border-radius: 50%;
  animation: heroFloat 25s infinite ease-in-out reverse;
}
@keyframes heroFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -40px); }
}
.hero-inner {
  max-width: 1280px; margin: 0 auto; width: 100%;
  position: relative; z-index: 1;
}
.hero-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}
.hero-layout > div { min-width: 0; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--accent-light); color: var(--accent);
  padding: 0.4rem 1rem; border-radius: 100px;
  font-size: 0.8rem; font-weight: 600;
  margin-bottom: 2rem;
  animation: fadeUp 0.8s ease both;
}
.hero-badge::before { content: '●'; font-size: 0.5rem; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -2px; margin-bottom: 1.5rem;
  animation: fadeUp 0.8s 0.15s ease both;
}
.hero h1 .gradient-text {
  background: var(--gradient-1);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero > .hero-inner > p {
  font-size: 1.15rem; color: var(--text-light);
  max-width: 560px; line-height: 1.9; margin-bottom: 3rem;
  animation: fadeUp 0.8s 0.3s ease both;
}
.hero-subcopy {
  max-width: 640px;
  margin-top: 1.25rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.75;
}
.hero-visual {
  background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 45%, #7c3aed 100%);
  border-radius: var(--radius-xl);
  min-height: 360px;
  padding: 1.6rem;
  position: relative;
  overflow: hidden;
  color: #fff;
  box-shadow: 0 30px 80px rgba(37,99,235,0.22);
}
.hero-visual::before,
.hero-visual::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
}
.hero-visual::before {
  width: 220px; height: 220px; top: -70px; right: -60px;
  background: rgba(255,255,255,0.18);
}
.hero-visual::after {
  width: 180px; height: 180px; bottom: -60px; left: -40px;
  background: rgba(255,255,255,0.12);
}
.hero-visual-top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}
.hero-visual-badge {
  font-size: 0.72rem;
  padding: 0.3rem 0.6rem;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 100px;
  background: rgba(255,255,255,0.12);
}
.hero-visual-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}
.hero-visual-item {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 14px;
  padding: 0.9rem;
  backdrop-filter: blur(2px);
}
.hero-visual-item h4 { font-size: 0.74rem; opacity: 0.9; margin-bottom: 0.3rem; }
.hero-visual-item p { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.4px; }
.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  animation: fadeUp 0.8s 0.45s ease both;
}
.hero-stats {
  display: flex; gap: 3rem; margin-top: 4.5rem; padding-top: 3rem;
  border-top: 1px solid var(--border);
  animation: fadeUp 0.8s 0.6s ease both;
  justify-content: center;
  text-align: center;
}
.hero-stat h3 {
  font-family: 'Sora', sans-serif;
  font-size: 2.2rem; font-weight: 700; letter-spacing: -1px;
  background: var(--gradient-1);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-stat p { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.25rem; font-weight: 500; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── HOME SERVICES ─── */
.home-services {
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}
.home-services::before {
  content: '';
  position: absolute;
  top: -140px;
  right: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.14), rgba(37,99,235,0));
}
.service-card { position: relative; overflow: hidden; }
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--gradient-1);
  transform: scaleX(0); transition: transform 0.4s;
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 48px; height: 48px;
  background: var(--accent-light); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.service-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.service-card h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1.15rem; font-weight: 600;
  margin-bottom: 0.75rem; letter-spacing: -0.5px;
}
.service-card p { color: var(--text-light); font-size: 0.9rem; }
.service-tag {
  display: inline-block; margin-top: 1rem;
  font-size: 0.75rem; color: var(--accent);
  font-weight: 600; letter-spacing: 0.5px;
}
.home-story { background: var(--bg); }
.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}
.story-panel {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.story-panel h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.story-panel p {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.85;
}
.story-list { display: grid; gap: 1rem; }
.story-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  background: var(--bg-alt);
}
.story-item h4 { font-size: 0.95rem; margin-bottom: 0.3rem; }
.story-item p { font-size: 0.82rem; color: var(--text-muted); }



/* ─── HOME PARTNERS MARQUEE ─── */
.partners-strip { background: var(--bg); overflow: hidden; padding: 4rem 0; }
.marquee-track {
  display: flex; gap: 3rem;
  animation: marquee 30s linear infinite;
  width: max-content;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  white-space: nowrap; flex-shrink: 0;
}
.marquee-item img { width: 28px; height: 28px; object-fit: contain; border-radius: 4px; }
.marquee-item span { font-weight: 600; font-size: 0.85rem; color: var(--text-light); }

/* ─── HOME IMPACT ─── */
.home-impact { background: var(--bg-alt); }
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.impact-card {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}
.impact-card h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1.7rem;
  letter-spacing: -0.5px;
  margin-bottom: 0.35rem;
}
.impact-card p {
  font-size: 0.85rem;
  color: var(--text-light);
}
.home-gallery { background: var(--bg); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card-bg);
}
.gallery-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.gallery-card p {
  padding: 0.9rem 1rem;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ─── PROCESS HOME ─── */
.home-process { background: var(--bg-dark); color: #fff; }
.home-process .section-desc { color: rgba(255,255,255,0.5); }
.process-step {
  padding: 2rem;
  border-left: 1px solid rgba(255,255,255,0.1);
}
.process-num {
  font-family: 'Sora', sans-serif;
  font-size: 3rem; font-weight: 800;
  background: linear-gradient(135deg, rgba(37,99,235,0.4), rgba(124,58,237,0.4));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1; margin-bottom: 1.5rem;
}
.process-step h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1.15rem; font-weight: 600; margin-bottom: 0.75rem;
}
.process-step p { color: rgba(255,255,255,0.5); font-size: 0.9rem; }

/* ─── HOME CTA ─── */
.home-cta { padding: 6rem 2rem; text-align: center; background: var(--bg-alt); }
.cta-box {
  max-width: 700px; margin: 0 auto;
  padding: 4rem 3rem;
  background: var(--gradient-2); border-radius: var(--radius-xl);
  color: #fff; position: relative; overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute; top: -50%; right: -30%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(37,99,235,0.15), transparent);
  border-radius: 50%;
}
.cta-box h2 {
  font-family: 'Sora', sans-serif;
  font-size: 2rem; font-weight: 700;
  letter-spacing: -1px; margin-bottom: 1rem; position: relative;
}
.cta-box p { color: rgba(255,255,255,0.6); margin-bottom: 2rem; position: relative; }
.cta-box .btn-primary { background: #fff; color: var(--text); box-shadow: none; position: relative; }
.cta-box .btn-primary:hover { box-shadow: 0 8px 30px rgba(255,255,255,0.2); }


.hero-visual-item { transition: transform .25s ease, background .25s ease; }
.hero-visual-item:hover { transform: translateY(-4px); background: rgba(255,255,255,0.2); }
.gallery-card { position: relative; }
.gallery-card::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 50%;
  background: linear-gradient(to top, rgba(0,0,0,.42), transparent);
  opacity: 0; transition: opacity .25s ease; pointer-events:none;
}
.gallery-card:hover::after { opacity: 1; }
.gallery-card p { position: relative; z-index: 1; }
.impact-card { transition: transform .25s ease, border-color .25s ease; }
.impact-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.service-icon img { filter: drop-shadow(0 4px 10px rgba(16,163,127,.25)); }

@media (max-width: 900px) {
  .hero-stats { gap: 2rem; flex-wrap: wrap; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-visual { min-height: 280px; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero { padding: 7rem 1.25rem 3rem; }
  .hero h1 { letter-spacing: -1px; }
  .cta-box { padding: 3rem 1.5rem; }
  .impact-grid { grid-template-columns: 1fr; }
}
