/* ==========================================================================
   IDify Web Design System & Stylesheet
   Matches IDify Android App Aesthetics & Reference Landing Page
   ========================================================================== */

:root {
  /* Color Palette derived from Android App HomeUi */
  --primary-orange: #FF9838;
  --primary-coral: #FF6E5F;
  --primary-pink: #EF3E93;
  --primary-violet: #725CFF;
  --primary-lavender: #B590FF;
  --primary-sky: #4FB7FF;
  --primary-mint: #45D38A;

  /* Soft Pills / Accents */
  --pill-offline-bg: #F0EDFF;
  --pill-offline-text: #725CFF;
  --pill-uploads-bg: #FFEEF7;
  --pill-uploads-text: #EF3E93;
  --pill-ai-bg: #EAF6FF;
  --pill-ai-text: #0284C7;
  --pill-privacy-bg: #EAFBF2;
  --pill-privacy-text: #059669;

  /* Gradients */
  --brand-gradient: linear-gradient(135deg, #FF9838 0%, #FF6E5F 45%, #EF3E93 80%, #725CFF 100%);
  --text-gradient: linear-gradient(135deg, #FF9838 0%, #FF6E5F 50%, #EF3E93 100%);
  --btn-gradient: linear-gradient(135deg, #FF9838 0%, #FF6E5F 50%, #EF3E93 100%);
  --purple-gradient: linear-gradient(135deg, #725CFF 0%, #B590FF 100%);
  --card-gradient: linear-gradient(135deg, #FFF1DF 0%, #FFF7F9 50%, #F5E8FF 100%);

  /* Neutrals & Surfaces */
  --bg-warm: #FAF8FC;
  --dark-ink: #101329;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --card-white: #FFFFFF;
  --border-light: rgba(226, 232, 240, 0.8);
  --shadow-sm: 0 4px 12px rgba(16, 19, 41, 0.04);
  --shadow-md: 0 10px 30px rgba(114, 92, 255, 0.08);
  --shadow-lg: 0 20px 40px rgba(114, 92, 255, 0.14);
  --shadow-xl: 0 30px 60px rgba(239, 62, 147, 0.18);

  /* Fonts */
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  color: var(--dark-ink);
  background-color: var(--bg-warm);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  position: relative;
}

/* Utility Helpers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.small-container {
  max-width: 800px;
}

.font-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.font-bold { font-weight: 700; }
.text-center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.w-full { width: 100%; }

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  outline: none;
}

.btn-pill {
  border-radius: 9999px;
}

.btn-primary {
  background: var(--btn-gradient);
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(255, 110, 95, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 110, 95, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-glow {
  position: relative;
}

.btn-glow::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--btn-gradient);
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  filter: blur(12px);
  transition: opacity 0.3s ease;
}

.btn-glow:hover::after {
  opacity: 0.7;
}

/* Ambient Animated Orbs Background */
.ambient-background {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  animation: orbFloat 18s ease-in-out infinite alternate;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 152, 56, 0.6) 0%, rgba(255, 110, 95, 0) 70%);
  top: -150px;
  right: -100px;
}

.orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(239, 62, 147, 0.5) 0%, rgba(114, 92, 255, 0) 70%);
  top: 40%;
  left: -200px;
  animation-delay: -6s;
}

.orb-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(114, 92, 255, 0.45) 0%, rgba(181, 144, 255, 0) 70%);
  bottom: -100px;
  right: 10%;
  animation-delay: -12s;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 60px) scale(1.1); }
  100% { transform: translate(-30px, 30px) scale(0.95); }
}

/* Glassmorphic Sticky Header Navigation */
.navbar-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
}

.navbar-header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  padding: 12px 0;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(239, 62, 147, 0.3);
  object-fit: cover;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--dark-ink);
  letter-spacing: -0.5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: #475569;
  transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--dark-ink);
}

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

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--dark-ink);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Section Header Typography */
.section-header {
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-violet);
  background: rgba(114, 92, 255, 0.08);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--dark-ink);
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
}

/* ==========================================================================
   Hero Section & 3D Phone Frame
   ========================================================================== */

