@charset "UTF-8";
:root {
  /* ===== Primary Colors ===== */
  --primary-color: #FF6B35;
  --primary-hover: #FF8551;
  --primary-light: #FFF4F0;
  --secondary-color: #6c757d;
  --secondary-hover: #5a6268;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --info-color: #17a2b8;
  /* ===== Background Colors ===== */
  --bg-color: #f5f5f5;
  --bg-primary: #ffffff;
  --bg-secondary: #f5f5f5;
  --light-gray: #e9ecef;
  /* ===== Text Colors ===== */
  --text-color: #333;
  --text-secondary: #666;
  --text-muted: #999;
  --text-white: #ffffff;
  /* ===== Border Colors ===== */
  --border-color: #dee2e6;
  --border-light: #e9ecef;
  /* ===== Spacing ===== */
  --spacing-xs: 0.25rem; /* 4px */
  --spacing-sm: 0.5rem; /* 8px */
  --spacing-md: 1rem; /* 16px */
  --spacing-lg: 1.5rem; /* 24px */
  --spacing-xl: 2rem; /* 32px */
  --spacing-2xl: 3rem; /* 48px */
  /* ===== Fonts ===== */
  /* Font families are now defined in fonts.css */
  --font-family-primary: var(--font-primary);
  /* Font sizes are now defined in fonts.css */
  --font-size-xs: var(--font-size-xs);
  --font-size-sm: var(--font-size-sm);
  --font-size-base: var(--font-size-base);
  --font-size-lg: var(--font-size-lg);
  --font-size-xl: var(--font-size-xl);
  --font-size-2xl: var(--font-size-2xl);
  --font-size-3xl: var(--font-size-3xl);
  --font-size-4xl: var(--font-size-4xl);
  /* Font weights are now defined in fonts.css */
  --font-weight-normal: var(--font-weight-normal);
  --font-weight-medium: var(--font-weight-medium);
  --font-weight-semibold: var(--font-weight-semibold);
  --font-weight-bold: var(--font-weight-bold);
  /* Line heights are now defined in fonts.css */
  --line-height-normal: var(--line-height-normal);
  --line-height-tight: var(--line-height-tight);
  /* ===== Border Radius ===== */
  --border-radius-sm: 0.25rem; /* 4px */
  --border-radius-md: 0.5rem; /* 8px */
  --border-radius-lg: 1rem; /* 16px */
  --border-radius-xl: 1.5rem; /* 24px */
  --border-radius-full: 50%;
  /* ===== Shadows ===== */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 6px 16px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 8px 32px rgba(0, 0, 0, 0.3);
  /* ===== Transitions ===== */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  /* ===== Z-Index ===== */
  --z-header: 99999;
  --z-dropdown: 1000;
  --z-modal: 10000;
  /* ===== Sizes ===== */
  --header-height: 80px;
  --footer-height: 60px;
  /* ===== Page-Specific Variables ===== */
  --chat-bg: #fff;
  --system-msg-bg: #f8f9fa;
  --user-msg-bg: #FF6B35;
  --user-msg-text: #fff;
  --input-bg: #fff;
  --input-border: #dee2e6;
  --button-hover: #FF8551;
  --progress-bg: #e9ecef;
  --progress-fill: #FF6B35;
  --chat-header-bg: #FF6B35;
  --chat-header-text: #fff;
}

/* Dark Theme (for future) */
:root[data-theme=dark] {
  --bg-color: #1a1a1a;
  --bg-primary: #2d2d2d;
  --bg-secondary: #333333;
  --text-color: #ffffff;
  --text-secondary: #cccccc;
  --text-muted: #999999;
  --border-color: #404040;
  --border-light: #333333;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 6px 16px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 8px 32px rgba(0, 0, 0, 0.5);
}

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

/* HTML & Body */
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-normal);
  color: var(--text-color);
  background-color: var(--bg-color);
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Remove default margins */
h1, h2, h3, h4, h5, h6,
p, blockquote, pre,
dl, dd, ol, ul,
figure, hr,
fieldset, legend {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role */
ul[role=list],
ol[role=list] {
  list-style: none;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* Focus styles */
:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* Selection styles */
::selection {
  background-color: var(--primary-light);
  color: var(--primary-color);
}

/* Scrollbar styles */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: var(--border-radius-md);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

/* Font Family Variables */
:root {
  /* Primary Font - Main brand font (Montserrat) */
  --font-primary: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  /* Secondary Font - For body text and UI (Inter) */
  --font-secondary: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  /* UI Font - For buttons, forms, and interface elements (Inter) */
  --font-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  /* Display Font - For headings and large text (Montserrat) */
  --font-display: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  /* Monospace Font - For code and technical content */
  --font-mono: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace;
  /* Font Weight Scale */
  --font-weight-thin: 100;
  --font-weight-extralight: 200;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  --font-weight-black: 900;
  /* Font Size Scale */
  --font-size-xs: 0.75rem; /* 12px */
  --font-size-sm: 0.875rem; /* 14px */
  --font-size-base: 1rem; /* 16px */
  --font-size-lg: 1.125rem; /* 18px */
  --font-size-xl: 1.25rem; /* 20px */
  --font-size-2xl: 1.5rem; /* 24px */
  --font-size-3xl: 1.875rem; /* 30px */
  --font-size-4xl: 2.25rem; /* 36px */
  --font-size-5xl: 3rem; /* 48px */
  --font-size-6xl: 3.75rem; /* 60px */
  --font-size-7xl: 4.5rem; /* 72px */
  /* Line Height Scale */
  --line-height-none: 1;
  --line-height-tight: 1.25;
  --line-height-snug: 1.375;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.625;
  --line-height-loose: 2;
}

/* Font Utility Classes */
.font-primary {
  font-family: var(--font-primary);
}

.font-secondary {
  font-family: var(--font-secondary);
}

.font-ui {
  font-family: var(--font-ui);
}

.font-display {
  font-family: var(--font-display);
}

.font-mono {
  font-family: var(--font-mono);
}

/* Font Weight Utilities */
.font-thin {
  font-weight: var(--font-weight-thin);
}

.font-extralight {
  font-weight: var(--font-weight-extralight);
}

.font-light {
  font-weight: var(--font-weight-light);
}

.font-normal {
  font-weight: var(--font-weight-normal);
}

.font-medium {
  font-weight: var(--font-weight-medium);
}

.font-semibold {
  font-weight: var(--font-weight-semibold);
}

.font-bold {
  font-weight: var(--font-weight-bold);
}

.font-extrabold {
  font-weight: var(--font-weight-extrabold);
}

.font-black {
  font-weight: var(--font-weight-black);
}

/* Font Size Utilities */
.text-xs {
  font-size: var(--font-size-xs);
}

.text-sm {
  font-size: var(--font-size-sm);
}

.text-base {
  font-size: var(--font-size-base);
}

.text-lg {
  font-size: var(--font-size-lg);
}

.text-xl {
  font-size: var(--font-size-xl);
}

.text-2xl {
  font-size: var(--font-size-2xl);
}

.text-3xl {
  font-size: var(--font-size-3xl);
}

.text-4xl {
  font-size: var(--font-size-4xl);
}

.text-5xl {
  font-size: var(--font-size-5xl);
}

.text-6xl {
  font-size: var(--font-size-6xl);
}

.text-7xl {
  font-size: var(--font-size-7xl);
}

/* Line Height Utilities */
.leading-none {
  line-height: var(--line-height-none);
}

.leading-tight {
  line-height: var(--line-height-tight);
}

.leading-snug {
  line-height: var(--line-height-snug);
}

.leading-normal {
  line-height: var(--line-height-normal);
}

.leading-relaxed {
  line-height: var(--line-height-relaxed);
}

.leading-loose {
  line-height: var(--line-height-loose);
}

/* Letter Spacing Utilities */
.tracking-tighter {
  letter-spacing: -0.05em;
}

.tracking-tight {
  letter-spacing: -0.025em;
}

.tracking-normal {
  letter-spacing: 0;
}

.tracking-wide {
  letter-spacing: 0.025em;
}

.tracking-wider {
  letter-spacing: 0.05em;
}

.tracking-widest {
  letter-spacing: 0.1em;
}

/* Typography Combinations */
.heading-primary {
  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--text-color);
}

.heading-secondary {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-snug);
  color: var(--text-color);
}

.body-text {
  font-family: var(--font-secondary);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-normal);
  color: var(--text-secondary);
}

.button-text {
  font-family: var(--font-ui);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-normal);
}

/* Responsive Typography */
@media (max-width: 768px) {
  .text-7xl {
    font-size: var(--font-size-5xl);
  }
  .text-6xl {
    font-size: var(--font-size-4xl);
  }
  .text-5xl {
    font-size: var(--font-size-3xl);
  }
  .text-4xl {
    font-size: var(--font-size-2xl);
  }
  .text-3xl {
    font-size: var(--font-size-xl);
  }
}
/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--text-color);
  margin-bottom: var(--spacing-md);
}

h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: var(--font-weight-bold);
  text-align: center;
}

h2 {
  font-size: 1.8rem;
  font-weight: var(--font-weight-bold);
  color: var(--primary-color);
  margin: 30px 0 15px;
}

h3 {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
}

h4 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-medium);
}

h5 {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-medium);
}

h6 {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
}

/* Paragraphs */
p {
  margin-bottom: 15px;
  color: var(--text-secondary);
  line-height: var(--line-height-normal);
  font-size: var(--font-size-base);
}

/* Links */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* Buttons should never have underline on hover */
a.btn:hover,
button.btn:hover,
.btn:hover,
a.btn-primary:hover,
button.btn-primary:hover,
.btn-primary:hover {
  text-decoration: none;
}

a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Focus visible for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--primary-color);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.3);
}

/* Skip to main content link */
.skip-to-main {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-color);
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 10000;
  border-radius: 0 0 4px 0;
  font-weight: 600;
}

.skip-to-main:focus {
  top: 0;
  outline: 3px solid white;
  outline-offset: 2px;
}

/* Lists */
ul, ol {
  margin-bottom: var(--spacing-md);
  padding-left: var(--spacing-lg);
}

li {
  margin-bottom: var(--spacing-xs);
  color: var(--text-secondary);
}

/* Blockquotes */
blockquote {
  margin: var(--spacing-lg) 0;
  padding: var(--spacing-md);
  border-left: 4px solid var(--primary-color);
  background-color: var(--bg-secondary);
  font-style: italic;
  color: var(--text-secondary);
}

/* Code */
code {
  font-family: "Courier New", Courier, monospace;
  background-color: var(--bg-secondary);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius-sm);
  font-size: var(--font-size-sm);
  color: var(--primary-color);
}

pre {
  background-color: var(--bg-secondary);
  padding: var(--spacing-md);
  border-radius: var(--border-radius-md);
  overflow-x: auto;
  margin-bottom: var(--spacing-md);
}

pre code {
  background: none;
  padding: 0;
  border-radius: 0;
}

/* Text utilities */
.text-center {
  text-align: center;
}

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

.text-right {
  text-align: right;
}

.text-primary {
  color: var(--text-color);
}

.text-secondary {
  color: var(--text-secondary);
}

.text-muted {
  color: var(--text-muted);
}

.text-white {
  color: var(--text-white);
}

.font-normal {
  font-weight: var(--font-weight-normal);
}

.font-medium {
  font-weight: var(--font-weight-medium);
}

.font-semibold {
  font-weight: var(--font-weight-semibold);
}

.font-bold {
  font-weight: var(--font-weight-bold);
}

/* Responsive typography */
@media (max-width: 768px) {
  h1 {
    font-size: clamp(1.4rem, 3vw, 2rem);
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: var(--font-size-xl);
  }
  h4 {
    font-size: var(--font-size-lg);
  }
  h5 {
    font-size: var(--font-size-base);
  }
  h6 {
    font-size: var(--font-size-sm);
  }
  p {
    font-size: 0.9rem;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
  }
  h2 {
    font-size: 1.3rem;
  }
  h3 {
    font-size: var(--font-size-lg);
  }
  h4 {
    font-size: var(--font-size-base);
  }
  h5 {
    font-size: var(--font-size-sm);
  }
  h6 {
    font-size: var(--font-size-xs);
  }
  p {
    font-size: 0.85rem;
  }
}
/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.container-fluid {
  width: 100%;
  padding: 0 var(--spacing-md);
}

/* Content Box - based on about.html */
.content-box {
  max-width: 900px;
  margin: 80px auto 40px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
  flex-grow: 1;
}

.thematic-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--bg-color);
  border-bottom: 1px solid var(--border-color);
  z-index: var(--z-header);
  transition: background var(--transition-normal), border-color var(--transition-normal);
}

/* Header sections */
.header-left {
  display: flex;
  align-items: center;
}

.header-center {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  pointer-events: none;
}

.header-center .logo {
  pointer-events: auto;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: space-between;
  width: 100%;
}

/* Logo styles - Specifys.AI */
.logo a,
.logo-text {
  font-size: 1.2rem;
  font-weight: var(--font-weight-bold);
  color: var(--text-color);
  text-decoration: none;
  transition: color var(--transition-normal);
}

/* Orange dot in logo */
.logo-dot {
  color: #FF6B35;
}

.logo a:hover {
  color: #444;
}

.logo a:hover .logo-dot {
  color: #FF8551;
}

/* Auth System Styles */
.auth-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: var(--z-modal);
  order: 1; /* User info on the left */
  margin-right: auto;
}

.auth-btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: var(--border-radius-md);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: var(--font-weight-bold);
  transition: all var(--transition-normal);
  cursor: pointer;
  background: transparent;
  color: #666;
  font-family: var(--font-family-primary);
}

.auth-btn:hover {
  color: var(--primary-color);
  transform: translateY(-2px);
}

.auth-btn.primary {
  background: var(--primary-color);
  color: var(--text-white);
}

.auth-btn.primary:hover {
  background: var(--button-hover);
}

/* User Info & Dropdown */
.user-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.8rem;
  background: rgba(102, 102, 102, 0.1);
  border-radius: var(--border-radius-md);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.user-info:hover {
  background: rgba(102, 102, 102, 0.2);
  transform: translateY(-2px);
}

.user-info span {
  font-weight: var(--font-weight-medium);
  color: var(--text-color);
}

.user-avatar {
  width: 24px;
  height: 24px;
  background: #666;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
  color: white;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: var(--font-weight-bold);
}

/* Credits Display - Orange badge style like PRO badge */
.credits-display {
  display: flex;
  align-items: center;
  order: 2; /* Always on the right */
  margin-left: auto;
}

.credits-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  background: #FF6B35;
  color: white;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  min-width: 50px;
  text-align: center;
  letter-spacing: 0.5px;
}

.credits-container:hover {
  background: #FF8551;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.credits-container i {
  display: none; /* Hide icon */
}

.credits-container span {
  font-weight: 600;
  color: white;
  text-transform: none;
  letter-spacing: 0.5px;
  min-width: auto;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .thematic-header {
    padding: 8px 12px;
    height: 56px;
  }
  .logo a {
    font-size: 1.1rem;
  }
  .logo-text {
    font-size: 1.1rem;
  }
  .header-right {
    gap: 0.5rem;
    justify-content: space-between;
    width: 100%;
    margin-left: 0;
  }
  .header-center {
    order: 1;
  }
  .auth-buttons {
    gap: 0.5rem;
    order: 1;
    margin-right: auto;
  }
  .auth-btn {
    padding: 8px 12px;
    font-size: 16px;
    min-height: 44px;
  }
  .user-info {
    padding: 6px 10px;
    font-size: 14px;
    min-height: 36px;
  }
  .user-info span {
    display: inline;
  }
  .user-avatar {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
  }
  .credits-display {
    order: 2;
    margin-left: auto;
    margin-right: 0;
  }
  .credits-container {
    padding: 6px 10px;
    font-size: 11px;
    min-height: 36px;
  }
}
@media (max-width: 480px) {
  .thematic-header {
    padding: 8px 8px;
    height: 56px;
  }
  .logo a {
    font-size: 1rem;
  }
  .logo-text {
    font-size: 1rem;
  }
  .header-right {
    justify-content: space-between;
    width: 100%;
    margin-left: 0;
  }
  .auth-buttons {
    order: 1;
    margin-right: auto;
  }
  .user-info {
    padding: 5px 8px;
    font-size: 13px;
  }
  .user-info span {
    display: inline;
  }
  .user-avatar {
    width: 26px;
    height: 26px;
    font-size: 0.85rem;
  }
  .auth-btn {
    padding: 8px 10px;
    font-size: 16px;
  }
  .credits-display {
    order: 2;
    margin-left: auto;
    margin-right: 0;
  }
  .credits-container {
    padding: 5px 8px;
    font-size: 10px;
    min-height: 32px;
  }
}
footer {
  padding: 20px 10px;
  text-align: center;
  width: 100%;
  color: var(--text-color);
  flex-shrink: 0;
  background: var(--bg-primary);
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

.footer-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.footer-links a,
.footer-links button {
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: var(--font-weight-medium);
  transition: color var(--transition-normal);
  font-family: var(--font-family-primary);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--primary-color);
  text-decoration: none;
}

