/* ═══════════════════════════════════════════════════════════
   TaskTweaky — Homepage Mockup Styles (v5 conversion)
   Adds the visual styles matching the React mockup design.
   Loaded on the front page via functions.php conditional enqueue.
   Prefix: fp- (front-page) to avoid collisions with main.css
═══════════════════════════════════════════════════════════ */

/* ── Google Fonts already loaded by main enqueue ── */

/* ─────────────────────────────────────────────────────────
   EYEBROW PILLS
───────────────────────────────────────────────────────── */
.fp-eyebrow-pill {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: .35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.fp-eyebrow-dark {
  background: rgba(46,196,182,.15) !important;
  color: var(--accent) !important;
}
.fp-accent-text { color: var(--accent); }

/* ─────────────────────────────────────────────────────────
   HERO — LIGHT VARIANT (reference image design)
───────────────────────────────────────────────────────── */

/* Override dark hero background with light */
.fp-hero.fp-hero-light {
  background: #f5f7ff;
  color: #111827;
  padding: calc(var(--nav-h,68px) + 30px) 24px 80px;
}

/* Override the grid bg — use subtle dot pattern on light bg */
.fp-hero-light .fp-hero-light-bg {
  background-image:
    radial-gradient(circle at 60% 40%, rgba(99,102,241,.08) 0%, transparent 55%),
    radial-gradient(circle at 90% 70%, rgba(139,92,246,.06) 0%, transparent 40%);
  background-size: auto;
}

/* Hero grid layout */
.fp-hero.fp-hero-light .hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) {
  .fp-hero.fp-hero-light .hero-inner {
    grid-template-columns: 1fr;
  }
}

/* Headline — dark text, large, with accent blue span */
.fp-hero-headline-light {
  font-size: clamp(2rem, 5vw, 2.7rem) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  color: #0f172a !important;
  margin-bottom: 1.25rem !important;
}

/* Blue accent for "Made Easy" */
.fp-accent-blue {
  color: #3b5bdb;
}

/* Subline — dark muted */
.fp-hero-sub-light {
  color: #4b5563 !important;
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 460px;
}

/* ── Badges: horizontal 3-column row ── */
.fp-hero-badges--row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 2rem;
}
@media (max-width: 640px) {
  .fp-hero-badges--row {
    grid-template-columns: 1fr;
  }
}

.fp-hero-badge--light {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

/* Icon circle wrappers */
.fp-badge-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.fp-badge-icon-wrap--lightning {
  background: rgba(251,191,36,.15);
  color: #f59e0b;
}
.fp-badge-icon-wrap--shield {
  background: rgba(59,91,219,.12);
  color: #3b5bdb;
  font-size: .9rem;
}
.fp-badge-icon-wrap--star {
  background: rgba(251,146,60,.12);
  color: #f97316;
}

.fp-badge-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.fp-badge-text strong {
  font-size: .875rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
}
.fp-badge-text span {
  font-size: .775rem;
  color: #6b7280;
  line-height: 1.4;
}

/* ── Hero action buttons (blue/indigo) ── */
.fp-hero-actions--light {
  margin-top: 0;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.fp-btn-blue {
  background: #3b5bdb;
  color: #fff;
  border-radius: 8px;
}
.fp-btn-blue:hover,
.fp-btn-blue:focus-visible {
  background: #2f4ac7;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(59,91,219,.35);
}
.fp-btn-outline-blue {
  background: transparent;
  color: #111827;
  border: 2px solid #d1d5db;
  border-radius: 8px;
}
.fp-btn-outline-blue:hover,
.fp-btn-outline-blue:focus-visible {
  border-color: #3b5bdb;
  color: #3b5bdb;
  background: rgba(59,91,219,.04);
}

/* ─────────────────────────────────────────────────────────
   HERO VISUAL — Device Mockup
───────────────────────────────────────────────────────── */
.fp-hero-devices-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

/* ── Decorative lavender blob ── */
.fp-hero-blob {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 460px;
  height: 420px;
  background: radial-gradient(ellipse at 50% 50%, rgba(139,92,246,.18) 0%, rgba(99,102,241,.10) 50%, transparent 75%);
  border-radius: 50% 60% 55% 45% / 45% 55% 60% 50%;
  pointer-events: none;
  z-index: 0;
}

/* ── Floating platform logos ── */
.fp-float-logos {
  position: absolute;
  top: -8px;
  right: 0;
  left: 0;
  z-index: 10;
  pointer-events: none;
}
.fp-float-logo {
  position: absolute;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,.10);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  width: 48px;
  height: 48px;
  animation: fp-float 4s ease-in-out infinite;
}
.fp-float-logo--shopify {
  top: 0px;
  right: 42%;
  animation-delay: 0s;
}
.fp-float-logo--wordpress {
  top: -16px;
  right: 24%;
  animation-delay: .6s;
}
.fp-float-logo--wix {
  top: 12px;
  right: 10%;
  animation-delay: 1.2s;
}
.fp-float-logo--webflow {
  top: -4px;
  right: 0%;
  animation-delay: 1.8s;
}
.fp-wix-text {
  font-size: 1.1rem;
  font-weight: 900;
  color: #000;
  letter-spacing: -.04em;
  font-family: Arial, sans-serif;
}

@keyframes fp-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

/* ── Real device photo ── */
.fp-devices-photo-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: 32px;
}
.fp-devices-photo {
  width: 100%;
  height: auto;
  display: block;
  /* The PNG already has a transparent/light background — no extra treatment needed */
  filter: drop-shadow(0 16px 48px rgba(99,102,241,.10));
}

