/*
Theme Name: Custom Single Page Landing Theme
Author: Vijay
Version: 1.0
Description: A custom single-page WordPress landing page theme converted from Lovable.
Text Domain: custom-single-page-landing
*/

/* =========================================
   Design tokens
========================================= */
:root {
  --background: #fefefe;
  --card: #ffffff;
  --ink: #1a1f2e;
  --ink-soft: #5a6478;
  --brand: #2e7de9;
  --brand-foreground: #ffffff;
  --brand-soft: #e8f1fd;
  --cta: #f27a2b;
  --cta-foreground: #ffffff;
  --rule: #e3e8f0;
  --radius: 12px;
}

/* =========================================
   Reset & base
========================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 {
  font-family: 'Fraunces', Georgia, serif;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.15;
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.text-center { text-align: center; }

/* =========================================
   Bars
========================================= */
.disclosure-bar {
  background: var(--brand-soft);
  color: var(--ink-soft);
  font-size: 12px;
}
.disclosure-bar .container {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 8px; padding-bottom: 8px;
}
.disclosure-bar .label { text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }

.announce-bar {
  background: var(--brand);
  color: var(--brand-foreground);
  font-size: 14px;
  text-align: center;
  padding: 10px 12px;
}

/* =========================================
   CTA button
========================================= */
.btn-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--cta); color: var(--cta-foreground);
  font-weight: 700; text-transform: uppercase; letter-spacing: .02em;
  padding: 16px 32px; border-radius: 999px; border: 0;
  box-shadow: 0 12px 30px -10px rgba(242,122,43,.55);
  transition: transform .15s ease, box-shadow .15s ease;
  animation: cta-pulse 2.4s ease-in-out infinite;
  font-size: 16px;
}
.btn-cta:hover { transform: translateY(-1px); box-shadow: 0 16px 36px -10px rgba(242,122,43,.75); }
@keyframes cta-pulse {
  0%,100% { box-shadow: 0 12px 30px -10px rgba(242,122,43,.55); }
  50% { box-shadow: 0 12px 40px -6px rgba(242,122,43,.85); transform: translateY(-1px); }
}

