/* ==========================================================================
   Water Dragon — Modern Responsive Stylesheet
   Color Palette: Royal Indigo (#4F46E5), Deep Turquoise (#06B6D4), Slate Abyss (#0F172A)
   ========================================================================== */

:root {
  /* Brand Colors */
  --primary: #4F46E5;
  --primary-hover: #4338CA;
  --primary-light: #EEF2FF;
  --accent: #06B6D4;
  --accent-hover: #0891B2;
  --accent-light: #ECFEFF;
  --secondary: #7C3AED;
  
  /* Neutrals */
  --bg-dark: #0F172A;
  --bg-dark-surface: #1E293B;
  --bg-dark-card: #182234;
  --bg-light: #F8FAFC;
  --bg-white: #FFFFFF;
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-light: #94A3B8;
  --text-white: #FFFFFF;
  --border-light: #E2E8F0;
  --border-dark: #334155;
  
  /* Accents & Status */
  --success: #10B981;
  --success-bg: #ECFDF5;
  --warning: #F59E0B;
  --warning-bg: #FFFBEB;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 35px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 25px rgba(6, 182, 212, 0.25);
  
  /* Layout */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --header-height: 80px;
  --container-max: 1200px;
  
  /* Typography */
  --font-sans: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
  font-weight: 400;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

a:hover {
  color: var(--primary-hover);
}

button, input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.25rem, 4vw + 1rem, 3.5rem);
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.85rem, 3vw + 0.5rem, 2.6rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.35rem, 2vw + 0.25rem, 1.75rem);
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

p.lead {
  font-size: 1.25rem;
  color: var(--text-main);
  font-weight: 400;
  line-height: 1.6;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding: 5rem 0;
  position: relative;
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-white);
}

.section-dark h1, 
.section-dark h2, 
.section-dark h3, 
.section-dark h4 {
  color: var(--text-white);
}

.section-dark p {
  color: var(--text-light);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}

.section-dark .badge {
  background-color: rgba(79, 70, 229, 0.25);
  color: var(--accent);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: all 0.25s ease;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.brand-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--bg-dark);
  letter-spacing: -0.03em;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.725rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-main);
  padding: 0.5rem 0.25rem;
  position: relative;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-cta {
  padding: 0.65rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
}

.phone-quick-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  background-color: var(--bg-light);
  border: 1px solid var(--border-light);
  transition: all 0.2s ease;
}

.phone-quick-link:hover {
  background-color: var(--primary-light);
  color: var(--primary);
  border-color: rgba(79, 70, 229, 0.3);
}

/* Mobile Menu Toggle Button */
.mobile-menu-btn {
  display: none;
  background-color: #F8FAFC;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-md);
  padding: 0.5rem 0.85rem;
  cursor: pointer;
  color: var(--text-main);
  align-items: center;
  gap: 0.45rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease;
  flex-shrink: 0;
  min-height: 42px;
}

.mobile-menu-btn:hover,
.mobile-menu-btn:focus-visible {
  background-color: var(--bg-white);
  border-color: var(--primary);
  color: var(--primary);
  outline: none;
  box-shadow: 0 2px 5px rgba(79, 70, 229, 0.15);
}

.mobile-menu-btn.is-open {
  background-color: #EEF2FF;
  border-color: var(--primary);
  color: var(--primary);
}

.mobile-menu-btn svg {
  width: 22px;
  height: 22px;
  display: block;
  flex-shrink: 0;
  stroke: currentColor;
}

.mobile-menu-label {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* Mobile Navigation Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  background-color: var(--bg-white);
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--border-light);
  overflow-y: auto;
  z-index: 99;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-drawer.is-open {
  display: flex;
}