/* ─────────────────────────────────────────────────────────
   DOT GRID DECORATIONS
───────────────────────────────────────────────────────── */
.fp-dot-grid {
  position: absolute;
  pointer-events: none;
  width: 80px;
  height: 80px;
  background-image: radial-gradient(circle, #c7d2fe 1px, transparent 1px);
  background-size: 10px 10px;
  opacity: .6;
  z-index: 0;
}
.fp-dot-grid--tl {
  top: 20px;
  left: -10px;
}
.fp-dot-grid--br {
  bottom: 0;
  right: 110px;
}

/* ─────────────────────────────────────────────────────────
   SERVICES SECTION v2 — matches reference (icon + title + desc + learn more)
───────────────────────────────────────────────────────── */

/* Section sits on white, centred title, no eyebrow */
.fp-services-section { background: #fff; }
.fp-services-header  { text-align: center; margin-bottom: 40px; }
.fp-services-title   {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #111827;
  margin: 0;
}

/* 4-column grid */
.fp-services-grid--v2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1024px) { .fp-services-grid--v2 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .fp-services-grid--v2 { grid-template-columns: 1fr; } }

/* Card */
.fp-svc-card {
  background: #fff;
  border: 1px solid #e8ecf0;
  border-radius: 14px;
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: transform .22s ease, box-shadow .22s ease;
}
.fp-svc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,.10);
}

/* Icon + title side-by-side row — matches reference layout */
.fp-svc-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

/* Icon — fixed width so titles align across cards */
.fp-svc-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: 48px;
  line-height: 1;
}
.fp-svc-icon svg { display: block; }

/* Two-line bold title — sits to the right of the icon */
.fp-svc-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
  margin: 0;
  padding-top: 2px; /* visual alignment with icon centre */
}

/* Description */
.fp-svc-desc {
  font-size: .875rem;
  color: #4b5563;
  line-height: 1.6;
  margin: 0 0 16px;
  flex: 1;
}

/* "Learn more →" link */
.fp-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .875rem;
  font-weight: 600;
  color: #3b5bdb;
  text-decoration: none;
  margin-top: auto;
  transition: gap .18s ease, color .18s ease;
}
.fp-learn-more:hover,
.fp-learn-more:focus-visible {
  color: #2f4ac7;
  gap: 7px;
  text-decoration: none;
}
.fp-learn-more span { font-size: 1rem; }

/* ─────────────────────────────────────────────────────────
   POPULAR TASKS (8-column icon grid)
───────────────────────────────────────────────────────── */
.fp-popular-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 16px;
}
@media (max-width:900px) { .fp-popular-grid { grid-template-columns: repeat(4,1fr); } }
@media (max-width:480px) { .fp-popular-grid { grid-template-columns: repeat(2,1fr); } }