/* =========================================
   Hero
========================================= */
.hero {
  background: linear-gradient(180deg, var(--brand-soft) 0%, var(--background) 60%);
  overflow: hidden;
}
.hero .container {
  display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center;
  padding-top: 40px; padding-bottom: 60px;
}
.hero .stars { color: var(--cta); font-size: 18px; }
.hero .rating {
  display: flex; align-items: center; gap: 8px;
  color: var(--ink-soft); font-size: 14px;
}
.hero .rating .num { color: var(--ink); font-weight: 700; }
.hero h1 {
  font-size: clamp(34px, 6vw, 60px);
  margin-top: 16px;
}
.hero h1 .brand { color: var(--brand); }
.hero .lede { color: var(--ink-soft); font-size: 18px; margin-top: 16px; }
.hero .checklist { margin-top: 24px; display: grid; gap: 10px; }
.hero .checklist li { display: flex; gap: 10px; align-items: flex-start; }
.hero .checklist .check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 999px;
  background: var(--brand); color: #fff; font-size: 12px; margin-top: 3px; flex-shrink: 0;
}
.hero .cta-row { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero .customers { font-size: 14px; color: var(--ink-soft); }
.hero .customers strong { display: block; color: var(--ink); }
.hero .trust { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 12px; color: var(--ink-soft); }
.hero-image-wrap { position: relative; }
.hero-image-wrap::before {
  content: ""; position: absolute; inset: -24px;
  background: radial-gradient(circle at 30% 30%, rgba(46,125,233,.25), transparent 70%);
  filter: blur(20px); border-radius: 24px;
}
.hero-image {
  position: relative; width: 100%; aspect-ratio: 4/3; object-fit: cover;
  background: #fff; border-radius: 24px;
  box-shadow: 0 30px 60px -20px rgba(20,30,50,.25);
}

@media (min-width: 900px) {
  .hero .container { grid-template-columns: 1fr 1fr; padding: 60px 16px 80px; }
}

/* =========================================
   Feature strip
========================================= */
.strip {
  background: var(--card);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.strip .grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
  padding: 32px 0; text-align: center;
}
.strip .item { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.strip .icon { font-size: 32px; }
.strip .label { font-weight: 600; font-size: 13px; letter-spacing: .04em; }
@media (min-width: 700px) { .strip .grid { grid-template-columns: repeat(4, 1fr); } }

/* =========================================
   Gallery
========================================= */
.gallery { padding: 56px 0; }
.gallery-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.gallery-grid img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover;
  background: #fff; border: 1px solid var(--rule); border-radius: 14px;
}
@media (min-width: 600px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .gallery-grid { grid-template-columns: repeat(6, 1fr); } }

/* =========================================
   Section header
========================================= */
.section { padding: 64px 0; }
.section-alt { background: rgba(232, 241, 253, .6); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { color: var(--ink-soft); margin-top: 12px; }
.section-dark .section-head p { color: rgba(255,255,255,.7); }

/* =========================================
   Feature cards
========================================= */
.features-grid {
  margin-top: 48px;
  display: grid; gap: 20px; grid-template-columns: 1fr;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 16px; padding: 20px;
  transition: box-shadow .2s ease, transform .2s ease;
}
.feature-card:hover { box-shadow: 0 20px 40px -20px rgba(20,30,50,.18); transform: translateY(-2px); }
.feature-card .fi { font-size: 32px; }
.feature-card h3 { font-size: 20px; margin-top: 12px; }
.feature-card p { font-size: 14px; color: var(--ink-soft); margin-top: 6px; }
@media (min-width: 700px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features-grid { grid-template-columns: repeat(4, 1fr); } }

/* =========================================
   Alternating rows
========================================= */
.alt-row { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: center; margin-top: 64px; }
.alt-row:first-of-type { margin-top: 48px; }
.alt-row img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: 20px; box-shadow: 0 18px 40px -22px rgba(20,30,50,.35);
}
.alt-row h3 { font-size: clamp(24px, 3vw, 30px); }
.alt-row p { color: var(--ink-soft); margin-top: 16px; }
.alt-row .cta-wrap { margin-top: 24px; }
@media (min-width: 800px) {
  .alt-row { grid-template-columns: 1fr 1fr; gap: 40px; }
  .alt-row.reverse .row-media { order: 2; }
}

/* Sub features */
.subfeatures { margin-top: 48px; display: grid; gap: 20px; grid-template-columns: 1fr; }
.subfeatures .item { background: var(--card); border: 1px solid var(--rule); border-radius: 16px; padding: 24px; }
.subfeatures h4 { font-size: 20px; }
.subfeatures p { color: var(--ink-soft); font-size: 14px; margin-top: 8px; }
@media (min-width: 800px) { .subfeatures { grid-template-columns: repeat(3, 1fr); } }

/* =========================================
   Dark tech section
========================================= */
.tech-grid { margin-top: 48px; display: grid; gap: 20px; grid-template-columns: 1fr; }
.tech-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px; padding: 24px; backdrop-filter: blur(8px);
}
.tech-card h3 { font-size: 20px; }
.tech-card p { color: rgba(255,255,255,.72); margin-top: 8px; }
@media (min-width: 800px) { .tech-grid { grid-template-columns: repeat(2, 1fr); } }

/* =========================================
   Steps
========================================= */
.steps { margin-top: 48px; display: grid; gap: 24px; grid-template-columns: 1fr; }
.step { text-align: center; }
.step .media { position: relative; }
.step .media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 20px; box-shadow: 0 10px 30px -15px rgba(20,30,50,.35); }
.step .num {
  position: absolute; top: -18px; left: -18px;
  width: 48px; height: 48px; border-radius: 999px;
  background: var(--cta); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', Georgia, serif; font-size: 24px;
  box-shadow: 0 10px 24px -8px rgba(242,122,43,.6);
}
.step h3 { font-size: 20px; margin-top: 18px; }
.step p { color: var(--ink-soft); font-size: 14px; margin-top: 8px; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }

