/* ===================================================================
   SAMEER KHAN & JiGUU EDTECH - OFFICIAL AUTHOR & PUBLISHER WEB HUB
   Modern Luxury Dark Theme, 3D Book Showcases & Official JiGUU Branding
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg-primary: #07090e;
  --bg-secondary: #0d121f;
  --bg-card: rgba(18, 24, 38, 0.75);
  --bg-card-hover: rgba(26, 35, 54, 0.92);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(56, 189, 248, 0.25);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --gold-primary: #fbbf24;
  --gold-secondary: #d97706;
  --gold-glow: rgba(251, 191, 36, 0.2);
  --gold-gradient: linear-gradient(135deg, #fde68a 0%, #f59e0b 50%, #b45309 100%);
  
  --jiguu-pink: #e91e63;
  --jiguu-pink-glow: rgba(233, 30, 99, 0.3);
  --cyan-primary: #38bdf8;
  --emerald-primary: #10b981;
  
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(233, 30, 99, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 85% 25%, rgba(251, 191, 36, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(56, 189, 248, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Top Sticky Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 9, 14, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.65rem 0;
  transition: var(--transition);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.brand-avatar-seal {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.18), rgba(233, 30, 99, 0.18));
  border: 1.5px solid rgba(251, 191, 36, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  color: var(--gold-primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 12px rgba(251, 191, 36, 0.2);
  transition: var(--transition);
}

.brand-badge:hover .brand-avatar-seal {
  transform: translateY(-2px) scale(1.05);
  border-color: var(--gold-primary);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 20px rgba(251, 191, 36, 0.4);
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.brand-tagline {
  font-size: 0.72rem;
  color: var(--gold-primary);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-amazon {
  background: #ff9900;
  color: #111827;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(255, 153, 0, 0.3);
}

.btn-amazon:hover {
  background: #e68a00;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 153, 0, 0.45);
}

.btn-playstore {
  background: rgba(255, 255, 255, 0.06);
  color: #f8fafc;
  border: 1px solid var(--border-color);
}

.btn-playstore:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--emerald-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold-gradient);
  color: #0b0f19;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--cyan-primary);
  background: rgba(56, 189, 248, 0.08);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.8rem;
}

/* HERO SECTION */
.hero {
  padding: 4.5rem 0 3.5rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-jiguu-banner {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, rgba(13, 18, 31, 0.95), rgba(4, 7, 15, 0.95));
  border: 1.5px solid rgba(233, 30, 99, 0.4);
  padding: 10px 22px;
  border-radius: 18px;
  width: fit-content;
  margin-bottom: 1.75rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(233, 30, 99, 0.18);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.hero-jiguu-banner:hover {
  transform: translateY(-2px);
  border-color: rgba(233, 30, 99, 0.7);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6), 0 0 35px rgba(233, 30, 99, 0.35);
}

.hero-jiguu-logo {
  height: 46px;
  width: auto;
  object-fit: contain;
  display: block;
}

.hero-jiguu-sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.hero-jiguu-sub .sub-white {
  color: #ffffff;
}

.hero-jiguu-sub .sub-dot {
  color: rgba(255, 255, 255, 0.4);
}

.hero-jiguu-sub .sub-pink {
  color: #ec4899;
}

.hero-title {
  font-size: 3.35rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.hero-title .gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--cyan-primary);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  text-align: justify;
  text-justify: inter-word;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 2rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.stat-number span {
  color: var(--gold-primary);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-top: 0.2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero Portrait Card - Luxury Designer Studio Frame */
.hero-image-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  width: 320px;
  height: 380px;
  background: radial-gradient(circle, rgba(233, 30, 99, 0.28) 0%, rgba(251, 191, 36, 0.18) 45%, transparent 75%);
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
  animation: pulseGlow 6s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% { transform: scale(0.95); opacity: 0.7; }
  100% { transform: scale(1.1); opacity: 1; }
}

.portrait-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  border-radius: 190px 190px 28px 28px;
  padding: 10px;
  background: linear-gradient(145deg, rgba(251, 191, 36, 0.85) 0%, rgba(233, 30, 99, 0.6) 50%, rgba(56, 189, 248, 0.7) 100%);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(251, 191, 36, 0.22);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.portrait-frame:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.85), 0 0 55px rgba(233, 30, 99, 0.35);
}