.mobile-nav-link {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-nav-link.active {
  color: var(--primary);
}

/* ==========================================================================
   Buttons & Interactive Elements
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 48px;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-white);
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.45);
}

.btn-secondary {
  background-color: var(--bg-white);
  color: var(--text-main);
  border-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--bg-light);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--bg-dark);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.35);
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  color: var(--bg-dark);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  padding: 4.5rem 0 4rem 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0F172A 0%, #1E1B4B 50%, #0F172A 100%);
  color: var(--text-white);
}

.hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  color: var(--text-white);
}

.hero-content .lead {
  color: #CBD5E1;
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: var(--accent);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-visual {
  position: relative;
}

.hero-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), var(--shadow-glow);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.hero-img-wrapper:hover .hero-img {
  transform: scale(1.02);
}

.hero-floating-card {
  position: absolute;
  bottom: -1.25rem;
  left: -1.25rem;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(6, 182, 212, 0.4);
  padding: 1rem 1.35rem;
  border-radius: var(--radius-md);
  color: var(--text-white);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.hero-floating-card .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.hero-floating-card p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-white);
}

/* ==========================================================================
   Trust Banner (You Are Always The Boss)
   ========================================================================== */

.trust-banner {
  background: linear-gradient(90deg, #1E1B4B 0%, #0F172A 100%);
  border-top: 1px solid rgba(6, 182, 212, 0.2);
  border-bottom: 1px solid rgba(6, 182, 212, 0.2);
  padding: 2.25rem 0;
  color: var(--text-white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 1.25rem;
}

.trust-item h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  color: var(--text-white);
}

.trust-item p {
  font-size: 0.9rem;
  margin: 0;
  color: #94A3B8;
  line-height: 1.5;
}

/* ==========================================================================
   Cards, Grid & Three Pillars
   ========================================================================== */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(79, 70, 229, 0.3);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.card ul {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0 0;
}

.card ul li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* Dark Card Variant */
.card-dark {
  background-color: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  color: var(--text-white);
}

.card-dark h3, .card-dark h4 {
  color: var(--text-white);
}

.card-dark p {
  color: var(--text-light);
}

.card-dark .card-icon {
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.card-dark:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(6, 182, 212, 0.2);
}

/* ==========================================================================
   Industry Real-Life Examples
   ========================================================================== */

.trade-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

.trade-card-content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.trade-tag {
  align-self: flex-start;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  background-color: var(--primary-light);
  color: var(--primary);
  margin-bottom: 1rem;
}

.trade-quote-box {
  background: var(--bg-light);
  border-left: 4px solid var(--primary);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-main);
  font-size: 1.05rem;
}

.trade-card-side {
  background: linear-gradient(135deg, #F1F5F9 0%, #E2E8F0 100%);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--border-light);
}

/* ==========================================================================
   Workflow Steps & Diagram Box
   ========================================================================== */

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  margin: 3rem 0;
  position: relative;
}

.workflow-step {
  background: var(--bg-white);
  padding: 1.75rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--text-white);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
  font-size: 1.1rem;
}

.workflow-step h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.workflow-step p {
  font-size: 0.875rem;
  margin: 0;
}

.diagram-wrapper {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  margin: 2.5rem 0;
}

.diagram-img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* ==========================================================================
   Pricing & Packages
   ========================================================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
  margin-top: 2.5rem;
}

.pricing-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  box-shadow: 0 10px 30px rgba(79, 70, 229, 0.15);
}

.featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--text-white);
  padding: 0.35rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.price-title {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.price-tag {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
  margin: 1.25rem 0 0.5rem 0;
}

.price-tag span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  flex-grow: 1;
}

.pricing-features li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 800;
}

/* ==========================================================================
   Forms & Contact Box
   ========================================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 3.5rem;
}

.contact-info-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-channel {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.contact-channel-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-channel h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.contact-channel a {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.contact-channel a:hover {
  text-decoration: underline;
}

.form-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.35rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

label span.req {
  color: #EF4444;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background-color: var(--bg-light);
  color: var(--text-main);
  font-size: 1rem;
  transition: all 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  background-color: var(--bg-white);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

textarea {
  resize: vertical;
  min-height: 130px;
  white-space: pre-wrap;
  word-wrap: break-word;
  tab-size: 2;
  line-height: 1.55;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
  cursor: pointer;
  margin-top: 0.5rem;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--primary);
}

.form-status {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  display: none;
}

.form-status.success {
  display: block;
  background-color: var(--success-bg);
  border: 1px solid #A7F3D0;
  color: #065F46;
}

.form-status.error {
  display: block;
  background-color: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 4.5rem 0 2rem 0;
  margin-top: auto;
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand h3 {
  color: var(--text-white);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.footer-col h4 {
  color: var(--text-white);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  color: var(--text-light);
  font-size: 0.95rem;
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: #64748B;
}

.footer-logo {
  height: 38px !important;
  max-height: 38px !important;
  width: auto !important;
  max-width: 140px !important;
  filter: brightness(0) invert(1) !important;
  -webkit-filter: brightness(0) invert(1) !important;
  margin: 0 !important;
  display: inline-block !important;
  transition: opacity 0.2s ease;
}

.footer-logo:hover {
  opacity: 0.85;
}

/* ==========================================================================
   Industry Tabs Component (Platform 8 AI Helpers)
   ========================================================================== */

.industry-tabs-container {
  margin: 0 auto 3rem auto;
  max-width: 1050px;
  text-align: center;
}

.industry-tabs-header {
  margin-bottom: 1.5rem;
}

.industry-tabs-header p {
  color: #94A3B8;
  font-size: 1.05rem;
}