.contact-us-link {
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: var(--font-weight-medium);
  transition: color var(--transition-normal);
  font-family: var(--font-family-primary);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.contact-us-link:hover {
  color: var(--primary-color);
  text-decoration: none;
}

.footer-divider {
  color: var(--text-color);
  font-size: 1.2rem;
  font-weight: 300;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.footer-social a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 1.2rem;
  transition: color var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.footer-social a:hover {
  color: var(--primary-color);
  text-decoration: none;
}

.footer-social a i {
  margin: 0;
}

.footer-copyright {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 1rem;
}

/* Note: Contact modal styles moved to assets/css/components/_modals.scss */
/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.container-fluid {
  width: 100%;
  padding: 0 var(--spacing-md);
}

/* Content Box - based on about.html */
.content-box {
  max-width: 900px;
  margin: 80px auto 40px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
  flex-grow: 1;
}

/* Content Box Variants */
.content-box h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
}

.content-box h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #FF6B35;
  margin: 30px 0 15px;
}

.content-box p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* Content Box - Large variant */
.content-box.large {
  max-width: 1200px;
  margin: 120px auto 40px;
}

.content-box.large h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .content-box {
    margin: 40px 15px;
    padding: 20px;
  }
  .content-box h1 {
    font-size: clamp(1.4rem, 3vw, 2rem);
  }
  .content-box h2 {
    font-size: 1.5rem;
  }
  .content-box p {
    font-size: 0.9rem;
  }
  .content-box .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
}
/* Note: Page-specific container variants (e.g., line 21630) remain in page-specific CSS files */
/* ============================================
   Buttons Component - Specifys.ai
   ============================================
   Centralized button styles and variants
   All button definitions unified from main-compiled.css and page-specific files
*/
/* ===== BASE STYLES ===== */
.btn {
  display: inline-block;
  padding: 10px 20px;
  background: var(--primary-color);
  color: var(--text-white);
  text-decoration: none;
  border-radius: 5px;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  transition: background-color var(--transition-normal), transform var(--transition-normal);
  border: none;
  cursor: pointer;
  font-family: var(--font-family-primary);
}

.btn:hover {
  background: var(--button-hover);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.btn:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

/* ===== SIZES ===== */
.btn-sm {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 12px 24px;
  font-size: var(--font-size-lg);
}

.btn-xl {
  padding: 16px 32px;
  font-size: var(--font-size-xl);
}

/* ===== VARIANTS ===== */
.btn-primary {
  background: var(--primary-color);
  color: var(--text-white);
}

.btn-primary:hover {
  background: var(--button-hover);
  color: var(--text-white);
  text-decoration: none;
}

.btn-secondary {
  background: var(--secondary-color);
  color: var(--text-white);
}

.btn-secondary:hover {
  background: var(--secondary-hover);
  color: var(--text-white);
}

.btn-success {
  background: var(--success-color);
  color: var(--text-white);
}

.btn-success:hover {
  background: #218838;
  color: var(--text-white);
}

.btn-warning {
  background: var(--warning-color);
  color: var(--text-color);
}

.btn-warning:hover {
  background: #e0a800;
  color: var(--text-color);
}

.btn-danger {
  background: var(--danger-color);
  color: var(--text-white);
}

.btn-danger:hover {
  background: #c82333;
  color: var(--text-white);
}

/* ===== OUTLINE VARIANTS ===== */
.btn-outline-primary {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--text-white);
  text-decoration: none;
}

.btn-outline-secondary {
  background: transparent;
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
}

.btn-outline-secondary:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--text-white);
}

/* ===== GHOST VARIANT ===== */
.btn-ghost {
  background: transparent;
  border: none;
  color: var(--primary-color);
}

.btn-ghost:hover {
  background: var(--primary-light);
  color: var(--primary-color);
}

/* ===== MODIFIERS ===== */
/* Locked button state - for non-PRO users */
.btn.locked {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
  position: relative;
}

.btn.locked:hover {
  opacity: 0.6;
}

.btn.locked .fa-lock {
  margin-right: 4px;
}

/* Loading button */
.btn-loading {
  position: relative;
  color: transparent;
}

.btn-loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: var(--border-radius-full);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* Loading state (alternative class name) */
.btn.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.9;
}

/* Highlight modifier for pricing page */
.btn-primary.highlight {
  background: #FF6B35;
  border-color: #FF6B35;
  color: white;
}

.btn-primary.highlight:hover {
  background: #FF8551;
  border-color: #FF8551;
  color: white;
}

