/* ==========================================================================
   PixCraft - Modern App Showcase Stylesheet
   ========================================================================== */

:root {
  --ink: #070605;
  --bg: #0c0a08;
  --surface: #151310;
  --surface-hover: #1c1915;
  --surface-glass: rgba(21, 19, 16, 0.75);
  --border: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.16);
  --border-hover: rgba(255, 90, 54, 0.4);
  
  --paper: #f8f4ec;
  --dim: #c9c2b3;
  --muted: #948c7d;
  
  --coral: #ff5a36;
  --coral-glow: rgba(255, 90, 54, 0.35);
  --mint: #31d8b0;
  --mint-glow: rgba(49, 216, 176, 0.3);
  --gold: #f6b73c;
  --purple: #8b5cf6;
  
  --font-display: 'Cabinet Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --edge: clamp(20px, 5vw, 64px);
  --max: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  color-scheme: dark;
}

body {
  background-color: var(--bg);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Background Ambient Glows */
.ambient-glow-1 {
  position: fixed;
  top: -15vw;
  right: -10vw;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(255, 90, 54, 0.12) 0%, rgba(139, 92, 246, 0.04) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-2 {
  position: fixed;
  bottom: 10vh;
  left: -15vw;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, rgba(49, 216, 176, 0.08) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--coral);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  z-index: 1000;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 20px;
}

/* Layout Container */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--edge);
  position: relative;
  z-index: 1;
}

.section {
  padding: clamp(70px, 10vw, 120px) 0;
  position: relative;
  z-index: 1;
}

.section-bg-surface {
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.035em;
  line-height: 1.08;
  font-weight: 700;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
}

h1 {
  font-size: clamp(38px, 5.5vw, 76px);
  margin-top: 18px;
}

h2 {
  font-size: clamp(34px, 4.5vw, 54px);
  margin-top: 14px;
}

h3 {
  font-size: 22px;
}

/* Icons & Lucide Styling */
.lucide, svg.lucide {
  display: inline-block;
  vertical-align: middle;
  stroke-width: 2;
}

.icon-xs {
  width: 15px;
  height: 15px;
}

.icon-sm {
  width: 18px;
  height: 18px;
}

.icon-lg {
  width: 28px;
  height: 28px;
}

.icon-gold {
  color: var(--gold);
}

.icon-mint {
  color: var(--mint);
}

.icon-coral {
  color: var(--coral);
}

.brand-table-head {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--coral);
}

