/* ============================================
   JOBE — Site Styles
   Target: UK small builders & tradespeople
   ============================================ */

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

:root {
  --lime-300: #bef264;
  --lime-400: #a3e635;
  --lime-500: #84cc16;
  --lime-600: #65a30d;
  --lime-700: #4d7c0f;
  --lime-800: #3f6212;
  --yellow-400: #facc15;
  --yellow-500: #eab308;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --gray-950: #0a0a0f;
  --white: #ffffff;
  --green-100: #dcfce7;
  --green-700: #15803d;
  --red-100: #fee2e2;
  --red-600: #dc2626;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; font-family: inherit; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3 { font-family: 'Sora', 'DM Sans', sans-serif; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-weight: 700; font-size: 1rem; border-radius: 0.6rem;
  transition: all 0.3s ease;
}
.btn-primary {
  padding: 0.75rem 1.75rem;
  background: linear-gradient(135deg, var(--lime-500), var(--lime-600));
  color: var(--white);
}
.btn-primary:hover {
  box-shadow: 0 8px 24px rgba(132,204,22,0.35);
  transform: translateY(-2px);
}
.btn-primary-lg {
  padding: 1rem 2.25rem; font-size: 1.05rem;
  background: linear-gradient(135deg, var(--lime-500), var(--lime-600));
  color: var(--white);
}
.btn-primary-lg:hover {
  box-shadow: 0 12px 32px rgba(132,204,22,0.35);
  transform: translateY(-2px);
}
.btn-secondary {
  padding: 0.75rem 1.75rem;
  background: var(--white); border: 2px solid var(--gray-200);
  color: var(--gray-700);
}
.btn-secondary:hover {
  border-color: var(--lime-400); background: rgba(132,204,22,0.04);
}
.btn-white {
  padding: 1rem 2.25rem; font-size: 1.05rem;
  background: var(--white); color: var(--lime-700);
}
.btn-white:hover {
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
  transform: scale(1.03);
}
.btn svg { width: 20px; height: 20px; transition: transform 0.2s; }
.btn:hover svg { transform: translateX(3px); }

/* ---- NAV ---- */
.nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 1rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo svg { height: 36px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-size: 0.95rem; font-weight: 600; color: var(--gray-600);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--lime-600); }
.nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.nav-toggle { display: none; background: none; padding: 0.5rem; }
.nav-toggle svg { width: 24px; height: 24px; color: var(--gray-700); }

/* Mobile nav */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.show {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--gray-200);
    padding: 1rem 1.5rem; gap: 0.75rem;
  }
}

/* ---- HERO ---- */
.hero {
  padding: 8rem 1.5rem 4rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(163,230,53,0.08) 0%, transparent 70%),
    linear-gradient(160deg, var(--gray-50) 0%, var(--white) 50%, rgba(250,204,21,0.04) 100%);
  overflow: hidden;
}
.hero-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.4rem 0.9rem; margin-bottom: 1.5rem;
  background: rgba(132,204,22,0.1); color: var(--lime-700);
  border-radius: 999px; font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.03em;
}
.hero-eyebrow svg { width: 14px; height: 14px; }
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 800; line-height: 1.12; margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero h1 .gradient {
  background: linear-gradient(135deg, var(--lime-500), var(--lime-700));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 1.15rem; color: var(--gray-600); line-height: 1.7;
  margin-bottom: 2rem; max-width: 500px;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.hero-proof {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.82rem; font-weight: 600; color: var(--gray-500);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.hero-proof-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--lime-500); }

/* Phone mockup */
.phone-mockup {
  position: relative; max-width: 300px; margin: 0 auto;
}
.phone-frame {
  background: var(--gray-900); border-radius: 2.5rem; padding: 0.75rem;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.12),
    0 0 0 1px rgba(255,255,255,0.1) inset;
  position: relative; z-index: 2;
}
.phone-frame img {
  border-radius: 1.8rem; width: 100%;
}
.phone-notch {
  position: absolute; top: 0.75rem; left: 50%; transform: translateX(-50%);
  width: 35%; height: 1.5rem; background: var(--gray-900);
  border-radius: 0 0 1rem 1rem; z-index: 3;
}
.phone-glow {
  position: absolute; inset: -2rem; z-index: 1;
  background: radial-gradient(ellipse at center, rgba(132,204,22,0.2) 0%, transparent 70%);
  filter: blur(30px);
}

/* ---- TRUST BAR ---- */
.trust-bar {
  padding: 2.5rem 1.5rem; background: var(--gray-50);
  border-top: 1px solid var(--gray-100); border-bottom: 1px solid var(--gray-100);
}
.trust-bar-inner {
  max-width: 800px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 2rem; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.9rem; font-weight: 600; color: var(--gray-600);
}
.trust-item svg { width: 20px; height: 20px; color: var(--lime-600); }

