@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* CSS Variables for Premium Design System */
:root {
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Color Palette */
  --color-primary: #0F172A; /* Deep Navy */
  --color-primary-light: #1E293B;
  --color-secondary: #0D9488; /* Trustworthy Medical Teal */
  --color-secondary-dark: #0F766E;
  --color-secondary-light: #99F6E4;
  --color-accent: #B39D68; /* Elegant Bronze Gold matching the Knorr Agent Logo */
  --color-accent-dark: #8C7853;
  --color-bg-light: #F8FAFC; /* Clean Light Blue-Gray */
  --color-bg-card: #FFFFFF;
  --color-border: #E2E8F0;
  --color-text-dark: #0F172A;
  --color-text-muted: #475569;
  --color-text-light: #FFFFFF;
  
  /* Layout & Spacing */
  --container-max-width: 1200px;
  --header-height: 80px;
  
  /* Shadows & Borders */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.1), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 18px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background-color: var(--color-bg-light);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  padding-bottom: 80px; /* Leave space for sticky CTA on mobile */
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-primary);
}

h1 {
  font-size: 2.25rem;
  letter-spacing: -0.025em;
}

h2 {
  font-size: 1.85rem;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  text-align: center;
  position: relative;
}

h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--color-secondary);
  margin: 0.75rem auto 0 auto;
  border-radius: 2px;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--color-secondary-dark);
}

/* Layout Elements */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 4.5rem 0;
  position: relative;
}

.section-bg-white {
  background-color: #FFFFFF;
}

.section-bg-slate {
  background-color: #F1F5F9;
}

/* Header & Navigation */
header {
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 99;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.brand-logos {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.agent-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-img-agent {
  height: 45px;
  width: auto;
}

.logo-img-henthorn {
  height: 24px;
  width: auto;
  opacity: 0.85;
}

.brokerage-tag {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  border-left: 1px solid var(--color-border);
  padding-left: 0.75rem;
  font-weight: 500;
}

.header-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-bg-light);
  color: var(--color-primary);
  border: 1px solid var(--color-border);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
}

/* Hero Section */
.hero {
  position: relative;
  background-color: var(--color-primary);
  color: var(--color-text-light);
  padding: 5rem 0 6rem 0;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96) 30%, rgba(15, 23, 42, 0.85) 60%, rgba(13, 148, 136, 0.25) 100%);
  z-index: 1;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-content-wrapper {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 992px) {
  .hero-content-wrapper {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }
}

.hero-text {
  text-align: left;
}

.hero-tagline {
  display: inline-block;
  background-color: rgba(13, 148, 136, 0.2);
  border: 1px solid var(--color-secondary);
  color: var(--color-secondary-light);
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.hero-title {
  color: var(--color-text-light);
  font-size: 2.25rem;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  font-weight: 800;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  line-height: 1.5;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 576px) {
  .hero-ctas {
    flex-direction: row;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-normal);
  cursor: pointer;
  border: none;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--color-secondary);
  color: var(--color-text-light);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.4);
}

.btn-primary:hover {
  background-color: var(--color-secondary-dark);
  color: var(--color-text-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.5);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-text-light);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(5px);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--color-accent);
  color: var(--color-primary);
  box-shadow: 0 4px 14px rgba(179, 157, 104, 0.4);
}

.btn-accent:hover {
  background-color: var(--color-accent-dark);
  color: var(--color-text-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(179, 157, 104, 0.5);
}

/* Quick Hero Stats Card */
.hero-stats-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border-radius: var(--border-radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-stats-title {
  font-size: 0.95rem;
  color: var(--color-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.75rem;
}

.hero-stat-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.hero-stat-icon {
  color: var(--color-secondary-light);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.hero-stat-text h4 {
  color: var(--color-text-light);
  font-size: 1rem;
  font-weight: 600;
}

.hero-stat-text p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
}

/* Sub-header Context / Intro Info bar */
.intro-bar {
  background-color: var(--color-primary-light);
  color: var(--color-text-light);
  padding: 1.25rem 0;
  border-bottom: 2px solid var(--color-accent);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
}

.intro-bar span {
  color: var(--color-accent);
  font-weight: 700;
}

/* Section Header Styles */
.section-subtitle {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3rem auto;
  color: var(--color-text-muted);
}

/* Grid & Layout System */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Who This Is For - Card Grid */
.who-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.who-card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.who-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--color-secondary);
  opacity: 0.7;
}

.who-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-secondary-light);
}

