/* ==========================================================================
   DoTicker — Premium /download Page Stylesheet
   Signature Palette: Indigo (#696cff), Deep Violet (#5f33e1), Slate, White
   ========================================================================== */

:root {
  --primary: #696cff;
  --primary-hover: #595cd9;
  --primary-light: #eceefb;
  --primary-glow: rgba(105, 108, 255, 0.28);
  --accent: #5f33e1;
  --accent-gradient: linear-gradient(135deg, #696cff 0%, #5f33e1 100%);
  --hero-gradient: linear-gradient(135deg, #4f46e5 0%, #696cff 40%, #7b59ec 100%);
  --cyan: #00cfe8;
  --cyan-light: rgba(0, 207, 232, 0.12);
  --emerald: #28c76f;
  --emerald-light: rgba(40, 199, 111, 0.12);
  --amber: #ff9f43;
  --amber-light: rgba(255, 159, 67, 0.14);

  --ink: #2b283a;
  --ink-secondary: #4b465c;
  --muted: #6e6b7b;
  --muted-light: #8e8ba0;

  --surface: #ffffff;
  --surface-alt: #f8f7fc;
  --surface-card: #ffffff;
  --border: #eceaf5;
  --border-focus: #c2c3ff;

  --footer-bg: #1e1b2e;
  --footer-text: #a8a5b8;
  --footer-heading: #ffffff;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  --shadow-xs: 0 2px 6px rgba(47, 43, 61, 0.04);
  --shadow-sm: 0 4px 14px rgba(47, 43, 61, 0.06);
  --shadow-md: 0 12px 28px rgba(47, 43, 61, 0.08);
  --shadow-lg: 0 20px 45px rgba(47, 43, 61, 0.12);
  --shadow-primary: 0 12px 28px -6px rgba(105, 108, 255, 0.38);

  --nav-h: 76px;
  --max-w: 1200px;
  --transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background:
    radial-gradient(1100px 520px at 85% 0%, rgba(105, 108, 255, 0.12) 0%, transparent 65%),
    radial-gradient(900px 480px at 0% 100%, rgba(95, 51, 225, 0.08) 0%, transparent 60%),
    var(--surface-alt);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

p {
  margin-top: 0;
}

h1, h2, h3, h4, h5 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-top: 0;
}

.wrap {
  width: min(var(--max-w), calc(100% - 40px));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 20px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top var(--transition);
}
.skip:focus {
  top: 16px;
}

/* ==========================================================================
   Header Navigation
   ========================================================================== */
.dl-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(236, 234, 245, 0.85);
  display: flex;
  align-items: center;
}

.dl-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand-icon-wrap {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(105, 108, 255, 0.2);
}

.brand-icon-wrap img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: contain;
}

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

.dl-nav-links a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color var(--transition);
}

.dl-nav-links a:hover {
  color: var(--primary);
}

.dl-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #ffffff;
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -6px rgba(105, 108, 255, 0.48);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: var(--surface-alt);
  border-color: var(--border-focus);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #111827;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 10px 22px 10px 16px;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

.btn-store:hover,
.btn-store:focus-visible {
  background: #000000;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-store svg {
  flex-shrink: 0;
}

.btn-store .btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}

.btn-store .btn-sub {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.8;
}

.btn-store .btn-title {
  font-size: 1.05rem;
  font-weight: 700;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.dl-hero {
  position: relative;
  padding: 60px 0 80px;
  overflow: hidden;
}

.dl-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: var(--radius-pill);
  background: rgba(105, 108, 255, 0.1);
  border: 1px solid rgba(105, 108, 255, 0.24);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 4px rgba(40, 199, 111, 0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.9); }
}