/* ---- SECTION COMMON ---- */
.section { padding: 5rem 1.5rem; }
.section-eyebrow {
  font-size: 0.82rem; font-weight: 700; color: var(--lime-600);
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.75rem;
}
.section-desc {
  font-size: 1.1rem; color: var(--gray-600); max-width: 600px;
  line-height: 1.7;
}
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .section-desc { margin: 0 auto; }

/* ---- WALKTHROUGH ---- */
.walkthrough { background: var(--white); }
.walkthrough-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem;
  counter-reset: step;
}
.walkthrough-step {
  text-align: center; counter-increment: step;
}
.walkthrough-step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--lime-500), var(--lime-600));
  color: var(--white); font-weight: 800; font-size: 1rem;
  margin-bottom: 1.25rem;
}
.walkthrough-phone {
  max-width: 200px; margin: 0 auto 1.5rem;
  background: var(--gray-900); border-radius: 1.5rem; padding: 0.4rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}
.walkthrough-phone img { border-radius: 1.2rem; width: 100%; }
.walkthrough-step h3 {
  font-size: 1.1rem; font-weight: 700; margin-bottom: 0.4rem;
}
.walkthrough-step p { font-size: 0.92rem; color: var(--gray-600); line-height: 1.5; }

/* ---- FEATURES ---- */
.features { background: var(--gray-50); }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem;
}
.feature-card {
  padding: 2rem; border-radius: 1rem; background: var(--white);
  border: 1px solid var(--gray-100);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
  border-color: var(--lime-300); transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(132,204,22,0.08);
}
.feature-icon {
  width: 3rem; height: 3rem; border-radius: 0.7rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.feature-icon.lime { background: linear-gradient(135deg, var(--lime-500), var(--lime-600)); }
.feature-icon.yellow { background: linear-gradient(135deg, var(--yellow-400), var(--yellow-500)); }
.feature-icon.dark { background: linear-gradient(135deg, var(--gray-800), var(--gray-900)); }
.feature-icon svg { width: 1.4rem; height: 1.4rem; color: var(--white); }
.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.4rem; }
.feature-card p { font-size: 0.92rem; color: var(--gray-600); line-height: 1.55; }

/* ---- PRICING ---- */
.pricing { background: var(--white); }
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem;
  max-width: 960px; margin: 0 auto;
}
.price-card {
  padding: 2.25rem; border-radius: 1rem; border: 2px solid var(--gray-100);
  background: var(--white); position: relative;
  transition: border-color 0.3s, transform 0.3s;
}
.price-card:hover { transform: translateY(-4px); }
.price-card.featured {
  border-color: var(--lime-500);
  box-shadow: 0 12px 40px rgba(132,204,22,0.12);
}
.price-badge {
  position: absolute; top: -0.75rem; left: 50%; transform: translateX(-50%);
  padding: 0.3rem 1rem; background: linear-gradient(135deg, var(--lime-500), var(--lime-600));
  color: var(--white); font-size: 0.75rem; font-weight: 700;
  border-radius: 999px; letter-spacing: 0.03em;
}
.price-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.25rem; }
.price-card .price-desc { font-size: 0.88rem; color: var(--gray-500); margin-bottom: 1.25rem; }
.price-amount {
  font-family: 'Sora', sans-serif; font-size: 2.5rem; font-weight: 800;
  margin-bottom: 0.15rem;
}
.price-amount span { font-size: 1rem; font-weight: 500; color: var(--gray-500); }
.price-period { font-size: 0.85rem; color: var(--gray-500); margin-bottom: 1.5rem; }
.price-features { margin-bottom: 1.75rem; }
.price-features li {
  display: flex; align-items: flex-start; gap: 0.5rem;
  padding: 0.35rem 0; font-size: 0.9rem; color: var(--gray-700);
}
.price-features li svg { width: 18px; height: 18px; color: var(--lime-600); flex-shrink: 0; margin-top: 2px; }
.price-card .btn { width: 100%; }

/* ---- TESTIMONIALS ---- */
.testimonials { background: var(--gray-50); }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem;
}
.testimonial-card {
  padding: 2rem; border-radius: 1rem; background: var(--white);
  border: 1px solid var(--gray-100);
}
.testimonial-stars { display: flex; gap: 2px; margin-bottom: 1rem; }
.testimonial-stars svg { width: 18px; height: 18px; fill: var(--yellow-400); color: var(--yellow-400); }
.testimonial-text { font-size: 0.95rem; color: var(--gray-700); line-height: 1.65; margin-bottom: 1.25rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--lime-400), var(--lime-600));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: var(--white); font-size: 0.9rem;
}
.testimonial-name { font-weight: 700; font-size: 0.9rem; }
.testimonial-role { font-size: 0.82rem; color: var(--gray-500); }

