/* ==========================================================================
   Twinkle2u.com — Custom Mobile & Web Application Studio Stylesheet
   ========================================================================== */

:root {
  --bg-primary: #090d16;
  --bg-secondary: #0f1624;
  --bg-card: rgba(20, 29, 47, 0.72);
  --bg-card-hover: rgba(28, 40, 64, 0.9);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-primary: #6366f1;
  --accent-secondary: #06b6d4;
  --accent-tertiary: #a855f7;
  --border-subtle: rgba(148, 163, 184, 0.14);
  --border-highlight: rgba(99, 102, 241, 0.45);
  --success: #10b981;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.45);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', var(--font-sans);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

ul, ol {
  list-style: none;
}

[hidden] {
  display: none !important;
}

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

/* ==========================================================================
   Typography & Shared UI
   ========================================================================== */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, #818cf8 0%, #22d3ee 55%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  font-family: var(--font-sans);
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
  padding: 15px 28px;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), #4f46e5);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.55);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-secondary);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  margin-bottom: 16px;
}

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

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(9, 13, 22, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: padding 0.25s ease, background 0.25s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
}

.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #fff;
  font-size: 1.05rem;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
}

.logo-text .accent {
  color: var(--accent-secondary);
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger {
  position: relative;
}

.hamburger::before {
  position: absolute;
  top: -6px;
}

.hamburger::after {
  position: absolute;
  top: 6px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 140px 0 96px;
  overflow: hidden;
  background-color: var(--bg-primary);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 72%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(1.05) contrast(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      var(--bg-primary) 0%,
      var(--bg-primary) 28%,
      rgba(9, 13, 22, 0.92) 44%,
      rgba(9, 13, 22, 0.58) 66%,
      rgba(9, 13, 22, 0.25) 100%
    ),
    linear-gradient(
      180deg,
      rgba(9, 13, 22, 0.75) 0%,
      rgba(9, 13, 22, 0.1) 25%,
      rgba(9, 13, 22, 0.15) 75%,
      var(--bg-primary) 100%
    );
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-title {
  font-size: clamp(2.4rem, 4.4vw, 3.65rem);
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.12rem;
  color: #cbd5e1;
  max-width: 540px;
  margin-bottom: 34px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 18px 26px;
  background: rgba(15, 22, 36, 0.68);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

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

.stat-num {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-primary);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border-subtle);
}

/* Hero Visual Showcase */
.device-showcase {
  position: relative;
  padding: 16px;
}

.mockup-window {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.window-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(15, 22, 36, 0.9);
  border-bottom: 1px solid var(--border-subtle);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.window-url {
  margin-left: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: monospace;
}

.window-body {
  padding: 22px;
}

.mock-metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

.mock-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mock-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.mock-val {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-display);
}

.mock-trend {
  font-size: 0.75rem;
  color: var(--success);
  font-weight: 600;
}

.mock-chart {
  height: 120px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.mock-chart .bar {
  flex: 1;
  background: rgba(99, 102, 241, 0.35);
  border-radius: 6px 6px 2px 2px;
  transition: height 0.4s ease;
}

.mock-chart .bar.active {
  background: linear-gradient(180deg, var(--accent-secondary), var(--accent-primary));
}

.mock-code {
  background: #070a12;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  font-size: 0.82rem;
}

.c-kw { color: #c084fc; }
.c-fn { color: #38bdf8; }
.c-str { color: #34d399; }

.mockup-phone {
  position: absolute;
  bottom: -22px;
  right: -12px;
  width: 215px;
  background: #111827;
  border: 2px solid rgba(99, 102, 241, 0.5);
  border-radius: 26px;
  padding: 14px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.65);
}

.phone-notch {
  width: 56px;
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 99px;
  margin: 0 auto 12px;
}

.phone-pill {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.phone-Title {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 4px 0 10px;
}

.phone-progress {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 12px;
}

.phone-progress-bar {
  width: 86%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
}

.phone-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.phone-tags span {
  font-size: 0.68rem;
  padding: 3px 8px;
  border-radius: 99px;
  background: rgba(99, 102, 241, 0.16);
  color: #c7d2fe;
}

/* ==========================================================================
   Services Section
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
  background: var(--bg-card-hover);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(99, 102, 241, 0.14);
  color: #818cf8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 0;
}

.service-card h3 {
  font-size: 1.3rem;
  margin: 0;
  line-height: 1.3;
}

.service-card p {
  color: var(--text-secondary);
  margin-bottom: 22px;
  font-size: 0.98rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list li {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  border: 1px solid var(--border-subtle);
}

/* ==========================================================================
   Products Section
   ========================================================================== */

.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-sans);
}

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

.filter-btn.active {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #fff;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 880px;
  margin: 0 auto;
}

.product-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.product-card.hidden {
  display: none;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-highlight);
}

.product-banner {
  height: 210px;
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.product-banner-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.product-screenshot-primary {
  position: absolute;
  width: 175px;
  height: auto;
  top: 14px;
  left: 50%;
  transform: translateX(-62%) rotate(-6deg);
  border-radius: 16px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.35);
  opacity: 1;
  filter: brightness(1.08) contrast(1.03);
  transition: transform 0.4s ease, opacity 0.4s ease, filter 0.4s ease;
}

.product-screenshot-secondary {
  position: absolute;
  width: 165px;
  height: auto;
  top: 26px;
  left: 50%;
  transform: translateX(-2%) rotate(7deg);
  border-radius: 16px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.28);
  opacity: 0.96;
  filter: brightness(1.06) contrast(1.02);
  transition: transform 0.4s ease, opacity 0.4s ease, filter 0.4s ease;
}

.product-card:hover .product-screenshot-primary {
  transform: translateX(-66%) translateY(-4px) rotate(-8deg) scale(1.03);
  filter: brightness(1.12) contrast(1.04);
}

.product-card:hover .product-screenshot-secondary {
  transform: translateX(2%) translateY(-4px) rotate(9deg) scale(1.03);
  opacity: 1;
  filter: brightness(1.1) contrast(1.03);
}

.product-banner-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(9, 13, 22, 0.0) 0%,
      rgba(9, 13, 22, 0.08) 65%,
      var(--bg-primary) 100%
    );
}

