/* ========================================================
   AB STUDIO - ULTRA PREMIUM SOFT LUXURY DESIGN SYSTEM
   Soft-Matte Dark Canvas, Silk Pastels, Frosted Glassmorphism
   ======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Velvety Soft Matte Dark Canvas */
  --bg-dark: #0a0d14;
  --bg-primary: #0e1320;
  --bg-secondary: #131929;
  --bg-card: rgba(18, 25, 42, 0.68);
  --bg-card-hover: rgba(24, 34, 58, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.035);

  /* Soft Luxury Pastel Accents (Gentle & Calming) */
  --soft-iris: #818cf8;
  --soft-lavender: #a78bfa;
  --soft-lilac: #c084fc;
  --soft-sky: #38bdf8;
  --soft-ice: #7dd3fc;
  --soft-mint: #34d399;
  --soft-sage: #6ee7b7;
  --soft-rose: #f472b6;
  --soft-blush: #fda4af;
  --soft-amber: #fbbf24;
  --soft-cream: #fef08a;

  /* Sophisticated Low-Saturation Gradients */
  --gradient-brand: linear-gradient(135deg, #a5b4fc 0%, #c084fc 45%, #f472b6 100%);
  --gradient-sky: linear-gradient(135deg, #7dd3fc 0%, #818cf8 100%);
  --gradient-mint: linear-gradient(135deg, #6ee7b7 0%, #38bdf8 100%);
  --gradient-gold: linear-gradient(135deg, #fde68a 0%, #f472b6 100%);
  --gradient-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);

  /* Delicate Borders & Soft Shadows */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(165, 180, 252, 0.35);
  --shadow-card: 0 12px 32px -10px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 35px -8px rgba(129, 140, 248, 0.16);
  --shadow-mint-glow: 0 0 30px -8px rgba(52, 211, 153, 0.16);

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Balanced Text Colors */
  --text-main: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-light: #e2e8f0;

  /* Layout */
  --container-max: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-dark);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Soft Atmospheric Background Glows (Gentle & Non-Intrusive) */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(150px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
}
.glow-1 {
  top: -12%;
  left: -8%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.8) 0%, transparent 70%);
}
.glow-2 {
  top: 35%;
  right: -12%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.7) 0%, transparent 70%);
}
.glow-3 {
  bottom: 8%;
  left: 15%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.65) 0%, transparent 70%);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
}

.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.cyan-gradient-text {
  background: var(--gradient-sky);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Header & Navbar - PRECISE ONE-ROW DESKTOP ALIGNMENT */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(10, 13, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(8, 11, 18, 0.94);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 1.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(129, 140, 248, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #ffffff;
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--soft-ice);
  margin-top: 2px;
}

/* Desktop Navigation Menu Wrapper */
.nav-menu-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2.25rem;
  flex: 1;
}

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  transition: var(--transition);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  transition: width 0.25s ease;
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: var(--transition);
}

/* Common Buttons - Refined & Soft */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.72rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.25);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #818cf8 0%, #a855f7 50%, #f472b6 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(99, 102, 241, 0.35);
  color: #ffffff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