/* Special highlight for pack cards */
.pricing-card.pack .btn-primary.highlight {
  background: linear-gradient(135deg, #FF6B35 0%, #FF8551 100%);
  border-color: transparent;
  color: white;
}

.pricing-card.pack .btn-primary.highlight:hover {
  background: linear-gradient(135deg, #FF8551 0%, #FF6B35 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

/* Home button for 404 page */
.btn-home {
  background: #FF6B35;
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  display: inline-block;
}

.btn-home:hover {
  background: #FF8551;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

/* ===== ICON BUTTONS ===== */
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: var(--spacing-sm);
  border-radius: var(--border-radius-md);
  transition: all var(--transition-normal);
  color: var(--text-secondary);
}

.btn-icon:hover {
  background: rgba(102, 102, 102, 0.1);
  transform: scale(1.1);
  color: var(--text-color);
}

.btn-icon i {
  font-size: var(--font-size-lg);
}

/* Linked icon button */
.btn-icon.linked {
  color: var(--primary-color);
  background: rgba(255, 107, 53, 0.1);
}

.btn-icon.linked:hover {
  background: rgba(255, 107, 53, 0.2);
  color: #FF6B35;
}

/* Edit icon button */
.btn-icon i.fa.fa-edit {
  color: #FF6B35;
}

/* Special icon button variant (alternative style) */
.btn-icon {
  background: #FF6B35;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 0;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  line-height: 1;
  position: relative;
}

.btn-icon:hover {
  background: #FF8551;
  transform: translateY(-1px);
}

.btn-icon:active {
  transform: translateY(0);
}

.btn-icon:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

body .btn-icon i {
  color: white;
  font-size: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

/* Fullscreen controls icon button */
.fullscreen-controls .btn-icon {
  background: #FF6B35;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
  width: auto;
  height: auto;
}

.fullscreen-controls .btn-icon:hover {
  background: #FF8551;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(255, 107, 53, 0.3);
}

.fullscreen-controls .btn-icon:active {
  transform: translateY(0);
}

body .fullscreen-controls .btn-icon i {
  color: white;
  font-size: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

/* ===== CONTAINER ===== */
.button-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* Content box button overrides */
.content-box .btn {
  display: inline-block;
  padding: 10px 20px;
  background: #FF6B35;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 20px;
  width: 100%;
  max-width: 300px;
}

.content-box .btn:hover {
  background: #FF8551;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
  .btn {
    padding: 8px 12px;
    font-size: 16px;
    min-height: 44px;
  }
  .btn-sm {
    padding: 6px 10px;
    font-size: 14px;
    min-height: 40px;
  }
  .btn-lg {
    padding: 10px 16px;
    font-size: 18px;
    min-height: 48px;
  }
  .btn-xl {
    padding: 12px 20px;
    font-size: 20px;
    min-height: 52px;
  }
  /* Remove hover effects on mobile - they don't work well on touch */
  .btn:hover {
    transform: none;
  }
}
@media (max-width: 480px) {
  .btn {
    padding: 8px 10px;
    font-size: 16px;
    min-height: 44px;
  }
  .btn-sm {
    padding: 6px 8px;
    font-size: 14px;
    min-height: 40px;
  }
  .btn-lg {
    padding: 10px 14px;
    font-size: 18px;
    min-height: 48px;
  }
  .btn-xl {
    padding: 12px 16px;
    font-size: 20px;
    min-height: 52px;
  }
}
/* ===== PAGE-SPECIFIC OVERRIDES ===== */
/* Pricing page specific button styles */
.pricing-page .btn-primary {
  background: #FF6B35;
  color: white;
  border-color: #FF6B35;
}

.pricing-page .btn-primary:hover {
  background: #FF8551;
  border-color: #FF8551;
}

.pricing-page .btn-secondary {
  background: transparent;
  color: #333;
  border-color: #e9ecef;
}

.pricing-page .btn-secondary:hover {
  background: #f5f5f5;
}

/* ===== TABLE ACTION BUTTONS ===== */
/* Base table action button */
.table-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-xs) var(--spacing-sm);
  margin: 0 var(--spacing-xs);
  font-family: var(--font-ui);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.table-action-btn:focus {
  outline: none;
}

.table-action-btn:hover {
  /* No default hover effects - each variant handles its own */
}

.table-action-btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.table-action-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

/* Small table action buttons */
.table-action-btn.btn-sm {
  padding: var(--spacing-xs);
  font-size: var(--font-size-xs);
  min-width: 24px;
  height: 24px;
}

/* Table action button variants */
.table-action-btn.btn-primary {
  background: var(--primary-color);
  color: var(--text-white);
  border-color: var(--primary-color);
}

.table-action-btn.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: var(--text-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.table-action-btn.btn-secondary {
  background: var(--secondary-color);
  color: var(--text-white);
  border-color: var(--secondary-color);
}

.table-action-btn.btn-secondary:hover {
  background: var(--secondary-hover);
  border-color: var(--secondary-hover);
  color: var(--text-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.table-action-btn.btn-success {
  background: var(--success-color);
  color: var(--text-white);
  border-color: var(--success-color);
}

.table-action-btn.btn-success:hover {
  background: var(--success-hover);
  border-color: var(--success-hover);
  color: var(--text-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.table-action-btn.btn-warning {
  background: var(--warning-color);
  color: var(--text-white);
  border-color: var(--warning-color);
}

.table-action-btn.btn-warning:hover {
  background: var(--warning-hover);
  border-color: var(--warning-hover);
  color: var(--text-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.table-action-btn.btn-danger {
  background: var(--danger-color);
  color: var(--text-white);
  border-color: var(--danger-color);
}

.table-action-btn.btn-danger:hover {
  background: var(--danger-color);
  border-color: var(--danger-color);
  color: var(--text-white);
  opacity: 0.9;
}

.table-action-btn.btn-danger:active {
  background: var(--danger-color);
  border-color: var(--danger-color);
  color: var(--text-white);
  opacity: 0.8;
  transform: none;
  box-shadow: none;
}

.table-action-btn.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-color);
}

.table-action-btn.btn-outline:hover {
  background: var(--primary-color);
  color: var(--text-white);
  border-color: var(--primary-color);
  opacity: 0.9;
}

.table-action-btn.btn-outline:active {
  background: var(--primary-color);
  color: var(--text-white);
  border-color: var(--primary-color);
  opacity: 0.8;
  transform: none;
  box-shadow: none;
}

.table-action-btn.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: transparent;
}

.table-action-btn.btn-ghost:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  opacity: 0.9;
}

.table-action-btn.btn-ghost:active {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  opacity: 0.8;
  transform: none;
  box-shadow: none;
}

/* Admin-specific table action button styles */
.admin-dashboard .table-action-btn {
  background: transparent;
  border: 1px solid var(--admin-border);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.88rem;
  color: var(--admin-text-muted);
}

.admin-dashboard .table-action-btn:hover,
.admin-dashboard .table-action-btn:focus-visible {
  color: var(--admin-text);
  border-color: var(--admin-accent);
  outline: none;
}

/* Responsive: Hide table action buttons on mobile */
@media (max-width: 768px) {
  .table-action-btn {
    display: none;
  }
  /* Error actions responsive */
  .error-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
/* ===== CONTEXT-SPECIFIC OVERRIDES ===== */
/* Error actions buttons */
.error-actions .btn {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-lg);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  border-radius: var(--border-radius-md);
  transition: all var(--transition-normal);
  border: none;
  cursor: pointer;
}

.error-actions .btn-primary {
  background: var(--primary-color);
  color: var(--text-white);
}

.error-actions .btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.error-actions .btn-secondary {
  background: var(--secondary-color);
  color: var(--text-white);
}

.error-actions .btn-secondary:hover {
  background: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Approval actions buttons */
.approval-actions .btn {
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.approval-actions .btn-secondary {
  background: #FF6B35;
  color: white;
}

.approval-actions .btn-secondary:hover {
  background: #FF8551;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.approval-actions .btn-success {
  background: linear-gradient(135deg, #FF6B35 0%, #FF8551 100%);
  color: white;
}

.approval-actions .btn-success:hover {
  background: linear-gradient(135deg, #FF8551 0%, #FF6B35 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.approval-actions .btn:disabled {
  opacity: 1;
  cursor: not-allowed;
  transform: none;
}

body .approval-actions .btn-secondary .fa,
body .approval-actions .btn-secondary i {
  color: white;
}

body .approval-actions .btn-success .fa,
body .approval-actions .btn-success i {
  color: white;
}

/* Dark mode button overrides */
body.dark-mode .btn-secondary {
  background: #495057;
  color: white;
}

body.dark-mode .btn-secondary:hover {
  background: #666;
}

/* Additional button overrides from main-compiled.css */
.btn-outline-secondary {
  background: transparent;
  border: 1px solid #666;
  color: #666;
}

.btn-outline-secondary:hover {
  background: #666;
  color: white;
}

/* Dark mode milestone controls */
body.dark-mode .milestone-count-controls .btn-outline-primary {
  border-color: #FF6B35;
  color: #FF6B35;
  background: transparent;
}

body.dark-mode .milestone-count-controls .btn-outline-primary:hover {
  background: #FF6B35;
  color: white;
}

/* Modal button overrides */
.btn-primary {
  background: #FF6B35;
  color: white;
}

.btn-primary:hover {
  background: #FF8551;
}

.btn-secondary {
  background: var(--border-color);
  color: var(--text-color);
}

.btn-secondary:hover {
  background: #999;
}

body.dark-mode .btn-secondary {
  background: #555;
  color: #e0e0e0;
}

body.dark-mode .btn-secondary:hover {
  background: #666;
}

/* ===== FORM-SPECIFIC BUTTONS ===== */
/* Form actions buttons */
.form-actions .btn {
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  font-family: var(--font-family-primary);
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.form-actions .btn-secondary {
  background: transparent;
  color: var(--text-color);
  border: 1px solid var(--light-gray, #e0e0e0);
}

.form-actions .btn-secondary:hover {
  background: var(--light-gray, #e0e0e0);
}

.form-actions .btn-primary {
  background: var(--primary-color, #FF6B35);
  color: white;
}

.form-actions .btn-primary:hover {
  background: var(--primary-hover, #FF8551);
}

.form-actions .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Table action buttons */
.table-action-btn.btn-sm {
  padding: 4px 8px;
  font-size: 0.85rem;
  min-width: auto;
}

.table-action-btn.btn-primary {
  background: var(--primary-color);
  color: white;
}

.table-action-btn.btn-primary:hover {
  background: var(--button-hover);
  color: white;
}

.table-action-btn.btn-sm {
  padding: 4px 8px;
  font-size: 0.85rem;
  min-width: auto;
}

.table-action-btn.btn-primary {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.table-action-btn.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: var(--text-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.table-action-btn.btn-secondary {
  background: var(--secondary-color);
  color: var(--text-white);
  border-color: var(--secondary-color);
}

.table-action-btn.btn-secondary:hover {
  background: var(--secondary-hover);
  border-color: var(--secondary-hover);
  color: var(--text-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.table-action-btn.btn-success {
  background: var(--success-color);
  color: var(--text-white);
  border-color: var(--success-color);
}

.table-action-btn.btn-success:hover {
  background: var(--success-hover);
  border-color: var(--success-hover);
  color: var(--text-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.table-action-btn.btn-warning {
  background: var(--warning-color);
  color: var(--text-white);
  border-color: var(--warning-color);
}

.table-action-btn.btn-warning:hover {
  background: var(--warning-hover);
  border-color: var(--warning-hover);
  color: var(--text-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.table-action-btn.btn-danger {
  background: var(--danger-color);
  color: var(--text-white);
  border-color: var(--danger-color);
}

.table-action-btn.btn-danger:hover {
  background: var(--danger-color);
  border-color: var(--danger-color);
  color: var(--text-white);
  opacity: 0.9;
}

.table-action-btn.btn-danger:active {
  background: var(--danger-color);
  border-color: var(--danger-color);
  color: var(--text-white);
  opacity: 0.8;
  transform: none;
  box-shadow: none;
}

.table-action-btn.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-color);
}

.table-action-btn.btn-outline:hover {
  background: var(--primary-color);
  color: var(--text-white);
  border-color: var(--primary-color);
  opacity: 0.9;
}

.table-action-btn.btn-outline:active {
  background: var(--primary-color);
  color: var(--text-white);
  border-color: var(--primary-color);
  opacity: 0.8;
  transform: none;
  box-shadow: none;
}

.table-action-btn.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: transparent;
}

.table-action-btn.btn-ghost:hover {
  background: var(--primary-light);
  color: var(--primary-color);
}

/* ============================================
   Badges Component - Specifys.ai
   ============================================
   Badge styles for status indicators, labels, etc.
*/
.pro-badge {
  font-size: 1em;
  color: #FF6B35;
  font-weight: 600;
  margin-left: 2px;
}

/* ============================================
   Mermaid Component - Specifys.ai
   ============================================
   Styles for Mermaid diagrams and error handling
   This file extends the base mermaid styles from main-compiled.css
*/
/* Hide Mermaid error logo/footer - target specific error elements only */
/* Using higher specificity to override default mermaid error display */
svg .mermaid-error,
svg[aria-describedby*=error],
svg + div[class*=error],
.mermaid-error-message {
  display: none;
}

/* Academy Admin Forms */
.question-form-block {
  background: var(--admin-surface-alt);
  border: 1px solid var(--admin-border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.question-form-block h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--admin-text);
  font-size: 1.1rem;
}

.academy-admin-section {
  margin-top: 2rem;
}

.academy-admin-section h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--admin-text);
}

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

.admin-form {
  max-width: 800px;
  background: var(--admin-surface);
  border-radius: 18px;
  padding: 2rem;
  border: 1px solid var(--admin-border);
}

.admin-form .form-group input[type=text],
.admin-form .form-group input[type=number],
.admin-form .form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: var(--admin-font);
}

.admin-form .form-group input[type=text]:focus,
.admin-form .form-group input[type=number]:focus,
.admin-form .form-group select:focus {
  outline: none;
  border-color: var(--admin-accent);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

/* Form Elements */
.form-group {
  margin-bottom: var(--spacing-lg);
}

.form-group label {
  display: block;
  margin-bottom: var(--spacing-sm);
  color: var(--text-color);
  font-weight: var(--font-weight-medium);
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: var(--spacing-md);
  border: 2px solid var(--light-gray);
  border-radius: var(--border-radius-md);
  font-size: var(--font-size-base);
  font-family: var(--font-family-primary);
  background: var(--bg-primary);
  color: var(--text-color);
  transition: border-color var(--transition-normal);
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-text {
  display: block;
  margin-top: var(--spacing-xs);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.form-group {
  display: grid;
  gap: 10px;
}

.form-group label {
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  background: var(--admin-surface);
  border: 1px solid var(--admin-border);
  border-radius: 12px;
  color: var(--admin-text);
  padding: 12px 14px;
  font-size: 0.95rem;
  width: 100%;
}

.form-group small {
  color: var(--admin-text-muted);
  font-size: 0.82rem;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.form-actions .primary,
.form-actions .secondary {
  border-radius: 12px;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  transition: transform 0.2s ease;
}

.form-actions .primary {
  background: linear-gradient(135deg, var(--admin-accent), var(--admin-accent-strong));
  color: #050505;
}

.form-actions .primary:hover,
.form-actions .secondary:hover {
  transform: translateY(-1px);
}

.form-actions .secondary {
  background: transparent;
  border-color: var(--admin-border);
  color: var(--admin-text-muted);
}

.form-feedback {
  min-height: 20px;
  font-size: 0.9rem;
  color: var(--admin-text-muted);
}

.form-feedback.success {
  color: var(--admin-success);
}

.form-feedback.error {
  color: var(--admin-critical);
}

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

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
}
@media (max-width: 480px) {
  .form-row {
    gap: 0.6rem;
  }
}
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #333;
  font-family: "Montserrat", sans-serif;
}

.form-input {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e1e5e9;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: "Montserrat", sans-serif;
}

.form-input:focus {
  outline: none;
  border-color: #FF6B35;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
  transform: translateY(-2px);
}

.auth-button {
  width: 100%;
  padding: 0.8rem 2rem;
  background: #FF6B35;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 1rem;
}

.auth-button:hover {
  background: #FF8551;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* Tables - Specifys.ai */
/* Base table styles */
.table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  background: var(--bg-primary);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  font-family: var(--font-secondary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
}

/* Table header */
.table thead {
  background: var(--bg-tertiary);
  border-bottom: 2px solid var(--border-color);
}

.table thead th {
  padding: var(--spacing-md) var(--spacing-lg);
  text-align: left;
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.table thead th:first-child {
  border-top-left-radius: var(--border-radius-md);
}

.table thead th:last-child {
  border-top-right-radius: var(--border-radius-md);
}

/* Table body */
.table tbody tr {
  border-bottom: 1px solid var(--border-light);
  transition: background-color var(--transition-fast);
}

.table tbody tr:hover {
  background: var(--bg-tertiary);
}

.table tbody tr:last-child {
  border-bottom: none;
}

.table tbody td {
  padding: var(--spacing-md) var(--spacing-lg);
  color: var(--text-primary);
  vertical-align: top;
}

/* Table footer */
.table tfoot {
  background: var(--bg-tertiary);
  border-top: 2px solid var(--border-color);
}

.table tfoot td {
  padding: var(--spacing-md) var(--spacing-lg);
  font-weight: var(--font-weight-medium);
  color: var(--text-primary);
  border-top: 1px solid var(--border-color);
}

.table tfoot td:first-child {
  border-bottom-left-radius: var(--border-radius-md);
}

.table tfoot td:last-child {
  border-bottom-right-radius: var(--border-radius-md);
}

/* Table variants */
.table-striped tbody tr:nth-child(odd) {
  background: var(--bg-secondary);
}

.table-bordered {
  border: 1px solid var(--border-color);
}

.table-bordered th,
.table-bordered td {
  border: 1px solid var(--border-color);
}

.table-borderless th,
.table-borderless td {
  border: none;
}

/* Table sizes */
.table-sm th,
.table-sm td {
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: var(--font-size-sm);
}

.table-lg th,
.table-lg td {
  padding: var(--spacing-lg) var(--spacing-xl);
  font-size: var(--font-size-lg);
}

/* Table responsive wrapper */
.table-responsive {
  overflow-x: auto;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
}

.table-responsive .table {
  margin-bottom: 0;
  box-shadow: none;
}

/* Table with actions */
.table-actions {
  position: relative;
}

.table-actions th:last-child,
.table-actions td:last-child {
  text-align: center;
  width: 120px;
}

/* Table action button styles moved to assets/css/components/buttons.css */
/* Sortable table headers */
.table-sortable th {
  cursor: pointer;
  user-select: none;
  position: relative;
}

.table-sortable th:hover {
  background: var(--bg-secondary);
}

.table-sortable th::after {
  content: "↕"; /* Up-down arrow */
  position: absolute;
  right: var(--spacing-sm);
  opacity: 0.5;
  font-size: var(--font-size-sm);
}

.table-sortable th.sort-asc::after {
  content: "↑"; /* Up arrow */
  opacity: 1;
  color: var(--primary-color);
}

.table-sortable th.sort-desc::after {
  content: "↓"; /* Down arrow */
  opacity: 1;
  color: var(--primary-color);
}

/* Table with checkboxes */
.table-checkbox {
  width: 20px;
  text-align: center;
}

.table-checkbox input[type=checkbox] {
  margin: 0;
  cursor: pointer;
}

/* Table status indicators */
.table-status {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius-full);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
}

.table-status.status-success {
  background: var(--success-light);
  color: var(--success-color);
}

.table-status.status-warning {
  background: var(--warning-light);
  color: var(--warning-color);
}

.table-status.status-danger {
  background: var(--danger-light);
  color: var(--danger-color);
}

.table-status.status-info {
  background: var(--info-light);
  color: var(--info-color);
}

.table-status.status-secondary {
  background: var(--secondary-light);
  color: var(--secondary-color);
}

/* Table badges */
.table-badge {
  display: inline-block;
  padding: var(--spacing-xs) var(--spacing-sm);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  border-radius: var(--border-radius-sm);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
}

.table-badge.badge-primary {
  background: var(--primary-color);
  color: var(--text-white);
}

.table-badge.badge-secondary {
  background: var(--secondary-color);
  color: var(--text-white);
}

.table-badge.badge-success {
  background: var(--success-color);
  color: var(--text-white);
}

.table-badge.badge-warning {
  background: var(--warning-color);
  color: var(--text-white);
}

.table-badge.badge-danger {
  background: var(--danger-color);
  color: var(--text-white);
}

.table-badge.badge-info {
  background: var(--info-color);
  color: var(--text-white);
}

.table-badge.badge-light {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.table-badge.badge-dark {
  background: var(--bg-dark);
  color: var(--text-white);
}

/* Table with images */
.table-image {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-sm);
  object-fit: cover;
}

.table-image-lg {
  width: 60px;
  height: 60px;
}

.table-image-sm {
  width: 30px;
  height: 30px;
}

/* Table loading state */
.table-loading {
  position: relative;
}

.table-loading::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.table-loading::before {
  content: "Loading...";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 11;
  color: var(--text-primary);
  font-weight: var(--font-weight-medium);
}

/* Table empty state */
.table-empty {
  text-align: center;
  padding: var(--spacing-3xl);
  color: var(--text-muted);
}

.table-empty-icon {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--spacing-md);
  opacity: 0.5;
}

.table-empty-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--spacing-sm);
}

.table-empty-message {
  font-size: var(--font-size-base);
  margin-bottom: var(--spacing-md);
}

/* Table pagination */
.table-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md) var(--spacing-lg);
  background: var(--bg-tertiary);
  border-top: 1px solid var(--border-color);
  border-radius: 0 0 var(--border-radius-md) var(--border-radius-md);
}

.table-pagination-info {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}

.table-pagination-controls {
  display: flex;
  gap: var(--spacing-xs);
}

.table-pagination-btn {
  padding: var(--spacing-xs) var(--spacing-sm);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  background: var(--bg-primary);
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: var(--font-size-sm);
}

.table-pagination-btn:hover:not(:disabled) {
  background: var(--primary-color);
  color: var(--text-white);
  border-color: var(--primary-color);
}

.table-pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.table-pagination-btn.active {
  background: var(--primary-color);
  color: var(--text-white);
  border-color: var(--primary-color);
}

/* Dark theme support */
[data-theme=dark] .table {
  background: var(--bg-primary);
  box-shadow: var(--shadow-sm);
}

[data-theme=dark] .table thead {
  background: var(--bg-secondary);
}

[data-theme=dark] .table tbody tr:hover {
  background: var(--bg-secondary);
}

[data-theme=dark] .table-striped tbody tr:nth-child(odd) {
  background: var(--bg-tertiary);
}

[data-theme=dark] .table-loading::after {
  background: rgba(26, 26, 26, 0.8);
}

/* Responsive design */
@media (max-width: 768px) {
  .table-responsive {
    border-radius: var(--border-radius-sm);
  }
  .table th,
  .table td {
    padding: var(--spacing-sm);
    font-size: var(--font-size-sm);
  }
}
/* Tables */
.post-body table {
  width: 100%;
  margin: var(--spacing-xl) 0;
  border-collapse: collapse;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.post-body table thead {
  background: var(--primary-color);
  color: white;
}

.post-body table th {
  padding: var(--spacing-md);
  text-align: left;
  font-weight: var(--font-weight-semibold);
}

.post-body table td {
  padding: var(--spacing-md);
  border-bottom: 1px solid var(--border-light);
}

.post-body table tbody tr:hover {
  background: var(--primary-light);
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 90;
}

.modal.hidden {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.modal-content {
  position: relative;
  background: var(--admin-surface);
  border: 1px solid var(--admin-border);
  border-radius: 24px;
  width: min(820px, 92%);
  max-height: 90vh;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}

.modal-content.large {
  width: min(980px, 92%);
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--admin-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.modal-header h2 {
  font-size: 1.2rem;
}

.modal-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-body {
  padding: 24px;
  overflow: auto;
  background: var(--admin-surface);
}

.spec-list {
  display: grid;
  gap: 12px;
}

.spec-item {
  border-radius: 16px;
  border: 1px solid var(--admin-border);
  background: rgba(255, 255, 255, 0.02);
  padding: 16px;
  display: grid;
  gap: 8px;
}

.spec-item header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.spec-item header h3 {
  font-size: 1rem;
  margin: 0;
}

.spec-item .spec-meta {
  font-size: 0.85rem;
  color: var(--admin-text-muted);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.spec-item .spec-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.spec-item .spec-actions a {
  border-radius: 10px;
  border: 1px solid var(--admin-border);
  padding: 8px 12px;
  font-size: 0.85rem;
  color: var(--admin-text);
}

.spec-item .spec-preview {
  font-size: 0.9rem;
  color: var(--admin-text-muted);
  line-height: 1.5;
  max-height: 140px;
  overflow: hidden;
}

.modal-placeholder {
  text-align: center;
  color: var(--admin-text-muted);
  padding: 30px 0;
}

.preview-article {
  display: grid;
  gap: 18px;
  font-size: 1rem;
  line-height: 1.6;
}

.preview-article h1,
.preview-article h2,
.preview-article h3 {
  color: var(--admin-text);
}

.preview-article pre {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 14px;
  padding: 14px;
  overflow: auto;
}

.preview-article code {
  font-family: "Courier New", Courier, monospace;
}

/* Scrollbars */
.activity-feed,
.logs-stream,
.queue-list,
.global-search-results,
.modal-body {
  scrollbar-width: thin;
  scrollbar-color: var(--admin-scrollbar) var(--admin-scrollbar-track);
}

.activity-feed::-webkit-scrollbar,
.logs-stream::-webkit-scrollbar,
.queue-list::-webkit-scrollbar,
.global-search-results::-webkit-scrollbar,
.modal-body::-webkit-scrollbar {
  width: 10px;
}

.activity-feed::-webkit-scrollbar-thumb,
.logs-stream::-webkit-scrollbar-thumb,
.queue-list::-webkit-scrollbar-thumb,
.global-search-results::-webkit-scrollbar-thumb,
.modal-body::-webkit-scrollbar-thumb {
  background: var(--admin-scrollbar);
  border-radius: 10px;
}

.activity-feed::-webkit-scrollbar-track,
.logs-stream::-webkit-scrollbar-track,
.queue-list::-webkit-scrollbar-track,
.global-search-results::-webkit-scrollbar-track,
.modal-body::-webkit-scrollbar-track {
  background: var(--admin-scrollbar-track);
}

.contact-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(2px);
  animation: fadeIn 0.3s ease;
}

.contact-modal-content {
  background: var(--bg-primary);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideIn 0.3s ease;
}

.contact-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--light-gray, #e0e0e0);
}

.contact-modal-header h2 {
  margin: 0;
  color: var(--text-color);
  font-size: 1.5rem;
  font-weight: 600;
  font-family: var(--font-family-primary);
}

.contact-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-color);
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.contact-modal-close:hover {
  background: var(--light-gray, #e0e0e0);
}

.contact-modal-body {
  padding: 24px;
}

.contact-modal-body .form-group {
  margin-bottom: 20px;
}

.contact-modal-body .form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-color);
  font-weight: 500;
  font-size: 0.9rem;
  font-family: var(--font-family-primary);
}

.contact-modal-body .form-group input,
.contact-modal-body .form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--light-gray, #e0e0e0);
  border-radius: 6px;
  font-size: 1rem;
  font-family: var(--font-family-primary);
  background: var(--bg-primary);
  color: var(--text-color);
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.contact-modal-body .form-group input:focus,
.contact-modal-body .form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color, #0078d4);
}

.contact-modal-body .form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}

/* Form actions button styles moved to assets/css/components/buttons.css */
.contact-message-status {
  margin-top: 16px;
  padding: 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: var(--font-family-primary);
}

.contact-message-status.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.contact-message-status.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideIn {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@media (max-width: 768px) {
  .contact-modal-content {
    width: 95%;
    max-height: 95vh;
  }
  .contact-modal-header {
    padding: 16px 20px;
  }
  .contact-modal-body {
    padding: 20px;
  }
}
.welcome-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.welcome-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.welcome-modal-content {
  position: relative;
  background: white;
  border-radius: var(--border-radius-lg, 1rem);
  max-width: 750px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl, 0 8px 32px rgba(0, 0, 0, 0.3));
  z-index: 10002;
  margin: 0;
  transform: translateY(0);
}

.welcome-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color, #dee2e6);
}

.welcome-modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-color, #333);
  font-family: var(--font-display, "Montserrat", sans-serif);
}

.welcome-modal-close {
  background: transparent;
  border: none;
  color: var(--text-secondary, #666);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease;
}

.welcome-modal-close:hover {
  background: var(--bg-secondary, #f5f5f5);
  color: var(--text-color, #333);
}

.welcome-modal-body {
  padding: 1.5rem 2rem;
  text-align: center;
}

.welcome-icon {
  font-size: 3rem;
  color: var(--primary-color, #FF6B35);
  margin-bottom: 1rem;
}

.welcome-modal-body h3 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-color, #333);
  margin-bottom: 0.75rem;
  font-family: var(--font-display, "Montserrat", sans-serif);
}

.welcome-modal-body p {
  color: var(--text-secondary, #666);
  line-height: 1.6;
  margin-bottom: 0.75rem;
  text-align: left;
  font-size: 0.95rem;
}

.welcome-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  text-align: left;
}

.welcome-features li {
  padding: 0.5rem 0;
  padding-left: 1.75rem;
  position: relative;
  color: var(--text-color, #333);
  line-height: 1.5;
  font-size: 0.9rem;
}

.welcome-features li i {
  position: absolute;
  left: 0;
  color: var(--primary-color, #FF6B35);
  font-size: 1rem;
}

.welcome-note {
  background: var(--bg-secondary, #f5f5f5);
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius-md, 0.5rem);
  border-left: 3px solid var(--primary-color, #FF6B35);
  margin: 1rem 0;
  font-style: italic;
  text-align: left;
  font-size: 0.9rem;
}

.welcome-modal-btn {
  margin-top: 1rem;
  padding: 0.75rem 2rem;
  background: var(--primary-color, #FF6B35);
  color: white;
  border: none;
  border-radius: var(--border-radius-md, 0.5rem);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
  font-family: var(--font-ui, "Inter", sans-serif);
}

.welcome-modal-btn:hover {
  background: var(--primary-hover, #FF8551);
}

.points-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.points-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.points-modal-content {
  position: relative;
  background: white;
  border-radius: var(--border-radius-lg, 1rem);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl, 0 8px 32px rgba(0, 0, 0, 0.3));
  z-index: 10001;
  margin: 0;
  transform: translateY(0);
}

.points-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color, #dee2e6);
}

.points-modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-color, #333);
  font-family: var(--font-display, "Montserrat", sans-serif);
}

.points-modal-close {
  background: transparent;
  border: none;
  color: var(--text-secondary, #666);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease;
}

.points-modal-close:hover {
  background: var(--bg-secondary, #f5f5f5);
  color: var(--text-color, #333);
}

.points-modal-body {
  padding: 2rem;
}

.points-summary {
  text-align: center;
  margin-bottom: 2rem;
}

.points-display {
  margin-bottom: 1rem;
}

.points-value {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color, #FF6B35);
  font-family: var(--font-display, "Montserrat", sans-serif);
}

.points-label {
  font-size: 1rem;
  color: var(--text-secondary, #666);
  margin-top: 0.5rem;
}

.points-level {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.points-progress {
  margin-bottom: 2rem;
}

.progress-bar {
  width: 100%;
  height: 12px;
  background: var(--bg-secondary, #f5f5f5);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color, #FF6B35), var(--primary-hover, #FF8551));
  border-radius: 6px;
  transition: width 0.3s ease;
}

.progress-info {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-secondary, #666);
}

.points-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--bg-secondary, #f5f5f5);
  border-radius: var(--border-radius-md, 0.5rem);
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color, #FF6B35);
  font-family: var(--font-display, "Montserrat", sans-serif);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary, #666);
}

.level-badge.expert {
  background: #e1bee7;
  color: #6a1b9a;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(2px);
}

/* Modal Content - Center Window */
.modal-content {
  background: var(--bg-color);
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
}

@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    max-width: none;
    max-height: 90vh;
    border-radius: 8px;
    margin: 10px;
    -webkit-overflow-scrolling: touch;
  }
}
@media (max-width: 480px) {
  .modal-content {
    width: 98%;
    max-height: 95vh;
    border-radius: 6px;
    margin: 5px;
  }
}
.modal-content.minimal {
  max-width: 450px;
  width: 85%;
}

@media (max-width: 768px) {
  .modal-content.minimal {
    width: 95%;
    max-width: none;
  }
}
@media (max-width: 480px) {
  .modal-content.minimal {
    width: 98%;
  }
}
/* Modal Animation */
@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
/* Modal Header */
.modal-header {
  padding: 1.5rem 2rem 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .modal-header {
    padding: 1rem 1.5rem 0 1.5rem;
    margin-bottom: 1rem;
  }
}
@media (max-width: 480px) {
  .modal-header {
    padding: 0.8rem 1rem 0 1rem;
    margin-bottom: 0.8rem;
  }
}
.modal-header h3 {
  margin: 0;
  color: var(--text-color);
  font-size: 1.25rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .modal-header h3 {
    font-size: 1.1rem;
  }
}
@media (max-width: 480px) {
  .modal-header h3 {
    font-size: 1rem;
  }
}
.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-color);
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease;
}

@media (max-width: 768px) {
  .modal-close {
    width: 36px;
    height: 36px;
    font-size: 1.3rem;
  }
}
@media (max-width: 480px) {
  .modal-close {
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
  }
}
.modal-close:hover {
  background: var(--border-color);
}

/* Modal Body */
.modal-body {
  padding: 0 2rem 1.5rem 2rem;
}

@media (max-width: 768px) {
  .modal-body {
    padding: 0 1.5rem 1rem 1.5rem;
  }
}
@media (max-width: 480px) {
  .modal-body {
    padding: 0 1rem 0.8rem 1rem;
  }
}
/* Modal Footer */
.modal-footer {
  padding: 1rem 2rem 1.5rem 2rem;
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  border-top: 1px solid var(--border-color);
}

@media (max-width: 768px) {
  .modal-footer {
    padding: 1rem 1.5rem 1.2rem 1.5rem;
    flex-direction: column;
    gap: 0.8rem;
  }
  .modal-footer .btn {
    width: 100%;
    min-height: 44px;
    font-size: 0.9rem;
  }
}
@media (max-width: 480px) {
  .modal-footer {
    padding: 0.8rem 1rem 1rem 1rem;
    gap: 0.6rem;
  }
  .modal-footer .btn {
    min-height: 42px;
    font-size: 0.85rem;
  }
}
/* Form Styles in Modal */
.modal-body .form-group {
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .modal-body .form-group {
    margin-bottom: 1.2rem;
  }
  .modal-body .form-group label {
    font-size: 0.95rem;
    margin-bottom: 6px;
  }
  .modal-body .form-group input,
  .modal-body .form-group textarea,
  .modal-body .form-group select {
    padding: 12px 16px;
    font-size: 1rem;
    min-height: 48px;
    border-radius: 6px;
  }
}
@media (max-width: 480px) {
  .modal-body .form-group {
    margin-bottom: 1rem;
  }
  .modal-body .form-group input,
  .modal-body .form-group textarea,
  .modal-body .form-group select {
    padding: 10px 14px;
    font-size: 0.95rem;
    min-height: 44px;
    border-radius: 5px;
  }
}
.modal-body .form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .modal-body .form-row {
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
  }
}
@media (max-width: 480px) {
  .modal-body .form-row {
    gap: 0.6rem;
    margin-bottom: 1rem;
  }
}
.modal-body .form-row .form-group {
  flex: 1;
  margin-bottom: 0;
}

.modal-body label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-color);
}

.modal-body input,
.modal-body textarea,
.modal-body select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: var(--bg-color);
  color: var(--text-color);
  font-size: 0.9rem;
  transition: border-color 0.2s ease;
}

.modal-body input:focus,
.modal-body textarea:focus,
.modal-body select:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* Button Styles in Modal */
.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  border: none;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Button styles moved to assets/css/components/buttons.css */
/* Dark mode button overrides moved to buttons.css */
/* Dark Mode Modal Styles */
body.dark-mode .modal-content {
  background: #2a2a2a;
  border: 1px solid #444;
}

body.dark-mode .modal-header {
  border-bottom-color: #444;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background: var(--bg-primary);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideIn 0.3s ease;
  margin: var(--spacing-lg);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-lg) var(--spacing-xl);
  border-bottom: 1px solid var(--light-gray);
}

.modal-header h3 {
  margin: 0;
  color: var(--text-color);
  font-size: 1.5rem;
  font-weight: var(--font-weight-semibold);
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-color);
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color var(--transition-normal);
}

.modal-close:hover {
  background: var(--light-gray);
}

.modal-body {
  padding: var(--spacing-xl);
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: var(--spacing-md);
  padding: var(--spacing-lg) var(--spacing-xl);
  border-top: 1px solid var(--light-gray);
}

.card {
  border: 1px solid #e9ecef;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  color: #333;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.card-text {
  color: #666;
  margin-bottom: 1rem;
}

/* App Cards */
.app-card {
  background: var(--bg-secondary);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  border: 1px solid var(--light-gray);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.app-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--secondary-color);
  transition: width var(--transition-normal);
}

.app-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  background: var(--bg-primary);
}

.app-card:hover::before {
  width: 8px;
}

.app-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--spacing-md);
  gap: var(--spacing-md);
}

.app-card-title {
  color: var(--text-color);
  font-size: 1.4rem;
  font-weight: var(--font-weight-semibold);
  margin: 0;
  line-height: 1.4;
  flex: 1;
}

.app-card-title a {
  color: var(--text-color);
  text-decoration: none;
  transition: color var(--transition-normal);
}

.app-card-title a:hover {
  color: var(--primary-color);
}

.app-card-actions {
  display: flex;
  gap: var(--spacing-sm);
  flex-shrink: 0;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.app-card:hover .app-card-actions {
  opacity: 1;
}

.app-card-content {
  margin-bottom: var(--spacing-md);
}

.app-card-footer {
  color: var(--text-secondary);
  font-size: 0.85rem;
  border-top: 1px solid var(--light-gray);
  padding-top: var(--spacing-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* App Statistics */
.app-stats-minimal {
  display: flex;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-md);
}

.app-stat-minimal {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.app-stat-minimal i {
  color: var(--primary-color);
  font-size: 0.8rem;
}

/* Workspace Item Cards - Enhanced design with progress */
.workspace-item {
  background: var(--bg-secondary);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  border: 1px solid var(--light-gray);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 200px;
}

.workspace-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: var(--bg-primary);
}

/* Workspace item tooltip */
.workspace-item[data-tooltip] {
  position: relative;
}

.workspace-item[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: white;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--border-radius-sm);
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 1000;
  margin-bottom: var(--spacing-sm);
  max-width: 200px;
  text-align: center;
}

.workspace-item[data-tooltip]::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #333;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 1000;
  margin-bottom: -6px;
}

.workspace-item[data-tooltip]:hover::after,
.workspace-item[data-tooltip]:hover::before {
  opacity: 1;
  visibility: visible;
}

.workspace-item-header {
  margin-bottom: var(--spacing-sm);
}

.workspace-item-title {
  color: var(--text-color);
  font-size: 1.3rem;
  font-weight: var(--font-weight-semibold);
  margin: 0;
  line-height: 1.3;
  margin-bottom: var(--spacing-xs);
}

.workspace-item-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0 0 var(--spacing-md) 0;
  line-height: 1.4;
}

.workspace-item-date {
  color: var(--text-secondary);
  font-size: 0.8rem;
  margin: 0;
}

/* Progress Section */
.workspace-progress {
  margin: var(--spacing-md) 0;
}

.workspace-progress-title {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-sm);
  font-weight: var(--font-weight-medium);
}

.progress-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-sm);
}

.progress-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-size: 0.85rem;
  padding: var(--spacing-xs);
  border-radius: var(--border-radius-sm);
  background: rgba(0, 0, 0, 0.05);
  position: relative;
  cursor: help;
  transition: all var(--transition-normal);
}

.progress-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.progress-item i {
  font-size: 0.8rem;
  width: 16px;
  text-align: center;
}

/* Tooltip styles */
.progress-item::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: white;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius-sm);
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 1000;
  margin-bottom: var(--spacing-xs);
}

.progress-item::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: #333;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 1000;
  margin-bottom: -4px;
}

