/* ============================================================
   AgentHub.ie — Design System
   Adapted from businessagentcloud.com (Tailwind CSS → vanilla CSS)
   Light theme only. Amber primary #f59e0b.
   ============================================================ */

/* --- Geist Font ------------------------------------------ */
@import url('https://cdn.jsdelivr.net/npm/geist@1.0.0/dist/fonts/geist-sans/style.min.css');

/* --- Design Tokens --------------------------------------- */
:root {
  --background: #f9fafb;
  --foreground: #262626;
  --primary: #f59e0b;
  --primary-hover: #d97706;
  --primary-foreground: #000;
  --secondary: #f3f4f6;
  --secondary-foreground: #4b5563;
  --muted: #edeff0;
  --muted-foreground: #6b7280;
  --accent: #fffbeb;
  --accent-foreground: #92400e;
  --card: #ffffff;
  --card-foreground: #262626;
  --border: #e5e7eb;
  --input: #e5e7eb;
  --ring: #f59e0b;
  --destructive: #ef4444;
  --radius: 0.625rem;
  --radius-lg: 0.75rem;

  --font-sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.1);

  /* Chat widget — amber-themed */
  --chat--color-primary: #f59e0b;
  --chat--color-primary-shade-50: #d97706;
  --chat--color-primary-shade-100: #b45309;
  --chat--color-secondary: #92400e;
  --chat--color-secondary-shade-50: #78350f;
  --chat--color-white: #ffffff;
  --chat--color-light: #f9fafb;
  --chat--color-light-shade-50: #e5e7eb;
  --chat--color-light-shade-100: #d1d5db;
  --chat--color-medium: #9ca3af;
  --chat--color-dark: #262626;
  --chat--color-disabled: #6b7280;
  --chat--color-typing: #4b5563;
  --chat--spacing: 1rem;
  --chat--border-radius: 0.5rem;
  --chat--transition-duration: 0.15s;
  --chat--window--width: 400px;
  --chat--window--height: 600px;
  --chat--header-height: auto;
  --chat--header--padding: var(--chat--spacing);
  --chat--header--background: #f59e0b;
  --chat--header--color: #000;
  --chat--header--border-top: none;
  --chat--header--border-bottom: none;
  --chat--heading--font-size: 1.5em;
  --chat--subtitle--font-size: 0.9em;
  --chat--subtitle--line-height: 1.4;
  --chat--textarea--height: 50px;
  --chat--message--font-size: 1rem;
  --chat--message--padding: var(--chat--spacing);
  --chat--message--border-radius: 1rem;
  --chat--message-line-height: 1.6;
  --chat--message--bot--background: #ffffff;
  --chat--message--bot--color: #262626;
  --chat--message--bot--border: 1px solid #e5e7eb;
  --chat--message--user--background: #f59e0b;
  --chat--message--user--color: #000;
  --chat--message--user--border: none;
  --chat--message--pre--background: rgba(245,158,11,0.1);
  --chat--toggle--background: #f59e0b;
  --chat--toggle--hover--background: #d97706;
  --chat--toggle--active--background: #b45309;
  --chat--toggle--color: #000;
  --chat--toggle--size: 64px;
}

/* --- Chat widget overrides ------------------------------- */
.n8n-chat .chat-message-from-user,
.n8n-chat .chat-message.from-user,
.n8n-chat [data-message-type="user"],
.n8n-chat .message-user,
.n8n-chat .user-message {
  background: #f59e0b !important;
  color: #000 !important;
  border: none !important;
}

.n8n-chat .chat-message-from-bot,
.n8n-chat .chat-message.from-bot,
.n8n-chat [data-message-type="bot"],
.n8n-chat .message-bot,
.n8n-chat .bot-message {
  background: #ffffff !important;
  color: #262626 !important;
  border: 1px solid #e5e7eb !important;
}

.n8n-chat .chat-toggle,
.n8n-chat .toggle-button,
.n8n-chat [data-toggle] {
  background: #f59e0b !important;
  color: #000 !important;
}

.n8n-chat .chat-header,
.n8n-chat .header {
  background: #f59e0b !important;
  color: #000 !important;
}

/* --- Reset & Base ---------------------------------------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--foreground);
  background: var(--background);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* --- Layout ---------------------------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 5rem 0; }
.section-alt { padding: 5rem 0; background: var(--muted); }
.section-white { padding: 5rem 0; background: var(--card); }

/* --- Typography ------------------------------------------ */
.section-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-foreground);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
  letter-spacing: 0.025em;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 640px;
  line-height: 1.7;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