.banner-indigo {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.35), rgba(59, 130, 246, 0.15));
}

.banner-cyan {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.35), rgba(16, 185, 129, 0.15));
}

.banner-purple {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.35), rgba(236, 72, 153, 0.15));
}

.banner-emerald {
  background: linear-gradient(135deg, rgba(45, 106, 79, 0.50), rgba(82, 183, 136, 0.25));
}

.banner-volt {
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.35), rgba(255, 215, 0, 0.18));
}

.product-category-pill {
  position: relative;
  z-index: 2;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 99px;
  background: rgba(9, 13, 22, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.product-glyph {
  position: relative;
  z-index: 2;
  font-size: 2.5rem;
}

.product-app-icon {
  position: relative;
  z-index: 2;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.product-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.product-title-row h3 {
  font-size: 1.3rem;
}

.version-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-secondary);
}

.product-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.product-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.88rem;
  color: #cbd5e1;
}

.product-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.product-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-primary), #4f46e5);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.product-store-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.45);
  color: #ffffff;
}

.product-link {
  font-weight: 600;
  color: #818cf8;
  font-size: 0.95rem;
}

.product-link:hover {
  color: var(--accent-secondary);
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}

.about-story .section-title {
  margin-bottom: 20px;
}

.about-story > p {
  color: var(--text-secondary);
  margin-bottom: 18px;
  font-size: 1.04rem;
}

.values-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.value-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.18);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 3px;
}

.value-item h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.value-item p {
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.process-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.process-card h3 {
  font-size: 1.4rem;
  margin-bottom: 26px;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.process-steps li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--accent-secondary);
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.3);
  padding: 6px 10px;
  border-radius: 8px;
  flex-shrink: 0;
}

.step-body h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.step-body p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-lead {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.info-icon {
  font-size: 1.4rem;
}

.info-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-form-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #cbd5e1;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.form-feedback {
  margin-top: 16px;
  font-size: 0.92rem;
  border-radius: var(--radius-sm);
  display: none;
  padding: 12px 16px;
}

.form-feedback.success {
  display: block;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
}

.form-feedback.error {
  display: block;
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

/* ==========================================================================
   Product Detail Page (Google Play Store Marketing Layout)
   ========================================================================== */

.app-hero {
  padding: 124px 0 48px;
  background:
    radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.16), transparent 55%),
    radial-gradient(circle at 80% 40%, rgba(6, 182, 212, 0.12), transparent 50%),
    var(--bg-primary);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent-secondary);
  margin-bottom: 24px;
}

.back-link:hover {
  color: #fff;
}

.app-hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.app-hero-main {
  display: flex;
  gap: 36px;
  align-items: stretch;
}