.who-icon-wrapper {
  color: var(--color-secondary);
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.who-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.who-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Why Medical Professionals Need a Different Homebuying Conversation */
.conversation-feature {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.conversation-icon {
  background-color: rgba(13, 148, 136, 0.08);
  color: var(--color-secondary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.conversation-text h4 {
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

.conversation-text p {
  font-size: 0.925rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* What You'll Learn Section */
.learn-box {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.learn-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.learn-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.learn-item-num {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.learn-item-text h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  color: var(--color-primary);
}

.learn-item-text p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* Financing Education section */
.financing-card {
  background: linear-gradient(to right bottom, #ffffff, #fdfdfd);
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-accent);
  border-radius: var(--border-radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

.financing-disclaimer-box {
  background-color: rgba(179, 157, 104, 0.08);
  border: 1px dashed var(--color-accent);
  border-radius: var(--border-radius-sm);
  padding: 1.25rem;
  margin-bottom: 1.75rem;
  display: flex;
  gap: 0.75rem;
}

.financing-disclaimer-box svg {
  color: var(--color-accent-dark);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.financing-disclaimer-box p {
  font-size: 0.85rem;
  color: var(--color-primary-light);
  margin-bottom: 0;
  line-height: 1.45;
}

.financing-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .financing-features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.fin-feature-item {
  text-align: center;
  background-color: var(--color-bg-light);
  padding: 1.25rem;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--color-border);
}

.fin-feature-icon {
  font-size: 1.75rem;
  color: var(--color-secondary);
  margin-bottom: 0.75rem;
}

.fin-feature-item h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.fin-feature-item p {
  font-size: 0.825rem;
  margin-bottom: 0;
}

/* Main Lead Generation & Action Form Block */
.cta-form-section {
  background-color: var(--color-primary-light);
  color: var(--color-text-light);
  padding: 5rem 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: flex-start;
}

@media (min-width: 992px) {
  .form-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.form-left-content {
  color: var(--color-text-light);
}

.form-left-content h2 {
  color: var(--color-text-light);
  text-align: left;
  margin-bottom: 1.5rem;
}

.form-left-content h2::after {
  margin: 0.75rem 0 0 0;
  background-color: var(--color-accent);
}

.form-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.form-bullet-item {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  font-size: 1rem;
}

.form-bullet-icon {
  color: var(--color-accent);
  flex-shrink: 0;
}

/* Call Scheduler Card snippet */
.scheduler-block {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  margin-top: 2rem;
}

.scheduler-block h4 {
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.scheduler-block p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

/* Form Container Style */
.form-card {
  background-color: var(--color-bg-card);
  color: var(--color-text-dark);
  border-radius: var(--border-radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
}

.form-tabs {
  display: flex;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 1.75rem;
  gap: 0.5rem;
}

.form-tab-btn {
  flex: 1;
  text-align: center;
  padding: 0.75rem 0.25rem;
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--color-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.form-tab-btn.active {
  color: var(--color-secondary);
  border-bottom-color: var(--color-secondary);
}

.form-pane {
  display: none;
}

.form-pane.active {
  display: block;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 576px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary-light);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: var(--font-body);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-secondary);
  background-color: #FFFFFF;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M7 9l3 3 3-3' stroke='%23475569' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.25rem;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 1rem;
}

.checkbox-group input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--color-secondary);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.checkbox-group label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  cursor: pointer;
  margin-bottom: 0;
}

.form-submit-btn {
  width: 100%;
  margin-top: 1.5rem;
  justify-content: center;
}

.form-compliance-note {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 1rem;
  line-height: 1.4;
  border-top: 1px solid var(--color-border);
  padding-top: 0.75rem;
}

/* Agent Value Section */
.agent-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .agent-wrapper {
    grid-template-columns: 0.8fr 1.2fr;
  }
}

.agent-image-col {
  position: relative;
  text-align: center;
}

.agent-image-box {
  position: relative;
  display: inline-block;
}

.agent-photo {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: var(--border-radius-lg);
  border: 6px solid #FFFFFF;
  box-shadow: var(--shadow-xl);
  display: block;
}

.agent-badge {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-primary);
  border: 2px solid var(--color-accent);
  color: var(--color-text-light);
  padding: 0.5rem 1.25rem;
  border-radius: 99px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
}

.agent-info-col h2 {
  text-align: left;
}

.agent-info-col h2::after {
  margin: 0.75rem 0 0 0;
}

.agent-quote {
  font-style: italic;
  color: var(--color-secondary-dark);
  font-size: 1.05rem;
  margin: 1.5rem 0;
  border-left: 3px solid var(--color-accent);
  padding-left: 1rem;
}

.agent-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.agent-bullet-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.agent-bullet-icon {
  color: var(--color-secondary);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.agent-bullet-text h4 {
  font-size: 1.05rem;
  color: var(--color-primary);
  margin-bottom: 0.15rem;
}

.agent-bullet-text p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* FAQ Accordion Section */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--color-secondary-light);
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  gap: 1rem;
}

.faq-question {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
}

.faq-icon-svg {
  width: 20px;
  height: 20px;
  color: var(--color-text-muted);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.faq-item.active {
  border-color: var(--color-secondary);
  box-shadow: var(--shadow-sm);
}

.faq-item.active .faq-icon-svg {
  transform: rotate(180deg);
  color: var(--color-secondary);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out;
  background-color: rgba(248, 250, 252, 0.5);
}

.faq-content-inner {
  padding: 0 1.5rem 1.5rem 1.5rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  border-top: 1px solid transparent;
}

.faq-item.active .faq-content-inner {
  border-top-color: var(--color-border);
}

/* Footer Section */
footer {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  padding: 4rem 0 3rem 0;
  font-size: 0.85rem;
  border-top: 4px solid var(--color-accent);
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.footer-brand {
  max-width: 380px;
}

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.logo-footer-agent {
  height: 38px;
  width: auto;
}

.logo-footer-henthorn {
  height: 20px;
  width: auto;
  opacity: 0.85;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  line-height: 1.5;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact h4 {
  color: var(--color-accent);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.85);
}

.footer-contact-item a:hover {
  color: var(--color-accent);
}

.footer-disclaimer {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  font-size: 0.8rem;
  text-align: justify;
}

.footer-disclaimer p {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Sticky Mobile Bottom CTA */
.sticky-cta-mobile {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--color-border);
  padding: 0.75rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 98;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
}

.sticky-cta-mobile-text h4 {
  font-size: 0.85rem;
  margin-bottom: 0.1rem;
  color: var(--color-primary);
}

.sticky-cta-mobile-text p {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.sticky-cta-mobile-btn {
  padding: 0.6rem 1.2rem;
  font-size: 0.875rem;
  border-radius: var(--border-radius-sm);
}

@media (min-width: 768px) {
  .sticky-cta-mobile {
    display: none; /* Hide on Desktop */
  }
  body {
    padding-bottom: 0; /* Remove extra padding on desktop */
  }
}

/* --- DEVELOPER LOG DRAWER (REAL-TIME EVENT VISUALIZER) --- */
.dev-console-drawer {
  position: fixed;
  bottom: 0;
  right: 20px;
  width: 360px;
  max-width: calc(100vw - 40px);
  background-color: #1E293B;
  border: 1px solid #334155;
  border-radius: 8px 8px 0 0;
  z-index: 101;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.25);
  color: #E2E8F0;
  font-family: Consolas, Monaco, "Courier New", monospace;
  font-size: 0.75rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 767px) {
  .dev-console-drawer {
    bottom: 57px; /* Position right above the sticky mobile CTA */
    right: 10px;
    width: calc(100vw - 20px);
    max-width: none;
  }
}

.dev-console-drawer.collapsed {
  transform: translateY(calc(100% - 36px));
}

.dev-console-header {
  background-color: #0F172A;
  padding: 0.5rem 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  border-bottom: 1px solid #334155;
}

.dev-console-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: #38BDF8; /* Cyber Blue */
  font-size: 0.8rem;
}

.dev-console-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #22C55E; /* Live Green */
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

.dev-console-toggle-btn {
  background: none;
  border: none;
  color: #94A3B8;
  cursor: pointer;
  padding: 0.2rem;
  font-weight: 700;
  font-size: 0.75rem;
}

.dev-console-body {
  height: 200px;
  padding: 0.75rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background-color: #0F172A;
}

.dev-console-empty {
  color: #64748B;
  text-align: center;
  margin-top: 3rem;
  font-style: italic;
}

.dev-log-item {
  border-bottom: 1px solid #1E293B;
  padding-bottom: 0.5rem;
}

.dev-log-meta {
  display: flex;
  justify-content: space-between;
  color: #64748B;
  margin-bottom: 0.2rem;
}

.dev-log-eventname {
  color: #F43F5E; /* Rose Pink for Events */
  font-weight: 700;
}

.dev-log-payload {
  background-color: #1E293B;
  padding: 0.35rem 0.5rem;
  border-radius: 4px;
  white-space: pre-wrap;
  color: #10B981; /* Emerald green for values */
  font-size: 0.7rem;
  overflow-x: auto;
  border: 1px solid #334155;
}

/* Event Toasts */
.toast-container {
  position: fixed;
  top: 90px;
  right: 20px;
  z-index: 102;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

@media (max-width: 576px) {
  .toast-container {
    right: 10px;
    left: 10px;
    top: 20px;
  }
}

.event-toast {
  background-color: #0F172A;
  color: #FFFFFF;
  border-left: 4px solid var(--color-accent);
  padding: 0.85rem 1.25rem;
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-lg);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 280px;
  max-width: 400px;
  opacity: 0;
  transform: translateX(50px);
  animation: slide-in-toast 0.3s forwards, slide-out-toast 0.3s 3.7s forwards;
  pointer-events: auto;
}

@keyframes slide-in-toast {
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slide-out-toast {
  to { opacity: 0; transform: translateX(50px); }
}

.toast-icon {
  color: var(--color-accent);
}

.toast-message h5 {
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 700;
}

.toast-message p {
  color: #94A3B8;
  font-size: 0.75rem;
  margin-bottom: 0;
}
