:root {
  --bg: #0b0d12;
  --surface: #12151c;
  --surface-2: #181c25;
  --border: #242935;
  --text: #f5f6f8;
  --text-dim: #9aa1b1;
  --primary: #5b8cff;
  --primary-dim: #3f63d6;
  --accent: #ffd166;
  --radius: 16px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; text-decoration: none; }

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

h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.02em; }

p { margin: 0; }

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

.center { text-align: center; }

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

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

.btn-primary {
  background: var(--primary);
  color: #08090c;
}

.btn-primary:hover { background: #6f99ff; }

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover { border-color: var(--primary); }

.btn-lg { padding: 16px 30px; font-size: 1.05rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 13, 18, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.logo { font-size: 1.3rem; font-weight: 800; }

.logo span { color: var(--primary); }


/* Hero */
.hero {
  padding: 100px 0 80px;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(91, 140, 255, 0.25), transparent);
  text-align: center;
}

.hero-inner { max-width: 820px; }

.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.15; margin-bottom: 22px; }

.highlight { color: var(--primary); }

.hero-sub { color: var(--text-dim); font-size: 1.15rem; max-width: 620px; margin: 0 auto 36px; }

.hero-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }

.hero-pills { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; color: var(--text-dim); font-size: 0.9rem; }

/* Testimonials */
.testimonials { padding: 70px 0 30px; }

.testimonial-track-wrap { display: flex; align-items: center; gap: 12px; }

.testimonial-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 8px;
}

.testimonial-track::-webkit-scrollbar { height: 6px; }

.testimonial-card {
  scroll-snap-align: start;
  flex: 0 0 320px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.testimonial-stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 12px; }

.testimonial-quote { font-size: 0.95rem; margin-bottom: 16px; color: var(--text); }

.testimonial-name { font-weight: 700; }

.track-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 1.3rem;
  cursor: pointer;
}

.track-btn:hover { background: var(--primary); color: #08090c; border-color: var(--primary); }

/* Features */
.feature { padding: 90px 0; }

.feature-alt { background: var(--surface); }

/* Desktop: two columns, photo/animation always on the left, topic text always
   on the right -- regardless of DOM order (.reverse is now a no-op, kept only
   so existing markup doesn't need restructuring). Mobile breakpoint below
   collapses this to one column: photo on top, text underneath. */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

.feature-row .feature-media { order: -1; }

.feature-row .feature-content { order: 0; }

.service-gif-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-gif {
  width: min(100%, 520px);
  aspect-ratio: 720 / 890;
  object-fit: contain;
  border-radius: 24px;
  background: var(--bg);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

.service-photo {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top;
}

/* Glance/shine sweep across the static photo cards -- a diagonal highlight
   that loops across the image, same effect used on new-website/index.php. */
.photo-shine {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}

.photo-shine::before {
  content: "";
  position: absolute;
  inset: -45%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 34%, rgba(255, 255, 255, 0.18) 48%, rgba(91, 140, 255, 0.16) 52%, transparent 66%);
  transform: translateX(-70%) rotate(6deg);
  animation: photo-shine 5.8s ease-in-out infinite;
  mix-blend-mode: screen;
}

@keyframes photo-shine {
  0%, 18% { transform: translateX(-70%) rotate(6deg); opacity: 0; }
  34% { opacity: 0.85; }
  52%, 100% { transform: translateX(70%) rotate(6deg); opacity: 0; }
}

.feature-media-placeholder {
  aspect-ratio: 4 / 5;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-weight: 700;
  text-align: center;
}

.feature-content h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 14px; }

.feature-desc { color: var(--text-dim); font-size: 1.02rem; margin-bottom: 24px; }

.feature-checks { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 18px; }

.feature-checks li { display: flex; gap: 12px; align-items: flex-start; }

.feature-checks .check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(91, 140, 255, 0.15);
  color: var(--primary);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  font-weight: 800;
}

.feature-checks strong { display: block; margin-bottom: 4px; font-size: 1rem; color: var(--text); }

.feature-checks p { color: var(--text-dim); font-size: 0.92rem; }

/* AI-readiness highlight: animated gradient border + pulsing icon to make this item pop */
.feature-checks li.ai-feature {
  position: relative;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--surface-2);
}