.progress-item:hover::after,
.progress-item:hover::before {
  opacity: 1;
  visibility: visible;
}

.progress-item.ready {
  color: var(--text-color);
  background: rgba(255, 107, 53, 0.1);
}

/* Progress item styles moved to assets/css/pages/profile.css */
.progress-item.ready i,
.progress-item.ready i.fa {
  /* Color moved to profile.css */
}

.progress-item.in-progress {
  color: var(--text-color);
  background: rgba(255, 193, 7, 0.1);
}

/* Progress item styles moved to assets/css/pages/profile.css */
.progress-item.in-progress i,
.progress-item.in-progress i.fa {
  /* Color moved to profile.css */
}

.progress-item.pending {
  color: var(--text-color);
  background: rgba(108, 117, 125, 0.1);
}

/* Progress item styles moved to assets/css/pages/profile.css */
.progress-item.pending i,
.progress-item.pending i.fa {
  /* Color moved to profile.css */
}

.progress-item.not-started {
  color: var(--text-color);
  background: rgba(220, 53, 69, 0.1);
}

/* Progress item styles moved to assets/css/pages/profile.css */
.progress-item.not-started i,
.progress-item.not-started i.fa {
  /* Color moved to profile.css */
}

.workspace-item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--light-gray);
}

.workspace-item-dates {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.workspace-item-dates small {
  color: var(--text-secondary);
  font-size: 0.75rem;
}

.workspace-view-btn {
  background: var(--primary-color);
  border: none;
  color: white;
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--border-radius-sm);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-weight: var(--font-weight-medium);
}