.text-primary { color: var(--primary); }

/* --- Buttons --------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--font-sans);
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--card);
  color: var(--foreground);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  background: var(--secondary);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* --- Cards ----------------------------------------------- */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-foreground);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.card p {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 1rem;
  transition: gap 0.2s ease;
}
.card-link:hover { gap: 0.625rem; }

/* --- Grids ----------------------------------------------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* --- Navigation ------------------------------------------ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.95);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.site-logo {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--foreground);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.site-logo img {
  height: 2rem;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  padding: 0.5rem 0.875rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--secondary-foreground);
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}
.site-nav a:hover {
  color: var(--foreground);
  background: var(--secondary);
}

/* Products dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  padding: 0.5rem 0.875rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--secondary-foreground);
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-sans);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-dropdown-trigger:hover {
  color: var(--foreground);
  background: var(--secondary);
}
.nav-dropdown-trigger svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  margin-top: 0.25rem;
  z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}
.nav-dropdown:hover .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.625rem 0.875rem;
  font-size: 0.9375rem;
  color: var(--secondary-foreground);
  border-radius: var(--radius);
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown-menu a:hover {
  background: var(--accent);
  color: var(--accent-foreground);
}

.nav-cta {
  margin-left: 0.5rem;
}
.nav-cta .btn { padding: 0.5rem 1.25rem; font-size: 0.875rem; }

/* Mobile toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--foreground);
}
.mobile-toggle svg { width: 1.5rem; height: 1.5rem; }

/* --- Hero ------------------------------------------------ */
.hero {
  padding: 8rem 0 5rem;
  text-align: center;
  background: var(--background);
}

.hero h1 {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--foreground);
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

.hero .subtitle {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Product Hero ---------------------------------------- */
.product-hero {
  padding: 8rem 0 4rem;
  background: var(--background);
}
.product-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.product-hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}
.product-hero .subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  line-height: 1.7;
}
.product-hero-image {
  background: var(--muted);
  border-radius: var(--radius-lg);
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* --- Testimonials ---------------------------------------- */
.testimonial-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.testimonial-card blockquote {
  font-size: 0.9375rem;
  color: var(--secondary-foreground);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.testimonial-card blockquote::before { content: '\201C'; }
.testimonial-card blockquote::after { content: '\201D'; }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: var(--accent);
  color: var(--accent-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--foreground);
}

.testimonial-role {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

/* --- Contact / Form -------------------------------------- */
.contact-section {
  padding: 5rem 0;
  background: var(--foreground);
  color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  color: white;
  font-size: 0.9375rem;
  font-family: var(--font-sans);
  transition: border-color 0.2s, background 0.2s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.5);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255,255,255,0.15);
}
.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form button {
  padding: 0.875rem 2rem;
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.contact-form button:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}
.contact-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-error {
  color: #fca5a5;
  font-size: 0.875rem;
  display: none;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  background: rgba(255,255,255,0.08);
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.1);
}
.contact-item h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.contact-item a {
  color: var(--primary);
  transition: opacity 0.2s;
}
.contact-item a:hover { opacity: 0.85; }
.contact-item p { font-size: 0.9375rem; color: rgba(255,255,255,0.8); }

/* --- Footer ---------------------------------------------- */
.site-footer {
  background: #111827;
  color: white;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: #9ca3af;
  margin-top: 0.75rem;
  max-width: 280px;
  line-height: 1.6;
}

.site-footer h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #9ca3af;
  margin-bottom: 1rem;
}

.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 0.5rem; }
.site-footer ul a {
  font-size: 0.9375rem;
  color: #d1d5db;
  transition: color 0.2s;
}
.site-footer ul a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid #1f2937;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: #6b7280;
}
.footer-bottom a {
  color: #9ca3af;
  transition: color 0.2s;
}
.footer-bottom a:hover { color: var(--primary); }

/* --- Blog cards (homepage + listing) --------------------- */
.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.blog-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.blog-card-link:hover { text-decoration: none; color: inherit; }

.blog-image { width: 100%; height: 200px; overflow: hidden; }
.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.blog-card:hover .blog-image img { transform: scale(1.03); }

.blog-image-placeholder {
  width: 100%;
  height: 200px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--accent-foreground);
}

.blog-card-content { padding: 1.5rem; }
.blog-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}
.blog-card-title a { color: inherit; text-decoration: none; }
.blog-card-title a:hover { color: var(--primary); }
.blog-card-meta { color: var(--muted-foreground); font-size: 0.8125rem; }
.blog-date { color: var(--primary); font-weight: 500; }