/* Soft Luxury Play Store Button */
.btn-playstore {
  background: linear-gradient(135deg, #059669 0%, #0d9488 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.25);
  font-weight: 600;
}
.btn-playstore:hover {
  background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(16, 185, 129, 0.35);
  color: #ffffff;
}

.btn-sm {
  padding: 0.52rem 1.1rem;
  font-size: 0.86rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.92rem 1.85rem;
  font-size: 1.02rem;
}

/* Hero Section */
.hero-section {
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

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

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

.hero-badge-wrap {
  display: inline-flex;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(129, 140, 248, 0.1);
  border: 1px solid rgba(129, 140, 248, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: #c7d2fe;
}
.hero-badge i {
  color: var(--soft-iris);
}

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

.hero-description {
  font-size: 1.12rem;
  color: var(--text-secondary);
  max-width: 580px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

/* Hero Visual & Interactive Card */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-banner-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1rem;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  width: 100%;
  max-width: 480px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.hero-banner-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.hero-banner-card img {
  width: 100%;
  border-radius: var(--radius-md);
  display: block;
  object-fit: cover;
  aspect-ratio: 16/9;
}

.hero-banner-info {
  padding: 1rem 0.5rem 0.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-card-meta h4 {
  font-size: 1.1rem;
  margin-bottom: 2px;
}

.hero-card-meta p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Stats Counter Section */
.stats-section {
  padding: 2rem 0 3.5rem;
}

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

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  text-align: center;
  backdrop-filter: blur(16px);
  transition: var(--transition);
}

.stat-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.stat-icon {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  color: var(--soft-ice);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--soft-ice);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.4rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Apps Portfolio Section */
.apps-section {
  padding: 4.5rem 0;
  position: relative;
}

/* Category Filter Tabs Bar */
.apps-controls {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.filter-btn {
  padding: 0.55rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.filter-btn.active {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

/* App Cards Grid */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.app-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: var(--transition);
}

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

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

.app-card-top {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.app-icon {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.app-meta {
  flex: 1;
}

/* Soft Badges */
.app-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.badge-hot {
  background: rgba(251, 113, 133, 0.12);
  color: var(--soft-blush);
  border: 1px solid rgba(251, 113, 133, 0.28);
}
.badge-featured {
  background: rgba(165, 180, 252, 0.12);
  color: #c7d2fe;
  border: 1px solid rgba(165, 180, 252, 0.28);
}
.badge-essential {
  background: rgba(52, 211, 153, 0.12);
  color: #a7f3d0;
  border: 1px solid rgba(52, 211, 153, 0.28);
}

.app-title {
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 3px;
}

.app-category {
  font-size: 0.8rem;
  color: var(--soft-ice);
  font-weight: 600;
}

.app-stats-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1rem;
  padding: 0.55rem 0.85rem;
  background: rgba(255, 255, 255, 0.025);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
}

.app-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--soft-amber);
  font-weight: 700;
}

.app-downloads {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-secondary);
}

.app-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex: 1;
}

.app-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1.5rem;
}

.app-tag {
  font-size: 0.74rem;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  color: var(--text-muted);
}

.app-actions {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 0.75rem;
  margin-top: auto;
}

/* Spotlight Section */
.spotlight-section {
  padding: 4rem 0;
}

.spotlight-card {
  background: linear-gradient(135deg, rgba(17, 24, 40, 0.85) 0%, rgba(15, 21, 35, 0.75) 100%);
  border: 1px solid rgba(165, 180, 252, 0.2);
  border-radius: var(--radius-lg);
  padding: 3rem;
  backdrop-filter: blur(20px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  margin-bottom: 3.5rem;
  position: relative;
  overflow: hidden;
}

.spotlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(251, 191, 36, 0.12);
  color: #fde68a;
  border: 1px solid rgba(251, 191, 36, 0.3);
  margin-bottom: 1rem;
}

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

.spotlight-desc {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.spotlight-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.spotlight-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--text-light);
}

.spotlight-features li i {
  color: var(--soft-mint);
  font-size: 1.05rem;
  margin-top: 0.22rem;
  flex-shrink: 0;
}

.spotlight-features li span {
  flex: 1;
}

.spotlight-features li strong {
  color: #ffffff;
  font-weight: 600;
  display: inline;
}

.spotlight-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-subtle);
}

.spotlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.spotlight-card:hover .spotlight-media img {
  transform: scale(1.02);
}

/* Why AB Studio Section */
.why-section {
  padding: 4.5rem 0;
  background: rgba(12, 16, 26, 0.45);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  backdrop-filter: blur(16px);
  transition: var(--transition);
}

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

.why-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(129, 140, 248, 0.1);
  border: 1px solid rgba(129, 140, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--soft-iris);
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
}

.why-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.why-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Google Play Developer CTA Banner */
.dev-banner-section {
  padding: 4.5rem 0;
}

