/* ============================================================
   Agility Accounting & Advisors — Global Stylesheet
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:    #1a3c5e;   /* navy */
  --secondary:  #2e86c1;   /* bright blue */
  --accent:     #f39c12;   /* gold */
  --bg-light:   #f8f9fa;
  --bg-white:   #ffffff;
  --text-dark:  #212529;
  --text-muted: #6c757d;
  --border:     #dee2e6;
  --radius:     8px;
  --shadow:     0 2px 12px rgba(0,0,0,.08);
  --transition: .25s ease;
  --max-w:      1200px;
  --font:       'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a   { color: var(--secondary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
ul, ol { list-style: none; }

/* ---------- Utilities ---------- */
.container   { width: 90%; max-width: var(--max-w); margin: 0 auto; }
.section     { padding: 80px 0; }
.section-alt { background: var(--bg-light); }
.text-center { text-align: center; }
.text-muted  { color: var(--text-muted); }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-weight: 700; color: var(--primary); line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.25rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
p  { margin-bottom: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 12px 32px;
  font-weight: 600; font-size: .95rem;
  border-radius: var(--radius); cursor: pointer;
  transition: all var(--transition); border: 2px solid transparent;
}
.btn-primary   { background: var(--secondary); color: #fff; }
.btn-primary:hover { background: var(--primary); color: #fff; }
.btn-outline   { border-color: var(--secondary); color: var(--secondary); background: transparent; }
.btn-outline:hover { background: var(--secondary); color: #fff; }
.btn-accent    { background: var(--accent); color: #fff; }
.btn-accent:hover  { background: #e67e22; color: #fff; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0;
}
.logo {
  /* Removed text styling for image logo */
}
.logo img {
  height: 132px;
  width: auto;
  max-width: 390px; /* Prevent too large if aspect ratio is wide */
}

/* Desktop Nav */
.main-nav ul { display: flex; gap: 4px; align-items: center; }
.main-nav a  {
  padding: 8px 14px; border-radius: var(--radius);
  font-size: .9rem; font-weight: 500; color: var(--text-dark);
  transition: background var(--transition), color var(--transition);
}
.main-nav a:hover,
.main-nav a.active { background: var(--bg-light); color: var(--secondary); }

/* Dropdown */
.has-dropdown { position: relative; }
.has-dropdown .dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  min-width: 220px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 8px 0; z-index: 100;
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown a { display: block; padding: 8px 18px; font-size: .88rem; }
.dropdown a:hover { background: var(--bg-light); }

/* Mobile toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text-dark); margin: 5px 0; transition: var(--transition); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-top: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 16px; }
  .main-nav a { padding: 12px 16px; width: 100%; }
  .has-dropdown .dropdown { position: static; box-shadow: none; border: none; padding-left: 16px; }
  .has-dropdown:hover .dropdown { display: none; }
  .has-dropdown.open .dropdown { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: auto;
  display: flex; align-items: center; justify-content: center;
  background-size: cover; background-position: center;
  color: #fff; text-align: left;
  padding: 30px 0;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,60,94,.85), rgba(46,134,193,.7));
}
.hero-row { display: flex; align-items: center; justify-content: flex-start; gap: 30px; width: 100%; max-width: 1160px; }
.hero-image img { display: block; width: 100%; max-width: 560px; height: auto; border-radius: 8px; }
.hero-copy { position: relative; z-index: 1; max-width: 520px; padding: 20px; }
.hero h1 { color: #fff; margin: 0 0 0.75rem; font-size: 3rem; }
.hero-subtitle { font-size: 1.4rem; opacity: .92; margin-bottom: 1.3rem; }
.hero-copy .cta-button { margin-top: 0; }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.card-img { height: 200px; background-size: cover; background-position: center; background-color: var(--bg-light); }
.card-body { padding: 24px; }
.card-body h3 { margin-bottom: .5rem; }

/* ---------- Service List ---------- */
.service-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.service-item {
  padding: 28px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.service-item:hover { transform: translateY(-3px); }
.service-item h3 { margin-bottom: .25rem; }
.service-item .price { color: var(--accent); font-weight: 700; font-size: 1.1rem; }
.service-item .duration { color: var(--text-muted); font-size: .9rem; }

/* ---------- Two-Col Layout ---------- */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Steps / How-it-works ---------- */
.steps { display: flex; flex-wrap: wrap; gap: 32px; justify-content: center; }
.step {
  flex: 1 1 280px; max-width: 360px; text-align: center; padding: 32px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--secondary); color: #fff;
  font-weight: 800; font-size: 1.2rem; margin-bottom: 16px;
}

/* ---------- Contact Form ---------- */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: .35rem; font-size: .9rem; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 10px 14px; border: 1px solid var(--border);
  border-radius: var(--radius); font-size: .95rem; font-family: inherit;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--secondary); }
textarea { resize: vertical; min-height: 120px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--primary); color: rgba(255,255,255,.8);
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; margin-bottom: 12px; }
.site-footer a  { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 32px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.15);
  text-align: center; font-size: .85rem;
}