.fp-popular-card {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  background: #fff; border: 1px solid #e5e7eb;
  border-radius: var(--radius, 12px); padding: 20px 12px;
  text-align: center; cursor: pointer;
  transition: all .22s ease;
  box-shadow: var(--shadow, 0 4px 24px rgba(0,0,0,.08));
}
.fp-popular-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-soft, #e6faf8);
  transform: translateY(-2px);
}
.fp-popular-icon {
  font-size: 1.5rem;
  width: 48px; height: 48px;
  background: var(--accent-soft, #e6faf8);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.fp-popular-label {
  font-size: .78rem; font-weight: 600;
  color: var(--text, #111827); line-height: 1.35;
}

/* ─────────────────────────────────────────────────────────
   WHY US + HOW IT WORKS (dark two-column)
───────────────────────────────────────────────────────── */
.fp-dark-section { background: var(--bg-dark, #0f1628); color: #fff; }
.fp-title-light  { color: #fff !important; }
.fp-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width:900px) { .fp-two-col { grid-template-columns: 1fr; gap: 48px; } }

.fp-why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}
@media (max-width:600px) { .fp-why-grid { grid-template-columns: 1fr; } }

.fp-why-card {
  background: rgba(255,255,255,.05);
  border: 1px solid var(--dark-border, #1e2d45);
  border-radius: var(--radius, 12px);
  padding: 20px;
  display: flex; gap: 14px; align-items: flex-start;
  transition: background .22s ease;
}
.fp-why-card:hover { background: rgba(255,255,255,.08); }
.fp-why-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(46,196,182,.15); color: var(--accent, #2ec4b6);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 700; flex-shrink: 0;
}
.fp-why-title { font-size: .95rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.fp-why-desc  { font-size: .82rem; color: rgba(255,255,255,.55); line-height: 1.5; }

/* Steps */
.fp-steps { display: flex; flex-direction: column; gap: 0; margin-top: 24px; }
.fp-step  { display: flex; gap: 16px; position: relative; }
.fp-step-bubble {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(46,196,182,.15);
  border: 2px solid rgba(46,196,182,.35);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0; position: relative; z-index: 1;
}
.fp-step-connector {
  position: absolute; left: 21px; top: 44px;
  width: 2px; height: 32px;
  background: linear-gradient(to bottom, rgba(46,196,182,.4), rgba(46,196,182,.1));
  z-index: 0;
}
.fp-step-body {
  display: flex; flex-direction: column; padding-bottom: 28px;
}
.fp-step-num   { font-size: .7rem; font-weight: 700; color: var(--accent); letter-spacing: .08em; margin-bottom: 2px; }
.fp-step-title { font-size: .95rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.fp-step-desc  { font-size: .82rem; color: rgba(255,255,255,.55); line-height: 1.5; }

/* ─────────────────────────────────────────────────────────
   RECENT PROJECTS
───────────────────────────────────────────────────────── */
.fp-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width:768px) { .fp-projects-grid { grid-template-columns: 1fr; } }

.fp-project-card {
  border-radius: var(--radius-lg, 20px);
  overflow: hidden;
  height: 200px;
  display: flex; flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  box-shadow: var(--shadow, 0 4px 24px rgba(0,0,0,.08));
  transition: transform .22s ease, box-shadow .22s ease;
}
.fp-project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg, 0 8px 48px rgba(0,0,0,.12)); }
.fp-project-label { font-size: 1.2rem; font-weight: 900; line-height: 1.2; }
.fp-project-info  { display: flex; flex-direction: column; gap: 2px; }
.fp-project-title { font-size: .95rem; font-weight: 700; color: rgba(255,255,255,.95); }
.fp-project-sub   { font-size: .78rem; color: rgba(255,255,255,.55); }

/* ─────────────────────────────────────────────────────────
   PRICING
───────────────────────────────────────────────────────── */
.fp-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
@media (max-width:768px) { .fp-pricing-grid { grid-template-columns: 1fr; } }

.fp-pricing-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg, 20px);
  padding: 32px 28px;
  box-shadow: var(--shadow, 0 4px 24px rgba(0,0,0,.08));
  transition: transform .22s ease, box-shadow .22s ease;
  position: relative;
  display: flex; flex-direction: column; gap: 16px;
}
.fp-pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg, 0 8px 48px rgba(0,0,0,.12)); }
.fp-pricing-featured {
  background: var(--bg-dark, #0f1628);
  border-color: var(--accent, #2ec4b6);
  color: #fff;
  margin-top: -16px;
}
.fp-pricing-badge {
  display: inline-block;
  background: var(--accent); color: #fff;
  font-size: .72rem; font-weight: 700;
  padding: .25rem .8rem; border-radius: 999px;
  text-transform: uppercase; letter-spacing: .08em;
  align-self: flex-start;
}
.fp-pricing-eyebrow {
  font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--text-muted, #6b7280);
}
.fp-pricing-featured .fp-pricing-eyebrow { color: rgba(255,255,255,.55); }
.fp-pricing-price {
  font-size: 2.8rem; font-weight: 900; line-height: 1; color: var(--text, #111827);
}
.fp-pricing-featured .fp-pricing-price { color: #fff; }
.fp-pricing-currency { font-size: 1.5rem; vertical-align: top; margin-top: .5rem; display: inline-block; }
.fp-pricing-period   { font-size: 1rem; font-weight: 400; color: var(--text-muted, #6b7280); }
.fp-pricing-featured .fp-pricing-period { color: rgba(255,255,255,.5); }
.fp-pricing-desc {
  font-size: .875rem; color: var(--text-muted, #6b7280); line-height: 1.6;
}
.fp-pricing-featured .fp-pricing-desc { color: rgba(255,255,255,.65); }
.fp-pricing-features {
  display: flex; flex-direction: column; gap: 8px; flex: 1;
  list-style: none; padding: 0; margin: 0;
}
.fp-pricing-features li {
  display: flex; align-items: center; gap: 8px;
  font-size: .875rem; color: var(--text, #111827);
}
.fp-pricing-featured .fp-pricing-features li { color: rgba(255,255,255,.8); }
.fp-check { color: var(--accent); font-weight: 700; flex-shrink: 0; }

/* ─────────────────────────────────────────────────────────
   TESTIMONIALS
───────────────────────────────────────────────────────── */
.fp-testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width:768px) { .fp-testimonials-grid { grid-template-columns: 1fr; } }

.fp-testimonial-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg, 20px);
  padding: 32px;
  box-shadow: var(--shadow, 0 4px 24px rgba(0,0,0,.08));
  display: flex; flex-direction: column; gap: 16px;
}
.fp-stars {
  font-size: 1rem;
  color: #f59e0b;
  letter-spacing: 2px;
}
.fp-testimonial-text {
  font-size: 1rem; color: var(--text, #111827);
  line-height: 1.7; font-style: italic; flex: 1;
}
.fp-testimonial-author {
  display: flex; align-items: center; gap: 12px;
}
.fp-testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%; color: #fff;
  font-size: .85rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.fp-author-name { font-size: .9rem; font-weight: 700; color: var(--text, #111827); }
.fp-author-role { font-size: .8rem; color: var(--text-muted, #6b7280); }

/* ─────────────────────────────────────────────────────────
   CTA BANNER
───────────────────────────────────────────────────────── */
.fp-cta-banner {
  background: linear-gradient(135deg, var(--accent, #2ec4b6) 0%, #1e9b8f 100%);
  padding: 64px 24px;
}
.fp-cta-inner {
  display: flex; align-items: center; gap: 32px;
  flex-wrap: wrap; justify-content: center; text-align: center;
}
.fp-cta-icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(255,255,255,.2); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; flex-shrink: 0;
}
.fp-cta-text { text-align: left; }
.fp-cta-title {
  font-size: 1.75rem; font-weight: 800; color: #fff; margin-bottom: 4px;
}
.fp-cta-sub { font-size: 1rem; color: rgba(255,255,255,.8); }
.fp-btn-white {
  background: #fff; color: var(--dark-nav, #0f1628); font-weight: 700;
  padding: .8rem 2rem; font-size: 1rem; border-radius: 8px;
  display: inline-flex; align-items: center; gap: .4rem;
  transition: all .22s ease; white-space: nowrap; min-height: 44px;
  text-decoration: none;
}
.fp-btn-white:hover { background: rgba(255,255,255,.9); transform: translateY(-1px); }
.fp-btn-lg { padding: .9rem 2.25rem; font-size: 1.05rem; }

/* ─────────────────────────────────────────────────────────
   RESPONSIVE — device photo & overlays
───────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .fp-float-logos { display: none; }
  .fp-hero-devices-wrap { min-height: auto; }
  .fp-devices-photo { max-width: 100%; }
  .fp-hero-blob { display: none; }
}