.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--mint);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(49, 216, 176, 0.08);
  border: 1px solid rgba(49, 216, 176, 0.25);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.eyebrow-coral {
  color: var(--coral);
  background: rgba(255, 90, 54, 0.08);
  border-color: rgba(255, 90, 54, 0.25);
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, var(--dim) 70%, var(--coral) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-mint {
  background: linear-gradient(135deg, var(--mint) 0%, #a6f7e2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lede {
  color: var(--dim);
  font-size: 18px;
  line-height: 1.65;
  max-width: 580px;
  margin-top: 16px;
}

.head {
  margin-bottom: 52px;
  max-width: 740px;
}

.head-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.head-center .lede {
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-lg {
  padding: 16px 28px;
  font-size: 15px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 8px 30px var(--coral-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-light);
  color: var(--paper);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--paper);
}

.playmark {
  width: 16px;
  height: 17px;
  display: inline-block;
  clip-path: polygon(0 0, 100% 50%, 0 100%, 24% 50%);
  background: linear-gradient(145deg, #34a853 0 35%, #fbbc04 35% 58%, #ea4335 58% 76%, #4285f4 76%);
}

/* Navigation */
.nav {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(12, 10, 8, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.navin {
  max-width: var(--max);
  padding: 16px var(--edge);
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.02em;
}

.brand img {
  height: 30px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 32px;
  color: var(--dim);
  font-size: 14px;
  font-weight: 500;
}

.navlinks a {
  transition: color 0.2s;
  position: relative;
}

.navlinks a:hover {
  color: var(--paper);
}

.navlinks .mobile-only-btn {
  display: none;
}

.menu {
  display: none;
  font-size: 20px;
  color: var(--paper);
  padding: 8px;
}

/* Hero Section */
.hero {
  min-height: 94vh;
  display: flex;
  align-items: center;
  padding: 130px 0 60px;
  position: relative;
}

.herogrid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.proof-strip {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.proof-item {
  display: flex;
  flex-direction: column;
}

.proof-item strong {
  color: var(--paper);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.proof-divider {
  width: 1px;
  height: 28px;
  background: var(--border);
}

/* Hero Visuals & Phone Mockups */
.hero-visual {
  position: relative;
  height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.phone {
  position: absolute;
  overflow: hidden;
  border: 4px solid #23201a;
  border-radius: 36px;
  background: #000;
  box-shadow: 0 40px 100px -25px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.4s ease;
}

.main-phone {
  right: 0;
  top: 0;
  width: 290px;
  height: 580px;
  z-index: 2;
  animation: floatMain 6s ease-in-out infinite;
}

.back-phone {
  right: 150px;
  top: 90px;
  width: 240px;
  height: 480px;
  transform: rotate(-6deg);
  z-index: 1;
  opacity: 0.85;
  filter: brightness(0.8);
  animation: floatBack 7s ease-in-out infinite;
}

@keyframes floatMain {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes floatBack {
  0%, 100% { transform: translateY(0px) rotate(-6deg); }
  50% { transform: translateY(-14px) rotate(-5deg); }
}

.hero-tag {
  position: absolute;
  z-index: 4;
  padding: 12px 18px;
  background: var(--surface-glass);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.tag-top-left {
  left: -20px;
  top: 40px;
  max-width: 210px;
}

.tag-top-left .tag-label {
  color: var(--mint);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
}

.tag-top-left .tag-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-top: 4px;
  line-height: 1.2;
}

.tag-bottom-right {
  right: -10px;
  bottom: 30px;
  background: rgba(246, 183, 60, 0.15);
  border-color: rgba(246, 183, 60, 0.4);
  color: #ffde7a;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Trust Bar / Highlights */
.trust-strip {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-cell {
  padding: 30px 24px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.trust-cell:last-child {
  border-right: none;
}

.trust-icon {
  font-size: 20px;
  color: var(--mint);
  margin-bottom: 4px;
}

.trust-cell strong {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--paper);
}

.trust-cell p {
  font-size: 14px;
  color: var(--dim);
  line-height: 1.4;
}

/* Before / After Comparison Showcase */
.comparison-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.chips-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: 13px;
  color: var(--dim);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.chip:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--paper);
  border-color: var(--mint);
}

.comparison-box {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 460px;
  width: 100%;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8);
  background: #141210;
  user-select: none;
  touch-action: pan-y;
}

.comp-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center top;
}

.comp-after {
  background-image: url('asset/faceswap_after.jpeg');
}

.comp-before-layer {
  position: absolute;
  inset: 0 auto 0 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.comp-before-layer .comp-img {
  background-image: url('asset/faceswap_before.jpeg');
  height: 100%;
}

.comp-slider-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 10;
}

.comp-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--paper);
  pointer-events: none;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  transition: left 0.05s ease-out;
}

.comp-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.comp-badge {
  position: absolute;
  top: 18px;
  padding: 6px 14px;
  background: rgba(12, 10, 8, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  z-index: 5;
}

.comp-badge-left { left: 18px; }
.comp-badge-right { right: 18px; color: var(--mint); }

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--coral), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  background: var(--surface-hover);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  display: grid;
  place-items: center;
  font-size: 22px;
  color: var(--mint);
}

.feature-number {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.feature-card h3 {
  margin-bottom: 10px;
  color: var(--paper);
}

.feature-card p {
  color: var(--dim);
  font-size: 14.5px;
  line-height: 1.5;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}

.feature-tag-item {
  font-size: 11px;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  color: var(--muted);
}

/* Interactive Screenshots Showcase */
.gallery-section {
  position: relative;
  overflow: hidden;
}

.gallery-carousel-wrapper {
  position: relative;
  margin-top: 40px;
}

.gallery-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 20px 0 40px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-light) transparent;
}

.gallery-carousel::-webkit-scrollbar {
  height: 6px;
}

.gallery-carousel::-webkit-scrollbar-thumb {
  background: var(--border-light);
  border-radius: 4px;
}

.gallery-card {
  flex: 0 0 280px;
  scroll-snap-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  transition: var(--transition);
  cursor: pointer;
}

.gallery-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--coral);
  box-shadow: 0 25px 60px -10px var(--coral-glow);
}

.gallery-card img {
  width: 100%;
  border-radius: 16px;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.gallery-caption {
  margin-top: 14px;
  text-align: center;
}

.gallery-caption h4 {
  font-size: 15px;
  color: var(--paper);
}

.gallery-caption p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.gallery-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-light);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-size: 18px;
  transition: var(--transition);
}

