/* ==============================================================================
   AVMARKONE Product Showcase — FastDocscan™ Mobile Application
   ============================================================================== */

:root {
  --fds-primary: #10b981;
  --fds-primary-glow: rgba(16, 185, 129, 0.35);
  --fds-primary-dark: #059669;
  --fds-secondary: #06b6d4;
  --fds-accent: #3b82f6;
  --fds-bg-dark: #0b1120;
  --fds-bg-card: rgba(15, 23, 42, 0.75);
  --fds-border: rgba(255, 255, 255, 0.1);
  --fds-border-glow: rgba(16, 185, 129, 0.3);
  --fds-text-main: #f8fafc;
  --fds-text-muted: #94a3b8;
}

/* Base Container & Typography */
.fds-page {
  background-color: var(--fds-bg-dark);
  color: var(--fds-text-main);
  overflow-x: hidden;
}

.fds-container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

/* Hero Section */
.fds-hero {
  position: relative;
  padding: 60px 0 80px;
  background: radial-gradient(circle at 50% 10%, rgba(16, 185, 129, 0.12) 0%, transparent 60%),
              radial-gradient(circle at 90% 20%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
              #0b1120;
  border-bottom: 1px solid var(--fds-border);
}

.fds-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

/* Hero App Identity Badge */
.fds-hero-identity {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  padding: 8px 18px 8px 10px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(16, 185, 129, 0.15);
}

.fds-app-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5), 0 0 15px rgba(16, 185, 129, 0.25);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  display: block;
}

.fds-hero-identity-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.fds-hero-identity-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #34d399;
}

.fds-hero-identity-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  display: inline-block;
}

.fds-hero-identity-name {
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.fds-hero-identity-sub {
  font-size: 12.5px;
  color: #94a3b8;
  font-weight: 600;
}

.fds-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.fds-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.fds-badge-primary {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.fds-badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: fdsPulse 2s infinite;
}

@keyframes fdsPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.fds-badge-play {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.fds-title {
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.fds-grad-emerald {
  background: linear-gradient(135deg, #34d399 0%, #10b981 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fds-lead {
  font-size: clamp(16px, 1.8vw, 19px);
  color: #cbd5e1;
  line-height: 1.6;
  margin: 0 0 32px;
}

/* Call to Action Buttons */
.fds-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.fds-playstore-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 24px;
  background: #000;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.fds-playstore-btn:hover {
  border-color: #10b981;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.3);
}

.fds-playstore-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.fds-playstore-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.fds-playstore-sub {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a3b8;
  font-weight: 600;
}

.fds-playstore-main {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
}

.fds-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.05);
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.fds-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Trust Pills Grid */
.fds-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.fds-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  font-size: 13px;
  color: #cbd5e1;
}

.fds-trust-item strong {
  color: #fff;
}

.fds-trust-icon {
  font-size: 18px;
}

/* Hero Media Display */
.fds-hero-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fds-mockup-frame {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: 28px;
  padding: 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(16, 185, 129, 0.15);
  transition: transform 0.4s ease;
}

.fds-mockup-frame:hover {
  transform: translateY(-6px);
}

.fds-mockup-img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
  object-fit: cover;
}

.fds-floating-chip {
  position: absolute;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 14px;
  padding: 12px 18px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  animation: fdsFloat 4s ease-in-out infinite;
}

.fds-floating-chip-1 {
  top: 10%;
  left: -20px;
}

.fds-floating-chip-2 {
  bottom: 8%;
  right: -20px;
  animation-delay: 2s;
}

@keyframes fdsFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.fds-chip-title {
  font-size: 11px;
  text-transform: uppercase;
  color: #34d399;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.fds-chip-val {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin-top: 2px;
}

/* Feature Showcase Grid */
.fds-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--fds-border);
}

.fds-section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 54px;
}

.fds-section-kicker {
  color: #34d399;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.fds-section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 900;
  margin: 0 0 16px;
  line-height: 1.2;
}

.fds-section-desc {
  font-size: 16px;
  color: var(--fds-text-muted);
  line-height: 1.6;
}

/* Features Grid */
.fds-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.fds-feature-card {
  background: var(--fds-bg-card);
  border: 1px solid var(--fds-border);
  border-radius: 20px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(12px);
}

.fds-feature-card:hover {
  border-color: var(--fds-border-glow);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(16, 185, 129, 0.1);
}

.fds-feat-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  color: #34d399;
}

.fds-feat-title {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 10px;
}