.portrait-inner {
  position: relative;
  border-radius: 180px 180px 20px 20px;
  overflow: hidden;
  background: #0d121f;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.portrait-frame .frame-corner.top-left,
.portrait-frame .frame-corner.top-right {
  display: none;
}

.portrait-img {
  width: 100%;
  height: 440px;
  display: block;
  object-fit: cover;
  object-position: center top;
  filter: contrast(1.04) brightness(1.02);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portrait-frame:hover .portrait-img {
  transform: scale(1.02);
}

/* LABELS BELOW HERO PORTRAIT FRAME */
.hero-portrait-labels {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
  max-width: 380px;
  margin-top: 1.15rem;
  z-index: 2;
}

.portrait-author-plate-below {
  padding: 10px 16px;
  background: rgba(13, 18, 31, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(251, 191, 36, 0.45);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 15px rgba(251, 191, 36, 0.1);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.portrait-author-plate-below:hover {
  transform: translateY(-2px);
  border-color: rgba(251, 191, 36, 0.75);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 22px rgba(251, 191, 36, 0.2);
}

.portrait-author-plate-below .plate-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.01em;
}

.portrait-author-plate-below .plate-role {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.portrait-founder-badge-below {
  padding: 10px 16px;
  background: rgba(13, 18, 31, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(233, 30, 99, 0.4);
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 15px rgba(233, 30, 99, 0.1);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.portrait-founder-badge-below:hover {
  transform: translateY(-2px);
  border-color: rgba(233, 30, 99, 0.7);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 22px rgba(233, 30, 99, 0.2);
}

.plate-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Designer Metallic Corner Brackets */
.frame-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: #fbbf24;
  border-style: solid;
  pointer-events: none;
  z-index: 5;
}

.frame-corner.top-left {
  top: -4px;
  left: -4px;
  border-width: 3px 0 0 3px;
  border-top-left-radius: 12px;
}

.frame-corner.top-right {
  top: -4px;
  right: -4px;
  border-width: 3px 3px 0 0;
  border-top-right-radius: 12px;
}

.frame-corner.bottom-left {
  bottom: -4px;
  left: -4px;
  border-width: 0 0 3px 3px;
  border-bottom-left-radius: 12px;
}

.frame-corner.bottom-right {
  bottom: -4px;
  right: -4px;
  border-width: 0 3px 3px 0;
  border-bottom-right-radius: 12px;
}

.floating-badge {
  position: absolute;
  background: rgba(13, 18, 31, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  z-index: 6;
}

.floating-badge-top {
  top: 20px;
  right: -25px;
  border-color: rgba(251, 191, 36, 0.35);
}

.floating-badge-bottom {
  bottom: -15px;
  left: -15px;
  border-color: rgba(233, 30, 99, 0.35);
}

.badge-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.badge-icon.gold { background: rgba(251, 191, 36, 0.15); color: var(--gold-primary); }
.badge-icon.pink { background: rgba(233, 30, 99, 0.15); color: var(--jiguu-pink); }

.badge-text-primary {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
}

.badge-text-secondary {
  font-size: 0.7rem;
  color: var(--text-dim);
}

/* SECTION COMMON STYLES */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* CATEGORY FILTER TABS */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.6rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.2);
}

.filter-btn.active {
  background: var(--gold-primary);
  color: #0b0f19;
  border-color: var(--gold-primary);
  box-shadow: 0 4px 14px var(--gold-glow);
}

/* 3D BOOK DISPLAY STYLES */
.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2.5rem;
  perspective: 1500px;
}

.book-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(8px);
  position: relative;
}

.book-card:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.book-badge-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  background: rgba(13, 18, 31, 0.92);
  border: 1px solid rgba(251, 191, 36, 0.3);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* 3D BOOK STAGE */
.book-cover-stage {
  width: 100%;
  height: 320px;
  background: radial-gradient(circle at 50% 60%, #151d2f 0%, #06080d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  perspective: 1200px;
  position: relative;
  overflow: hidden;
}

.book-cover-stage::after {
  content: '';
  position: absolute;
  bottom: 12px;
  width: 60%;
  height: 14px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.8) 0%, transparent 75%);
  filter: blur(6px);
  border-radius: 50%;
  pointer-events: none;
}

.book-3d-wrap {
  position: relative;
  display: inline-block;
  max-height: 250px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
  transform: rotateY(-14deg) rotateX(4deg);
  transform-style: preserve-3d;
}

.book-3d-img {
  max-height: 250px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(-8px 10px 18px rgba(0, 0, 0, 0.75));
  transition: transform 0.4s ease, filter 0.4s ease;
}

.book-3d-wrap.simulated-3d {
  position: relative;
  box-shadow: -8px 8px 25px rgba(0, 0, 0, 0.7);
  border-radius: 4px;
}

.book-3d-wrap.simulated-3d::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(
    90deg, 
    rgba(255, 255, 255, 0.18) 0%, 
    rgba(0, 0, 0, 0.4) 4%, 
    rgba(255, 255, 255, 0.08) 7%, 
    transparent 15%, 
    transparent 85%, 
    rgba(0, 0, 0, 0.3) 100%
  );
  pointer-events: none;
  z-index: 2;
}