.hero-title {
  font-size: clamp(2.3rem, 4.5vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
  color: var(--ink);
}

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

.hero-lede {
  font-size: 1.12rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 540px;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.store-rating-note {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 28px;
}

.rating-stars {
  color: #ff9f43;
  display: inline-flex;
  gap: 2px;
  font-size: 0.95rem;
}

.rating-score {
  font-weight: 700;
  color: var(--ink);
}

/* Hero Phone Showcase */
.hero-mockup-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}

.hero-phones {
  position: relative;
  width: min(100%, 340px);
  height: 470px;
  margin: 0 auto;
}

.mockup-phone {
  position: absolute;
  width: min(62%, 220px);
  background: #1a1827;
  padding: 8px;
  border-radius: 34px;
  box-shadow: 0 32px 70px rgba(47, 43, 61, 0.22);
  border: 4px solid #332f4c;
  transition: transform 0.4s var(--transition);
}

.mockup-phone img {
  border-radius: 28px;
  width: 100%;
}

.mockup-phone--back {
  top: 36px;
  left: 4px;
  transform: rotate(-6deg);
  z-index: 1;
}

.mockup-phone--front {
  top: 0;
  right: 4px;
  transform: rotate(5deg);
  z-index: 2;
  box-shadow: 0 38px 80px rgba(47, 43, 61, 0.28);
}

.hero-mockup-wrapper:hover .mockup-phone--back {
  transform: rotate(-8deg) translateY(-6px);
}
.hero-mockup-wrapper:hover .mockup-phone--front {
  transform: rotate(6deg) translateY(-6px);
}

.floating-chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 36px rgba(47, 43, 61, 0.16);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.floating-chip--top {
  left: -12px;
  top: 60px;
}

.floating-chip--bottom {
  right: -12px;
  bottom: 40px;
}

.chip-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.chip-icon--indigo { background: rgba(105, 108, 255, 0.15); color: var(--primary); }
.chip-icon--amber { background: var(--amber-light); color: var(--amber); }

/* ==========================================================================
   Features Highlights Grid
   ========================================================================== */
.dl-features-section {
  padding: 80px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.eyebrow {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

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

.feature-card {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(105, 108, 255, 0.3);
  background: var(--surface);
}

.feature-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
}

.feature-icon--purple { background: rgba(105, 108, 255, 0.12); color: var(--primary); }
.feature-icon--cyan { background: var(--cyan-light); color: var(--cyan); }
.feature-icon--emerald { background: var(--emerald-light); color: var(--emerald); }
.feature-icon--amber { background: var(--amber-light); color: var(--amber); }

.feature-card h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.dl-faq-section {
  padding: 70px 0 90px;
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item:hover {
  border-color: var(--border-focus);
}

.faq-summary {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink);
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--primary);
  transition: transform var(--transition);
}

details[open] .faq-summary::after {
  transform: rotate(45deg);
}

.faq-content {
  padding: 0 24px 20px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ==========================================================================
   Bottom CTA Banner
   ========================================================================== */
.dl-bottom-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #1e1b2e 0%, #2f2b3d 60%, #3e385a 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.dl-bottom-cta::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(105, 108, 255, 0.25);
  filter: blur(80px);
  pointer-events: none;
}

.bottom-cta-inner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.bottom-cta-inner h2 {
  color: #ffffff;
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  margin-bottom: 16px;
}

.bottom-cta-inner p {
  color: #c8c5db;
  font-size: 1.1rem;
  margin-bottom: 36px;
  line-height: 1.6;
}

.bottom-cta-inner .store-row {
  justify-content: center;
  margin-bottom: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.dl-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 36px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.dl-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.dl-footer .brand {
  color: #ffffff;
}

.dl-footer-links {
  display: flex;
  gap: 24px;
}

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

.dl-footer-links a:hover {
  color: #ffffff;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 960px) {
  .dl-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    margin: 0 auto;
  }

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

  .store-rating-note {
    justify-content: center;
  }

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

@media (max-width: 680px) {
  .dl-nav-links {
    display: none;
  }

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

  .hero-phones {
    width: 280px;
    height: 400px;
  }

  .mockup-phone {
    width: 175px;
  }

  .floating-chip {
    display: none;
  }

  .dl-footer .wrap {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}