.app-store-icon {
  width: 128px;
  height: 128px;
  border-radius: 28px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.app-title-block h1 {
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  margin-bottom: 8px;
}

.app-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.store-pill {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 99px;
  background: rgba(99, 102, 241, 0.16);
  color: #c7d2fe;
  border: 1px solid rgba(99, 102, 241, 0.35);
}

.app-developer {
  font-size: 0.92rem;
  color: var(--accent-secondary);
  font-weight: 600;
  margin-bottom: 14px;
}

.app-short-pitch {
  color: #cbd5e1;
  font-size: 1.05rem;
  max-width: 740px;
  margin-bottom: 24px;
}

.app-meta-strip {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  padding: 14px 22px;
  background: rgba(9, 13, 22, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 26px;
}

.meta-box {
  display: flex;
  flex-direction: column;
}

.meta-val {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.meta-lbl {
  font-size: 0.76rem;
  color: var(--text-secondary);
}

.meta-divider {
  width: 1px;
  height: 28px;
  background: var(--border-subtle);
}

.app-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.section-header-left {
  max-width: 680px;
  margin-bottom: 36px;
}

.screenshot-section {
  padding-top: 48px;
}

.screenshot-gallery {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 8px 4px 24px;
  scroll-snap-type: x mandatory;
}

.screenshot-gallery::-webkit-scrollbar {
  height: 8px;
}

.screenshot-gallery::-webkit-scrollbar-track {
  background: var(--bg-secondary);
  border-radius: 99px;
}

.screenshot-gallery::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.45);
  border-radius: 99px;
}

.phone-shot {
  flex: 0 0 230px;
  scroll-snap-align: start;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 12px;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.phone-shot.landscape {
  flex: 0 0 440px;
}

.companions-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 4px 20px;
  margin-top: 32px;
  scroll-snap-type: x mandatory;
}

.companions-grid::-webkit-scrollbar {
  height: 8px;
}

.companions-grid::-webkit-scrollbar-track {
  background: var(--bg-secondary);
  border-radius: 99px;
}

.companions-grid::-webkit-scrollbar-thumb {
  background: rgba(82, 183, 136, 0.45);
  border-radius: 99px;
}

.companion-card {
  flex: 1 1 0;
  min-width: 172px;
  scroll-snap-align: start;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px 14px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

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

.companion-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px;
  border: 1px solid var(--border-subtle);
  margin-bottom: 12px;
}

.companion-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.companion-info h4 {
  font-size: 1.12rem;
  margin-bottom: 2px;
  color: #fff;
}

.companion-species {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-secondary);
  margin-bottom: 8px;
}

.companion-quote {
  font-size: 0.84rem;
  font-style: italic;
  color: #94a3b8;
  line-height: 1.4;
}

.phone-shot:hover {
  transform: translateY(-5px);
  border-color: var(--border-highlight);
}

.phone-shot img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
  margin-bottom: 10px;
}

.phone-shot figcaption {
  font-size: 0.84rem;
  font-weight: 600;
  color: #cbd5e1;
}

.feature-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.pillar-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.pillar-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-3px);
}

.pillar-badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-secondary);
  margin-bottom: 8px;
}

.pillar-header h3 {
  font-size: 1.32rem;
  margin-bottom: 12px;
}

.pillar-card p {
  color: var(--text-secondary);
  font-size: 0.96rem;
  margin-bottom: 18px;
}

.pillar-bullets {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pillar-bullets li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.pillar-bullets li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: #818cf8;
}

.tech-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tech-highlight-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.tech-icon {
  font-size: 1.65rem;
  flex-shrink: 0;
}

.tech-highlight-item h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.tech-highlight-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.play-listing-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.play-listing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.play-listing-body p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 1rem;
}

.play-listing-body .lead-paragraph {
  color: var(--text-primary);
  font-size: 1.08rem;
}

.play-listing-body h4 {
  margin: 24px 0 14px;
  font-size: 1.1rem;
}

.play-listing-body ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.play-listing-body li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  padding-left: 20px;
  position: relative;
}

.play-listing-body li::before {
  content: '•';
  position: absolute;
  left: 4px;
  color: var(--accent-secondary);
  font-weight: bold;
}

.play-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.spec-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.spec-val {
  font-weight: 600;
  font-size: 0.94rem;
  color: #e2e8f0;
}

/* ==========================================================================
   Data Privacy Statement Section (Product Pages)
   ========================================================================== */

.privacy-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.privacy-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.privacy-header h2 {
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  margin-bottom: 6px;
}

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