.book-3d-wrap.simulated-3d::after {
  content: '';
  position: absolute;
  top: 3px;
  right: -8px;
  width: 8px;
  height: calc(100% - 6px);
  background: repeating-linear-gradient(
    to bottom,
    #e2e8f0 0px,
    #cbd5e1 1px,
    #94a3b8 2px
  );
  transform: rotateY(70deg);
  transform-origin: left;
  border-radius: 0 2px 2px 0;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.book-card:hover .book-3d-wrap {
  transform: rotateY(-4deg) rotateX(1deg) translateY(-8px) scale(1.04);
}

.book-card:hover .book-3d-img {
  filter: drop-shadow(-12px 16px 24px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 20px rgba(56, 189, 248, 0.2));
}

.book-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.book-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.book-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.65rem;
  color: var(--text-main);
}

.book-subtitle {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.book-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.feature-pill {
  font-size: 0.72rem;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--text-muted);
}

.book-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.book-meta-author {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.book-meta-author span {
  color: var(--text-main);
  font-weight: 600;
}

/* Featured Google Play Edition Card */
.book-card-featured {
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(16, 185, 129, 0.15);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.04) 0%, rgba(13, 18, 31, 0.95) 100%);
}

.book-card-featured:hover {
  border-color: rgba(16, 185, 129, 0.75);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 45px rgba(16, 185, 129, 0.3);
}

.book-badge-playstore {
  background: linear-gradient(135deg, rgba(6, 95, 70, 0.85), rgba(16, 185, 129, 0.85));
  color: #ffffff;
  border: 1px solid rgba(52, 211, 153, 0.6);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
}

.book-action-duo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn-playstore-action {
  background: linear-gradient(135deg, #01875f 0%, #00a86b 100%);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(1, 135, 95, 0.45);
}

.btn-playstore-action:hover {
  background: linear-gradient(135deg, #00996b 0%, #02b875 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(1, 135, 95, 0.65);
  color: #ffffff;
}

.btn-amazon-outline {
  background: rgba(255, 153, 0, 0.08);
  color: #ff9900;
  border: 1px solid rgba(255, 153, 0, 0.45);
  font-weight: 600;
}

.btn-amazon-outline:hover {
  background: rgba(255, 153, 0, 0.18);
  border-color: #ff9900;
  color: #ffb84d;
  transform: translateY(-2px);
}

/* JIGUU EDTECH APP SHOWCASE */
.app-section {
  background: linear-gradient(180deg, rgba(13, 18, 31, 0.7) 0%, rgba(7, 9, 14, 0.98) 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.app-details {
  display: flex;
  flex-direction: column;
}

.app-brand-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.app-jiguu-logo-frame {
  height: 72px;
  padding: 6px 14px;
  background: linear-gradient(135deg, rgba(13, 18, 31, 0.95), rgba(2, 6, 23, 0.95));
  border: 1.5px solid rgba(233, 30, 99, 0.35);
  border-radius: 14px;
  display: flex;
  align-items: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(233, 30, 99, 0.15);
}

.app-jiguu-logo {
  height: 100%;
  max-height: 58px;
  width: auto;
  border-radius: 8px;
  object-fit: contain;
}

.app-badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--emerald-primary);
  width: fit-content;
}

.app-title {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.app-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  text-align: justify;
  text-justify: inter-word;
}

.app-specs-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.app-spec-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  text-align: justify;
  text-justify: inter-word;
}

.app-spec-item svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--emerald-primary);
}

.app-action-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

/* App Preview Designer Frame */
.app-preview-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.app-preview-wrapper::before {
  content: '';
  position: absolute;
  width: 85%;
  height: 85%;
  background: radial-gradient(circle, rgba(233, 30, 99, 0.22) 0%, rgba(56, 189, 248, 0.15) 50%, transparent 75%);
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
}

.app-designer-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 24px;
  padding: 8px;
  background: linear-gradient(135deg, rgba(233, 30, 99, 0.65) 0%, rgba(56, 189, 248, 0.5) 50%, rgba(251, 191, 36, 0.6) 100%);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(233, 30, 99, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.app-designer-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.9), 0 0 50px rgba(233, 30, 99, 0.35);
}