.fds-feat-desc {
  font-size: 14px;
  color: var(--fds-text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.fds-feat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.fds-feat-pill {
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 10px;
  border-radius: 6px;
  color: #94a3b8;
}

/* Interactive Ads Creatives & Screens Carousel */
.fds-screens-slider {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .fds-screens-slider {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .fds-screens-slider {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 360px;
    margin: 0 auto;
  }
}

.fds-screen-item {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--fds-border);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.fds-screen-item:hover {
  border-color: #34d399;
  transform: translateY(-5px);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(16, 185, 129, 0.15);
}

.fds-screen-img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #0f172a;
  border-bottom: 1px solid var(--fds-border);
}

.fds-screen-meta {
  padding: 16px;
}

.fds-screen-tag {
  font-size: 10px;
  text-transform: uppercase;
  color: #34d399;
  font-weight: 800;
}

.fds-screen-caption {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin: 4px 0 0;
}

/* Engineering Architecture Spec Section */
.fds-arch-box {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.7) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 44px;
  margin-top: 40px;
}

.fds-arch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.fds-arch-col h4 {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 14px;
  color: #34d399;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fds-arch-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fds-arch-list li {
  font-size: 13.5px;
  color: #cbd5e1;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.fds-arch-list li:last-child {
  border-bottom: none;
}

.fds-arch-bullet {
  color: #10b981;
  font-weight: 900;
}

/* Comparison Matrix (FastDocscan vs Cloud Scanners) */
.fds-compare-wrap {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--fds-border);
  background: rgba(15, 23, 42, 0.6);
  margin-top: 30px;
}

.fds-compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.fds-compare-table th {
  padding: 18px 24px;
  background: rgba(15, 23, 42, 0.95);
  color: #94a3b8;
  font-weight: 700;
  border-bottom: 1px solid var(--fds-border);
}

.fds-compare-table th.highlight {
  color: #34d399;
  background: rgba(16, 185, 129, 0.1);
  font-weight: 900;
}

.fds-compare-table td {
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
}

.fds-compare-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.fds-check-yes {
  color: #10b981;
  font-weight: 900;
}

.fds-check-no {
  color: #ef4444;
  font-weight: 700;
}

/* FAQ Accordion */
.fds-faq-grid {
  display: grid;
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}

.fds-faq-item {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--fds-border);
  border-radius: 14px;
  padding: 20px 24px;
  transition: border-color 0.25s ease;
}

.fds-faq-item[open] {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(15, 23, 42, 0.9);
}

.fds-faq-item summary {
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.fds-faq-item summary::after {
  content: '▾';
  color: #34d399;
  font-size: 18px;
  transition: transform 0.25s ease;
}

.fds-faq-item[open] summary::after {
  transform: rotate(180deg);
}

.fds-faq-answer {
  margin-top: 14px;
  font-size: 14.5px;
  color: #94a3b8;
  line-height: 1.6;
}

/* Bottom CTA Banner */
.fds-bottom-banner {
  background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.2) 0%, transparent 70%),
              linear-gradient(135deg, #0b1120 0%, #0f172a 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 28px;
  padding: 60px 40px;
  text-align: center;
  margin: 60px 0;
  position: relative;
  overflow: hidden;
}

.fds-bottom-logo-badge {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}

.fds-bottom-logo {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(16, 185, 129, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.18);
  display: block;
}

.fds-bottom-banner h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  margin: 0 0 16px;
}

.fds-bottom-banner p {
  font-size: 17px;
  color: #cbd5e1;
  max-width: 680px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

/* Responsive Rules for Mobile */
@media (max-width: 900px) {
  .fds-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .fds-hero-identity {
    margin-left: auto;
    margin-right: auto;
  }
  .fds-badge-row {
    justify-content: center;
  }
  .fds-cta-group {
    justify-content: center;
  }
  .fds-trust-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .fds-floating-chip-1 {
    left: 10px;
    top: 5px;
  }
  .fds-floating-chip-2 {
    right: 10px;
    bottom: 5px;
  }
  .fds-arch-box {
    padding: 24px;
  }
}

@media (max-width: 600px) {
  .fds-hero {
    padding: 40px 0 60px;
  }
  .fds-hero-identity {
    padding: 6px 14px 6px 8px;
    gap: 12px;
  }
  .fds-app-logo {
    width: 52px;
    height: 52px;
    border-radius: 13px;
  }
  .fds-hero-identity-name {
    font-size: 17px;
  }
  .fds-hero-identity-sub {
    font-size: 11px;
  }
  .fds-title {
    font-size: 30px;
  }
  .fds-playstore-btn {
    width: 100%;
    justify-content: center;
  }
  .fds-btn-secondary {
    width: 100%;
    justify-content: center;
  }
  .fds-grid-3 {
    grid-template-columns: 1fr;
  }
  .fds-bottom-banner {
    padding: 40px 20px;
  }
  .fds-bottom-logo {
    width: 68px;
    height: 68px;
    border-radius: 16px;
  }
}