.center-cta { margin-top: 40px; text-align: center; }

/* =========================================
   Marquee
========================================= */
.marquee-band { background: var(--brand); color: var(--brand-foreground); overflow: hidden; }
.marquee-track {
  display: inline-block; white-space: nowrap; padding: 16px 0;
  font-family: 'Fraunces', Georgia, serif; font-size: 18px; letter-spacing: .03em;
  animation: marquee 30s linear infinite;
}
.marquee-track span { margin: 0 32px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================
   Testimonials
========================================= */
.testimonials { margin-top: 48px; display: grid; gap: 24px; grid-template-columns: 1fr; }
.review {
  background: var(--card); border: 1px solid var(--rule);
  border-radius: 20px; padding: 24px;
}
.review .who { display: flex; align-items: center; gap: 12px; }
.review .who img { width: 56px; height: 56px; border-radius: 999px; object-fit: cover; }
.review .name { font-family: 'Fraunces', Georgia, serif; font-size: 18px; }
.review .stars { color: var(--cta); }
.review blockquote { margin: 16px 0 0; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
@media (min-width: 900px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }

/* =========================================
   Comparison
========================================= */
.compare-grid { margin-top: 40px; display: grid; gap: 32px; grid-template-columns: 1fr; align-items: center; }
.compare-grid > img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 20px; }
.compare-table { overflow: hidden; border-radius: 20px; border: 1px solid var(--rule); background: var(--card); }
.compare-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare-table thead { background: var(--brand); color: var(--brand-foreground); }
.compare-table th, .compare-table td { padding: 12px 14px; text-align: center; }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; }
.compare-table tr + tr td { border-top: 1px solid var(--rule); }
.compare-table tr:nth-child(even) td { background: rgba(232, 241, 253, .4); }
.compare-table .yes { color: #16a34a; font-weight: 700; }
.compare-table .no { color: #dc2626; font-weight: 700; }
@media (min-width: 900px) { .compare-grid { grid-template-columns: 1fr 1.4fr; gap: 40px; } }

/* =========================================
   Guarantee band
========================================= */
.guarantee {
  border-radius: 28px;
  background: linear-gradient(135deg, var(--brand), rgba(46,125,233,.75));
  color: var(--brand-foreground);
  padding: 40px 24px; text-align: center;
  box-shadow: 0 30px 60px -30px rgba(46,125,233,.55);
}
.guarantee .shield { font-size: 56px; }
.guarantee h2 { font-size: clamp(26px, 4vw, 38px); margin-top: 12px; }
.guarantee p { max-width: 560px; margin: 16px auto 0; color: rgba(255,255,255,.9); }
.guarantee .cta-wrap { margin-top: 28px; display: flex; justify-content: center; }
.guarantee .fine { margin-top: 12px; font-size: 12px; color: rgba(255,255,255,.7); }
@media (min-width: 700px) { .guarantee { padding: 56px 40px; } }

/* =========================================
   FAQ
========================================= */
.faq { max-width: 720px; margin: 0 auto; padding: 0 16px 64px; }
.faq h2 { text-align: center; font-size: clamp(28px, 4vw, 40px); }
.faq-list { margin-top: 32px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.faq-item { border-top: 1px solid var(--rule); }
.faq-item:first-child { border-top: 0; }
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 18px 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; font-weight: 500;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  color: var(--brand); font-size: 22px; transition: transform .2s ease;
}
.faq-item[open] summary .plus { transform: rotate(45deg); }
.faq-item .answer { padding: 0 0 18px; color: var(--ink-soft); line-height: 1.6; }

/* =========================================
   Footer
========================================= */
.site-footer {
  border-top: 1px solid var(--rule);
  background: rgba(232, 241, 253, .5);
  font-size: 14px; color: var(--ink-soft);
}
.site-footer .container { padding-top: 40px; padding-bottom: 40px; display: grid; gap: 16px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer nav a:hover { color: var(--ink); }