.app-frame-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: rgba(8, 12, 24, 0.95);
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.frame-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.frame-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot-pink { background: #ec4899; box-shadow: 0 0 6px rgba(236, 72, 153, 0.6); }
.dot-gold { background: #fbbf24; box-shadow: 0 0 6px rgba(251, 191, 36, 0.6); }
.dot-cyan { background: #38bdf8; box-shadow: 0 0 6px rgba(56, 189, 248, 0.6); }

.app-frame-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.app-frame-body {
  position: relative;
  background: #080c18;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  padding: 1.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.app-screens-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 14px;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.6));
  transition: transform 0.4s ease;
}

.app-designer-frame:hover .app-screens-img {
  transform: scale(1.02);
}

/* ABOUT SAMEER SIR SECTION */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.about-photo-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-photo-wrapper::before {
  content: '';
  position: absolute;
  top: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.22) 0%, rgba(233, 30, 99, 0.12) 50%, transparent 70%);
  filter: blur(45px);
  z-index: 0;
  pointer-events: none;
}

.about-photo-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  border-radius: 190px 190px 28px 28px;
  padding: 10px;
  background: linear-gradient(145deg, rgba(251, 191, 36, 0.85) 0%, rgba(233, 30, 99, 0.6) 50%, rgba(56, 189, 248, 0.7) 100%);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(251, 191, 36, 0.22);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  margin-bottom: 1.15rem;
}

.about-photo-frame:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.85), 0 0 55px rgba(233, 30, 99, 0.35);
}

.about-photo-inner {
  position: relative;
  border-radius: 180px 180px 20px 20px;
  overflow: hidden;
  background: #0d121f;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.about-photo-frame .frame-corner.top-left,
.about-photo-frame .frame-corner.top-right {
  display: none;
}

.about-photo-inner img {
  width: 100%;
  height: 440px;
  display: block;
  object-fit: cover;
  object-position: center top;
  filter: contrast(1.04) brightness(1.02);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-photo-frame:hover .about-photo-inner img {
  transform: scale(1.02);
}

.about-portrait-labels {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
  max-width: 380px;
  margin-bottom: 1.75rem;
  z-index: 2;
}

.credentials-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.credentials-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.credentials-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.credentials-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.credentials-list li svg {
  color: var(--cyan-primary);
}

.section-tag-white {
  color: #ffffff !important;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.about-author-name {
  font-size: 2.35rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.about-author-name .gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.about-paragraphs p {
  text-align: justify;
  text-justify: inter-word;
}

.about-paragraphs p strong {
  color: var(--text-main);
}

.about-catalog-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0.75rem 0 1.25rem;
  background: rgba(13, 18, 31, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
}

.about-catalog-bullets li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: justify;
  text-justify: inter-word;
}

.about-catalog-bullets li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold-primary);
  font-size: 0.85rem;
  top: 1px;
}

.about-catalog-bullets strong {
  color: #ffffff;
  font-weight: 700;
}

.about-catalog-bullets em {
  color: var(--cyan-primary);
  font-style: normal;
}

.about-contact-banner {
  margin-top: 1.5rem;
  padding: 1.15rem 1.4rem;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(13, 18, 31, 0.95) 100%);
  border: 1.5px solid rgba(251, 191, 36, 0.4);
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 1.15rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(251, 191, 36, 0.12);
}

.about-contact-banner .contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(251, 191, 36, 0.18);
  border: 1px solid rgba(251, 191, 36, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  flex-shrink: 0;
}

.about-contact-banner span {
  display: block;
  font-size: 0.82rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 3px;
}

.about-contact-banner .contact-email {
  color: var(--gold-primary);
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: var(--transition);
}

.about-contact-banner .contact-email:hover {
  color: #fef08a;
  text-decoration: underline;
}

/* SEO ENTITY GRAPH CARD */
.seo-verify-section {
  padding: 4rem 0;
  border-top: 1px solid var(--border-color);
}

.seo-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.7) 0%, rgba(7, 9, 14, 0.8) 100%);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 16px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.seo-card h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.seo-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.entity-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.entity-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  text-decoration: none;
  transition: var(--transition);
}

.entity-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--gold-primary);
  transform: translateX(4px);
}

.entity-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.entity-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

.entity-type {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.entity-status {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--emerald-primary);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* FOOTER */
.footer {
  background: #040508;
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand-logo-frame {
  height: 80px;
  padding: 6px 16px;
  background: linear-gradient(135deg, rgba(13, 18, 31, 0.95), rgba(2, 6, 23, 0.95));
  border: 1.5px solid rgba(233, 30, 99, 0.35);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(233, 30, 99, 0.12);
  transition: var(--transition);
}

.footer-brand-logo-frame:hover {
  border-color: rgba(233, 30, 99, 0.7);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 30px rgba(233, 30, 99, 0.3);
  transform: translateY(-2px);
}

.footer-brand-logo {
  height: 100%;
  max-height: 66px;
  width: auto;
  border-radius: 8px;
  object-fit: contain;
}

.footer-brand p {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  max-width: 320px;
}

.footer-col h5 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-main);
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-dim);
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-dim);
  font-size: 0.82rem;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1024px) {
  .hero-grid, .app-grid, .about-grid, .seo-card {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-title { font-size: 2.75rem; }
  .hero-image-wrapper { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-title { font-size: 2.2rem; }
  .books-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