.hero-section {
  position: relative;
  z-index: 10;
  padding: 60px 0 100px;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 40px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(114, 92, 255, 0.08);
  border: 1px solid rgba(114, 92, 255, 0.18);
  border-radius: 9999px;
  color: var(--primary-violet);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: var(--dark-ink);
  margin-bottom: 20px;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 500px;
  margin-bottom: 32px;
}

/* App Store Buttons */
.store-badges {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  background: var(--dark-ink);
  color: #FFFFFF;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 8px 20px rgba(16, 19, 41, 0.15);
}

.store-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(16, 19, 41, 0.25);
  background: #1e2342;
}

.store-icon {
  width: 24px;
  height: 24px;
}

.store-btn-text {
  display: flex;
  flex-direction: column;
}

.store-btn-text .sub {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.8;
}

.store-btn-text .main {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.1;
}

/* Social Proof */
.social-proof {
  display: flex;
  align-items: center;
  gap: 16px;
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-item {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  background-size: cover;
  background-position: center;
  margin-left: -10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.avatar-item:first-child {
  margin-left: 0;
}

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

.stars {
  color: #FFB800;
  font-size: 0.95rem;
  letter-spacing: 2px;
}

.rating-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: #475569;
}

/* 3D Smartphone Stage & Frame */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
}

.stage-pedestal {
  position: absolute;
  bottom: -30px;
  width: 320px;
  height: 90px;
  background: radial-gradient(ellipse at center, rgba(114, 92, 255, 0.25) 0%, rgba(239, 62, 147, 0.1) 50%, transparent 75%);
  border-radius: 50%;
  filter: blur(20px);
  z-index: 1;
}

/* 3D Decorative Orbs */
.orb-3d {
  position: absolute;
  border-radius: 50%;
  box-shadow: inset -10px -10px 20px rgba(0,0,0,0.2), inset 10px 10px 20px rgba(255,255,255,0.6);
  z-index: 10;
  animation: orbFloat3D 6s ease-in-out infinite alternate;
}

.orb-purple {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, #B590FF 0%, #725CFF 100%);
  top: 15%;
  left: 20px;
}

.orb-orange {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #FFB865 0%, #FF9838 100%);
  bottom: 25%;
  left: 30px;
  animation-delay: -2s;
}

.orb-pink {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #FFA2C0 0%, #EF3E93 100%);
  top: 30%;
  right: 15px;
  animation-delay: -4s;
}

@keyframes orbFloat3D {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-16px) rotate(15deg); }
}

/* Floating "8 Photos in 1 Print" Badge */
.floating-badge-print {
  position: absolute;
  right: -10px;
  bottom: 35%;
  z-index: 25;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--btn-gradient);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 12px 30px rgba(239, 62, 147, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.5);
  border: 3px solid #FFFFFF;
  animation: badgePulse 4s ease-in-out infinite alternate;
}

.floating-badge-print .number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}

.floating-badge-print .label {
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

@keyframes badgePulse {
  0% { transform: scale(1) rotate(-5deg); }
  100% { transform: scale(1.08) rotate(5deg); }
}

/* Phone Mockup Housing */
.phone-mockup-3d {
  position: relative;
  z-index: 5;
  width: 320px;
  height: 660px;
  background: #1c1d24;
  border-radius: 46px;
  padding: 10px;
  box-shadow: 
    0 25px 60px rgba(16, 19, 41, 0.25),
    0 10px 20px rgba(0, 0, 0, 0.15),
    inset 0 0 0 2px rgba(255, 255, 255, 0.15),
    inset 0 0 0 4px #0f1015;
  transform-style: preserve-3d;
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform 0.5s ease;
}

.phone-mockup-3d:hover {
  transform: rotateY(0deg) rotateX(0deg);
}

.phone-inner {
  width: 100%;
  height: 100%;
  background: #FAFAFC;
  border-radius: 38px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.phone-screen-full-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 36px;
  display: block;
}

/* Phone Top Bar */
.phone-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px 6px;
  font-size: 0.7rem;
  font-weight: 700;
}

.phone-island {
  width: 80px;
  height: 18px;
  background: #000000;
  border-radius: 20px;
}