.privacy-meta code,
.privacy-block code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.82rem;
  background: rgba(99, 102, 241, 0.14);
  color: #c7d2fe;
  padding: 2px 7px;
  border-radius: 5px;
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.privacy-shield-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 99px;
  background: rgba(16, 185, 129, 0.14);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.privacy-intro {
  color: #cbd5e1;
  font-size: 1.02rem;
  margin-bottom: 28px;
  line-height: 1.7;
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}

.privacy-block {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px;
}

.privacy-block h3 {
  font-size: 1.12rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.privacy-block p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  margin-bottom: 12px;
  line-height: 1.65;
}

.privacy-block p:last-child {
  margin-bottom: 0;
}

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

.privacy-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.privacy-list li::before {
  content: '•';
  position: absolute;
  left: 2px;
  color: var(--accent-secondary);
  font-weight: 700;
}

.privacy-list a,
.privacy-footer-box a:not(.btn) {
  color: var(--accent-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-footer-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 24px 28px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.28);
  border-radius: var(--radius-md);
}

.privacy-footer-box h4 {
  font-size: 1.02rem;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.privacy-footer-box p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  max-width: 780px;
  line-height: 1.6;
}

.privacy-support-panel {
  width: 100%;
  margin-top: 8px;
  padding-top: 22px;
  border-top: 1px solid rgba(99, 102, 241, 0.25);
}

.privacy-form-actions {
  display: flex;
  justify-content: flex-end;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding: 72px 0 36px;
  background: #060911;
  border-top: 1px solid var(--border-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-brand p {
  margin-top: 14px;
  color: var(--text-secondary);
  max-width: 300px;
  font-size: 0.95rem;
}

.footer-links h4 {
  font-size: 0.95rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--accent-secondary);
}

.footer-bottom {
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.88rem;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   FAQ Section for Search & AI Optimization
   ========================================================================== */

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
  margin-top: 36px;
}

.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.faq-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-3px);
}

.faq-card h3 {
  font-size: 1.12rem;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.faq-card h3::before {
  content: "✦";
  color: var(--accent-secondary);
  font-size: 0.95rem;
  line-height: 1.4;
  flex-shrink: 0;
}

.faq-card p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

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

@media (max-width: 992px) {
  .about-grid,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .hero-bg-image {
    width: 100%;
    opacity: 0.45;
  }

  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(9, 13, 22, 0.85) 0%,
      rgba(9, 13, 22, 0.72) 55%,
      var(--bg-primary) 100%
    );
  }

  .products-grid,
  .feature-pillars-grid,
  .tech-highlights-grid,
  .play-specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .app-hero-main {
    flex-direction: column;
  }

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

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    display: none;
  }

  .main-nav.open {
    display: flex;
  }

  .services-grid,
  .products-grid,
  .feature-pillars-grid,
  .tech-highlights-grid,
  .play-specs-grid,
  .privacy-grid,
  .faq-grid,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .app-hero-card,
  .play-listing-card,
  .privacy-card {
    padding: 24px;
  }

  .hero {
    padding: 128px 0 72px;
  }

  .section {
    padding: 72px 0;
  }
}

/* ==========================================================================
   Play Store QR Code & Download Badges
   ========================================================================== */

.app-hero-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  width: 128px;
  align-self: stretch;
  gap: 36px;
}

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

.app-hero-qr {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding-top: 36px;
}

.app-hero-qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 10px 8px 8px;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.app-hero-qr-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(99, 102, 241, 0.55);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(99, 102, 241, 0.22);
}

.app-hero-qr-img {
  width: 96px;
  height: 96px;
  border-radius: 8px;
  background: #ffffff;
  padding: 5px;
  display: block;
  margin: 0 auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.app-hero-qr-title {
  font-size: 0.64rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-top: 6px;
  white-space: nowrap;
  text-align: center;
}

@media (max-width: 992px) {
  .app-hero-side {
    flex-direction: row;
    width: auto;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    align-self: flex-start;
  }
  .app-hero-qr {
    width: auto;
  }
  .app-hero-qr-card {
    width: auto;
    padding: 10px 14px 8px;
  }
}

/* Bottom Listing Download Box with QR */
.play-download-cta {
  margin-top: 28px;
  padding: 22px 26px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.play-download-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.play-download-qr {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 8px 14px 8px 10px;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.play-download-qr:hover {
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-1px);
}

.play-download-qr-img {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  background: #ffffff;
  padding: 4px;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.play-download-qr-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.play-download-qr-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 5px;
}

.play-download-qr-sub {
  font-size: 0.74rem;
  color: #94a3b8;
}