/* Blog listing page specific */
.blog-hero-section {
  padding: 8rem 0 3rem;
  background: var(--background);
  text-align: center;
}
.blog-hero-section h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}
.blog-hero-section p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}
.breadcrumbs {
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}
.breadcrumbs a { color: var(--primary); }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span { color: var(--muted-foreground); margin: 0 0.375rem; }

.blogs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
}
.pagination-link {
  display: inline-block;
  padding: 0.625rem 1rem;
  background: var(--card);
  color: var(--foreground);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
}
.pagination-link:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}
.pagination-link.current {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

/* --- Blog Post Page -------------------------------------- */
.blog-header-section {
  padding: 8rem 0 3rem;
  background: var(--background);
}
.blog-header-section h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--foreground);
  margin-bottom: 0.75rem;
  max-width: 800px;
}
.blog-meta-info {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
}
.blog-meta-info .blog-date { color: var(--primary); font-weight: 500; }

.blog-body {
  padding: 3rem 0 5rem;
  background: var(--card);
}
.blog-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.blog-section {
  margin-bottom: 3rem;
}
.blog-section .section-image {
  width: 100%;
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
  font-size: 0.9375rem;
  text-align: center;
  overflow: hidden;
}
.blog-section .section-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}
.blog-section .section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
}
.blog-section .section-content {
  font-size: 1.0625rem;
  color: var(--secondary-foreground);
  line-height: 1.8;
}
.blog-section .section-content p { margin-bottom: 1.25rem; }

.contact-separator {
  background: var(--accent);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  margin: 3rem 0;
}
.contact-separator .separator-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}
.contact-separator .separator-text {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}
.contact-options {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.contact-option {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.2s;
}
.contact-option:hover { background: var(--primary-hover); }

/* --- Thank You ------------------------------------------- */
.thank-you-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  background: var(--background);
}
.thank-you-content {
  text-align: center;
  max-width: 600px;
}
.thank-you-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}
.thank-you-content h1 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--foreground);
  margin-bottom: 1rem;
}
.thank-you-content p {
  font-size: 1.0625rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.response-time {
  background: var(--accent);
  border-left: 4px solid var(--primary);
  padding: 1rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 2rem 0;
  text-align: left;
  font-size: 0.9375rem;
  color: var(--foreground);
}

/* --- Landing page (minimal) ------------------------------ */
.landing-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.landing-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
.landing-phone {
  font-weight: 600;
  color: var(--foreground);
  font-size: 0.9375rem;
}
.landing-phone:hover { color: var(--primary); }

/* Trust bar */
.trust-bar {
  padding: 3rem 0;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.trust-bar p {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  font-size: 0.9375rem;
  color: var(--secondary-foreground);
  font-weight: 500;
}

/* How it works (3-step) */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.step-card { text-align: center; }
.step-number {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  margin: 0 auto 1rem;
}
.step-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}
.step-card p {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* --- Founder / About ------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.founder-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.founder-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}
.founder-card h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}
.founder-card p {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  margin-bottom: 0.375rem;
  line-height: 1.6;
}

/* --- Animations ------------------------------------------ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Loading state for blogs */
.blogs-loading {
  text-align: center;
  padding: 2rem;
  color: var(--muted-foreground);
}

/* --- Responsive ------------------------------------------ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .site-nav { display: none; }
  .nav-cta { display: none; }
  .mobile-toggle { display: block; }

  /* Mobile nav overlay */
  .site-nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 4rem;
    left: 0;
    right: 0;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: 1rem;
    gap: 0.25rem;
  }
  .site-nav.active .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
  }
  .site-nav.active .nav-cta {
    display: block;
    margin-left: 0;
    margin-top: 0.5rem;
  }

  .hero { padding: 7rem 0 3rem; }
  .hero h1 { font-size: 2.25rem; }
  .hero .subtitle { font-size: 1.0625rem; }

  .product-hero .container { grid-template-columns: 1fr; gap: 2rem; }
  .product-hero h1 { font-size: 2rem; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .blogs-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }

  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }

  .section-title { font-size: 1.75rem; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }

  .blog-header-section h1 { font-size: 1.75rem; }
  .blog-hero-section h1 { font-size: 2rem; }

  .contact-options { flex-direction: column; align-items: center; }

  .pagination { flex-wrap: wrap; }
}