/* Phone App Content */
.app-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 16px;
}

.app-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
}

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

.app-icon-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--primary-violet);
  background: rgba(114, 92, 255, 0.1);
  padding: 4px 10px;
  border-radius: 99px;
}

.app-hero-copy {
  padding: 4px 16px 8px;
}

.app-hero-copy h2 {
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 900;
  color: var(--dark-ink);
}

.grad-pink-text {
  background: var(--text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.app-photo-stack-card {
  padding: 0 16px;
  margin-bottom: 10px;
}

.photo-stack-img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

/* Upload Card inside Phone */
.app-upload-card {
  margin: 0 14px 12px;
  padding: 12px;
  background: linear-gradient(135deg, #FFF1DF 0%, #FFF7F9 50%, #F5E8FF 100%);
  border: 1px solid rgba(255, 152, 56, 0.3);
  border-radius: 18px;
  text-align: center;
}

.upload-icon-circle {
  width: 36px;
  height: 36px;
  background: #FFFFFF;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  box-shadow: 0 4px 10px rgba(255, 152, 56, 0.2);
}

.upload-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--dark-ink);
}

.upload-subtitle {
  font-size: 0.6rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.app-btn-gallery {
  width: 100%;
  padding: 8px 14px;
  background: var(--btn-gradient);
  color: #FFFFFF;
  border: none;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(255, 110, 95, 0.3);
  cursor: pointer;
}

/* 4 Trust Pills inside Phone */
.app-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 0 14px;
  margin-bottom: 10px;
}

.trust-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px 2px;
  border-radius: 10px;
  font-size: 0.55rem;
  font-weight: 800;
  text-align: center;
}

.trust-pill.offline { background: var(--pill-offline-bg); color: var(--pill-offline-text); }
.trust-pill.uploads { background: var(--pill-uploads-bg); color: var(--pill-uploads-text); }
.trust-pill.ai { background: var(--pill-ai-bg); color: var(--pill-ai-text); }
.trust-pill.privacy { background: var(--pill-privacy-bg); color: var(--pill-privacy-text); }

/* Studio Card inside Phone */
.app-studio-card {
  margin: 0 14px;
  padding: 10px;
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.studio-card-title {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--dark-ink);
}

.studio-card-desc {
  font-size: 0.55rem;
  color: var(--text-muted);
  line-height: 1.3;
  margin-bottom: 8px;
}

/* Studio Comparison Box inside Phone */
.studio-comparison-box {
  position: relative;
  width: 100%;
  height: 100px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 8px;
  user-select: none;
  cursor: ew-resize;
}

.comp-img-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.comp-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.after-wrapper {
  clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}

.comp-label {
  position: absolute;
  bottom: 6px;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.5rem;
  font-weight: 800;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.5);
  color: #FFFFFF;
  backdrop-filter: blur(4px);
}

.before-label { left: 6px; }
.after-label { right: 6px; background: rgba(255, 152, 56, 0.85); }

.slider-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #FFFFFF;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-handle {
  width: 20px;
  height: 20px;
  background: var(--primary-orange);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFFFF;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.app-btn-ai {
  width: 100%;
  padding: 6px;
  background: var(--btn-gradient);
  color: #FFFFFF;
  border: none;
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}

/* Bottom Navigation Bar inside Phone */
.app-bottom-nav {
  margin-top: auto;
  background: #FFFFFF;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 6px 10px 10px;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 0.55rem;
  font-weight: 700;
  color: #94A3B8;
}

.nav-item.active { color: var(--primary-orange); }

.fab-center {
  margin-top: -16px;
}

.fab-circle {
  width: 34px;
  height: 34px;
  background: var(--btn-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(255, 110, 95, 0.4);
}

/* ==========================================================================
   Core Benefits 4-Column Bar
   ========================================================================== */

.benefits-section {
  position: relative;
  z-index: 20;
  margin-top: -30px;
  margin-bottom: 80px;
}

.benefits-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 32px 40px;
  box-shadow: 0 16px 40px rgba(114, 92, 255, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-purple { background: var(--pill-offline-bg); color: var(--pill-offline-text); }
.icon-pink { background: var(--pill-uploads-bg); color: var(--pill-uploads-text); }
.icon-blue { background: var(--pill-ai-bg); color: var(--pill-ai-text); }
.icon-green { background: var(--pill-privacy-bg); color: var(--pill-privacy-text); }

.benefit-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark-ink);
  margin-bottom: 2px;
}

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