/* ---------- Chat Widget ---------- */
.chat-widget-btn {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--secondary); color: #fff; border: none;
  box-shadow: 0 4px 16px rgba(0,0,0,.2); cursor: pointer;
  font-size: 1.5rem; display: flex; align-items: center; justify-content: center;
  transition: transform var(--transition), background var(--transition);
}
.chat-widget-btn:hover { transform: scale(1.08); background: var(--primary); }

.chat-panel {
  display: none; position: fixed; bottom: 96px; right: 24px; z-index: 9998;
  width: 380px; max-height: 520px; background: #fff;
  border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,.18);
  overflow: hidden; flex-direction: column;
}
.chat-panel.open { display: flex; }
.chat-header {
  background: var(--primary); color: #fff; padding: 16px 20px;
  font-weight: 700; display: flex; justify-content: space-between; align-items: center;
}
.chat-header button { background: none; border: none; color: #fff; font-size: 1.2rem; cursor: pointer; }
.chat-body { flex: 1; padding: 20px; overflow-y: auto; }
.chat-body p { font-size: .92rem; }

@media (max-width: 480px) {
  .chat-panel { width: calc(100vw - 32px); right: 16px; bottom: 88px; }
}

/* ---------- Misc ---------- */
.badge {
  display: inline-block; padding: 4px 12px;
  background: var(--accent); color: #fff;
  border-radius: 20px; font-size: .8rem; font-weight: 600;
}
.divider { height: 1px; background: var(--border); margin: 40px 0; }
.img-placeholder {
  background: linear-gradient(135deg, var(--bg-light), #dde4ea);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: .9rem; min-height: 200px;
  border-radius: var(--radius);
}

/* ============================================================
   HTML-matching classes (agent-generated markup)
   ============================================================ */

/* Header (matches .header / .navbar / .nav-menu) */
.header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.navbar { padding: 0; }
.navbar > .container {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; flex-wrap: wrap;
}
.logo a { color: var(--primary); font-weight: 800; font-size: 1.2rem; }
.logo a:hover { color: var(--accent); }

.nav-menu { display: flex; gap: 2px; align-items: center; flex-wrap: wrap; }
.nav-menu li { position: relative; }
.nav-menu > li > a {
  padding: 8px 12px; border-radius: var(--radius);
  font-size: .85rem; font-weight: 500; color: var(--text-dark);
  transition: background var(--transition), color var(--transition);
}
..nav-menu > li > a:hover,
.nav-menu > li > a.active { background: var(--bg-light); color: var(--secondary); }

/* Hide underperforming pages */
.nav-menu > li > a[href$="groups.html"],
.nav-menu > li > a[href$="shop.html"],
.dropdown-menu a[href$="groups.html"],
.dropdown-menu a[href$="shop.html"],
a[href$="groups.html"],
a[href$="pages/groups.html"],
a[href$="shop.html"],
a[href$="pages/shop.html"] {
  display: none !important;
}

/* Nav dropdowns */
.dropdown .dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0;
  min-width: 220px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 8px 0; z-index: 100;
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 8px 18px; font-size: .85rem; color: var(--text-dark); }
.dropdown-menu a:hover { background: var(--bg-light); color: var(--secondary); }

/* Mobile hamburger */
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; font-size: 1.5rem; }

@media (max-width: 900px) {
  .hamburger { display: block; }
  .nav-menu {
    display: none; flex-direction: column; width: 100%;
    padding: 16px 0; order: 3;
  }
  .nav-menu.active { display: flex; }
  .nav-menu > li > a { padding: 10px 16px; width: 100%; display: block; }
  .dropdown .dropdown-menu {
    position: static; box-shadow: none; border: none; padding-left: 16px;
    display: none;
  }
  .dropdown:hover .dropdown-menu { display: block; }
}

/* Footer (matches .footer / .footer-content / .footer-section) */
.footer {
  background: var(--primary); color: rgba(255,255,255,.8);
  padding: 48px 0 24px;
}
.footer-content {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}
.footer-section h4 { color: #fff; margin-bottom: 10px; }
.footer a { color: rgba(255,255,255,.75); }
.footer a:hover { color: var(--accent); }
.footer .footer-bottom {
  margin-top: 32px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.15);
  text-align: center; font-size: .85rem;
}