/* ---- FAQ ---- */
.faq { background: var(--white); }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--gray-200); padding: 1.25rem 0;
}
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; background: none; text-align: left;
  font-size: 1.05rem; font-weight: 700; color: var(--gray-900);
  padding: 0.25rem 0;
}
.faq-question svg {
  width: 20px; height: 20px; color: var(--gray-400);
  transition: transform 0.3s;
}
.faq-item.open .faq-question svg { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer {
  max-height: 200px; padding-top: 0.75rem;
}
.faq-answer p { font-size: 0.95rem; color: var(--gray-600); line-height: 1.65; }

/* ---- CTA SECTION ---- */
.cta-section {
  padding: 5rem 1.5rem;
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-950) 100%);
  text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: -50%; left: -25%; width: 150%; height: 200%;
  background: radial-gradient(ellipse at 30% 50%, rgba(132,204,22,0.08) 0%, transparent 60%);
}
.cta-inner { max-width: 640px; margin: 0 auto; position: relative; z-index: 1; }
.cta-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800;
  color: var(--white); margin-bottom: 1rem;
}
.cta-section p { font-size: 1.1rem; color: var(--gray-400); margin-bottom: 2rem; line-height: 1.65; }
.cta-section .btn-primary-lg {
  box-shadow: 0 0 40px rgba(132,204,22,0.2);
}

/* ---- FOOTER ---- */
.footer { padding: 3.5rem 1.5rem 2rem; background: var(--gray-950); color: var(--gray-400); }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2rem; margin-bottom: 2.5rem;
}
.footer-brand p { font-size: 0.88rem; margin-top: 1rem; line-height: 1.6; }
.footer-brand svg { height: 34px; width: auto; }
.footer h4 { font-weight: 700; color: var(--white); margin-bottom: 0.75rem; font-size: 0.92rem; }
.footer ul li { margin-bottom: 0.45rem; }
.footer ul a { font-size: 0.88rem; transition: color 0.2s; }
.footer ul a:hover { color: var(--lime-400); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem;
  text-align: center; font-size: 0.82rem;
}

/* ---- BLOG PAGE ---- */
.page-header {
  padding: 7rem 1.5rem 3rem;
  background: linear-gradient(160deg, var(--gray-50) 0%, rgba(163,230,53,0.06) 100%);
  text-align: center;
}
.page-header h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 0.5rem; }
.page-header p { font-size: 1.1rem; color: var(--gray-600); }

.blog-layout {
  max-width: 900px; margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}
.blog-grid { display: flex; flex-direction: column; gap: 2rem; }
.post-card {
  padding: 2rem; border-radius: 1rem;
  border: 1px solid var(--gray-200); background: var(--white);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.post-card:hover {
  border-color: var(--lime-300);
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}
.post-meta {
  display: flex; align-items: center; gap: 1rem;
  font-size: 0.82rem; color: var(--gray-500); margin-bottom: 0.75rem;
}
.post-tag {
  padding: 0.2rem 0.6rem; background: var(--lime-500);
  color: var(--white); border-radius: 999px; font-weight: 600;
  font-size: 0.75rem;
}
.post-card h2 {
  font-size: 1.3rem; font-weight: 700; margin-bottom: 0.6rem;
  color: var(--gray-900);
}
.post-card h2 a { transition: color 0.2s; }
.post-card h2 a:hover { color: var(--lime-600); }
.post-excerpt { font-size: 0.95rem; color: var(--gray-600); line-height: 1.65; margin-bottom: 1.25rem; }
.post-cta {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.88rem; font-weight: 700; color: var(--lime-600);
  transition: gap 0.2s;
}
.post-cta:hover { gap: 0.7rem; }
.post-cta svg { width: 16px; height: 16px; }

.blog-cta-banner {
  margin-top: 3rem; padding: 2.5rem; border-radius: 1rem;
  background: linear-gradient(135deg, var(--lime-600), var(--lime-500));
  text-align: center;
}
.blog-cta-banner h3 { font-size: 1.3rem; font-weight: 800; color: var(--white); margin-bottom: 0.5rem; }
.blog-cta-banner p { font-size: 0.95rem; color: rgba(255,255,255,0.85); margin-bottom: 1.25rem; }

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.anim { opacity: 0; animation: fadeUp 0.6s ease-out forwards; }
.d1 { animation-delay: 0.1s; }
.d2 { animation-delay: 0.2s; }
.d3 { animation-delay: 0.3s; }
.d4 { animation-delay: 0.4s; }
.d5 { animation-delay: 0.5s; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-proof { justify-content: center; }
  .walkthrough-steps { grid-template-columns: 1fr; gap: 2.5rem; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 380px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .hero { padding: 7rem 1.25rem 3rem; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-bar-inner { flex-direction: column; gap: 0.75rem; }
  .nav-actions .btn-secondary { display: none; }
}