.benefit-divider {
  width: 1px;
  height: 48px;
  background: #E2E8F0;
  margin: 0 20px;
}

/* ==========================================================================
   How IDify Works (40% / 60% Vertical Stepper Row Layout)
   ========================================================================== */

.how-it-works-section {
  padding: 60px 0 100px;
  position: relative;
  z-index: 10;
}

.how-works-row {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 36px;
  align-items: center;
}

/* Left Column: 40% Vertical Stepper */
.stepper-vertical-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stepper-vertical-line {
  position: absolute;
  left: 27px;
  top: 30px;
  bottom: 30px;
  width: 3px;
  background: #E2E8F0;
  z-index: 1;
  border-radius: 3px;
}

.step-card {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.7);
  border: 1.5px solid rgba(226, 232, 240, 0.8);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.step-card:hover {
  background: #FFFFFF;
  transform: translateX(6px);
  border-color: rgba(255, 152, 56, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.step-card.active {
  background: #FFFFFF;
  border-color: var(--primary-orange);
  box-shadow: 0 12px 32px rgba(255, 110, 95, 0.18);
  transform: translateX(10px);
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2.5px solid #CBD5E1;
  color: #64748B;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.step-card.active .step-num {
  background: var(--btn-gradient);
  border-color: #FFFFFF;
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(255, 110, 95, 0.4);
}

.step-info {
  flex: 1;
}

.step-info h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark-ink);
  margin-bottom: 2px;
  line-height: 1.25;
}

.step-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.step-arrow {
  color: #94A3B8;
  opacity: 0.4;
  transition: all 0.3s ease;
}

.step-card.active .step-arrow {
  color: var(--primary-orange);
  opacity: 1;
  transform: translateX(4px);
}

/* Right Column: 60% Display Stage */
.how-works-right {
  width: 100%;
}

.step-display-stage {
  background: #FFFFFF;
  border-radius: 32px;
  padding: 36px;
  box-shadow: 0 24px 60px rgba(114, 92, 255, 0.12);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.step-header-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #F1F5F9;
}

.step-header-banner h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--dark-ink);
}

.step-preview-card {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.step-preview-card.active {
  display: block;
}

.upload-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.step-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary-orange);
  background: rgba(255, 152, 56, 0.12);
  padding: 4px 12px;
  border-radius: 99px;
}

.step-phone-screen {
  background: #F8FAFC;
  border-radius: 20px;
  border: 1px solid #E2E8F0;
  overflow: hidden;
  min-height: 390px;
  display: flex;
  flex-direction: column;
}

.screen-header {
  background: #FFFFFF;
  padding: 12px;
  font-weight: 800;
  font-size: 0.9rem;
  text-align: center;
  border-bottom: 1px solid #E2E8F0;
  color: var(--dark-ink);
}

.screen-content {
  flex: 1;
  padding: 20px;
}

.mockup-upload-box {
  text-align: center;
}

.upload-icon-pulse {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #FFF1DF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.upload-txt {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.mockup-btn {
  padding: 8px 20px;
  background: var(--btn-gradient);
  color: white;
  border: none;
  border-radius: 99px;
  font-weight: 800;
  font-size: 0.8rem;
  cursor: pointer;
}

.mockup-btn.green-btn {
  background: var(--primary-mint);
  box-shadow: 0 4px 14px rgba(69, 211, 138, 0.35);
}

.mockup-face-enhance, .mockup-crop-guide {
  position: relative;
  width: 150px;
  height: 185px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.mockup-face-enhance img, .mockup-crop-guide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ai-scan-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-orange);
  box-shadow: 0 0 10px var(--primary-orange);
  animation: scanMove 2s infinite ease-in-out alternate;
}

@keyframes scanMove {
  0% { top: 0; }
  100% { top: 100%; }
}