.dev-banner {
  background: radial-gradient(circle at 80% 50%, rgba(56, 189, 248, 0.1) 0%, rgba(129, 140, 248, 0.1) 50%, rgba(10, 13, 20, 0.95) 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.dev-banner-content h2 {
  font-size: 2.1rem;
  margin-bottom: 0.75rem;
}

.dev-banner-content p {
  font-size: 1.02rem;
  color: var(--text-secondary);
  max-width: 650px;
}

/* Contact Section */
.contact-section {
  padding: 5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-header h3 {
  font-size: 1.7rem;
  margin-bottom: 0.5rem;
}

.contact-info-header p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(129, 140, 248, 0.1);
  border: 1px solid rgba(129, 140, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--soft-iris);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item-text p {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-item-text a, .contact-item-text span {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  transition: var(--transition);
}

.contact-item-text a:hover {
  color: var(--soft-ice);
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.82rem 1rem;
  background: rgba(10, 14, 23, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  transition: var(--transition);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--soft-iris);
  box-shadow: 0 0 15px rgba(129, 140, 248, 0.2);
}

.form-select option {
  background-color: var(--bg-secondary);
  color: #ffffff;
}

/* Footer */
.footer {
  background: #07090f;
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2rem;
}

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

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 1rem 0 1.5rem;
  max-width: 320px;
}

.footer-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

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

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

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

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

/* Interactive App Detail Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: #0f1524;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 780px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), var(--shadow-glow);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
}

.modal-close-btn:hover {
  background: rgba(244, 114, 182, 0.2);
  color: var(--soft-rose);
  transform: rotate(90deg);
}

.modal-body {
  padding: 2.25rem;
}

.modal-header {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 1.75rem;
}

.modal-icon {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.modal-title-wrap h3 {
  font-size: 1.55rem;
  margin-bottom: 4px;
}

.modal-specs-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 0.85rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  font-size: 0.85rem;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-light);
}

.spec-item i {
  color: var(--soft-ice);
}

.modal-gallery {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  margin-bottom: 1.75rem;
  scrollbar-width: thin;
}

.modal-gallery img {
  height: 220px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  object-fit: cover;
  flex-shrink: 0;
}

.modal-highlights {
  margin-bottom: 2rem;
}

.modal-highlights h4 {
  font-size: 1.12rem;
  margin-bottom: 0.75rem;
}

.modal-highlights ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}

.modal-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.5;
}

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

/* Toast / Feedback notification */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #059669;
  color: #ffffff;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
  z-index: 2000;
}
.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* Legal & Guide Page Styles */
.legal-main {
  padding: 4rem 0 6rem;
}
.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 3rem;
  backdrop-filter: blur(20px);
}
.legal-card h1 {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
}
.legal-date {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}
.legal-section {
  margin-bottom: 2.25rem;
}
.legal-section h2 {
  font-size: 1.4rem;
  margin-bottom: 0.85rem;
  color: #ffffff;
}
.legal-section h3 {
  font-size: 1.12rem;
  margin: 1rem 0 0.5rem;
  color: var(--soft-ice);
}
.legal-section p, .legal-section li {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.7;
}
.legal-section ul {
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}
.legal-section li {
  margin-bottom: 0.4rem;
}

/* Privacy App Selector Tabs (Legacy / Secondary) */
.privacy-app-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}
.privacy-tab-btn {
  padding: 0.6rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.privacy-tab-btn:hover {
  background: rgba(99, 102, 241, 0.15);
  color: #ffffff;
}
.privacy-tab-btn.active {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
}

/* Privacy Portal - App Cards Grid & Dedicated View */
.privacy-hero-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.privacy-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: var(--accent-cyan);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.privacy-hero-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.privacy-hero-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Apps Grid */
.privacy-apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}
.privacy-app-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
}
.privacy-app-card:hover {
  transform: translateY(-5px);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 25px rgba(99, 102, 241, 0.2);
}
.privacy-card-header {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-bottom: 1.25rem;
}
.privacy-card-icon {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
}
.privacy-card-icon-general {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(6, 182, 212, 0.25));
  border: 1px solid rgba(99, 102, 241, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--accent-cyan);
  flex-shrink: 0;
}
.privacy-card-meta {
  flex: 1;
  min-width: 0;
}
.privacy-card-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent-cyan);
  margin-bottom: 0.25rem;
}
.privacy-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.privacy-card-package {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: monospace;
}
.privacy-card-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}
.privacy-card-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}
.privacy-card-pill {
  font-size: 0.74rem;
  padding: 0.25rem 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
}
.privacy-card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border-subtle);
  color: var(--accent-cyan);
  font-weight: 600;
  font-size: 0.92rem;
}
.privacy-card-action i {
  transition: transform 0.2s ease;
}
.privacy-app-card:hover .privacy-card-action i {
  transform: translateX(5px);
}

/* Dedicated App Privacy View */
.privacy-detail-wrap {
  display: none;
}
.privacy-detail-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 1rem;
}
.btn-back-to-apps {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.35rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: var(--transition);
}
.btn-back-to-apps:hover {
  background: rgba(99, 102, 241, 0.25);
  border-color: rgba(99, 102, 241, 0.5);
  color: var(--accent-cyan);
  transform: translateX(-3px);
}
.btn-copy-policy-url {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: var(--radius-full);
  color: var(--accent-cyan);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
}
.btn-copy-policy-url:hover {
  background: rgba(6, 182, 212, 0.22);
  border-color: var(--accent-cyan);
}
.privacy-app-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
  padding: 1.75rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(99, 102, 241, 0.05) 100%);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  flex-wrap: wrap;
}
.privacy-app-header-icon {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  object-fit: cover;
}
.privacy-app-header-icon-general {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(6, 182, 212, 0.3));
  border: 1px solid rgba(99, 102, 241, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--accent-cyan);
}
.privacy-app-header-info {
  flex: 1;
  min-width: 250px;
}
.privacy-app-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.4rem;
}
.privacy-app-header-info h1 {
  font-size: 2rem;
  color: #ffffff;
  margin: 0 0 0.35rem;
  letter-spacing: -0.01em;
}
.privacy-app-header-pkg {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: monospace;
  margin-bottom: 0.35rem;
}
.privacy-app-header-pkg a {
  color: var(--accent-cyan);
  text-decoration: none;
}
.privacy-app-header-pkg a:hover {
  text-decoration: underline;
}
.privacy-app-header-date {
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.privacy-bottom-banner {
  margin-top: 3rem;
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.privacy-bottom-banner-text h4 {
  color: #ffffff;
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
}
.privacy-bottom-banner-text p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
}
.toast-msg {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
  font-weight: 600;
  font-size: 0.92rem;
  z-index: 99999;
  display: none;
  align-items: center;
  gap: 0.6rem;
  animation: toastFadeIn 0.3s ease;
}
@keyframes toastFadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}