/* CTA button */
.cta-button {
  display: inline-block; padding: 14px 36px;
  background: var(--accent); color: #fff; font-weight: 700;
  border-radius: var(--radius); font-size: 1rem;
  transition: all var(--transition); border: none; cursor: pointer;
}
.cta-button:hover { background: #e67e22; color: #fff; transform: translateY(-2px); }

/* Hero adjustments for agent markup */
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero .hero-subtitle { font-size: 1.3rem; color: rgba(255,255,255,.9); margin-bottom: 1.5rem; }

/* Services grid (agent classes) */
.services-overview { padding: 80px 0; }
.services-overview h2 { text-align: center; margin-bottom: 40px; }
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.service-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); padding: 24px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.service-card h3 { margin: 12px 0 4px; }
.service-duration { color: var(--text-muted); font-size: .9rem; margin-bottom: 2px; }
.service-price { color: var(--accent); font-weight: 700; font-size: 1.05rem; margin-bottom: 8px; }

/* About preview */
.about-preview { padding: 80px 0; background: var(--bg-light); }
.about-preview h2 { margin-bottom: 32px; }
.about-content {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
@media (max-width: 768px) { .about-content { grid-template-columns: 1fr; } }

/* Contact preview */
.contact-preview { padding: 80px 0; }
.contact-preview h2 { text-align: center; margin-bottom: 40px; }
.contact-info {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px; text-align: center;
}
.contact-item h3 { margin-bottom: 8px; }

/* Page hero (inner pages) */
.page-hero {
  padding: 40px 0; text-align: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
}
.page-hero h1 { color: #fff; margin-bottom: .5rem; }
.page-hero p { color: rgba(255,255,255,.9); font-size: 1.15rem; }

/* Content sections (generic) */
.content-section { padding: 60px 0; }
.content-section:nth-child(even) { background: var(--bg-light); }
.content-section h2 { margin-bottom: 24px; }
.content-section h3 { margin: 20px 0 10px; }
.content-section ul { padding-left: 20px; margin-bottom: 16px; }
.content-section ul li { margin-bottom: 6px; position: relative; padding-left: 18px; }
.content-section ul li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--secondary);
}

/* Industry cards */
.industry-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px; margin-top: 32px;
}
.industry-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform var(--transition);
}
.industry-card:hover { transform: translateY(-4px); }
.industry-card .card-body { padding: 24px; }

/* Resource cards */
.resource-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}
.resource-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow);
}

/* Blog */
.blog-filters { display: flex; gap: 12px; margin-bottom: 32px; flex-wrap: wrap; }
.blog-filter-btn {
  padding: 8px 20px; border: 1px solid var(--border); border-radius: 20px;
  background: #fff; font-size: .88rem; cursor: pointer;
  transition: all var(--transition);
}
.blog-filter-btn:hover, .blog-filter-btn.active { background: var(--secondary); color: #fff; border-color: var(--secondary); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 28px; }
.blog-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}
.blog-card .card-body { padding: 20px; }
.blog-card .meta { color: var(--text-muted); font-size: .85rem; }

/* Product card */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.product-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); text-align: center; padding: 24px;
}
.product-card .product-price { font-size: 1.4rem; font-weight: 800; color: var(--accent); margin: 12px 0; }

/* Group / Forum */
.group-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; margin-bottom: 20px; box-shadow: var(--shadow);
}
.group-post { padding: 20px; border-bottom: 1px solid var(--border); }
.group-post:last-child { border-bottom: none; }
.group-post .post-meta { color: var(--text-muted); font-size: .85rem; margin-bottom: 8px; }

/* Download form */
.download-form {
  max-width: 480px; margin: 0 auto; padding: 40px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
}

/* Benefit cards */
.benefits-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.benefit-card {
  padding: 28px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); text-align: center;
}
.benefit-icon { font-size: 2.5rem; margin-bottom: 12px; }

/* Article (long-form) */
.article-content { max-width: 800px; margin: 0 auto; padding: 60px 20px; }
.article-content h2 { margin: 40px 0 16px; }
.article-content p { margin-bottom: 16px; line-height: 1.8; }

/* Story section (about page) */
.story-section { padding: 80px 0; }
.story-content {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.story-text p { line-height: 1.8; }
@media (max-width: 768px) { .story-content { grid-template-columns: 1fr; } }

/* Values grid */
.values-section { padding: 80px 0; background: var(--bg-light); }
.values-section h2 { text-align: center; margin-bottom: 40px; }
.values-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}
.value-card {
  padding: 28px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); text-align: center;
}
.value-card h3 { margin-bottom: 8px; }

/* Contact form page */
.contact-form-section { padding: 80px 0; }
.contact-details {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
}
@media (max-width: 768px) { .contact-details { grid-template-columns: 1fr; } }