.workspace-view-btn:hover {
  background: #FF6B35;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
  color: white;
  text-decoration: none;
}

/* Type indicators - removed colored left border */
/* Icon button styles moved to assets/css/components/buttons.css */
/* Tabbed Section */
.tabbed-section {
  background: var(--bg-primary);
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  margin-bottom: var(--spacing-2xl);
}

.tab-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--light-gray);
  background: var(--bg-secondary);
  padding: 0;
}

.tab-buttons {
  display: flex;
}

.tab-button {
  background: none;
  border: none;
  padding: var(--spacing-md) var(--spacing-lg);
  cursor: pointer;
  font-weight: var(--font-weight-medium);
  color: var(--text-secondary);
  border-bottom: 3px solid transparent;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.tab-button:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-color);
}

.tab-button.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
  background: rgba(0, 123, 255, 0.05);
}

.tab-actions {
  padding: var(--spacing-md);
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.tab-content {
  padding: var(--spacing-2xl);
  min-height: 400px;
}

.tab-pane {
  display: none;
}

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

/* Specs and Research Card Styles */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.spec-card, .research-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.spec-card:hover, .research-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #666;
}

body.dark-mode .spec-card,
body.dark-mode .research-card {
  background: #2a2a2a;
  border-color: #444;
}

body.dark-mode .spec-card:hover,
body.dark-mode .research-card:hover {
  border-color: #999;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin: 0;
  flex: 1;
  line-height: 1.3;
}

.card-link-icon {
  color: #666;
  font-size: 0.9rem;
  margin-left: 0.5rem;
  opacity: 0.7;
}

body.dark-mode .card-link-icon {
  color: #999;
}

.card-description {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0 0 1rem 0;
}

body.dark-mode .card-description {
  color: #999;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.card-date {
  color: #888;
}

body.dark-mode .card-date {
  color: #aaa;
}

.card-status, .card-type {
  background: #f0f0f0;
  color: #666;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
}

body.dark-mode .card-status,
body.dark-mode .card-type {
  background: #444;
  color: #ccc;
}

/* Spec Cards Showcase - Orange Theme */
.spec-cards-showcase-orange {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}

.spec-card-square-orange {
  position: relative;
  aspect-ratio: 1;
  background: #FF6B35;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  border-radius: 0;
}

.spec-card-square-orange:hover,
.spec-card-square-orange.active {
  background: #FF8551;
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(255, 107, 53, 0.5);
  z-index: 10;
}

.spec-icon-orange {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3.5rem;
  color: white;
  opacity: 1;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spec-icon-orange i {
  color: white;
  font-size: 3.5rem;
  opacity: 1;
}

.spec-card-square-orange:hover .spec-icon-orange,
.spec-card-square-orange.active .spec-icon-orange {
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -50%) scale(0.8);
  z-index: 1;
}

.spec-content-orange {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 1;
}

.spec-card-square-orange:hover .spec-content-orange,
.spec-card-square-orange.active .spec-content-orange {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  z-index: 5;
}

.spec-content-orange h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.6rem;
  text-align: center;
  font-family: "Montserrat", sans-serif;
}

.spec-content-orange p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.95);
  text-align: center;
  line-height: 1.4;
  font-family: "Inter", sans-serif;
}

.story-title {
  font-size: 1.5rem;
  color: #FF6B35;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 20px;
}

.cta-container {
  margin-top: 30px;
  text-align: center;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-container-centered {
  margin-top: 50px;
  text-align: center;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Button primary styles with higher specificity moved to assets/css/components/buttons.css */
.spec-cards-showcase {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  max-width: 1000px;
  width: 90%;
  margin: 0 auto;
  border-radius: 20px;
  position: relative;
  z-index: 2;
}

.spec-card-square {
  position: relative;
  aspect-ratio: 1;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: visible;
  border: none;
  border-radius: 12px;
}

@keyframes floatUpDown {
  0%, 100% {
    transform: translate(-50%, -50%) translateY(0);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-8px);
  }
}
.spec-card-square:hover,
.spec-card-square.active {
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.spec-card-square .spec-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: #cccccc;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Higher specificity for fade-in state */
.spec-card-square .spec-icon.spec-icon.fade-in {
  opacity: 1;
  animation: floatUpDown 4s ease-in-out infinite;
}

.spec-card-square:nth-child(1) .spec-icon {
  animation-duration: 3.5s;
  animation-delay: 0s;
}

.spec-card-square:nth-child(2) .spec-icon {
  animation-duration: 4.2s;
  animation-delay: 0.3s;
}

.spec-card-square:nth-child(3) .spec-icon {
  animation-duration: 3.8s;
  animation-delay: 0.6s;
}

.spec-card-square:nth-child(4) .spec-icon {
  animation-duration: 4.5s;
  animation-delay: 0.2s;
}

.spec-card-square:nth-child(5) .spec-icon {
  animation-duration: 3.6s;
  animation-delay: 0.5s;
}

.spec-card-square:nth-child(6) .spec-icon {
  animation-duration: 4s;
  animation-delay: 0.4s;
}

/* Higher specificity for icon colors */
.spec-card-square .spec-icon.spec-icon i,
.spec-card-square .spec-icon.spec-icon .fa {
  color: #cccccc;
  font-size: 3rem;
  opacity: 1;
}

/* Higher specificity for hover/active states */
.spec-card-square:hover .spec-icon.spec-icon,
.spec-card-square.active .spec-icon.spec-icon {
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -50%) scale(0.8);
  z-index: 1;
  animation: none;
}

/* Higher specificity for icon opacity on hover/active */
.spec-card-square:hover .spec-icon.spec-icon i,
.spec-card-square:hover .spec-icon.spec-icon .fa,
.spec-card-square.active .spec-icon.spec-icon i,
.spec-card-square.active .spec-icon.spec-icon .fa {
  opacity: 0;
  visibility: hidden;
}

.spec-card-square .spec-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 1;
}

.spec-card-square:hover .spec-content,
.spec-card-square.active .spec-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  z-index: 5;
}

.spec-card-square .spec-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.5rem;
  text-align: center;
}

.spec-card-square .spec-content p {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 1rem;
  text-align: center;
  line-height: 1.4;
}

/* Flat Gray Icons Styling */
.section-header h3 i,
.tab-button i,
.btn i {
  color: #666;
  margin-right: 0.5rem;
}

body.dark-mode .section-header h3 i,
body.dark-mode .tab-button i,
body.dark-mode .btn i {
  color: #999;
}

/* Icon Buttons - Specifys.ai */
/* Base icon button styles */
.icon-btn {
  position: fixed;
  background: var(--bg-primary);
  color: var(--text-primary);
  border: none;
  border-radius: var(--border-radius-full);
  width: 40px;
  height: 40px;
  font-size: var(--font-size-lg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  z-index: var(--z-fixed);
  transition: all var(--transition-normal);
  outline: none;
}

.icon-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  background: var(--primary-color);
  color: var(--text-white);
}

.icon-btn:focus {
  outline: none;
}

.icon-btn:active {
  outline: none;
  transform: translateY(-1px);
}

/* Scroll to Top Button */
.scroll-to-top {
  bottom: var(--spacing-lg);
  left: var(--spacing-lg);
  display: flex;
  transform: rotate(180deg);
  transition: transform var(--transition-normal);
}

.scroll-to-top i {
  margin: 0;
  display: block;
  transform: rotate(0deg);
  transition: none;
}

.scroll-to-top.scrolled-down {
  transform: rotate(0deg);
}

.scroll-to-top:hover {
  box-shadow: var(--shadow-lg);
}

.scroll-to-top.scrolled-down:hover {
  box-shadow: var(--shadow-lg);
}

.scroll-to-top:active {
  opacity: 0.8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .icon-btn {
    width: 35px;
    height: 35px;
    font-size: var(--font-size-base);
  }
}
@media (max-width: 480px) {
  .icon-btn {
    width: 32px;
    height: 32px;
    font-size: var(--font-size-sm);
  }
}
.search-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: var(--text-secondary, #666);
  font-size: 1.2rem;
  pointer-events: none;
  transition: left 0.3s ease, transform 0.3s ease;
  z-index: 2;
}

.search-wrapper:hover .search-icon,
.search-wrapper:focus-within .search-icon {
  left: 0.875rem;
  transform: translateY(-50%);
}

.search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 2px solid var(--border-color, #dee2e6);
  border-radius: var(--border-radius-lg, 1rem);
  font-size: 0.95rem;
  font-family: var(--font-ui, "Inter", sans-serif);
  background: white;
  color: var(--text-color, #333);
  transition: all 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

.search-wrapper:hover .search-input,
.search-wrapper:focus-within .search-input {
  opacity: 1;
  pointer-events: auto;
}

.search-input::placeholder {
  color: var(--text-secondary, #666);
}

.search-wrapper:hover .search-input:focus,
.search-wrapper:focus-within .search-input:focus {
  background: white;
  border-color: var(--primary-color, #FF6B35);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.mermaid-error-icon {
  font-size: var(--font-size-3xl);
  color: var(--danger-color);
  margin-bottom: var(--spacing-md);
}

.mermaid-error-title {
  font-family: var(--font-display);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--danger-color);
  margin-bottom: var(--spacing-sm);
}

.mermaid-error-message {
  font-family: var(--font-secondary);
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.mermaid-error-code {
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  background: var(--bg-primary);
  padding: var(--spacing-sm);
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  text-align: left;
  max-width: 100%;
  overflow-x: auto;
}

.table-empty-icon {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--spacing-md);
  opacity: 0.5;
}

.table-empty-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--spacing-sm);
}

.table-empty-message {
  font-size: var(--font-size-base);
  margin-bottom: var(--spacing-md);
}

.live-brief-microphone-icon {
  position: relative;
  z-index: 10;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FF6B35; /* Orange color */
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
  cursor: pointer;
  user-select: none;
}

.live-brief-microphone-icon:hover {
  background: #FF8551; /* Lighter orange on hover */
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.4);
}

.live-brief-microphone-icon:active {
  transform: scale(0.95);
}

.live-brief-microphone-wrapper.recording .live-brief-microphone-icon {
  background: #FF6B35; /* Keep orange when recording */
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.6);
  transform: scale(1.1);
}

.live-brief-microphone-icon svg {
  width: 40px;
  height: 40px;
  color: white;
}

/* Live Brief Container Styles - Inline Content (Not Modal) */
.live-brief-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  position: relative;
  z-index: 10; /* Higher than hero-content z-index: 2 */
}

/* Higher specificity for fade-in state */
.live-brief-container.live-brief-container.fade-in {
  opacity: 1;
  visibility: visible;
}

/* Higher specificity for inline style override - JavaScript sets display: block */
.live-brief-container[style*="display: block"].live-brief-container {
  display: block;
  visibility: visible;
  opacity: 1;
}

/* Override hero-content fade-out for live-brief-container - Higher specificity */
.hero-content.fade-out .live-brief-container.live-brief-container {
  opacity: 1;
  visibility: visible;
}

.live-brief-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem; /* Same as typing mode */
  padding: 0;
  margin-bottom: 1rem; /* Same as typing mode */
  width: 100%;
  /* Removed border-bottom */
}

.live-brief-title {
  margin: 0;
  color: #ffffff;
  font-size: 2rem;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  order: 2; /* Title comes after toggle */
}

.live-brief-header .mode-toggle-container {
  order: 1; /* Toggle comes first */
}

/* Question detail in Live Brief - same style as typing mode */
.live-brief-header .question-detail {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #cccccc;
  text-align: center;
  line-height: 1.5;
  margin-top: 12px;
  opacity: 0.9;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  order: 3; /* Question detail comes after title */
}

/* Mode Toggle Switch */
.mode-toggle-container {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0; /* Same as typing-mode-toggle */
}

.mode-label {
  color: #FF6B35; /* Orange color for both sides */
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease, background 0.3s ease;
  user-select: none;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
}

.mode-label:hover {
  color: #FF8551; /* Lighter orange on hover */
  background: rgba(255, 107, 53, 0.1);
}

.mode-label.active {
  color: #FF6B35; /* Keep orange for active */
  font-weight: 600;
}

.mode-toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
  cursor: pointer;
}

.mode-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #FF6B35; /* Orange background always */
  transition: 0.3s;
  border-radius: 26px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.mode-toggle-switch input:checked + .toggle-slider {
  background-color: #FF6B35; /* Keep orange when checked */
}

.mode-toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(24px);
}

.mode-toggle-switch:hover .toggle-slider {
  background-color: #FF8551; /* Lighter orange on hover */
}

.mode-toggle-switch input:checked:hover + .toggle-slider {
  background-color: #FF8551;
}

.live-brief-body {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md, 1rem); /* Reduced gap */
  align-items: center;
  padding: 1rem 0; /* Reduced padding */
}

/* Prompt removed - no longer needed */
/* Microphone Container with Ripple Animation */
.live-brief-microphone-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--spacing-md, 1rem) 0; /* Reduced padding */
  min-height: 150px; /* Reduced min-height */
  order: 2; /* Microphone comes before prompt */
}

.live-brief-microphone-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.live-brief-microphone-icon {
  position: relative;
  z-index: 10;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FF6B35; /* Orange color */
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
  cursor: pointer;
  user-select: none;
}

.live-brief-microphone-icon:hover {
  background: #FF8551; /* Lighter orange on hover */
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.4);
}

.live-brief-microphone-icon:active {
  transform: scale(0.95);
}

.live-brief-microphone-wrapper.recording .live-brief-microphone-icon {
  background: #FF6B35; /* Keep orange when recording */
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.6);
  transform: scale(1.1);
}

.live-brief-microphone-icon svg {
  width: 40px;
  height: 40px;
  color: white;
}

/* Ripple Rings */
.live-brief-ripple-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border: 2px solid #FF6B35; /* Orange color */
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}

.live-brief-microphone-wrapper.recording .live-brief-ripple-ring {
  opacity: 0.6;
}

@keyframes ripple {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.5);
    opacity: 0;
  }
}
/* Adjust ripple intensity based on amplitude */
.live-brief-microphone-wrapper.recording .live-brief-ripple-ring {
  border-color: #FF6B35; /* Orange color */
  animation: ripple 2s ease-out infinite;
  animation-duration: calc(2s / (1 + var(--amplitude, 0.5)));
}

.live-brief-summary-container {
  width: 100%;
  min-height: 150px;
  max-height: 300px;
  overflow-y: auto;
  padding: var(--spacing-lg, 1.5rem);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-md, 0.5rem);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  position: relative;
}

.live-brief-summary-text {
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.6;
  white-space: pre-wrap;
  word-wrap: break-word;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding-bottom: 1.5rem; /* Space for language indicator */
}

.live-brief-language-indicator {
  position: absolute;
  bottom: 0.5rem;
  right: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: lowercase;
  user-select: none;
}

.live-brief-summary-text:not(:empty) {
  opacity: 1;
}

.live-brief-footer {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md, 1rem);
  padding: var(--spacing-lg, 1.5rem) 0 0 0;
  /* Removed border-top */
  margin-top: 1.5rem;
}

.live-brief-btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-md, 0.5rem);
  border: none;
  font-size: 0.9rem;
  font-weight: var(--font-weight-medium, 500);
  cursor: pointer;
  transition: all var(--transition-normal, 0.3s ease);
  min-width: 100px;
}

.live-brief-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.live-brief-btn-primary {
  background: #FF6B35;
  color: #ffffff;
}

.live-brief-btn-primary:hover:not(:disabled) {
  background: #FF8551;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.live-brief-btn-primary:disabled {
  background: #cccccc;
  color: #666666;
  cursor: not-allowed;
  opacity: 0.6;
}

.live-brief-btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.live-brief-btn-secondary:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.3);
}

