/* ==========================================================================
   Elsastry.com Modern Design System & CSS Stylesheet
   ========================================================================== */

:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Color Tokens - Default Dark Mode */
  --bg-dark: #080c14;
  --bg-surface: #0f172a;
  --bg-card: rgba(30, 41, 59, 0.7);
  --bg-card-hover: rgba(30, 41, 59, 0.95);

  --border-light: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(99, 102, 241, 0.5);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;

  --header-bg: rgba(8, 12, 20, 0.85);
  --footer-bg: #04060a;
  --banner-bg: linear-gradient(180deg, rgba(30, 41, 59, 0.4) 0%, rgba(8, 12, 20, 0) 100%);
  --tools-section-bg: linear-gradient(180deg, rgba(15, 23, 42, 0.5) 0%, rgba(8, 12, 20, 0.9) 100%);
  --tool-card-bg: rgba(15, 23, 42, 0.8);
  --input-bg: rgba(15, 23, 42, 0.8);
  --input-bg-focus: rgba(15, 23, 42, 1);
  --contact-item-bg: rgba(15, 23, 42, 0.6);

  --title-gradient: linear-gradient(180deg, #ffffff 0%, #94a3b8 100%);
  --brand-title-gradient: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);

  /* Accent Colors & Gradients */
  --accent-primary: #6366f1;
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;

  --gradient-brand: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  --gradient-healthcare: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  --gradient-erp: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
  --gradient-nlp: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
  --gradient-tools: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  --gradient-fintech: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  --gradient-glow: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(99, 102, 241, 0.15), transparent 60%);

  /* Layout & Spacing */
  --max-width: 1240px;
  --header-height: 72px;
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 6px;

  /* Shadows & Effects */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 12px 30px -8px rgba(99, 102, 241, 0.3);
  --backdrop-blur: blur(12px);
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Theme Variables */
[data-theme="light"] {
  color-scheme: light;

  --bg-dark: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;

  --border-light: #e2e8f0;
  --border-hover: rgba(99, 102, 241, 0.6);

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-subtle: #64748b;

  --header-bg: rgba(248, 250, 252, 0.88);
  --footer-bg: #e2e8f0;
  --banner-bg: linear-gradient(180deg, rgba(99, 102, 241, 0.08) 0%, rgba(248, 250, 252, 0) 100%);
  --tools-section-bg: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  --tool-card-bg: #ffffff;
  --input-bg: #ffffff;
  --input-bg-focus: #ffffff;
  --contact-item-bg: #f1f5f9;

  --title-gradient: linear-gradient(180deg, #0f172a 0%, #334155 100%);
  --brand-title-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);

  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.06);
  --shadow-glow: 0 12px 30px -8px rgba(99, 102, 241, 0.2);
  --gradient-glow: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(99, 102, 241, 0.08), transparent 60%);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Header & Sticky Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: var(--header-bg);
  backdrop-filter: var(--backdrop-blur);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
}

.header-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-badge {
  background: var(--gradient-brand);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-title {
  background: var(--brand-title-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-domain {
  color: var(--accent-cyan);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-main);
}

.nav-link.active::after,
.nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
}

.nav-cta {
  background: var(--gradient-brand);
  color: #fff;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-fast);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 0.45rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
  outline: none;
  font-family: inherit;
}

.theme-toggle-btn:hover {
  border-color: var(--accent-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.2);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 300px;
  background: var(--gradient-brand);
  opacity: 0.15;
  filter: blur(100px);
  pointer-events: none;
  border-radius: 50%;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 9999px;
  font-size: 0.85rem;
  color: #a5b4fc;
  margin-bottom: 1.5rem;
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-cyan);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  background: var(--title-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title-highlight {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition-normal);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -8px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-main);
}

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

/* Main Layout Container */
.content-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem 5rem;
  width: 100%;
}

.section-header {
  margin-bottom: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-title-group {
  max-width: 600px;
}

.section-badge {
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 0.4rem;
}

/* Grid of Business Area Hover Tiles */
.ideas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-bottom: 5rem;
}

/* Tile Component & Rich Hover Effects */
.idea-tile {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-normal);
  overflow: hidden;
  backdrop-filter: var(--backdrop-blur);
  text-decoration: none;
}

.idea-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-glow);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.idea-tile:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  box-shadow: 0 20px 40px -15px rgba(99, 102, 241, 0.3);
}

.idea-tile:hover::before {
  opacity: 1;
}

.tile-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.tile-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  transition: var(--transition-normal);
  color: #ffffff;
}

.tile-icon-healthcare {
  background: var(--gradient-healthcare);
}

.tile-icon-clinical-trials {
  background: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 100%);
}

