h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

/* ==== Migrated styles from old site (global.css) ==== */
:root {
  --primary-color: #5bc2c6;
  --primary-hover: #3aaeb3;
  --secondary-color: #2e7d8a;
  --dark-bg: #1a2332;
  --light-bg: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --text-color: #1a1a1a;
  --blue-bg: #e6f7ff;
  --green-bg: #f0f9f4;
  --teal-bg: #f0fdfa;
  --teal-bg-2: #e6fafb;
  --hero-bleed: 160px;
  /* Lighter, softer hero palette */
  --hero-bg: #eaf9fb; /* very light teal */
  --hero-accent-overlay: rgba(91, 194, 198, 0.06);
  /* Lighter app bar color to soften header */
  --header-bg: var(--hero-bg);
  /* Approximate sticky header height for stacking announcement */
  --header-height: 80px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-color);
  background-color: var(--light-bg);
  line-height: 1.6;
}

header { background:
    linear-gradient(to bottom, var(--hero-accent-overlay), var(--hero-accent-overlay)),
    var(--header-bg);
  color: #0f172a; padding: 0.5rem 0; position: sticky; top: 0; z-index: 100; }
.header-content { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 2rem; position: relative; }
.logo { display: flex; align-items: center; gap: 0.75rem; font-weight: 800; font-size: 1.35rem; padding: 0.55rem 1.35rem; border-radius: 9999px; background: rgba(255,255,255,0.95); border: 1px solid rgba(0,0,0,0.06); box-shadow: 0 6px 22px rgba(0,0,0,0.22); }
.logo { text-decoration: none; color: inherit; }
.logo:hover { text-decoration: none; }
/* Tighter padding for header logo to reduce app bar height */
header .logo { padding: 0.2rem 0.75rem; }
.logo img { height: 56px; width: auto; }
/* Make header logo slightly larger on desktop, keep tight */
header .logo img { height: 62px; }
.logo-text { letter-spacing: 0.2px; line-height: 1; white-space: nowrap; }
/* Ensure logo text is always visible */
.logo .logo-text { color: #0f172a !important; }
/* Small Beta badge next to logo */
.beta-badge { display: inline-flex; align-items: center; justify-content: center; margin-left: 0.4rem; padding: 0.1rem 0.5rem; border-radius: 9999px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; line-height: 1; min-height: 1.4em; vertical-align: middle; background: linear-gradient(135deg, #fde68a, #f59e0b); color: #7c2d12; border: 1px solid rgba(245, 158, 11, 0.6); box-shadow: 0 1px 4px rgba(245, 158, 11, 0.35); }
header .beta-badge { transform: translateY(-1px); }
footer .beta-badge { transform: translateY(-1px); }
/* Slightly larger logo text on desktop */
header .logo .logo-text { font-size: 1.5rem; }
/* Tone down header logo badge on dark background */
header .logo { background: transparent; border: 0; box-shadow: none; backdrop-filter: none; }
nav.main-nav { display: flex; gap: 2rem; }
nav.main-nav a { color: #0f172a; text-decoration: none; font-weight: 500; transition: color 0.3s; }
nav.main-nav a:hover { color: var(--primary-color); }
.auth-buttons { display: flex; align-items: center; gap: 1rem; }
.login { color: white; text-decoration: none; font-weight: 500; }
.mobile-menu-btn { display: none; background: transparent; border: 0; color: #0f172a; font-size: 1.5rem; padding: 0.5rem; cursor: pointer; border-radius: 8px; }
.mobile-menu-btn:focus-visible { outline: 2px solid rgba(255,255,255,0.8); outline-offset: 2px; }
.menu-panel { display: flex; align-items: center; gap: 2rem; }

.btn { display: inline-flex; align-items: center; padding: 0.75rem 1.5rem; border-radius: 8px; text-decoration: none; font-weight: 600; transition: all 0.3s; border: none; cursor: pointer; line-height: 1.2; -webkit-appearance: none; appearance: none; }
.btn-primary { background: var(--primary-color); color: white; }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); }
.btn-secondary { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.3); }
.btn-secondary:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.1); color: white; }
.btn-outline { background: transparent; color: var(--text-color); border: 2px solid var(--gray-300); }
.btn-outline:hover { background: var(--gray-50); border-color: var(--gray-400); }
.btn-dark { background: var(--gray-900); color: white; }
.btn-dark:hover { background: var(--gray-800); }

.hero { background: linear-gradient(to bottom, var(--hero-accent-overlay) 0%, rgba(32,178,170,0) 45%), linear-gradient(to bottom, var(--hero-bg) calc(100% - var(--hero-bleed)), rgba(37,111,117,0) 100%); color: #000; padding: 4rem 0 0; position: relative; overflow: visible; z-index: 1; }
.hero-text-content { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: flex-start; padding: 0 2rem 4rem; position: relative; z-index: 2; }
.hero-text-left h1 { font-size: 3.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 0; color: #000; }
.hero-text-right p { font-size: 1.25rem; color: #000; margin-bottom: 2rem; line-height: 1.6; }
.hero .btn-primary { background: #0f766e; color: #fff; box-shadow: 0 6px 18px rgba(15,118,110,0.28); }
.hero .btn-primary:hover { background: #0b5f59; }
.hero .btn-secondary { color: #0f766e; border: 2px solid rgba(15,118,110,0.55); background: transparent; }
.hero .btn-secondary:hover { background: rgba(15,118,110,0.08); border-color: rgba(15,118,110,0.8); }
.hero-image { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 2rem; --hero-bleed: 160px; margin-bottom: calc(-1 * var(--hero-bleed)); overflow: visible; display: flex; justify-content: center; }
.hero-image::after { content: ''; position: absolute; bottom: calc(-1 * var(--hero-bleed)); left: 0; width: 100%; height: var(--hero-bleed); background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, var(--gray-50) 100%); z-index: 2; pointer-events: none; }
.hero-image img { width: 100%; max-width: 100%; height: auto; min-height: 640px; object-fit: cover; object-position: top; border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.3); }

.why-choose { padding: calc(10rem + var(--hero-bleed)) 0 5rem; background: var(--gray-50); }
.section-header { max-width: 800px; margin: 0 auto 4rem; text-align: center; padding: 0 2rem; }
.section-header h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; }
.section-header p { font-size: 1.25rem; color: var(--gray-600); }
.feature-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding: 0 2rem; }
.feature-card { background: var(--teal-bg); border-radius: 16px; padding: 2rem; box-shadow: 0 10px 30px rgba(0,0,0,0.1); position: relative; overflow: hidden; }
.feature-grid .feature-card:nth-child(even) { background: var(--teal-bg-2); }
.feature-header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.feature-icon { display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; line-height: 1; }
.feature-card h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.2; margin: 0; }
.feature-card p { color: var(--gray-600); margin-bottom: 2rem; }
.feature-preview { margin-top: 2rem; position: relative; }
.feature-preview .feature-thumb { width: 100%; height: 180px; object-fit: cover; border-radius: 8px; box-shadow: 0 8px 25px rgba(0,0,0,0.15); cursor: zoom-in; }
.feature-thumb-link { display: block; }
/* Make lightbox triggers button-like without default button chrome */
.feature-thumb-link { background: transparent; border: 0; padding: 0; cursor: zoom-in; }
.feature-thumb-link:focus-visible { outline: 2px solid rgba(15,118,110,0.35); outline-offset: 3px; border-radius: 8px; }
.feature-lightbox { position: fixed; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,0.55); opacity: 0; pointer-events: none; transition: opacity 0.2s ease; z-index: 1000; }
.feature-lightbox:target { opacity: 1; pointer-events: auto; }
/* Open state for Blazor-driven lightbox */
.feature-lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox-content { position: relative; max-width: 90vw; max-height: 90vh; }
.lightbox-content img { display: block; max-width: 90vw; max-height: 90vh; border-radius: 12px; box-shadow: 0 25px 80px rgba(0,0,0,0.4); }
.lightbox-close { position: absolute; top: -12px; right: -12px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 1.25rem; background: rgba(255,255,255,0.9); color: #0f172a; border-radius: 9999px; box-shadow: 0 4px 14px rgba(0,0,0,0.2); }
.lightbox-backdrop { position: absolute; inset: 0; }

.workflow-section { padding: 6rem 0; background: white; }
.workflow-content { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; padding: 0 2rem; }
.workflow-text h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 3rem; line-height: 1.2; }
.workflow-features { margin-bottom: 3rem; }
.workflow-feature { display: flex; gap: 1.5rem; margin-bottom: 2rem; }
.feature-number { background: var(--primary-color); color: white; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.workflow-feature h4 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.workflow-feature p { color: var(--gray-600); }
.workflow-image { position: relative; height: 520px; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
.workflow-image img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }

.testimonials { padding: 6rem 0; background: var(--dark-bg); color: white; }
.testimonials-header { text-align: center; margin-bottom: 4rem; }
.testimonials-header h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 0.5rem; }
.testimonials-header p { color: var(--gray-400); font-size: 1.25rem; }
.testimonials-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem; padding: 0 2rem; }
.testimonial-card { background: var(--gray-800); border-radius: 16px; padding: 2rem; }
.testimonial-content p { font-size: 1.1rem; margin-bottom: 2rem; line-height: 1.6; }
.testimonial-author .author-info { display: flex; align-items: center; gap: 1rem; }
.author-avatar .avatar-placeholder { width: 50px; height: 50px; border-radius: 50%; background: var(--primary-color); color: white; display: flex; align-items: center; justify-content: center; font-weight: 600; border: 2px solid white; }
.testimonial-video .video-placeholder { position: relative; overflow: hidden; border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
.testimonial-video img { width: 100%; height: 100%; object-fit: cover; }
.play-button { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: rgba(255,255,255,0.9); color: #0f172a; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 9999px; box-shadow: 0 10px 30px rgba(0,0,0,0.25); }

.pricing { padding: 6rem 0; background: white; }
.pricing-header { text-align: center; margin-bottom: 3rem; }
.pricing-cards { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem; padding: 0 2rem; }
.pricing-card { background: white; border: 1px solid var(--gray-200); border-radius: 16px; padding: 2rem; position: relative; }
.popular .popular-badge { position: absolute; top: -12px; right: -12px; background: #fbbf24; color: #0f172a; font-weight: 700; padding: 0.35rem 0.6rem; border-radius: 9999px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.plan-header h3 { font-size: 1.5rem; margin-bottom: 0.25rem; }
.plan-header p { color: var(--gray-600); margin-bottom: 1rem; }
.plan-price { display: flex; align-items: baseline; gap: 0.5rem; margin-bottom: 0.5rem; }
.plan-price .price { font-size: 2rem; font-weight: 800; }
.plan-features { list-style: none; display: grid; gap: 0.5rem; margin: 1rem 0 2rem; padding: 0; }

/* Pricing promotions */
.strike { text-decoration: line-through; color: var(--gray-500); }
.promo-line { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0.25rem 0 0.5rem; }
.promo-badge { display: inline-flex; align-items: center; justify-content: center; padding: 0.12rem 0.5rem; border-radius: 9999px; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.3px; color: #7c2d12; background: linear-gradient(135deg, #fde68a, #f59e0b); border: 1px solid rgba(245,158,11,0.6); }
.promo-text { font-weight: 700; color: #0f172a; }
.plan-note { margin-top: 0.5rem; font-size: 0.9rem; color: var(--gray-600); }

/* Disabled/Unavailable plan styling */
.pricing-card.disabled { opacity: 0.6; filter: grayscale(0.15); }
.pricing-card.disabled .plan-header h3,
.pricing-card.disabled .plan-price .price { text-decoration: line-through; color: var(--gray-500); }
/* Subtle highlighted note for beta feedback */
.beta-feedback {
  margin-top: 0.75rem;
  padding: 0.5rem 0.75rem;
  background: rgba(91, 194, 198, 0.08);
  border-left: 3px solid var(--primary-color);
  border-radius: 8px;
  color: var(--gray-700);
  font-size: 0.95rem;
}

/* Slim announcement bar under app bar */
.announcement-bar {
  background:
    linear-gradient(to right, rgba(245, 158, 11, 0.12), rgba(245, 158, 11, 0.06)),
    #FFF7E6; /* warm amber to contrast hero */
  color: #3f1d0a;
  border-bottom: 1px solid rgba(245, 158, 11, 0.35);
  position: static; /* stick together via .sticky-header */
  top: auto;
  z-index: auto;
}
.announcement-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.85rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.announcement-bar .home-link {
  color: #0f172a;
  text-decoration: none;
  font-weight: 700;
}
.announcement-bar .home-link:hover { color: var(--primary-color); }
.announcement-bar .beta-note { margin: 0; font-size: 1.05rem; color: #3f1d0a; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem; }
.announcement-bar .beta-note:hover { text-decoration: underline; }
.announcement-bar .beta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 1.5rem;
  padding: 0 0.5rem;
  margin-right: 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  background: linear-gradient(135deg, #fde68a, #f59e0b);
  color: #7c2d12;
  border: 1px solid rgba(245, 158, 11, 0.6);
}

@media (max-width: 768px) {
  .announcement-inner { padding: 0.7rem 1rem; flex-direction: column; align-items: flex-start; }
  :root { --header-height: 68px; }
}
.btn.disabled { opacity: 0.6; pointer-events: none; cursor: not-allowed; }

.cta-section { background: var(--gray-900); color: white; padding: 4rem 0; }
.cta-content { max-width: 1200px; margin: 0 auto; text-align: center; padding: 0 2rem; }

footer { background: var(--gray-100); }
.footer-content { max-width: 1200px; margin: 0 auto; padding: 3rem 2rem; }
.footer-main { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; align-items: start; }
.footer-brand p { color: var(--gray-600); margin-top: 0.5rem; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(120px,1fr)); gap: 1.5rem; }
.footer-column h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.75rem; }
.footer-column a { display: block; color: var(--gray-600); text-decoration: none; margin: 0.25rem 0; }
.footer-column a:hover { color: var(--gray-800); }
.footer-bottom { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--gray-200); display: flex; align-items: center; justify-content: space-between; color: var(--gray-600); }
.social-links a { color: var(--gray-600); text-decoration: none; margin-left: 1rem; }
.social-links a:hover { color: var(--gray-800); }

/* Anchor offset so sticky header doesn't cover anchors */
section[id], #pricing, #contact { scroll-margin-top: 120px; }

/* Shared page shell around routed content */
.page-shell { min-height: 60vh; }

/* Legal pages styling */
.legal-section { padding: 4rem 0; background: #fff; }
.legal-section .container { max-width: 880px; margin: 0 auto; padding: 0 1.25rem; }
.legal-section h1 { font-size: 2rem; font-weight: 800; margin-bottom: 1rem; color: #0f172a; }
.legal-section h2 { font-size: 1.25rem; font-weight: 700; margin-top: 2rem; margin-bottom: 0.5rem; color: #0f172a; }
.legal-section p { color: var(--gray-700); margin: 0.5rem 0 0.75rem; }
.legal-section ul { margin: 0.5rem 0 0.75rem 1.25rem; color: var(--gray-700); }
.legal-section li { margin: 0.35rem 0; }

@media (max-width: 1024px) {
  .hero-text-content, .workflow-content { grid-template-columns: 1fr; }
  .feature-grid, .pricing-cards, .testimonials-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  /* Ensure section clears hero image overlap on mobile (hero bleed ~80px) */
  .why-choose { padding: calc(6rem + 80px) 0 4rem; }
  /* Slightly tighter header on mobile */
  header { padding: 0.4rem 0; }
  /* Keep header logo compact on mobile */
  header .logo img { height: 56px; }
  header .logo { padding: 0.2rem 0.65rem; }
  header .logo .logo-text { font-size: 1.35rem; }
  .beta-badge { font-size: 0.7rem; padding: 0.08rem 0.42rem; min-height: 1.3em; }
  .header-content { padding: 0 1rem; }
  .mobile-menu-btn { display: inline-flex; font-size: 1.75rem; padding: 0.6rem; }
  .menu-panel { display: none; }
  header.open .menu-panel { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--header-bg); padding: 1rem 1rem 1.25rem; border-bottom: 1px solid rgba(15,23,42,0.08); box-shadow: 0 8px 22px rgba(0,0,0,0.12); }
  header.open nav.main-nav { display: grid; gap: 0.875rem; }
  /* Larger, easier tap targets for nav links */
  header.open nav.main-nav a { display: block; font-size: 1.125rem; line-height: 1.4; padding: 0.75rem 0.75rem; border-radius: 10px; min-height: 44px; }
  header.open nav.main-nav a:hover { background: rgba(15,23,42,0.06); }
  header.open .auth-buttons { margin-top: 0.75rem; }
  nav.main-nav { display: none; }
  .auth-buttons { display: none; }
  /* Ensure open state overrides the hidden display */
  header.open .menu-panel nav.main-nav { display: grid !important; }
  header.open .menu-panel .auth-buttons { display: flex !important; }

  .hero-text-left h1 { font-size: 2rem; }
  .hero-text-right p { font-size: 1rem; }
  .hero-image { --hero-bleed: 80px; padding: 0 1rem; }
  /* Avoid cropping screenshot on small screens */
  .hero-image img { width: 100%; height: auto; min-height: 0; object-fit: contain; object-position: center top; border-radius: 10px; }

  .feature-grid, .pricing-cards, .testimonials-grid { grid-template-columns: 1fr; }
  .feature-preview .feature-thumb { height: 140px; }
  .workflow-image { height: 320px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, minmax(120px,1fr)); }
}

/* Contact section (dark style to match testimonials) */
.contact { background: var(--dark-bg); color: white; padding: 4rem 0; }
.contact-container { max-width: 880px; margin: 0 auto; padding: 0 1.25rem; }
.contact-header { text-align: center; margin-bottom: 2rem; }
.contact-header h2 { font-size: 2rem; font-weight: 800; color: #fff; margin-bottom: 0.5rem; }
.contact-header p { color: var(--gray-400); }
.contact-success { background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.55); color: #d1fae5; padding: 1rem; border-radius: 10px; margin-bottom: 1.25rem; }
.contact-form { display: grid; gap: 1rem; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form .form-field { display: grid; gap: 0.4rem; }
.contact-form .form-field.full-width { grid-column: 1 / -1; }
.contact-form label { font-weight: 600; color: #fff; }
.contact-form input, .contact-form textarea { border: 1px solid var(--gray-700); border-radius: 10px; padding: 0.75rem 0.9rem; font: inherit; color: #fff; background: #1f2937; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--gray-400); }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid rgba(91,194,198,0.35); outline-offset: 2px; border-color: rgba(91,194,198,0.6); }
.contact-form .validation-message, .contact-form .field-validation-error, .contact-form .validation-errors { color: #fecaca; font-size: 0.9rem; }
.contact-form .form-actions { margin-top: 0.5rem; }
/* Contact options styling */
.contact-form .options { display: flex; gap: 1rem; flex-wrap: wrap; }
.contact-form .options .option { display: inline-flex; align-items: center; gap: 0.5rem; color: #fff; }

/* Contact modal (success popup) */
.contact-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.55); display: grid; place-items: center; z-index: 1000; }
.contact-modal .contact-modal-content { background: #111827; color: white; padding: 1.5rem; border-radius: 12px; width: min(520px, 92vw); box-shadow: 0 25px 80px rgba(0,0,0,0.5); text-align: center; border: 1px solid rgba(255,255,255,0.08); }
.contact-modal .contact-modal-content h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: 0.5rem; }
.contact-modal .contact-modal-content p { color: var(--gray-300); margin-bottom: 1rem; }

/* Simple toast */
.toast { position: fixed; right: 1rem; bottom: 1rem; background: #111827; color: white; border-radius: 10px; border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 20px 60px rgba(0,0,0,0.4); min-width: 260px; max-width: 90vw; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.75rem 0.75rem 0.75rem 1rem; z-index: 1100; }
.toast .toast-content { display: grid; gap: 0.2rem; }
.toast .toast-close { background: transparent; border: 0; color: white; font-size: 1.25rem; cursor: pointer; line-height: 1; padding: 0.25rem; }
.toast.error { background: #7f1d1d; border-color: #fecaca; }
.toast.error .toast-content span { color: #fee2e2; }

/* Contact embed (Microsoft Forms) */
.contact-embed { display: grid; place-items: center; }
.contact-embed iframe { width: 100%; max-width: 880px; height: 560px; border: 0; border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.35); }
@media (max-width: 768px) {
  .contact-embed iframe { height: 520px; }
}

@media (max-width: 768px) {
  .contact-form .form-row { grid-template-columns: 1fr; }
}

/* About section */
.about-section { padding: 6rem 0; background: white; }
.about-content { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; padding: 0 2rem; }
.about-container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.about-text h1 { font-size: 2rem; font-weight: 800; color: #0f172a; margin-bottom: 0.75rem; }
.about-text h2 { font-size: 1.25rem; font-weight: 700; color: #0f172a; margin-top: 1.5rem; margin-bottom: 0.5rem; }
.about-text p { color: var(--gray-700); margin: 0.5rem 0 0.75rem; }
.about-text ul { margin: 0.5rem 0 0.75rem 1.25rem; color: var(--gray-700); }
.about-text li { margin: 0.35rem 0; }
.about-image { position: relative; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.15); background: #fff; }
.about-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.about-image figcaption { font-size: 0.9rem; color: var(--gray-600); padding: 0.5rem 0.25rem 0; text-align: center; }
.about-row { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; margin-top: 1.5rem; }
/* Smaller bee icon on About row */
.about-row img { max-width: 220px; width: 100%; height: auto; justify-self: end; align-self: start; }

@media (max-width: 1024px) {
  .about-content { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .about-row { grid-template-columns: 1fr; }
  .about-row img { max-width: 160px; justify-self: center; }
}
.sticky-header { position: sticky; top: 0; z-index: 120; }
.sticky-header header { position: static; top: auto; z-index: auto; }
.sticky-header .announcement-bar { position: static; top: auto; z-index: auto; }
