/* Index Page Specific Styles - Specifys.ai */

/* ===== LOGO STYLES ===== */
.logo a,
.logo-text {
    color: #333 !important;
    font-size: 1.2rem !important;
}

.logo-dot {
    color: #FF6B35 !important;
}

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

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

/* Mobile logo adjustments */
@media (max-width: 768px) {
    .logo a,
    .logo-text {
        font-size: 1.1rem !important;
    }
}

@media (max-width: 480px) {
    .logo a,
    .logo-text {
        font-size: 1rem !important;
    }
}

/* ===== 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: 50px;
  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: 30px;
  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: .5s;
}

.hero-cta-button-new:active {
  transform: scale(0.97);
  transition-duration: .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) !important;
  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 !important;
  opacity: 0 !important;
  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-card-square .spec-icon.fade-in {
  opacity: 1 !important;
  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;
}

.spec-card-square .spec-icon i,
.spec-card-square .spec-icon .fa {
  color: #cccccc !important;
  font-size: 3rem;
  opacity: 1 !important;
}

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

.spec-card-square:hover .spec-icon i,
.spec-card-square:hover .spec-icon .fa,
.spec-card-square.active .spec-icon i,
.spec-card-square.active .spec-icon .fa {
  opacity: 0 !important;
  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 */
@media (max-width: 768px) {
  .questions-display {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 0 auto !important;
    padding: 100px 15px 30px 15px !important; /* More space for header and better spacing */
    order: 1;
    opacity: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .questions-display.fade-in {
    opacity: 1;
    transform: none;
  }
  
  .modern-input-container {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 0 auto !important;
    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;
}

.bottom-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #FF6B35;
  transition: width 0.3s ease;
}

.bottom-link:hover::after {
  width: 100%;
}

.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: 100px;
  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 !important;
  cursor: not-allowed !important;
  opacity: 0.6;
}

.send-btn:disabled:hover {
  background: #cccccc !important;
  transform: none !important;
}

.send-btn:disabled svg {
  transform: none !important;
}

.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 !important;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.tool-link:hover {
  background: #FF8551;
  color: #fff !important;
  text-decoration: none !important;
  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: 20px;
  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: 30px;
  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: 25px;
  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: 25px;
  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: 25px;
  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 {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    border-radius: 12px;
    margin: 2rem auto 0 auto;
    width: 95%;
    max-width: 500px;
  }
  
  .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 {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    border-radius: 10px;
    margin: 1.5rem auto 0 auto;
    width: 98%;
    max-width: 400px;
  }
  
  .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 */
.questions-display .typing-mode-toggle,
.questions-display .typing-mode-toggle * {
  pointer-events: auto !important;
}

.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: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.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;
  }
  
  .modern-input-container {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 20px 15px !important;
    margin: 20px 0 !important;
  }
  
  .questions-display {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 100px 15px 30px 15px !important; /* 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;
  }
  
  .modern-input-container {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 18px 12px !important;
    margin: 18px 0 !important;
  }
  
  .questions-display {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 100px 10px 25px 10px !important; /* 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;
  }
}