.carousel-btn:hover {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}

/* Feature Spotlight Graphic */
.spotlight-box {
  background: linear-gradient(135deg, rgba(255, 90, 54, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%), var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.7);
}

.spotlight-graphic {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.spotlight-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 22px;
}

.spotlight-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--dim);
  font-size: 15px;
}

.spotlight-check {
  color: var(--mint);
  font-weight: 700;
  font-size: 16px;
}

/* Comparison Table (Why PixCraft) */
.comparison-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14.5px;
}

.compare-table th,
.compare-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.compare-table th {
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--paper);
}

.compare-table th.highlight-col,
.compare-table td.highlight-col {
  background: rgba(255, 90, 54, 0.06);
  border-inline: 1px solid rgba(255, 90, 54, 0.2);
}

.compare-table td.highlight-col {
  font-weight: 600;
  color: var(--paper);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.status-yes {
  color: var(--mint);
  font-weight: 600;
}

.status-no {
  color: var(--muted);
}

/* Responsible AI / Privacy Shield */
.privacy-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  padding: 36px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: linear-gradient(115deg, rgba(49, 216, 176, 0.08) 0%, rgba(21, 19, 16, 0.95) 50%);
  align-items: center;
}

.shield-circle {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 2px solid var(--mint);
  border-radius: 50%;
  color: var(--mint);
  font-size: 24px;
  box-shadow: 0 0 20px var(--mint-glow);
}

.privacy-card h3 {
  color: var(--paper);
  font-size: 22px;
}

.privacy-card p {
  color: var(--dim);
  font-size: 14.5px;
  margin-top: 6px;
  line-height: 1.5;
}

/* FAQ Accordion */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--border-light);
}

.faq-item.active {
  border-color: var(--coral);
}

.faq-question {
  width: 100%;
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--paper);
  cursor: pointer;
}

.faq-icon {
  font-size: 20px;
  color: var(--dim);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--coral);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  padding: 0 26px;
  color: var(--dim);
  font-size: 15px;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
  transition: max-height 0.35s ease-in-out;
}

/* Final CTA */
.cta-box {
  padding: clamp(60px, 8vw, 100px) var(--edge);
  text-align: center;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 50% 0, rgba(255, 90, 54, 0.25) 0%, transparent 60%), var(--surface);
  box-shadow: 0 40px 100px -30px rgba(255, 90, 54, 0.2);
}

.cta-box h2 {
  font-size: clamp(38px, 5.5vw, 68px);
  margin-top: 16px;
}

.cta-box p {
  max-width: 520px;
  margin: 16px auto 0;
  color: var(--dim);
  font-size: 18px;
}

.cta-box .hero-actions {
  justify-content: center;
  margin-top: 36px;
}