.feature-checks li.ai-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  padding: 1.5px;
  background: linear-gradient(120deg, var(--primary), var(--accent), var(--primary));
  background-size: 220% 220%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: ai-border-shift 3.5s linear infinite;
  pointer-events: none;
}

@keyframes ai-border-shift {
  0% { background-position: 0% 50%; }
  100% { background-position: 220% 50%; }
}

.feature-checks li.ai-feature .check {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #08090c;
  animation: ai-pulse 2.2s ease-in-out infinite;
}

@keyframes ai-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(91, 140, 255, 0.45); }
  50% { transform: scale(1.15); box-shadow: 0 0 0 7px rgba(91, 140, 255, 0); }
}

.feature-checks li.ai-feature strong {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ai-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 2px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  background-size: 200% 200%;
  color: #08090c;
  animation: ai-border-shift 3.5s linear infinite;
}

/* Process */
.process { padding: 90px 0; background: var(--surface); }

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

.process-step { border-top: 2px solid var(--primary); padding-top: 20px; }

.process-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #08090c;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.process-title { font-weight: 700; font-size: 1.1rem; margin-bottom: 10px; }

.process-desc { color: var(--text-dim); font-size: 0.92rem; }

/* Why us */
.why-us { padding: 90px 0; }

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

.why-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }

.why-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(91, 140, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

/* Icons are black line-art (designed for a white background); invert so they read on dark */
.why-card img { width: 26px; height: 26px; filter: invert(1) brightness(1.5); margin-bottom: 0; }

.why-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--accent); }

.why-card p { color: var(--text-dim); font-size: 0.92rem; }

/* FAQ */
.faq { padding: 90px 0; background: var(--surface); }

.faq-inner { max-width: 800px; }

.faq-list { display: flex; flex-direction: column; gap: 12px; }

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

.faq-item.featured { background: var(--primary); border-color: var(--primary); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.02rem;
  font-weight: 700;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 16px;
  color: var(--text);
}

.faq-item.featured .faq-question { color: #08090c; }

.faq-icon { flex-shrink: 0; font-size: 1.3rem; transition: transform 0.2s ease; }

.faq-item.open .faq-icon { transform: rotate(180deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }

.faq-answer p { padding: 0 24px 18px; color: var(--text-dim); font-size: 0.95rem; }

.faq-item.featured .faq-answer { background: var(--surface-2); }

.faq-item.featured .faq-answer p { padding-top: 16px; color: var(--text-dim); }

/* CTA */
.cta { padding: 90px 0; background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(91, 140, 255, 0.18), transparent); }

.cta-inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }

/* No media yet: temporary, drop the .cta-image-placeholder div back in and remove .no-media to restore the two-column layout */
.cta-inner.no-media { grid-template-columns: 1fr; text-align: center; }

.cta-inner.no-media .cta-body { max-width: 640px; margin: 0 auto; }

.cta-body h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); margin-bottom: 16px; }

.cta-body p { color: var(--text-dim); margin-bottom: 28px; }

.cta-image-placeholder {
  aspect-ratio: 1 / 1;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-weight: 700;
  text-align: center;
}

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding-top: 48px; }

.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 32px; }

.footer-cta { display: flex; align-items: center; gap: 16px; }

.footer-cta p { font-weight: 600; color: var(--text); }

.footer-divider { height: 1px; background: var(--border); max-width: var(--max-width); margin: 0 auto; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px 0 32px;
}

.footer-compliance { display: flex; gap: 20px; flex-wrap: wrap; font-size: 0.85rem; color: var(--text-dim); }

.footer-copy { font-size: 0.85rem; color: var(--text-dim); }

/* Responsive */
@media (max-width: 900px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 720px) {
  .feature-row, .cta-inner { grid-template-columns: 1fr; }
  .service-gif { width: min(100%, 430px); }
  .feature-media-placeholder, .cta-image-placeholder { max-width: 320px; margin: 0 auto; }
  .why-grid, .process-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .testimonial-track-wrap { padding: 0; }
  .track-btn { display: none; }
  .testimonial-card { flex: 0 0 85%; padding: 22px; }
  .testimonial-track { padding: 0 24px 8px; scroll-padding-left: 24px; }
}