/* Blog content & category styles */
.blog-content { padding: 20px; }
.blog-content h3 { margin: 8px 0; font-size: 1.15rem; }

/* Booking page — service chips */
.service-chip {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.service-chip:hover {
  border-color: var(--secondary);
  box-shadow: 0 4px 12px rgba(46, 134, 193, .15);
}
.service-chip strong { display: block; margin-bottom: 4px; color: var(--primary); font-size: .95rem; }
.service-chip span { font-size: .82rem; color: var(--text-muted); }

/* Booking page — calendar embed */
.booking-calendar { padding: 48px 0 64px; }
.calendar-embed-wrapper {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 600px;
}
.calendar-embed-wrapper iframe {
  display: block;
  width: 100%;
  min-height: 800px;
  border: none;
}
.blog-content p { color: var(--text-muted); margin: 0 0 12px; font-size: .92rem; }
.blog-category {
  display: inline-block; background: var(--bg-light); color: var(--secondary);
  font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: .03em;
}
.read-more {
  display: inline-block; color: var(--secondary); font-weight: 600;
  font-size: .9rem; transition: color var(--transition);
}
.read-more:hover { color: var(--primary); }

.category-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.category-btn {
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 20px; font-size: .85rem; font-weight: 500; cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.category-btn:hover, .category-btn.active {
  background: var(--secondary); color: #fff; border-color: var(--secondary);
}

.blog-categories { padding: 32px 0 0; }
.blog-categories h2 { margin: 0 0 16px; font-size: 1.3rem; }

/* Service detail sections */
.service-detail { padding: 60px 0; }
.service-detail:nth-child(even) { background: var(--bg-light); }
.service-detail h2 { margin-bottom: 16px; }
.service-detail ul { list-style: disc; padding-left: 24px; margin: 16px 0; }
.service-detail ul li { margin-bottom: 8px; line-height: 1.6; }

/* CTA section */
.cta-section {
  padding: 60px 0; text-align: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
}
.cta-section h2 { color: #fff; margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,.9); margin-bottom: 24px; }
.cta-section .cta-button { background: var(--accent); }

/* About / profile section (plan page) */
.profile-section { padding: 80px 0; background: var(--bg-light); }
.profile-content {
  display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start;
}
@media (max-width: 768px) { .profile-content { grid-template-columns: 1fr; } }

/* Download section */
.download-section { padding: 80px 0; text-align: center; }
.download-section .download-form {
  margin-top: 32px; text-align: left;
}

/* Lead capture page */
.lead-capture-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding: 48px 0;
}
.lead-capture-info h2 { margin: 0 0 12px; color: var(--primary); }
.lead-capture-info p { color: var(--text-muted); margin: 0 0 16px; }
.feature-list {
  list-style: none; padding: 0; margin: 0 0 20px;
}
.feature-list li {
  padding: 8px 0 8px 28px; position: relative;
  color: var(--text-dark); font-size: .95rem;
}
.feature-list li::before {
  content: '\2713'; position: absolute; left: 0; color: var(--secondary); font-weight: 700;
}
.lead-capture-note { font-size: .9rem; }

.lead-capture-form-wrapper {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow);
}
.lead-capture-form-wrapper h3 { margin: 0 0 20px; color: var(--primary); }
.lead-capture-form .form-group { margin-bottom: 16px; }
.lead-capture-form label {
  display: block; margin-bottom: 4px; font-size: .85rem;
  font-weight: 600; color: var(--text-dark);
}
.lead-capture-form input {
  width: 100%; padding: 10px 14px; border: 1px solid var(--border);
  border-radius: 8px; font-size: .95rem; transition: border-color var(--transition);
}
.lead-capture-form input:focus {
  outline: none; border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(46,134,193,.12);
}
.lead-capture-form .cta-button {
  width: 100%; margin-top: 8px; text-align: center;
}
.lead-capture-form .cta-button:disabled {
  opacity: .6; cursor: not-allowed;
}
.form-disclaimer {
  text-align: center; font-size: .8rem; color: var(--text-muted); margin: 12px 0 0;
}

.form-success {
  text-align: center; padding: 32px 16px;
}
.success-icon { font-size: 3rem; margin-bottom: 12px; }
.form-success h3 { color: var(--primary); margin: 0 0 8px; }
.form-success p { color: var(--text-muted); }

.form-error {
  background: #fef2f2; border: 1px solid #fca5a5; border-radius: 8px;
  padding: 12px 16px; margin-top: 12px; color: #991b1b; font-size: .9rem;
}

@media (max-width: 768px) {
  .lead-capture-layout {
    grid-template-columns: 1fr; gap: 24px;
  }
}