.ai-tag, .biometric-tag {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  background: rgba(16, 19, 41, 0.85);
  color: white;
  font-size: 0.55rem;
  font-weight: 800;
  padding: 4px 6px;
  border-radius: 6px;
  text-align: center;
  backdrop-filter: blur(4px);
}

.grid-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.grid-oval {
  position: absolute;
  top: 15%;
  left: 20%;
  right: 20%;
  bottom: 25%;
  border: 2px dashed var(--primary-orange);
  border-radius: 50%;
}

.mockup-size-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.size-item {
  background: white;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  font-size: 0.85rem;
}

.size-item.selected {
  border-color: var(--primary-orange);
  background: #FFF9F3;
  box-shadow: 0 4px 12px rgba(255, 152, 56, 0.12);
}

.size-detail {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.mockup-print-sheet {
  text-align: center;
  width: 100%;
}

.print-header {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.print-grid-8 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  background: white;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 14px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.mini-photo {
  aspect-ratio: 0.78;
  height: 95px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
}

.mini-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Interactive Web Studio Simulator Section
   ========================================================================== */

.demo-section {
  padding: 40px 0 100px;
}

.demo-card {
  background: #FFFFFF;
  border-radius: 32px;
  padding: 48px;
  box-shadow: 0 24px 60px rgba(114, 92, 255, 0.12);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.demo-header {
  text-align: center;
  margin-bottom: 40px;
}

.badge-pill.light {
  background: rgba(255, 152, 56, 0.1);
  color: var(--primary-orange);
  border-color: rgba(255, 152, 56, 0.2);
}

.demo-title {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 900;
  margin: 12px 0 8px;
}

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

.demo-body-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.control-group {
  margin-bottom: 24px;
}

.control-label {
  display: block;
  font-size: 0.9rem;
  color: var(--dark-ink);
  margin-bottom: 10px;
}

.form-select {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1.5px solid #E2E8F0;
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark-ink);
  outline: none;
  background: #F8FAFC;
  cursor: pointer;
}

.form-select:focus {
  border-color: var(--primary-orange);
  background: white;
}

.color-picker-group {
  display: flex;
  gap: 12px;
}

.color-chip {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #E2E8F0;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.color-chip:hover {
  transform: scale(1.1);
}

.color-chip.active {
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px rgba(255, 152, 56, 0.3);
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
}

.radio-option input {
  accent-color: var(--primary-orange);
}

.sample-avatars {
  display: flex;
  gap: 12px;
}

.sample-btn {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 2px solid #E2E8F0;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

.sample-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sample-btn.active {
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px rgba(255, 152, 56, 0.3);
}

/* Demo Preview Sheet */
.sheet-frame {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 24px;
}

.sheet-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--dark-ink);
  margin-bottom: 16px;
}

.sheet-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.sheet-canvas-container {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border: 1px dashed #CBD5E1;
}

.sheet-grid {
  display: grid;
  gap: 12px;
}

.sheet-grid.grid-8 {
  grid-template-columns: repeat(4, 1fr);
}

.sheet-grid.grid-4 {
  grid-template-columns: repeat(2, 1fr);
}

.sheet-photo-cell {
  aspect-ratio: 0.8;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.1);
  transition: background-color 0.3s ease;
}

.sheet-photo-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Banner Section
   ========================================================================== */

.banner-section {
  padding: 40px 0 80px;
}

.banner-card {
  background: var(--brand-gradient);
  border-radius: 32px;
  padding: 48px 56px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 20px 50px rgba(239, 62, 147, 0.3);
}

.banner-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.banner-app-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.2);
}

.banner-heading {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 6px;
}

.banner-subtext {
  font-size: 1rem;
  opacity: 0.9;
}

.banner-features {
  display: flex;
  gap: 32px;
}

.banner-feat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 800;
  text-align: center;
}

.banner-feat-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Detailed Features Grid
   ========================================================================== */

.features-section {
  padding: 80px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 36px 30px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(114, 92, 255, 0.1);
}