.industry-tabs {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 0.65rem !important;
  background: rgba(30, 41, 59, 0.9) !important;
  padding: 0.6rem !important;
  border-radius: 9999px !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

.industry-tab-btn {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #CBD5E1 !important;
  padding: 0.65rem 1.25rem !important;
  border-radius: 9999px !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

.industry-tab-btn:hover {
  color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}

.industry-tab-btn.active {
  background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%) !important;
  color: #FFFFFF !important;
  border-color: #818CF8 !important;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.5) !important;
}

.industry-active-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #38BDF8;
  background: rgba(6, 182, 212, 0.12);
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.helper-card {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.helper-card.updating {
  opacity: 0.1;
  transform: translateY(6px);
}

/* ==========================================================================
   Contact Location Box (Contact Page)
   ========================================================================== */

.contact-location-box {
  margin-top: 1.75rem;
  padding: 1.35rem 1.5rem;
  background: #F8FAFC;
  border: 1.5px solid var(--border-light);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
}

.contact-location-box h4 {
  color: var(--primary);
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-location-box p {
  color: var(--text-main);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0.4rem;
}

.contact-location-box .appointment-note {
  font-size: 0.85rem;
  font-weight: 700;
  color: #B45309;
  background: #FEF3C7;
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-visual {
    max-width: 580px;
    margin: 0 auto;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .workflow-steps {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .desktop-nav,
  .header-cta,
  .nav-actions .phone-quick-link {
    display: none !important;
  }
  
  .mobile-menu-btn {
    display: inline-flex !important;
  }
}

@media (max-width: 768px) {

  .header-container {
    padding: 0 1rem;
  }

  .brand-logo {
    height: 40px;
  }

  .brand-name {
    font-size: 1.2rem;
  }

  .brand-sub {
    font-size: 0.65rem;
    letter-spacing: 0.04em;
  }
  
  .grid-3,
  .grid-2,
  .grid-4,
  .trust-grid,
  .contact-layout,
  .trade-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .trade-card-side {
    border-left: none;
    border-top: 1px solid var(--border-light);
  }
  
  .workflow-steps {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-floating-card {
    position: static;
    margin-top: 1rem;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0 0.75rem;
  }

  .brand-link {
    gap: 0.55rem;
  }

  .brand-logo {
    height: 36px;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .brand-sub {
    font-size: 0.58rem;
    letter-spacing: 0.02em;
  }

  .mobile-menu-btn {
    padding: 0.42rem 0.65rem !important;
    min-height: 38px !important;
    gap: 0.35rem !important;
  }

  .mobile-menu-label {
    font-size: 0.88rem !important;
  }

  .mobile-menu-btn svg {
    width: 20px !important;
    height: 20px !important;
  }
}

/* ==========================================================================
   County Map Feature Card & Article Filter Dropdown
   ========================================================================== */

.county-map-card {
  display: block;
  background: #0F172A;
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.5);
}

.county-map-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 20px 35px -10px rgba(6, 182, 212, 0.25);
}

.county-map-grid {
  display: grid;
  grid-template-columns: 46% 54%;
  align-items: center;
}

.county-map-img-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #070D1E;
  padding: 1rem 1.25rem;
  height: 100%;
}

.county-map-card:hover .county-map-img {
  transform: scale(1.02);
}

.county-map-img {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain !important;
  display: block;
  border-radius: 0.5rem;
  transition: transform 0.4s ease;
}

@media (max-width: 900px) {
  .county-map-grid {
    grid-template-columns: 1fr;
  }
  .county-map-img-box {
    padding: 0.75rem 1rem 1.5rem 1rem !important;
  }
  .county-map-img {
    max-height: 280px;
  }
}

/* Search bar override to ensure icon never overlaps placeholder text */
.search-bar-wrapper {
  position: relative;
  flex: 1;
  width: 100%;
  min-width: 280px;
  max-width: 540px;
}

input[type="text"].search-input,
.search-input {
  width: 100% !important;
  padding: 0.85rem 1.25rem 0.85rem 3.5rem !important;
  border: 2px solid var(--border-light) !important;
  border-radius: var(--radius-full) !important;
  font-size: 0.98rem !important;
  background: #fff !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box !important;
}

input[type="text"].search-input:focus,
.search-input:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15) !important;
}

.search-icon {
  position: absolute;
  left: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  pointer-events: none;
  z-index: 2;
}

/* Industry Select Combo Box */
.filter-dropdown-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.filter-dropdown-wrapper label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
}

.industry-select-container {
  position: relative;
  display: inline-block;
  min-width: 280px;
  max-width: 100%;
}

select.industry-select,
.industry-select {
  width: 100%;
  min-width: 280px;
  max-width: 100%;
  padding: 0.8rem 2.5rem 0.8rem 1.25rem !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: #1E293B !important;
  background-color: #fff !important;
  border: 2px solid var(--border-light) !important;
  border-radius: var(--radius-full) !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234F46E5' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  background-size: 16px !important;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box !important;
}

select.industry-select:focus,
.industry-select:focus {
  outline: none;
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15) !important;
}