.tile-icon-erp {
  background: var(--gradient-erp);
}

.tile-icon-manufacturing {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.tile-icon-nlp {
  background: var(--gradient-nlp);
}

.tile-icon-tools {
  background: var(--gradient-tools);
}

.tile-icon-fintech {
  background: var(--gradient-fintech);
}

.tile-icon-automation {
  background: var(--gradient-brand);
}

.idea-tile:hover .tile-icon-wrapper {
  transform: scale(1.1) rotate(-3deg);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.tile-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
}

.tile-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.6rem;
  transition: var(--transition-fast);
}

.idea-tile:hover .tile-title {
  color: #ffffff;
}

.tile-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.tile-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.tile-projects-count {
  font-size: 0.85rem;
  color: var(--text-subtle);
  font-weight: 500;
}

.tile-link-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
}

.tile-link-arrow {
  transition: transform 0.2s ease;
}

.idea-tile:hover .tile-link-arrow {
  transform: translateX(6px);
}

/* Tools Section Showcase */
.tools-section {
  background: var(--tools-section-bg);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 3rem 2rem;
  margin-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.tool-card {
  background: var(--tool-card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tool-card:hover {
  border-color: var(--accent-emerald);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -6px rgba(16, 185, 129, 0.2);
}

.tool-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}

.badge-free {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-pro {
  background: rgba(99, 102, 241, 0.15);
  color: var(--accent-primary);
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.tool-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.tool-description {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.tool-action-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tool-price {
  font-weight: 700;
  color: var(--text-main);
  font-size: 0.95rem;
}

.btn-sm {
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

/* Subpage Detail Layout */
.page-header-banner {
  padding: 4rem 1.5rem 3rem;
  background: var(--banner-bg);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 3rem;
}

.page-header-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--text-subtle);
  transition: var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--accent-cyan);
}

.page-hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.page-hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 750px;
  line-height: 1.6;
}

/* Content Blocks for Subpages */
.details-section {
  margin-bottom: 4rem;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.detail-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.detail-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.15);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.detail-card-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.feature-item-check {
  color: var(--accent-emerald);
  font-weight: bold;
}

/* Site Footer */
.site-footer {
  margin-top: auto;
  background: var(--footer-bg);
  border-top: 1px solid var(--border-light);
  padding: 3rem 1.5rem;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-copy {
  color: var(--text-subtle);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

/* Contact Page & Form Styles */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-card-main,
.contact-form-container {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: var(--backdrop-blur);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.25rem;
  background: var(--contact-item-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.contact-info-item:hover {
  border-color: var(--accent-cyan);
  background: var(--bg-card-hover);
  transform: translateX(4px);
}

.contact-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-info-text {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-subtle);
  font-weight: 600;
}

.contact-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
}

.contact-link {
  color: var(--accent-cyan);
  transition: var(--transition-fast);
}

.contact-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.contact-action-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

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

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--input-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
  background: var(--input-bg-focus);
}

.form-control option {
  background: var(--bg-surface);
  color: var(--text-main);
}

.form-success-msg {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: var(--radius-md);
  color: #a7f3d0;
  font-size: 0.92rem;
  line-height: 1.5;
}

/* CAPTCHA Widget Styling */
.captcha-container {
  background: rgba(99, 102, 241, 0.05);
  border: 1px dashed var(--border-hover);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  margin-bottom: 1.5rem;
}

.captcha-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.captcha-question-badge {
  background: var(--gradient-brand);
  color: #ffffff;
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-sm);
  user-select: none;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.btn-refresh-captcha {
  background: var(--input-bg);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.btn-refresh-captcha:hover {
  background: var(--accent-primary);
  color: #ffffff;
  border-color: var(--accent-primary);
  transform: rotate(90deg);
}

.captcha-input {
  max-width: 140px;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
}

.captcha-hint {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.captcha-error-msg {
  color: var(--accent-rose);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.5rem;
  padding: 0.4rem 0.75rem;
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.3);
  border-radius: var(--radius-sm);
}

/* Responsive Styles */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 1.25rem 0.85rem;
  }

  header.doc-header {
    padding: 2rem 1rem;
    margin-bottom: 1.5rem;
  }

  header.doc-header h1 {
    font-size: 1.85rem;
    line-height: 1.25;
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .nav-links {
    display: none;
    /* Toggled with script.js */
  }

  .mobile-toggle {
    display: block;
  }

  .ideas-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-title {
    font-size: 2rem;
  }

  .table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 480px) {
  header.doc-header h1 {
    font-size: 1.55rem;
  }

  .container {
    padding: 1rem 0.65rem;
  }
}