/* =============================================
   HOME PAGE STYLES
   ============================================= */

/* ── HERO ────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,166,35,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,166,35,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(245,166,35,0.12) 0%, transparent 70%);
  top: -100px; right: -100px;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(100,150,255,0.06) 0%, transparent 70%);
  bottom: 0; left: -100px;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 24px;
}
.shimmer-text {
  background: linear-gradient(90deg, var(--amber), var(--amber-light), var(--amber), var(--white), var(--amber));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
}
.hero-sub {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 460px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  width: fit-content;
}
.hero-stats .stat { text-align: center; padding: 0 24px; }
.hero-stats .stat:first-child { padding-left: 0; }
.hero-stats .stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--amber);
}
.hero-stats .stat span {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Hero Visual / Code Card */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-card);
  animation: float 5s ease-in-out infinite;
}
.hcard-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 20px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
}
.hcard-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  margin-right: 2px;
}
.hcard-dot.red    { background: #ff5f57; }
.hcard-dot.yellow { background: #febc2e; }
.hcard-dot.green  { background: #28c840; }
.hcard-header span { margin-left: 8px; }
.hcard-body {
  padding: 28px 24px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  line-height: 2;
}
.hcode-line { white-space: nowrap; }
.c-keyword { color: #c792ea; }
.c-var     { color: #82aaff; }
.c-op      { color: var(--muted); }
.c-string  { color: #c3e88d; }
.c-fn      { color: var(--off-white); }
.c-class   { color: var(--amber); }
.c-method  { color: #80cbc4; }
.c-comment { color: var(--muted-2); font-style: italic; }
.hcard-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
  background: rgba(255,255,255,0.02);
}
.badge-dot {
  width: 8px; height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 8px #22c55e; }
  50% { box-shadow: 0 0 16px #22c55e; }
}

/* floating badges */
.floating-badge {
  position: absolute;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
  white-space: nowrap;
}
.floating-badge span { font-size: 20px; }
.floating-badge strong { display: block; font-size: 13px; font-weight: 600; color: var(--white); }
.floating-badge small { font-size: 11px; color: var(--muted); }
.badge-tl { top: -20px; left: -60px; animation: float 4s ease-in-out infinite 0.5s; }
.badge-br { bottom: -20px; right: -40px; animation: float 4s ease-in-out infinite 1s; }

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
}
.scroll-indicator {
  width: 1px;
  height: 60px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}
.scroll-line {
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to bottom, transparent, var(--amber));
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0%   { top: -100%; }
  100% { top: 200%; }
}

/* ── COMMITMENT ──────────────────────────── */
.commitment { background: var(--bg-2); }
.commit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.commit-text h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
}
.commit-text h2 em {
  font-style: normal;
  color: var(--amber);
}
.commit-text > p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 36px;
}
.commit-points { display: flex; flex-direction: column; gap: 20px; }
.point {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.point-icon {
  font-size: 22px;
  width: 44px; height: 44px;
  background: var(--amber-glow);
  border: 1px solid rgba(245,166,35,0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.point strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}
.point p { font-size: 14px; color: var(--muted); }

/* Commit visual */
.commit-visual { position: relative; }
.main-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 0;
}
.visual-img-placeholder svg { width: 100%; }

/* ── SERVICES GRID ───────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  cursor: pointer;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}
.card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 0.02em;
  transition: gap var(--transition);
}

/* ── STATS BAND ──────────────────────────── */
.stats-band {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}
.band-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--bg-2) 0%, rgba(245,166,35,0.04) 50%, var(--bg-2) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.band-header {
  text-align: center;
  margin-bottom: 64px;
  position: relative;
}
.band-label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}
.band-header h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 16px;
}
.band-header p { font-size: 16px; color: var(--muted); }
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}
.stat-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}
.stat-icon { font-size: 28px; margin-bottom: 16px; }
.stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--amber);
  margin-bottom: 8px;
}
/*.stat-card span { font-size: 13px; color: var(--muted); }*/
.stat-card span {color: var(--muted); }
/* ── TESTIMONIALS ────────────────────────── */
.testimonials { background: var(--bg-2); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testi-card { display: flex; flex-direction: column; }
.stars { color: var(--amber); font-size: 14px; margin-bottom: 16px; letter-spacing: 2px; }
.testi-card > p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 24px;
  font-style: italic;
}
.testi-card > p::before { content: '"'; }
.testi-card > p::after  { content: '"'; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--amber), var(--amber-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #000;
  flex-shrink: 0;
}
.testi-author strong { display: block; font-size: 14px; font-weight: 600; color: var(--white); }
.testi-author small  { font-size: 12px; color: var(--muted); }

/* ── CTA SECTION ────────────────────────── */
.cta-section { padding: 80px 0; }
.cta-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-bg-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(245,166,35,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-box h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
  position: relative;
}
.cta-box > p {
  font-size: 17px;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.7;
  position: relative;
}
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
}

/* ── RESPONSIVE ───────────────────────────── */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .commit-grid { grid-template-columns: 1fr; gap: 48px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero { padding: 100px 0 72px; min-height: auto; }
  .hero-stats { flex-direction: column; gap: 16px; width: 100%; }
  .stat-divider { width: 100%; height: 1px; }
  .hero-stats .stat { padding: 0; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .badge-tl, .badge-br { display: none; }
  .cta-box { padding: 48px 24px; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .stats-row { grid-template-columns: 1fr; }
}
