/* ============================================================
   SB India Application Developers – Premium Stylesheet
   ============================================================ */

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

:root {
  --gold:        #d4a84b;
  --gold-light:  #f0cc7a;
  --bg:          #0c0c14;
  --bg-2:        #11111d;
  --surface:     #16161f;
  --surface-2:   #1c1c28;
  --border:      rgba(255,255,255,.07);
  --border-glow: rgba(212,168,75,.25);
  --text:        #e8e8f0;
  --text-muted:  #7b7b99;
  --radius:      16px;
  --shadow:      0 4px 24px rgba(0,0,0,.45);
  --shadow-hover:0 8px 40px rgba(0,0,0,.6), 0 0 0 1px var(--border-glow);
  --transition:  0.25s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ── */
.site-header {
  background: rgba(12,12,20,.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: linear-gradient(135deg, #1e1e30 0%, #2a2a40 100%);
  border: 1px solid var(--border-glow);
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: .5px;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(212,168,75,.15);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: .2px;
}

.brand-tagline {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: .4px;
  text-transform: uppercase;
}

/* ── Hero ── */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
  color: #fff;
  padding: 100px 0 88px;
  text-align: center;
}

/* floating orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: .35;
  animation: float 12s ease-in-out infinite alternate;
}
.hero-orb--1 {
  width: 500px; height: 500px;
  background: #1a3a6e;
  top: -160px; left: -120px;
  animation-duration: 14s;
}
.hero-orb--2 {
  width: 380px; height: 380px;
  background: #3a1a60;
  bottom: -100px; right: -80px;
  animation-duration: 10s;
}
.hero-orb--3 {
  width: 260px; height: 260px;
  background: #5c3a00;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  animation-duration: 18s;
}

@keyframes float {
  from { transform: translateY(0) scale(1); }
  to   { transform: translateY(-30px) scale(1.06); }
}
.hero-orb--3 {
  animation-name: float3;
}
@keyframes float3 {
  from { transform: translate(-50%,-50%) scale(1); }
  to   { transform: translate(-50%,-60%) scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(212,168,75,.12);
  border: 1px solid rgba(212,168,75,.3);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -.5px;
  line-height: 1.15;
  color: #fff;
}

.highlight {
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(15px, 2vw, 18px);
  max-width: 540px;
  margin: 0 auto;
  color: rgba(255,255,255,.65);
  font-weight: 300;
  line-height: 1.8;
}

/* ── Main content ── */
.main-content {
  flex: 1;
  padding: 72px 0 88px;
  background:
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(26,58,110,.18) 0%, transparent 70%),
    var(--bg);
}

.section-header {
  margin-bottom: 40px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.section-sub {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 300;
}

/* ── Apps Grid ── */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

/* ── App Card ── */
.app-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  /* scroll fade-in */
  opacity: 0;
  transform: translateY(20px);
}

.app-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .5s ease, transform .5s ease, box-shadow var(--transition), border-color var(--transition);
}

.app-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--border-glow);
  transform: translateY(-4px);
}

/* subtle top-edge shimmer line */
.app-card__glow {
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.app-card:hover .app-card__glow {
  opacity: 1;
}

.app-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--icon-color, #4f8ef7) 80%, #000) 0%,
    color-mix(in srgb, var(--icon-color, #4f8ef7) 40%, #000) 100%
  );
  border: 1px solid rgba(255,255,255,.1);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: .5px;
  box-shadow: 0 4px 16px color-mix(in srgb, var(--icon-color, #4f8ef7) 40%, transparent);
}

.app-info {
  flex: 1;
  min-width: 0;
}

.app-name {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
  letter-spacing: .1px;
}

.app-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.6;
  font-weight: 300;
}

/* ── Play Badge ── */
.play-badge {
  display: inline-block;
  position: relative;
  text-decoration: none;
  border-radius: 8px;
  overflow: hidden;
  line-height: 0;
  transition: opacity var(--transition), filter var(--transition);
}

.play-badge img {
  display: block;
  height: auto;
  border-radius: 8px;
}

.play-badge:not(.coming-soon):hover {
  filter: brightness(1.1);
}

/* Coming-soon state */
.play-badge.coming-soon {
  pointer-events: none;
  opacity: .45;
  filter: grayscale(60%) brightness(.9);
}

.badge-overlay {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  color: rgba(255,255,255,.85);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.play-badge.coming-soon .badge-overlay {
  display: flex;
}

/* ── Empty note ── */
.empty-note {
  margin-top: 40px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: .3px;
}

/* ── Footer ── */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  padding: 40px 0 32px;
  text-align: center;
  font-size: 13px;
  line-height: 1.9;
  font-weight: 300;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  letter-spacing: .3px;
}

.footer-note {
  font-size: 11px;
  opacity: .4;
  margin-top: 4px;
  letter-spacing: .2px;
}

/* ── Responsive ── */
@media (max-width: 540px) {
  .hero { padding: 72px 0 64px; }

  .app-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-title {
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-orb { animation: none; }
  .app-card { opacity: 1; transform: none; }
}