.feat-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feat-icon-box.purple { background: rgba(114, 92, 255, 0.1); color: var(--primary-violet); }
.feat-icon-box.orange { background: rgba(255, 152, 56, 0.1); color: var(--primary-orange); }
.feat-icon-box.pink { background: rgba(239, 62, 147, 0.1); color: var(--primary-pink); }
.feat-icon-box.blue { background: rgba(79, 183, 255, 0.1); color: var(--primary-sky); }
.feat-icon-box.green { background: rgba(69, 211, 138, 0.1); color: var(--primary-mint); }
.feat-icon-box.violet { background: rgba(181, 144, 255, 0.15); color: var(--primary-lavender); }

.feat-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark-ink);
  margin-bottom: 10px;
}

.feat-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Privacy & Comparison Table
   ========================================================================== */

.privacy-section {
  padding: 60px 0;
}

.privacy-card {
  background: #FFFFFF;
  border-radius: 32px;
  padding: 48px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.04);
  border: 1px solid #E2E8F0;
}

.privacy-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
}

.privacy-shield-icon {
  width: 70px;
  height: 70px;
  background: rgba(114, 92, 255, 0.1);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.privacy-header h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.comparison-table-wrapper {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th, .comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #E2E8F0;
}

.comparison-table th {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark-ink);
}

.comparison-table .highlight-col {
  background: rgba(114, 92, 255, 0.04);
  color: var(--primary-violet);
  font-weight: 800;
}

.status-yes { color: #059669; font-weight: 800; }
.status-no { color: #EF4444; }

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonials-section {
  padding: 80px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 32px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
}

.t-stars {
  color: #FFB800;
  margin-bottom: 14px;
}

.t-quote {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #334155;
  margin-bottom: 20px;
  font-style: italic;
}

.t-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.t-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-size: cover;
}

.t-name {
  font-weight: 800;
  font-size: 0.9rem;
}

.t-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.faq-section {
  padding: 80px 0;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #FFFFFF;
  border-radius: 18px;
  border: 1px solid #E2E8F0;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
  color: var(--dark-ink);
  cursor: pointer;
  text-align: left;
}

.faq-chevron {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 24px 20px;
}

/* ==========================================================================
   Download CTA & Footer
   ========================================================================== */

.download-cta-section {
  padding: 60px 0 100px;
}

.cta-box {
  background: var(--dark-ink);
  border-radius: 36px;
  padding: 60px;
  color: #FFFFFF;
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 40px;
  align-items: center;
  box-shadow: 0 24px 60px rgba(16, 19, 41, 0.3);
}

.cta-title {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.cta-desc {
  font-size: 1.1rem;
  color: #94A3B8;
  margin-bottom: 32px;
}

.cta-store-buttons {
  display: flex;
  gap: 16px;
}

.cta-qr-side {
  display: flex;
  justify-content: center;
}

.qr-box {
  background: #FFFFFF;
  padding: 16px;
  border-radius: 20px;
  text-align: center;
  color: var(--dark-ink);
}

.qr-img {
  width: 140px;
  height: 140px;
  border-radius: 10px;
  margin-bottom: 8px;
}

.qr-label {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-muted);
}

/* Footer */
.footer-main {
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  padding: 60px 0 30px;
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 14px;
  max-width: 300px;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--dark-ink);
}

.footer-col a {
  display: block;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--primary-orange);
}

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light);
  border-top: 1px solid #F1F5F9;
  padding-top: 24px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-description {
    margin: 0 auto 32px;
  }

  .store-badges {
    justify-content: center;
  }

  .social-proof {
    justify-content: center;
  }

  .benefits-card {
    flex-direction: column;
    gap: 24px;
  }

  .benefit-divider {
    display: none;
  }

  .how-works-row {
    grid-template-columns: 1fr;
  }

  .demo-body-grid {
    grid-template-columns: 1fr;
  }

  .banner-card {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }

  .banner-left {
    flex-direction: column;
  }

  .features-grid, .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-store-buttons {
    justify-content: center;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.6rem;
  }

  .nav-menu {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .stepper-grid {
    grid-template-columns: 1fr;
  }

  .stepper-line {
    display: none;
  }

  .phone-mockup-3d {
    width: 290px;
    height: 600px;
  }
}