.live-brief-btn-stop {
  background: #FF6B35; /* Changed from red to orange */
  color: #ffffff;
}

.live-brief-btn-stop:hover:not(:disabled) {
  background: #FF8551; /* Lighter orange on hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.live-brief-error {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--danger-color, #dc3545);
  color: var(--text-white, #ffffff);
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius-md, 0.5rem);
  z-index: 100001;
  box-shadow: var(--shadow-lg, 0 6px 16px rgba(0, 0, 0, 0.15));
  animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
/* Responsive Design */
@media (max-width: 768px) {
  .live-brief-container {
    padding: 1.5rem;
  }
  .live-brief-header {
    padding: 0;
    margin-bottom: 1.5rem; /* Same as typing mode */
    flex-direction: column;
    align-items: center; /* Same as typing mode */
    gap: 1.5rem; /* Same as typing mode */
    width: 100%;
  }
  .live-brief-title {
    font-size: 1.5rem;
  }
  .live-brief-header .question-detail {
    font-size: 14px;
    margin-top: 8px;
  }
  .live-brief-switch-to-typing {
    align-self: flex-end;
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }
  .live-brief-body {
    padding: 1.5rem 0;
  }
  .live-brief-microphone-container {
    min-height: 150px;
    padding: 1rem 0;
  }
  .live-brief-microphone-wrapper {
    width: 100px;
    height: 100px;
  }
  .live-brief-microphone-icon {
    width: 70px;
    height: 70px;
  }
  .live-brief-microphone-icon svg {
    width: 35px;
    height: 35px;
  }
  .live-brief-summary-container {
    min-height: 120px;
    max-height: 250px;
  }
  .live-brief-footer {
    padding: 1rem 0 0 0;
    flex-wrap: wrap;
  }
  .live-brief-btn {
    flex: 1;
    min-width: 80px;
  }
}
@media (max-width: 480px) {
  .live-brief-container {
    padding: 1rem;
  }
  .live-brief-header {
    flex-direction: column;
    align-items: center; /* Same as typing mode */
    gap: 1.25rem; /* Same as typing mode */
    margin-bottom: 1.25rem; /* Same as typing mode */
    width: 100%;
  }
  .live-brief-switch-to-typing {
    align-self: flex-end;
  }
  .live-brief-footer {
    flex-direction: column;
  }
  .live-brief-btn {
    width: 100%;
  }
}
/* ============================================
   Display Utilities - Specifys.ai
   ============================================
   Utility classes for display properties
   Used to replace inline styles like style="display: none;"
*/
/* Hide element */
.hidden {
  display: none;
}

/* Show as block */
.visible {
  display: block;
}

/* Show as flex */
.flex {
  display: flex;
}

/* Show as inline-flex */
.inline-flex {
  display: inline-flex;
}

/* Show as grid */
.grid {
  display: grid;
}

/* Hide visually but keep for screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Text decoration utilities */
.no-underline {
  text-decoration: none;
}

/* ============================================
   Spacing Utilities - Specifys.ai
   ============================================
   Utility classes for margin and padding properties
   Used to replace inline styles like style="margin: 10px;" or style="padding: 20px;"
*/
/* ===== MARGIN UTILITIES ===== */
/* Margin all sides */
.m-0 {
  margin: 0;
}

.m-1 {
  margin: 0.25rem;
} /* 4px */
.m-2 {
  margin: 0.5rem;
} /* 8px */
.m-3 {
  margin: 1rem;
} /* 16px */
.m-4 {
  margin: 1.5rem;
} /* 24px */
.m-5 {
  margin: 2rem;
} /* 32px */
.m-6 {
  margin: 3rem;
} /* 48px */
.m-8 {
  margin: 4rem;
} /* 64px */
.m-auto {
  margin: auto;
}

/* Margin top */
.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.mt-5 {
  margin-top: 2rem;
}

.mt-6 {
  margin-top: 3rem;
}

.mt-8 {
  margin-top: 4rem;
}

.mt-auto {
  margin-top: auto;
}

/* Margin bottom */
.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.mb-5 {
  margin-bottom: 2rem;
}

.mb-6 {
  margin-bottom: 3rem;
}

.mb-8 {
  margin-bottom: 4rem;
}

.mb-auto {
  margin-bottom: auto;
}

/* Margin left */
.ml-0 {
  margin-left: 0;
}

.ml-1 {
  margin-left: 0.25rem;
}

.ml-2 {
  margin-left: 0.5rem;
}

.ml-3 {
  margin-left: 1rem;
}

.ml-4 {
  margin-left: 1.5rem;
}

.ml-5 {
  margin-left: 2rem;
}

.ml-6 {
  margin-left: 3rem;
}

.ml-8 {
  margin-left: 4rem;
}

.ml-auto {
  margin-left: auto;
}

/* Margin right */
.mr-0 {
  margin-right: 0;
}

.mr-1 {
  margin-right: 0.25rem;
}

.mr-2 {
  margin-right: 0.5rem;
}

.mr-3 {
  margin-right: 1rem;
}

.mr-4 {
  margin-right: 1.5rem;
}

.mr-5 {
  margin-right: 2rem;
}

.mr-6 {
  margin-right: 3rem;
}

.mr-8 {
  margin-right: 4rem;
}

.mr-auto {
  margin-right: auto;
}

/* Margin horizontal (left + right) */
.mx-0 {
  margin-left: 0;
  margin-right: 0;
}

.mx-1 {
  margin-left: 0.25rem;
  margin-right: 0.25rem;
}

.mx-2 {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

.mx-3 {
  margin-left: 1rem;
  margin-right: 1rem;
}

.mx-4 {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

.mx-5 {
  margin-left: 2rem;
  margin-right: 2rem;
}

.mx-6 {
  margin-left: 3rem;
  margin-right: 3rem;
}

.mx-8 {
  margin-left: 4rem;
  margin-right: 4rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Margin vertical (top + bottom) */
.my-0 {
  margin-top: 0;
  margin-bottom: 0;
}

.my-1 {
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}

.my-2 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.my-3 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.my-4 {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.my-5 {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.my-6 {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.my-8 {
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.my-auto {
  margin-top: auto;
  margin-bottom: auto;
}

/* ===== PADDING UTILITIES ===== */
/* Padding all sides */
.p-0 {
  padding: 0;
}

.p-1 {
  padding: 0.25rem;
}

.p-2 {
  padding: 0.5rem;
}

.p-3 {
  padding: 1rem;
}

.p-4 {
  padding: 1.5rem;
}

.p-5 {
  padding: 2rem;
}

.p-6 {
  padding: 3rem;
}

.p-8 {
  padding: 4rem;
}

/* Padding top */
.pt-0 {
  padding-top: 0;
}

.pt-1 {
  padding-top: 0.25rem;
}

.pt-2 {
  padding-top: 0.5rem;
}

.pt-3 {
  padding-top: 1rem;
}

.pt-4 {
  padding-top: 1.5rem;
}

.pt-5 {
  padding-top: 2rem;
}

.pt-6 {
  padding-top: 3rem;
}

.pt-8 {
  padding-top: 4rem;
}

/* Padding bottom */
.pb-0 {
  padding-bottom: 0;
}

.pb-1 {
  padding-bottom: 0.25rem;
}

.pb-2 {
  padding-bottom: 0.5rem;
}

.pb-3 {
  padding-bottom: 1rem;
}

.pb-4 {
  padding-bottom: 1.5rem;
}

.pb-5 {
  padding-bottom: 2rem;
}

.pb-6 {
  padding-bottom: 3rem;
}

.pb-8 {
  padding-bottom: 4rem;
}

/* Padding left */
.pl-0 {
  padding-left: 0;
}

.pl-1 {
  padding-left: 0.25rem;
}

.pl-2 {
  padding-left: 0.5rem;
}

.pl-3 {
  padding-left: 1rem;
}

.pl-4 {
  padding-left: 1.5rem;
}

.pl-5 {
  padding-left: 2rem;
}

.pl-6 {
  padding-left: 3rem;
}

.pl-8 {
  padding-left: 4rem;
}

/* Padding right */
.pr-0 {
  padding-right: 0;
}

.pr-1 {
  padding-right: 0.25rem;
}

.pr-2 {
  padding-right: 0.5rem;
}

.pr-3 {
  padding-right: 1rem;
}

.pr-4 {
  padding-right: 1.5rem;
}

.pr-5 {
  padding-right: 2rem;
}

.pr-6 {
  padding-right: 3rem;
}

.pr-8 {
  padding-right: 4rem;
}

/* Padding horizontal (left + right) */
.px-0 {
  padding-left: 0;
  padding-right: 0;
}

.px-1 {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}

.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.px-3 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-4 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.px-5 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.px-6 {
  padding-left: 3rem;
  padding-right: 3rem;
}

.px-8 {
  padding-left: 4rem;
  padding-right: 4rem;
}

/* Padding vertical (top + bottom) */
.py-0 {
  padding-top: 0;
  padding-bottom: 0;
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-3 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-4 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.py-5 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.py-6 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-8 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* ============================================
   Text Utilities - Specifys.ai
   ============================================
   Utility classes for text properties
   Used to replace inline styles like style="text-align: center;"
*/
/* Text alignment */
.text-center {
  text-align: center;
}

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

.text-right {
  text-align: right;
}

/* Text decoration */
.no-underline {
  text-decoration: none;
}

.underline {
  text-decoration: underline;
}

/* Text transform */
.uppercase {
  text-transform: uppercase;
}

.lowercase {
  text-transform: lowercase;
}

.capitalize {
  text-transform: capitalize;
}

/* Font weight */
.font-normal {
  font-weight: 400;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

/* Text color utilities */
.text-muted {
  color: #666;
}

.text-primary {
  color: var(--primary-color);
}

.text-secondary {
  color: var(--text-secondary);
}

/* CTA container utilities */
.cta-centered {
  text-align: center;
  margin-top: 40px;
}

/**
 * Visually Hidden Utility
 * Hides content visually but keeps it accessible to screen readers
 */
.visually-hidden,
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border-width: 0 !important;
}

/* Focusable visually hidden content (e.g., skip links) */
.visually-hidden-focusable:focus,
.sr-only-focusable:focus {
  position: static !important;
  width: auto !important;
  height: auto !important;
  padding: inherit !important;
  margin: inherit !important;
  overflow: visible !important;
  clip: auto !important;
  white-space: normal !important;
}

@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .container-fluid {
    padding: 0 8px;
  }
  .content-box {
    margin: 8px;
    padding: 12px;
    margin-top: 64px; /* Space for mobile header */
    border-radius: 8px;
  }
  .d-md-none {
    display: none;
  }
  .d-md-block {
    display: block;
  }
  .d-md-flex {
    display: flex;
  }
  .flex-md-column {
    flex-direction: column;
  }
  .flex-md-row {
    flex-direction: row;
  }
  .text-md-center {
    text-align: center;
  }
  .text-md-left {
    text-align: left;
  }
  .text-md-right {
    text-align: right;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 4px;
  }
  .container-fluid {
    padding: 0 4px;
  }
  .content-box {
    margin: 4px;
    padding: 8px;
    margin-top: 56px; /* Space for mobile header */
    border-radius: 6px;
  }
  .d-sm-none {
    display: none;
  }
  .d-sm-block {
    display: block;
  }
  .d-sm-flex {
    display: flex;
  }
  .flex-sm-column {
    flex-direction: column;
  }
  .flex-sm-row {
    flex-direction: row;
  }
  .text-sm-center {
    text-align: center;
  }
  .text-sm-left {
    text-align: left;
  }
  .text-sm-right {
    text-align: right;
  }
}
.flex-row {
  flex-direction: row;
}

.flex-column {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-nowrap {
  flex-wrap: nowrap;
}

.justify-start {
  justify-content: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-end {
  justify-content: flex-end;
}

.justify-between {
  justify-content: space-between;
}

.justify-around {
  justify-content: space-around;
}

.align-start {
  align-items: flex-start;
}

.align-center {
  align-items: center;
}

.align-end {
  align-items: flex-end;
}

.align-stretch {
  align-items: stretch;
}

.position-static {
  position: static;
}

.position-relative {
  position: relative;
}

.position-absolute {
  position: absolute;
}

.position-fixed {
  position: fixed;
}

.position-sticky {
  position: sticky;
}

.w-25 {
  width: 25%;
}

.w-50 {
  width: 50%;
}

.w-75 {
  width: 75%;
}

.w-100 {
  width: 100%;
}

.w-auto {
  width: auto;
}

.h-25 {
  height: 25%;
}

.h-50 {
  height: 50%;
}

.h-75 {
  height: 75%;
}

.h-100 {
  height: 100%;
}

.h-auto {
  height: auto;
}

.border {
  border: 1px solid var(--border-color);
}

.border-top {
  border-top: 1px solid var(--border-color);
}

.border-bottom {
  border-bottom: 1px solid var(--border-color);
}

.border-left {
  border-left: 1px solid var(--border-color);
}

.border-right {
  border-right: 1px solid var(--border-color);
}

.border-0 {
  border: 0;
}

.border-top-0 {
  border-top: 0;
}

.border-bottom-0 {
  border-bottom: 0;
}

.border-left-0 {
  border-left: 0;
}

.border-right-0 {
  border-right: 0;
}

.rounded {
  border-radius: var(--border-radius-md);
}

.rounded-sm {
  border-radius: var(--border-radius-sm);
}

.rounded-lg {
  border-radius: var(--border-radius-lg);
}

.rounded-xl {
  border-radius: var(--border-radius-xl);
}

.rounded-full {
  border-radius: var(--border-radius-full);
}

.shadow-sm {
  box-shadow: var(--shadow-sm);
}

.shadow {
  box-shadow: var(--shadow-md);
}

.shadow-lg {
  box-shadow: var(--shadow-lg);
}

.shadow-xl {
  box-shadow: var(--shadow-xl);
}

.shadow-none {
  box-shadow: none;
}

.overflow-hidden {
  overflow: hidden;
}

.overflow-auto {
  overflow: auto;
}

.overflow-scroll {
  overflow: scroll;
}

.overflow-visible {
  overflow: visible;
}

/* Index Page Specific Styles - Specifys.ai */
/* ===== LOGO STYLES ===== */
/* Using higher specificity instead of !important */
body .logo a,
body .logo-text {
  color: #333;
  font-size: 1.2rem;
}

body .logo-dot {
  color: #FF6B35;
}

body .logo a:hover {
  color: #444;
}

body .logo a:hover .logo-dot {
  color: #FF8551;
}

/* Mobile logo adjustments */
@media (max-width: 768px) {
  body .logo a,
  body .logo-text {
    font-size: 1.1rem;
  }
}
@media (max-width: 480px) {
  body .logo a,
  body .logo-text {
    font-size: 1rem;
  }
}
/* ===== MENU STYLES ===== */
/* Menu Toggle Button */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background: #333;
  border: none;
  border-radius: 8px;
  font-size: 1.3rem;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.menu-toggle:hover {
  background: #FF6B35;
}

/* Clip-path menu */
.clip-path-menu {
  position: fixed;
  top: 80px;
  left: 20px;
  width: 300px;
  background: transparent;
  color: rgba(0, 0, 0, 0.87);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: all 0.3s ease;
}

.clip-path-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.clip-path-menu a {
  display: block;
  line-height: 50px;
  padding: 0 20px;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.15s ease, color 0.15s ease;
  background: white;
  margin: 2px 0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(-10px);
}

.clip-path-menu.active a {
  opacity: 1;
  transform: translateY(0);
}

.clip-path-menu.active a:nth-child(2) {
  transition-delay: 0.1s;
}

.clip-path-menu.active a:nth-child(3) {
  transition-delay: 0.2s;
}

.clip-path-menu.active a:nth-child(4) {
  transition-delay: 0.3s;
}

.clip-path-menu.active a:nth-child(5) {
  transition-delay: 0.4s;
}

.clip-path-menu.active a:nth-child(6) {
  transition-delay: 0.5s;
}

.clip-path-menu a:hover {
  background: #FF6B35;
  color: white;
}

/* ===== HERO SECTION ===== */
.hero-section {
  width: 100%;
  background: #333;
  padding: 8rem 0 4rem 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  min-height: 95vh;
  position: relative;
}

/* Vanta.NET container */
#vanta-net {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  min-height: 100%;
  min-width: 100%;
  overflow: hidden;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

#vanta-net.visible {
  opacity: 1;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.hero-main-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(3.5rem, 10vw, 6rem);
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  margin-bottom: 3rem;
  line-height: 1.1;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.hero-main-title.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.hero-button-container {
  margin: 0 0 3.5rem 0;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  order: 0;
}

.hero-cta-button {
  font-family: "Montserrat", sans-serif;
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 5px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.hero-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
  background: var(--primary-hover);
}

/* New Orange Start Button */
.hero-cta-button-new {
  width: 160px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background-color: #FF6B35;
  border-radius: 5px;
  color: white;
  font-weight: 600;
  border: none;
  position: relative;
  cursor: pointer;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.116);
  padding: 0;
  font-size: 1.1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out, background-color 0.5s ease;
}

.hero-cta-button-new.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.hero-cta-button-new.fade-in {
  opacity: 1;
  transform: translateY(0);
}

@keyframes compassRotation {
  0% {
    transform: rotate(0deg);
  }
  12.5% {
    transform: rotate(45deg);
  }
  25% {
    transform: rotate(-20deg);
  }
  37.5% {
    transform: rotate(90deg);
  }
  50% {
    transform: rotate(15deg);
  }
  62.5% {
    transform: rotate(180deg);
  }
  75% {
    transform: rotate(120deg);
  }
  87.5% {
    transform: rotate(270deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.hero-cta-button-new .svgIcon {
  height: 25px;
  transition-duration: 1.5s;
  animation: compassRotation 8s ease-in-out infinite;
}

.hero-cta-button-new .bell path {
  fill: white;
}

.hero-cta-button-new:hover {
  background-color: #FF8551;
  transition-duration: 0.5s;
}

.hero-cta-button-new:active {
  transform: scale(0.97);
  transition-duration: 0.2s;
}

.hero-cta-button-new:hover .svgIcon {
  animation-duration: 2s;
}

/* Hero Description */
.hero-description {
  margin-top: 0;
  margin-bottom: 2.5rem;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  position: relative;
}

.hero-description-text {
  font-family: "Inter", sans-serif;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 400;
  color: #cccccc;
  line-height: 1.6;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out 0.2s, transform 0.8s ease-out 0.2s;
}

.hero-description-text.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.hero-subtitle {
  display: none; /* Removed - replaced with description */
}

/* Fade Out Animation */
.hero-content.fade-out {
  opacity: 0;
  transform: translateY(-30px);
  transition: all 0.8s ease-out;
}

.hero-content.fade-out .hero-main-title {
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.6s ease-out 0.1s;
}

.hero-content.fade-out .hero-subtitle {
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.6s ease-out 0.2s;
}

.hero-content.fade-out .hero-button-container {
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.6s ease-out 0.3s;
}

.hero-content.fade-out .hero-description {
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.6s ease-out 0.15s;
}

.hero-content.fade-out .spec-cards-showcase {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out 0.4s;
  pointer-events: none;
}

/* ===== SPEC CARDS SHOWCASE ===== */
.spec-cards-showcase {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  max-width: 1000px;
  width: 90%;
  margin: 0 auto;
  border-radius: 20px;
  position: relative;
  z-index: 2;
}

.spec-card-square {
  position: relative;
  aspect-ratio: 1;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: visible;
  border: none;
  border-radius: 12px;
}

@keyframes floatUpDown {
  0%, 100% {
    transform: translate(-50%, -50%) translateY(0);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-8px);
  }
}
.spec-card-square:hover,
.spec-card-square.active {
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.spec-card-square .spec-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: #cccccc;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Higher specificity for fade-in state */
.spec-card-square .spec-icon.spec-icon.fade-in {
  opacity: 1;
  animation: floatUpDown 4s ease-in-out infinite;
}

.spec-card-square:nth-child(1) .spec-icon {
  animation-duration: 3.5s;
  animation-delay: 0s;
}

.spec-card-square:nth-child(2) .spec-icon {
  animation-duration: 4.2s;
  animation-delay: 0.3s;
}

.spec-card-square:nth-child(3) .spec-icon {
  animation-duration: 3.8s;
  animation-delay: 0.6s;
}

.spec-card-square:nth-child(4) .spec-icon {
  animation-duration: 4.5s;
  animation-delay: 0.2s;
}

.spec-card-square:nth-child(5) .spec-icon {
  animation-duration: 3.6s;
  animation-delay: 0.5s;
}

.spec-card-square:nth-child(6) .spec-icon {
  animation-duration: 4s;
  animation-delay: 0.4s;
}

/* Higher specificity for icon colors */
.spec-card-square .spec-icon.spec-icon i,
.spec-card-square .spec-icon.spec-icon .fa {
  color: #cccccc;
  font-size: 3rem;
  opacity: 1;
}

/* Higher specificity for hover/active states */
.spec-card-square:hover .spec-icon.spec-icon,
.spec-card-square.active .spec-icon.spec-icon {
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -50%) scale(0.8);
  z-index: 1;
  animation: none;
}

/* Higher specificity for icon opacity on hover/active */
.spec-card-square:hover .spec-icon.spec-icon i,
.spec-card-square:hover .spec-icon.spec-icon .fa,
.spec-card-square.active .spec-icon.spec-icon i,
.spec-card-square.active .spec-icon.spec-icon .fa {
  opacity: 0;
  visibility: hidden;
}

.spec-card-square .spec-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 1;
}

.spec-card-square:hover .spec-content,
.spec-card-square.active .spec-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  z-index: 5;
}

.spec-card-square .spec-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.5rem;
  text-align: center;
}

.spec-card-square .spec-content p {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 1rem;
  text-align: center;
  line-height: 1.4;
}

/* ===== MODERN INPUT CONTAINER ===== */
.modern-input-container {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-md, 0.5rem);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: var(--spacing-lg, 1.5rem);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  width: 90%;
  font-family: "Inter", sans-serif;
  opacity: 0;
  transition: all 0.8s ease-out;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateY(30px);
  z-index: 10;
  margin: 0;
}

.modern-input-container.fade-in {
  opacity: 1;
  transform: translate(-50%, -50%) translateY(0);
}

/* Mobile: Use relative positioning for better flow */
/* Using higher specificity in media query instead of !important */
@media (max-width: 768px) {
  body .questions-display {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 0 auto;
    padding: 100px 15px 30px 15px; /* More space for header and better spacing */
    order: 1;
    opacity: 1;
    width: 100%;
    max-width: 100%;
  }
  body .questions-display.fade-in {
    opacity: 1;
    transform: none;
  }
  body .modern-input-container {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 0 auto;
    order: 2;
  }
  .modern-input-container.fade-in {
    opacity: 1;
    transform: none;
  }
  .current-question {
    transform: translateY(0) scale(1);
  }
  .current-question.slide-in {
    animation: slideInFromBottom 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .question-detail {
    transform: translateY(0) scale(1);
  }
  .question-detail.slide-in {
    animation: slideInFromBottom 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }
}
.input-instruction {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  margin-bottom: 12px;
  font-weight: 400;
}

/* Demo section */
.demo-section {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0;
}

/* Progress dots */
.progress-dots {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 8px auto 0 auto;
  justify-content: center;
  width: 100%;
}

.progress-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FF6B35;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.progress-dot:hover {
  transform: scale(1.2);
  background: #FF8551;
}

.progress-dot.completed {
  background: #ff6b35;
  box-shadow: 0 0 8px rgba(255, 107, 53, 0.4);
}

.progress-dot.current {
  background: #ff6b35;
  transform: scale(1.8);
  box-shadow: 0 0 12px rgba(255, 107, 53, 0.6);
  width: 12px;
  height: 12px;
}

.progress-dot.error {
  background: #ff3333;
  animation: pulse-red 0.6s ease-in-out;
}

@keyframes pulse-red {
  0%, 100% {
    box-shadow: 0 0 8px rgba(255, 51, 51, 0.4);
  }
  50% {
    box-shadow: 0 0 16px rgba(255, 51, 51, 0.8);
  }
}
@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-10px);
  }
  75% {
    transform: translateX(10px);
  }
}
.input-area {
  margin-bottom: 16px;
  position: relative;
}

.main-input {
  width: 100%;
  border: none;
  outline: none;
  resize: none;
  font-size: 16px;
  line-height: 1.6;
  min-height: 60px;
  max-height: 200px;
  font-family: inherit;
  background: transparent;
  color: #ffffff;
}

.main-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.character-count-container {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
  padding-right: 4px;
}

.character-count {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s ease;
  font-family: inherit;
}

.character-count.warning {
  color: #FF6B35;
}

.character-count.danger {
  color: #ff3333;
  font-weight: 600;
}

.input-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.left-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.control-btn {
  background: none;
  border: none;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.control-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

.control-btn.selected {
  background: #FF6B35;
  color: white;
  transform: scale(1.1);
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.control-btn.selected svg {
  stroke: white;
}

.control-btn.recording {
  background: #ff4444;
  color: white;
  animation: pulse 1s infinite;
}

.control-btn.recording svg {
  stroke: white;
}

/* Switch to Voice Button */
.switch-to-voice-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--primary-color, #FF6B35);
  color: white;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.switch-to-voice-btn:hover {
  background: var(--primary-hover, #FF8551);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.switch-to-voice-btn .btn-label {
  display: inline-block;
}

.switch-to-voice-btn svg {
  width: 16px;
  height: 16px;
  color: white;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
/* Small tooltips for platform buttons */
#phoneBtn:hover::after,
#computerBtn:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  white-space: nowrap;
  z-index: 1000;
  margin-bottom: 4px;
  animation: tooltipFadeIn 0.2s ease-out;
}

#phoneBtn:hover::before,
#computerBtn:hover::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 3px solid transparent;
  border-top-color: #333;
  margin-bottom: 1px;
  z-index: 1000;
}

.lightbulb-tooltip {
  position: fixed;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #2c2c2c;
  color: white;
  border: 1px solid #404040;
  border-radius: 12px;
  padding: 20px 24px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  max-width: 90%;
  width: 650px;
  white-space: pre-line;
  line-height: 1.6;
}

.lightbulb-tooltip.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.lightbulb-tooltip::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 20px;
  border: 6px solid transparent;
  border-bottom-color: #f8f9fa;
}

.lightbulb-tooltip::after {
  content: "";
  position: absolute;
  top: -7px;
  left: 19px;
  border: 7px solid transparent;
  border-bottom-color: #dee2e6;
}

@keyframes tooltipFadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}
/* Bottom Links Container */
.hero-bottom-links {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 0 20px;
  z-index: 2;
}

.bottom-link {
  color: #D4541F;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.bottom-link:hover {
  color: #FF6B35;
  text-decoration: none;
}

.separator {
  width: 1px;
  height: 20px;
  background: #ddd;
  margin: 0 4px;
}

.send-btn {
  cursor: pointer;
  font-weight: 700;
  transition: all 0.2s;
  padding: 10px 20px;
  border-radius: 5px;
  background: #cccccc; /* Gray by default, orange when active */
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: white;
}

.send-btn:hover:not(:disabled) {
  background: #FF8551; /* Orange hover */
}

.send-btn svg {
  width: 20px;
  transition: transform 0.3s ease-in-out;
}

.send-btn:hover:not(:disabled) svg {
  transform: translateX(5px);
}

.send-btn:active:not(:disabled) {
  transform: scale(0.95);
}

.send-btn:disabled {
  background: #cccccc;
  cursor: not-allowed;
  opacity: 0.6;
}

.send-btn:disabled:hover {
  background: #cccccc;
  transform: none;
}

.send-btn:disabled svg {
  transform: none;
}

.demo-btn {
  background: #ff6b35;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 4px;
}

.demo-btn:hover {
  background: #e55a2b;
  transform: translateY(-1px);
}

.demo-btn:active {
  transform: translateY(0);
}

/* ===== EXTRA SECTIONS ===== */
.extra-sections {
  width: 100%;
  max-width: 1200px;
  padding: 4rem 1.5rem;
  text-align: center;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section {
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
  animation-delay: calc(0.2s * var(--section-index));
  text-align: center;
  width: 100%;
}

.section h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #333;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.section h2.revealed {
  opacity: 1;
  transform: translateY(0);
  margin-bottom: 1.5rem;
}

/* Fade in effect for section content */
.section > p,
.section .tools-showcase,
.section .stats-list,
.section .pricing-grid-home,
.section .benefits-container,
.section .use-cases-list,
.section .faq-list,
.section .testimonials-container {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.section.revealed > p,
.section.revealed .tools-showcase,
.section.revealed .stats-list,
.section.revealed .pricing-grid-home,
.section.revealed .benefits-container,
.section.revealed .use-cases-list,
.section.revealed .faq-list,
.section.revealed .testimonials-container {
  opacity: 1;
  transform: translateY(0);
}

.section p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 500;
  color: #333;
  max-width: 800px;
  margin: 0 auto 1rem;
  line-height: 1.6;
}

/* ===== TOOLS SHOWCASE ===== */
.tools-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 800px;
  margin: 2rem auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.tool-square {
  position: relative;
  aspect-ratio: 1;
  background: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tool-square:hover,
.tool-square.active {
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.tool-square .icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: #fff;
  opacity: 1;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tool-square:hover .icon,
.tool-square.active .icon {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
}

.tool-square .content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.tool-square:hover .content,
.tool-square.active .content {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.tool-square .content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.5rem;
  text-align: center;
}

.tool-square .content p {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 1rem;
  text-align: center;
  line-height: 1.4;
}

.tool-link {
  display: inline-block;
  background: #FF6B35;
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

/* Higher specificity for tool link hover */
.tool-link.tool-link:hover {
  background: #FF8551;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

/* ===== STATS SECTION ===== */
.stats-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
  width: 100%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.stat-item {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-item h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.5rem;
}

.stat-item .stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-size: 1rem;
  color: #333;
}

/* ===== COMPARISON TABLE ===== */
.comparison-table {
  max-width: 800px;
  margin: 2rem auto;
  background: #333;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.comparison-header {
  background: #333;
  color: #fff;
  padding: 1.5rem;
  text-align: center;
}

.comparison-header h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: #fff;
}

.comparison-header p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin: 0;
  color: #fff;
}

.comparison-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: #fff;
}

.comparison-column {
  padding: 1.5rem;
}

.comparison-column:first-child {
  border-right: 2px solid #f0f0f0;
}

.comparison-title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid #f0f0f0;
}

.comparison-title i {
  font-size: 1.3rem;
  color: #666;
}

.comparison-title h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.comparison-features {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.9rem;
  padding: 0.4rem 0;
}

.feature-item i {
  font-size: 0.85rem;
  width: 16px;
  text-align: center;
}

.feature-item i.fa-check {
  color: #28a745;
}

.feature-item i.fa-times {
  color: #dc3545;
}

.feature-item span {
  color: #333;
  font-weight: 500;
}

.feature-item.disabled span {
  color: #999;
  text-decoration: line-through;
}

.feature-item.premium {
  background: #333;
  border: 2px solid #333;
  border-radius: 10px;
  padding: 0.6rem 0.8rem;
  margin: 0.2rem 0;
  position: relative;
}

.feature-item.premium::before {
  content: "REGISTERED";
  position: absolute;
  top: -8px;
  right: 8px;
  background: #333;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.feature-item.premium i {
  color: #fff;
}

.feature-item.premium span {
  color: #fff;
  font-weight: 600;
}

.comparison-cta {
  background: #333;
  padding: 1.5rem;
  text-align: center;
  border-top: 2px solid #555;
}

.comparison-cta .cta-button {
  background: #fff;
  color: #333;
}

.comparison-cta .cta-button:hover {
  background: #f0f0f0;
}

/* ===== PRICING TABLE HOME ===== */
.pricing-grid-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 2rem;
}

.pricing-card-home {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.pricing-card-home:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.pricing-card-home.highlight {
  border-color: #FF6B35;
  background: #FFF4F0;
}

.pricing-card-home.highlight .badge {
  background: #FF6B35;
}

.pricing-card-home.pro {
  border-color: #FF6B35;
  background: #FFF4F0;
}

.badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #28a745;
  color: white;
  padding: 3px 10px;
  border-radius: 5px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.pricing-card-home.pro .badge {
  background: #FF6B35;
}

.pricing-card-header h3 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
  color: #333;
  font-weight: 600;
}

.pricing-card-header p {
  color: #666;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.pricing-card-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 1rem;
  flex-grow: 0;
}

.currency {
  font-size: 1rem;
  color: #666;
}

.amount {
  font-size: 2.25rem;
  font-weight: 700;
  color: #333;
  margin: 0 2px;
}

.period {
  font-size: 0.9rem;
  color: #666;
}

.pricing-card-features {
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.pricing-card-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.pricing-card-features li {
  display: flex;
  align-items: center;
  padding: 0.4rem 0;
  font-size: 0.85rem;
  color: #333;
}

.pricing-card-features li i {
  color: #28a745;
  margin-right: 0.6rem;
  font-size: 0.9rem;
}

.pricing-btn {
  display: block;
  width: 100%;
  padding: 0.65rem 1.2rem;
  background: #333;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  margin-top: auto;
}

.pricing-btn:hover {
  background: #FF6B35;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.pricing-btn.highlight-btn {
  background: #FF6B35;
  color: white;
}

.pricing-btn.highlight-btn:hover {
  background: #FF8551;
  color: white;
}

.pricing-footer {
  text-align: center;
  color: #666;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

/* Tablet Responsive */
@media (max-width: 968px) and (min-width: 600px) {
  .pricing-grid-home {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    padding: 0 1.5rem;
  }
}
/* Mobile Responsive */
@media (max-width: 599px) {
  .pricing-grid-home {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 500px;
    padding: 0 1rem;
  }
  .pricing-card-home {
    padding: 1.25rem;
  }
  .amount {
    font-size: 1.75rem;
  }
}
/* ===== BENEFITS SECTION ===== */
.benefits-container {
  max-width: 800px;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
}

.benefit-card {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
}

.benefit-icon {
  font-size: 2rem;
  color: #333;
  margin-right: 1rem;
}

.benefit-content {
  text-align: center;
  flex: 1;
}

.benefit-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.5rem;
}

.benefit-content p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}

/* ===== USE CASES SECTION ===== */
.use-cases-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.use-case-item {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.use-case-item:hover {
  transform: translateY(-5px);
}

.use-case-item h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.5rem;
}

.use-case-item p {
  font-size: 1rem;
  color: #333;
}

/* ===== FAQ SECTION ===== */
.faq-list {
  max-width: 800px;
  margin: 2rem auto;
  text-align: center;
}

.faq-item {
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 500;
  color: #333;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #FF6B35;
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-question.open i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  font-size: 1rem;
  color: #333;
  padding: 0 1rem;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.open {
  max-height: 200px;
  padding: 1rem;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 2rem auto;
}

.testimonials-gallery {
  display: flex;
}

.testimonials-gallery.animate {
  animation: scrollTestimonials 60s linear infinite;
}

.testimonials-gallery:hover {
  animation-play-state: paused;
}

.testimonial-card {
  flex: 0 0 300px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  padding: 1.5rem;
  margin-right: 1.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.5rem;
}

.testimonial-text {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}

/* ===== CTA BUTTONS ===== */
.cta-button {
  display: inline-block;
  background: #FF6B35;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.cta-button:hover {
  background: #FF8551;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

/* ===== MODALS (Registration, etc.) ===== */
.welcome-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  display: none;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease-out;
}

.welcome-content {
  background: #fff;
  width: 90%;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  animation: slideInUp 0.4s ease-out;
  position: relative;
}

.welcome-header {
  background: #FF6B35;
  color: #fff;
  padding: 2rem 2rem 1rem;
  text-align: center;
}

.welcome-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.welcome-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.welcome-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.welcome-body {
  padding: 2rem;
  text-align: center;
}

.welcome-features {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.feature-highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 12px;
  min-width: 100px;
}

.feature-highlight i {
  font-size: 1.5rem;
  color: #FF6B35;
}

.feature-highlight span {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
}

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

.btn-continue {
  background: #f0f0f0;
  color: #666;
  border: none;
  border-radius: 5px;
  padding: 0.8rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-continue:hover {
  background: #e0e0e0;
}

.btn-register {
  background: #555;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  padding: 0.8rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(85, 85, 85, 0.3);
}

.btn-register:hover {
  background: #666;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(85, 85, 85, 0.4);
}

/* ===== MAINTENANCE MODAL ===== */
.maintenance-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 10000;
  display: none;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease-out;
}

.maintenance-content {
  background: #fff;
  width: 90%;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  animation: slideInUp 0.4s ease-out;
}

.maintenance-header {
  background: linear-gradient(135deg, #666, #888);
  color: #fff;
  padding: 2rem 2rem 1rem;
  text-align: center;
  position: relative;
}

.maintenance-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.maintenance-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.maintenance-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.maintenance-body {
  padding: 2rem;
  text-align: center;
}

.maintenance-body p {
  margin: 0;
  font-size: 1.1rem;
  color: #333;
  line-height: 1.6;
}

.maintenance-body p strong {
  color: #666;
  font-weight: 600;
}

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

.btn-understand {
  background: #FF6B35;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 0.8rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-understand:hover {
  background: #FF8551;
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes gentleBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes scrollTestimonials {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-1500px);
  }
}
/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .use-cases-list {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Tablet breakpoint for spec cards */
  .spec-cards-showcase {
    grid-template-columns: repeat(3, 1fr);
    max-width: 800px;
    gap: 6px;
  }
  .spec-card-square .spec-icon {
    font-size: 2.5rem;
  }
  .spec-card-square .spec-icon i,
  .spec-card-square .spec-icon .fa {
    font-size: 2.5rem;
  }
}
@media (max-width: 768px) {
  .hero-section {
    min-height: 90vh;
    padding: 4rem 0 2rem 0;
  }
  .hero-cta-button-new {
    width: 140px;
    height: 50px;
    font-size: 1rem;
  }
  .hero-description {
    margin-top: 0;
    margin-bottom: 2rem;
    padding: 0 15px;
  }
  .hero-description-text {
    font-size: clamp(0.9rem, 2vw, 1rem);
  }
  .hero-button-container {
    margin-bottom: 2.5rem;
  }
  .spec-cards-showcase {
    display: none; /* Hide icons container on mobile */
  }
  .spec-card-square .spec-icon {
    font-size: 2rem;
  }
  .spec-card-square .spec-icon i,
  .spec-card-square .spec-icon .fa {
    font-size: 2rem;
  }
  .spec-card-square .spec-content h3 {
    font-size: 0.95rem;
  }
  .spec-card-square .spec-content p {
    font-size: 0.75rem;
  }
  .extra-sections {
    padding: 2rem 8px;
  }
  .section {
    padding: 0 8px;
  }
  .tools-showcase {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    border-radius: 12px;
  }
  .stats-list {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0 8px;
  }
  .use-cases-list {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0 8px;
  }
  .benefits-container {
    padding: 0 8px;
  }
  .benefit-card {
    padding: 12px;
    margin-bottom: 8px;
  }
  .faq-list {
    padding: 0 8px;
  }
  .comparison-table {
    margin: 1rem 8px;
  }
  .comparison-content {
    grid-template-columns: 1fr;
  }
  .comparison-column {
    padding: 12px;
  }
  .comparison-column:first-child {
    border-right: none;
    border-bottom: 1px solid #eee;
  }
  .testimonials-gallery {
    flex-direction: column;
    animation: none;
  }
  .testimonial-card {
    margin-bottom: 1rem;
    margin-right: 0;
  }
}
@media (max-width: 480px) {
  .hero-section {
    min-height: 85vh;
    padding: 3rem 0 1.5rem 0;
  }
  .hero-cta-button-new {
    width: 130px;
    height: 48px;
    font-size: 0.95rem;
  }
  .hero-description {
    margin-top: 0;
    margin-bottom: 1.5rem;
    padding: 0 10px;
  }
  .hero-description-text {
    font-size: clamp(0.85rem, 1.8vw, 0.95rem);
    margin: 0;
  }
  .hero-button-container {
    margin-bottom: 1rem;
  }
  .spec-cards-showcase {
    display: none; /* Hide icons container on mobile */
  }
  .spec-card-square .spec-icon {
    font-size: 1.8rem;
  }
  .spec-card-square .spec-icon i,
  .spec-card-square .spec-icon .fa {
    font-size: 1.8rem;
  }
  .spec-card-square .spec-content {
    padding: 0.8rem;
  }
  .spec-card-square .spec-content h3 {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
  }
  .spec-card-square .spec-content p {
    font-size: 0.7rem;
    margin-bottom: 0.8rem;
  }
  .extra-sections {
    padding: 1.5rem 6px;
  }
  .section {
    padding: 0 6px;
  }
}
/* ===== QUESTIONS DISPLAY ===== */
.questions-display {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateY(-200px);
  z-index: 15;
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  pointer-events: none; /* Disable pointer events by default */
}

.questions-display.fade-in {
  opacity: 1;
  transform: translate(-50%, -50%) translateY(-200px);
  pointer-events: auto; /* Enable pointer events when visible */
}

/* Ensure mode toggle is always clickable - using higher specificity */
body .questions-display .typing-mode-toggle,
body .questions-display .typing-mode-toggle * {
  pointer-events: auto;
}

.questions-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  width: 100%;
}

.questions-header .current-question {
  text-align: center;
  order: 2; /* Title comes after toggle */
}

.questions-header .typing-mode-toggle {
  order: 1; /* Toggle comes first */
}

.typing-mode-toggle {
  flex-shrink: 0;
}

.typing-mode-toggle .mode-label {
  color: #FF6B35; /* Orange color for both sides */
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease, background 0.3s ease;
  user-select: none;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
}

.typing-mode-toggle .mode-label:hover {
  color: #FF8551; /* Lighter orange on hover */
  background: rgba(255, 107, 53, 0.1);
}

.typing-mode-toggle .mode-label.active {
  color: #FF6B35; /* Keep orange for active */
  font-weight: 600;
}

.current-question {
  font-family: "Montserrat", sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
  line-height: 1.4;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  transform: translateY(0) scale(1);
  position: relative;
}

.current-question.fade-out {
  opacity: 0;
  filter: blur(2px);
}

.current-question.fade-in {
  opacity: 1;
  filter: blur(0);
}

.current-question.slide-in {
  animation: slideInFromBottom 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.question-detail {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #cccccc;
  text-align: center;
  line-height: 1.5;
  margin-top: 12px;
  opacity: 0.9;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.question-detail.fade-out {
  opacity: 0;
  filter: blur(2px);
}

.question-detail.fade-in {
  opacity: 0.9;
  filter: blur(0);
}

.question-detail.slide-in {
  animation: slideInFromBottom 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInFromBottom {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}
/* ===== LOADING OVERLAY ===== */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none; /* Hidden by default */
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.loading-overlay:not(.hidden) {
  display: flex; /* Show only when not hidden */
}

.loading-content {
  text-align: center;
  color: white;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 107, 53, 0.3);
  border-top: 4px solid #FF6B35;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

.loading-text {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 8px;
}

.loading-subtext {
  font-size: 14px;
  opacity: 0.8;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* ===== ADDITIONAL RESPONSIVE IMPROVEMENTS ===== */
@media (max-width: 1024px) {
  .tools-showcase {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .hero-section {
    padding-top: 0;
    padding-bottom: 0;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }
  .hero-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0 15px;
  }
  .hero-main-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin-bottom: 2rem;
    line-height: 1.15;
  }
  .hero-subtitle {
    font-size: clamp(1.2rem, 4vw, 2rem);
    margin-top: 1rem;
    margin-bottom: 0;
    order: 1;
  }
  .hero-button-container {
    order: 0;
    margin: 2rem 0 0 0;
  }
  /* Using higher specificity in media query instead of !important */
  body .modern-input-container {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 100%;
    padding: 20px 15px;
    margin: 20px 0;
  }
  body .questions-display {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 100px 15px 30px 15px; /* More space for header and better spacing */
  }
  .questions-header {
    margin-bottom: 1.5rem;
    gap: 1.5rem;
  }
  .current-question {
    font-size: 28px;
    margin-bottom: 0.5rem;
  }
  .question-detail {
    font-size: 15px;
    margin-top: 16px;
    line-height: 1.6;
  }
  .modern-input-container {
    margin-top: 10px;
  }
  .input-instruction {
    margin-bottom: 6px;
    font-size: 13px;
  }
  .input-area {
    margin-bottom: 12px;
  }
}
@media (max-width: 480px) {
  .hero-section {
    padding-top: 90px;
    padding-bottom: 1.5rem;
    min-height: auto;
  }
  .hero-content {
    padding: 0 10px;
  }
  .hero-main-title {
    font-size: clamp(2rem, 7vw, 3.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.15;
  }
  .hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    margin-bottom: 1rem;
  }
  .hero-button-container {
    margin-bottom: 1rem;
  }
  /* Using higher specificity in media query instead of !important */
  body .modern-input-container {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 100%;
    padding: 18px 12px;
    margin: 18px 0;
  }
  body .questions-display {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 100px 10px 25px 10px; /* More space for header and better spacing */
  }
  .questions-header {
    margin-bottom: 1.25rem;
    gap: 1.25rem;
  }
  .current-question {
    font-size: 24px;
    margin-bottom: 0.5rem;
  }
  .question-detail {
    font-size: 14px;
    margin-top: 14px;
    line-height: 1.6;
  }
  .input-instruction {
    margin-bottom: 4px;
    font-size: 12px;
  }
  .input-area {
    margin-bottom: 10px;
  }
  .input-controls {
    flex-direction: column;
    gap: 10px;
  }
  .left-controls {
    justify-content: center;
  }
  .send-btn,
  .demo-btn {
    width: 100%;
    justify-content: center;
  }
}
/* ===== ACCESS CODE MODAL ===== */
.access-code-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.access-code-content {
  background: #fff;
  border-radius: 16px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.access-code-header {
  background: linear-gradient(135deg, #333 0%, #555 100%);
  color: #fff;
  padding: 24px;
  text-align: center;
}

.access-code-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  font-family: "Inter", sans-serif;
}

.access-code-body {
  padding: 32px 24px;
}

.access-code-body p {
  margin: 0 0 24px 0;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: center;
  font-family: "Inter", sans-serif;
}

.access-code-input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 2px;
  font-family: "Inter", sans-serif;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.access-code-input:focus {
  outline: none;
  border-color: #FF6B35;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.access-code-error {
  margin-top: 12px;
  color: #dc2626;
  font-size: 0.9rem;
  text-align: center;
  font-family: "Inter", sans-serif;
  animation: shake 0.4s ease-in-out;
}

@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-10px);
  }
  75% {
    transform: translateX(10px);
  }
}
.access-code-actions {
  padding: 0 24px 24px 24px;
}

.access-code-btn {
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, #FF6B35 0%, #FF8551 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
}

.access-code-btn:hover {
  background: linear-gradient(135deg, #FF8551 0%, #FF6B35 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.access-code-btn:active {
  transform: translateY(0);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .access-code-content {
    margin: 20px;
    max-width: calc(100% - 40px);
  }
  .access-code-header {
    padding: 20px;
  }
  .access-code-header h3 {
    font-size: 1.3rem;
  }
  .access-code-body {
    padding: 24px 20px;
  }
  .access-code-input {
    font-size: 1rem;
    padding: 12px 16px;
  }
}

/*# sourceMappingURL=main-compiled.css.map */