.cta-fine {
  font-size: 13px !important;
  color: var(--muted) !important;
  margin-top: 22px !important;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
  background: #080706;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 12px;
  max-width: 320px;
}

.kuhu-badge-box {
  margin-top: 20px;
  max-width: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  transition: var(--transition);
}

.kuhu-badge-box:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.7);
}

.kuhu-labs-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Reviews / Testimonials Section */
.rating-summary-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  background: linear-gradient(135deg, rgba(255,90,54,0.08), rgba(49,216,176,0.05));
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  margin-bottom: 20px;
}

.rating-score-box {
  display: flex;
  align-items: center;
  gap: 16px;
}

.rating-big-num {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 800;
  color: var(--paper);
  line-height: 1;
}

.rating-score-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rating-score-info .stars-row {
  display: flex;
  gap: 4px;
  color: #f6b73c;
}

.rating-score-info span {
  font-size: 13px;
  color: var(--muted);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: var(--transition);
}

.review-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(255,90,54,0.25), rgba(49,216,176,0.25));
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--paper);
}

.review-meta h4 {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--paper);
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.verified-badge {
  color: var(--mint);
  display: inline-flex;
  align-items: center;
}

.review-date {
  font-size: 12px;
  color: var(--muted);
}

.review-stars {
  display: flex;
  gap: 3px;
  color: #f6b73c;
  margin-bottom: 12px;
}

.review-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--dim);
  flex-grow: 1;
  margin: 0;
}

.review-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted);
  width: fit-content;
}

@media (max-width: 960px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .rating-summary-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

.footer-col h5,
.footer-col .footer-title {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--paper);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: var(--dim);
}

.footer-links a:hover {
  color: var(--coral);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  flex-wrap: wrap;
  gap: 16px;
}

/* Lightbox Modal */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: none;
  place-items: center;
  padding: 20px;
}

.modal.open {
  display: grid;
}

.modal-content {
  position: relative;
  max-width: 440px;
  max-height: 90vh;
}

.modal-content img {
  border-radius: 20px;
  box-shadow: 0 30px 90px rgba(0,0,0,0.9);
}

.modal-close {
  position: absolute;
  top: -45px;
  right: 0;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .spotlight-box {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .herogrid,
  .comparison-layout {
    grid-template-columns: 1fr;
  }
  
  .hero-visual {
    height: 500px;
    max-width: 520px;
    margin: 30px auto 0;
  }
  
  .main-phone {
    width: 250px;
    height: 500px;
  }
  
  .back-phone {
    right: 120px;
    width: 200px;
    height: 400px;
  }
  
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .trust-cell:nth-child(2) {
    border-right: none;
  }
  
  .trust-cell:nth-child(n+3) {
    border-top: 1px solid var(--border);
  }
}

@media (max-width: 680px) {
  .navcta {
    display: none;
  }
  
  .menu {
    display: block;
  }
  
  .navlinks {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 24px var(--edge) 32px;
    background: rgba(15, 13, 10, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    gap: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
  }
  
  .nav.open .navlinks {
    display: flex;
  }
  
  .navlinks .mobile-only-btn {
    display: inline-flex;
    margin-top: 10px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .trust-grid {
    grid-template-columns: 1fr;
  }
  
  .trust-cell {
    border-right: none;
    border-top: 1px solid var(--border);
    padding: 20px 0;
  }
  
  .trust-cell:first-child {
    border-top: none;
  }
  
  .privacy-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Mobile Hero Mockup Fixes */
  .hero-visual {
    height: 460px;
    max-width: 320px;
    margin: 36px auto 0;
    width: 100%;
  }

  .main-phone {
    left: 50%;
    right: auto;
    top: 0;
    transform: translateX(-50%);
    width: 230px;
    height: 460px;
    animation: floatMainMobile 6s ease-in-out infinite;
  }

  .back-phone {
    left: calc(50% - 70px);
    right: auto;
    top: 45px;
    width: 180px;
    height: 360px;
    transform: rotate(-6deg);
    opacity: 0.65;
    animation: floatBackMobile 7s ease-in-out infinite;
  }

  @keyframes floatMainMobile {
    0%, 100% { transform: translateX(-50%) translateY(0px); }
    50% { transform: translateX(-50%) translateY(-8px); }
  }

  @keyframes floatBackMobile {
    0%, 100% { transform: rotate(-6deg) translateY(0px); }
    50% { transform: rotate(-5deg) translateY(-10px); }
  }

  .tag-top-left {
    left: -12px;
    top: 24px;
    max-width: 155px;
    padding: 8px 12px;
  }

  .tag-top-left .tag-label {
    font-size: 9.5px;
  }

  .tag-top-left .tag-title {
    font-size: 12px;
    line-height: 1.25;
  }

  .tag-bottom-right {
    right: -10px;
    bottom: 24px;
    padding: 8px 12px;
    font-size: 11.5px;
    gap: 6px;
  }

  .proof-strip {
    gap: 16px 24px;
  }

  .proof-divider {
    display: none;
  }
}

@media (max-width: 380px) {
  .hero-visual {
    height: 420px;
    max-width: 280px;
  }
  .main-phone {
    width: 210px;
    height: 420px;
  }
  .back-phone {
    left: calc(50% - 60px);
    width: 160px;
    height: 320px;
    top: 40px;
  }
  .tag-top-left {
    left: -6px;
    top: 16px;
    max-width: 135px;
    padding: 6px 10px;
  }
  .tag-bottom-right {
    right: -6px;
    bottom: 16px;
    padding: 6px 10px;
    font-size: 10.5px;
  }
}


/* Utility: Small button variant */
.btn-sm {
  padding: 10px 18px;
  font-size: 13px;
}

/* Active nav link indicator */
.navlinks a.active {
  color: var(--paper);
}

.navlinks a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--coral);
  border-radius: 1px;
}

/* Mobile blog hero padding fix */
@media (max-width: 680px) {
  .blog-hero {
    padding: 110px 0 40px;
  }
  .article-header {
    padding: 110px 0 20px;
  }
  .article-hero-img {
    margin: 20px var(--edge) 32px;
  }
  .share-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .share-btns {
    flex-wrap: wrap;
  }
  .blog-search-bar input {
    font-size: 16px; /* prevent iOS zoom */
  }
  .category-chips {
    gap: 8px;
  }
  .cat-chip {
    font-size: 12px;
    padding: 7px 12px;
  }
}




/* App Icon Showcase Elements */
.hero-app-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 18px 8px 10px;
  border-radius: 20px;
  margin-bottom: 28px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(124, 114, 245, 0.12);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.hero-app-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 114, 245, 0.5);
}

.hero-app-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(124, 114, 245, 0.35);
  display: block;
  object-fit: cover;
}

.hero-app-badge-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
}

.hero-app-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-app-rating {
  font-size: 11px;
  font-weight: 600;
  color: #ffb703;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(255, 183, 3, 0.12);
  padding: 1px 7px;
  border-radius: 10px;
  border: 1px solid rgba(255, 183, 3, 0.25);
}

.hero-badge-pill {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mint);
  background: var(--mint-soft);
  padding: 2px 7px;
  border-radius: 10px;
  border: 1px solid rgba(46, 213, 115, 0.2);
}

.hero-app-tag {
  font-size: 12px;
  color: var(--dim);
}

/* CTA Box App Icon */
.cta-app-icon-wrap {
  margin: 0 auto 24px;
  display: inline-block;
  position: relative;
}

.cta-app-icon {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  box-shadow: 0 12px 36px rgba(124, 114, 245, 0.4), 0 0 50px rgba(255, 90, 54, 0.2);
  display: block;
  border: 2px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  object-fit: cover;
}

.cta-app-icon:hover {
  transform: scale(1.08) rotate(-3deg);
}
