@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
  position: relative;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: "Montserrat", sans-serif;
  position: relative;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

body.page-default {
  background: #ffffff;
  overflow-x: hidden;
}

/* New Auth Page Layout */
.auth-page-layout {
  display: flex;
  height: 100vh;
  background: #f8f9fa;
  overflow: hidden;
}

.auth-left-panel {
  flex: 1;
  background: #23a6d5;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.auth-left-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  animation: backgroundMove 20s ease-in-out infinite;
}

@keyframes backgroundMove {
  0%, 100% {
    transform: translateX(0) translateY(0);
  }
  25% {
    transform: translateX(-20px) translateY(-10px);
  }
  50% {
    transform: translateX(20px) translateY(-20px);
  }
  75% {
    transform: translateX(-10px) translateY(10px);
  }
}

.auth-right-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: #ffffff;
  overflow-y: auto;
}

.auth-logo {
  position: absolute;
  top: 1rem;
  left: 25%;
  transform: translateX(-50%);
  z-index: 100;
}

.auth-logo a {
  font-size: 1.6rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  transition: color 0.3s ease;
}

.auth-logo a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* Steps Animation */
.steps-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 300px;
}

.step-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-slide.active {
  opacity: 1;
  transform: translateX(0);
}

.step-slide.prev {
  opacity: 0;
  transform: translateX(-100px);
}

.step-icon {
  display: none;
}

.step-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.8rem;
  font-family: "Montserrat", sans-serif;
}

.step-description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  max-width: 350px;
  font-family: "Montserrat", sans-serif;
  animation: textFade 3s ease-in-out infinite;
  margin-bottom: 3rem;
}

@keyframes textFade {
  0%, 100% {
    opacity: 0.9;
  }
  50% {
    opacity: 1;
  }
}

.step-indicators {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 10;
}

.step-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  animation: pulse 2s ease-in-out infinite;
}

.step-indicator.active {
  background: white;
  transform: scale(1.2);
  animation: activePulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
  }
}

@keyframes activePulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
}

/* Compact Login Form */
.compact-login-container {
  width: 100%;
  max-width: 350px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  font-family: "Montserrat", sans-serif;
}

.compact-login-header {
  text-align: center;
  margin-bottom: 1rem;
}

.compact-login-header h1 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.2rem;
}

.compact-login-header p {
  color: #666;
  font-size: 0.8rem;
}

.compact-form-group {
  margin-bottom: 0.8rem;
}

.compact-form-group label {
  display: block;
  margin-bottom: 0.2rem;
  color: #555;
  font-weight: 500;
  font-size: 0.75rem;
}

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

.compact-form-group input:focus {
  outline: none;
  border-color: #23a6d5;
  box-shadow: 0 0 0 3px rgba(35, 166, 213, 0.1);
}

.compact-btn {
  width: 100%;
  padding: 0.4rem;
  border: none;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 0.5rem;
}

.compact-btn-primary {
  background: #23a6d5;
  color: white;
}

.compact-btn-primary:hover {
  background: #1e90ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(35, 166, 213, 0.3);
}

.compact-btn-google {
  background: white;
  color: #333;
  border: 2px solid #e1e5e9;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.4rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}

.compact-btn-google:hover {
  background: #f8f9fa;
  border-color: #23a6d5;
}

.compact-divider {
  position: relative;
  text-align: center;
  margin: 0.5rem 0;
}

.compact-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #e1e5e9;
}

.compact-divider span {
  background: white;
  padding: 0 0.6rem;
  color: #666;
  font-size: 0.75rem;
  position: relative;
  z-index: 1;
}

.compact-auth-links {
  text-align: center;
  margin-top: 0.8rem;
}

.compact-auth-links p {
  color: #666;
  font-size: 0.75rem;
  margin-bottom: 0.2rem;
}

.compact-auth-links a {
  color: #23a6d5;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.compact-auth-links a:hover {
  color: #1e90ff;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .auth-page-layout {
    flex-direction: column;
    height: 100vh;
  }
  
  .auth-left-panel {
    display: none; /* הסרת החלק הכחול במוביל */
  }
  
  .auth-right-panel {
    height: 100vh; /* תפיסת כל המסך במוביל */
    padding: 0.5rem;
  }
  
  .steps-container {
    height: 200px;
  }
  
  .step-title {
    font-size: 1.3rem;
  }
  
  .step-description {
    font-size: 0.8rem;
  }
  
  .step-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .compact-login-container {
    padding: 1rem;
    max-width: 300px;
  }
  
  .compact-login-header h1 {
    font-size: 1.2rem;
  }
  
  .auth-logo {
    top: 0.8rem;
    left: 50%; /* מרכוז הלוגו במוביל */
    transform: translateX(-50%);
  }
  
  .auth-logo a {
    font-size: 1.3rem;
    color: #333; /* שינוי צבע הלוגו לכהה במוביל */
  }
}

@media (max-width: 480px) {
  .auth-page-layout {
    height: 100vh;
  }
  
  .auth-left-panel {
    height: 35vh;
  }
  
  .auth-right-panel {
    height: 65vh;
    padding: 0.3rem;
  }
  
  .steps-container {
    height: 150px;
  }
  
  .step-title {
    font-size: 1.1rem;
  }
  
  .step-description {
    font-size: 0.7rem;
  }
  
  .step-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .compact-login-container {
    padding: 0.8rem;
    max-width: 280px;
  }
  
  .compact-login-header h1 {
    font-size: 1rem;
  }
  
  .auth-logo {
    top: 0.6rem;
    left: 25%;
  }
  
  .auth-logo a {
    font-size: 1.1rem;
  }
}


.thematic-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 20px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #f5f5f5;
  border-bottom: 1px solid #ddd;
  z-index: 100;
  min-height: 80px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.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;
}

.logo a {
  font-size: 1.8rem;
  font-weight: 700;
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.logo a:hover {
  color: #0078d4;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: flex-end;
}

.auth-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 10000;
}

.auth-btn {
  padding: 0.7rem 1.2rem;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  transition: all 0.3s ease;
  cursor: pointer;
  background: transparent;
  color: #666;
}

.auth-btn:hover {
  color: #0078d4;
  transform: translateY(-2px);
}

.auth-btn.primary {
  background: #0078d4;
  color: white;
}

.auth-btn.primary:hover {
  background: #005ea2;
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background: #333;
  border: none;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.menu-toggle:hover {
  background: #0078d4;
}

.styled-button {
  padding: 10px 20px;
  background-color: #23a6d5;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 15px;
}

.styled-button:hover:not(:disabled) {
  background-color: #1e90ff;
  transform: translateX(5px);
}

.styled-button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.idea-input-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 20px;
  position: relative;
  max-width: 1120px;
  width: 100%;
}

.input-label {
  color: #fff;
  font-size: 1.5em;
  font-weight: 700;
  margin-bottom: 0;
  text-align: center;
  text-transform: uppercase;
}

#ideaInput {
  width: 100%;
  max-width: 1120px !important;
  min-height: 105px;
  margin: 5px auto;
  border: 2px solid #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  font-size: clamp(1.4rem, 2vw, 1.6rem);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-family: "Montserrat", sans-serif;
  background-color: rgba(255, 255, 255, 0.9);
  color: #333;
  resize: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  position: relative;
}

#ideaInput:focus {
  transform: scale(1.02);
  box-shadow: 0 0 20px rgba(35, 166, 213, 0.5);
}

#ideaInput::placeholder {
  color: #aaa;
}

#errorMessage {
  display: none;
  background-color: rgb(244 240 240 / 90%);
  color: #333;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 0.8em;
  font-family: "Montserrat", sans-serif;
  bottom: 30%;
}

.error-absolute {
  position: absolute;
  bottom: 30%;
}

.mode-buttons-container.visible {
  opacity: 1;
}

.mode-button {
  background-color: #cccccc;
  color: #fff;
  border: none;
  padding: 0.8vw 1.6vw;
  cursor: pointer;
  font-size: 1.4rem;
  border-radius: 0.5vw;
  transition: background-color 0.3s ease;
}

.mode-button.active {
  background-color: #23a6d5;
  color: #fff;
  border: 2px solid #23a6d5;
}

.mode-button:hover:not(.active) {
  transform: scale(1.05);
}

.mode-button i {
  margin-right: 5px;
  color: #666;
}

.mode-button.active i {
  color: #fff;
}

.mode-button[data-mode="novice"] i::before {
  content: "\f044";
}

.mode-button[data-mode="developers"] i::before {
  content: "\f120";
}

.mode-button[data-mode="market"] i::before {





.send-button {
  position: absolute;
  bottom: 40px !important;
  right: 0;
  margin-left: 10px;
  padding: 8px 12px;
  background-color: #ccc;
  border: 1px solid #666;
  border-radius: 15px;
  cursor: pointer;
  color: #666;
  font-size: 1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.send-button.active {
  background-color: #23a6d5;
  color: #fff;
  border: 2px solid #23a6d5;
}

.send-button:hover:not(:disabled) {
  transform: scale(1.05);
  background-color: #1e90ff;
  color: #fff;
}

.send-button:disabled {
  background-color: #ccc;
  border-color: #ccc;
  color: #ccc;
  cursor: not-allowed;
}

.stats-section {
  text-align: center;
  margin-top: 30px;
  width: 100%;
}

.stats-title {
  color: #fff;
  font-size: 1.8em;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.stats-container {
  display: flex;
  width: 100%;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.stat-box {
  background-color: rgba(255, 255, 255, 0.9);
  border: 2px solid #fff;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  width: 200px;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stat-box:hover {
  transform: scale(1.05);
}

.stat-box h3 {
  color: #666;
  font-size: 1.2em;
  margin: 0 0 10px 0;
  text-transform: uppercase;
}

.stat-box .stat-number {
  color: #23a6d5;
  font-size: 2.5em;
  font-weight: 700;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

footer {
  opacity: 0;
  animation: fadeIn 1s ease forwards 1s;
}

.instructions {
  text-align: center;
  margin-top: 70px;
  margin-bottom: 10px;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 20px;
  border-radius: 15px;
  width: 95%;
  max-width: 900px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.instructions p {
  margin: 5px 0;
  color: #333;
  font-size: 1.1em;
}

.carousel-container {
  position: relative;
  max-width: 900px;
  width: 80%;
  margin: 80px auto 20px auto;
  padding: 20px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

.progress-container {
  width: 100%;
  text-align: center;
  padding-top: 15px;
}

.progress-bar {
  width: 100%;
  height: 10px;
  background-color: #ddd;
  border-radius: 10px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background-color: #23a6d5;
  width: 0%;
  transition: width 0.3s ease;
}

.carousel-button {
  background-color: #23a6d5;
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 18px;
  border-radius: 5px;
}

.carousel-button:hover:not(:disabled) {
  background-color: #1e90ff;
}

#prevButton {
  left: 0;
}

#nextButton {
  margin-left: auto;
}

.carousel-button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.carousel-button:hover:not(:disabled) {
  background-color: #1e90ff;
  transform: translateX(5px) translateY(5px);
}

.carousel-content {
  width: 100%;
  text-align: center;
}

.step-container {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.step-container h3 {
  margin: 0 0 10px 0;
  color: #fff;
  font-size: 1.5em;
}

.step-textarea {
  width: 100%;
  height: 200px;
  border: 1px solid #444;
  border-radius: 4px;
  padding: 10px;
  background-color: #f9f9f9;
  color: #333;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  resize: none;
  display: block;
}

.step-textarea:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.step-textarea::placeholder {
  color: #aaa;
}

.char-count {
  margin-top: 5px;
  font-size: 12px;
  color: #aaa;
  display: block;
}

.char-count.red {
  color: red;
}

.char-count.orange {
  color: orange;
}

.char-count.green {
  color: green;
}

.question-label {
  font-size: 0.9em;
  font-weight: 500;
  color: #666;
  margin: 5px;
  text-align: center;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
  margin: 10px 0;
}

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

.toggle-label {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 24px;
  transition: background-color 0.3s ease;
}

.toggle-label:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.toggle-switch input:checked + .toggle-label {
  background-color: #23a6d5;
}

.toggle-switch input:checked + .toggle-label:before {
  transform: translateX(26px);
}

.submit-button-container {
  text-align: center;
  margin-top: 10px;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 15px;
  border-radius: 15px;
  width: 95%;
  max-width: 900px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.generate-spec-button {
  padding: 10px 20px;
  background-color: #23a6d5;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.generate-spec-button.disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.generate-spec-button.loading {
  background-color: #ccc;
  cursor: wait;
}

.generate-spec-button:hover:not(:disabled) {
  background-color: #1e90ff;
  transform: translateX(5px);
}

.download-spec-button {
  padding: 10px 20px;
  background-color: #28a745;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  transition: transform 0.3s ease;
}

.download-spec-button:hover {
  transform: translateX(5px);
}

.login-container {
  max-width: 400px;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.login-container input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #666;
  border-radius: 6px;
  font-size: 16px;
  background-color: #fff;
  color: #333;
}

.login-container button {
  width: 100%;
  padding: 12px;
  background: #23a6d5;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s ease;
}

.login-container button:hover {
  background: #1e90ff;
  transform: translateX(5px);
}

.login-container button[style*="background: transparent"] {
  background: transparent !important;
  color: #23a6d5;
  border: 1px solid #23a6d5;
}

.footer-bar {
  height: 5px;
  background: #666666;
  border-radius: 0 0 6px 6px;
  margin-top: 30px;
}

.result-container {
  text-align: left;
  margin-top: 70px;
  margin-bottom: 10px;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 20px;
  border-radius: 15px;
  width: 95%;
  max-width: 900px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  white-space: pre-wrap;
}

.result-container h2 {
  color: #fff;
  font-size: 1.8em;
  margin-bottom: 15px;
}

.result-container h1 {
  color: #fff;
  font-size: 1.6em;
  margin-top: 20px;
  margin-bottom: 10px;
}

.result-container h3 {
  color: #23a6d5;
  font-size: 1.4em;
  margin-top: 15px;
  margin-bottom: 8px;
}

.result-container h4 {
  color: #666;
  font-size: 1.2em;
  margin-top: 10px;
  margin-bottom: 5px;
}

.result-container p {
  color: #666;
  font-size: 1em;
  line-height: 1.6;
  margin: 5px 0;
}

.result-container ul {
  margin: 10px 0;
  padding-left: 20px;
}

.result-container li {
  color: #666;
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 5px;
}

.result-container strong {
  color: #23a6d5;
  font-weight: 700;
}

.star-rating {
  display: inline-flex;
  justify-content: center;
  margin-bottom: 10px;
}

.star {
  display: inline-block;
  font-size: 24px;
  color: #ccc;
  cursor: pointer;
  margin: 0 5px;
}

.discipline-indicators {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 10px 0;
}

.indicator-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.indicator-circle {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.indicator-circle.completed {
  background-color: #28a745;
}

.indicator-circle.incomplete {
  background-color: #dc3545;
}

.indicator-item span:not(.indicator-circle) {
  font-size: 0.9em;
  color: #666;
}


.result-container table {
  border-collapse: collapse;
  width: 100%;
  margin: 10px 0;
  background-color: rgba(255, 255, 255, 0.9);
}

.result-container table,
.result-container th,
.result-container td {
  border: 1px solid #666;
}

.result-container th,
.result-container td {
  padding: 10px;
  text-align: left;
}

.result-container th {
  background-color: #fff;
  color: #23a6d5;
}

.result-container pre {
  background-color: #fff;
  padding: 10px;
  border-radius: 5px;
  overflow-x: auto;
}

.result-container code {
  font-family: "Courier New", Courier, monospace;
  color: #23a6d5;
}

.result-container ol,
.result-container ul {
  margin: 10px 0;
  padding-left: 20px;
}

.result-container button {
  padding: 10px 20px;
  background-color: #23a6d5;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin: 10px 5px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.result-container button:hover {
  background-color: #1e90ff;
  transform: translateX(5px);
}


body.developers .section-title {
  background-color: #23a6d5;
}

body.novice .section-title {
  background-color: #28a745;
}

body.market .section-title {
  background-color: #e67e22;
}

@media (prefers-reduced-motion: reduce) {
  body.page-default {
    animation: none;
  }
  #ideaInput,
  .mode-button,
  .stat-box,
  .send-button {
    transition: none;
  }
  .header-text,
  footer {
    animation: none;
    opacity: 1;
  }
}

.header-text {
  text-align: center;
  width: 90%;
  z-index: 5;
  animation: fadeIn 1s ease-in;
}

.header-text h1 {
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.header-text p {
  color: #fff;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  line-height: 1.4;
  margin: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 768px) {
  .header-text {
    width: 95%;
    padding: 0 1rem;
  }

  .header-text h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 0.8rem;
  }

  .header-text p {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  }
  .stat-box .stat-number {
    font-size: 1.5em;
  }
  .stat-box h3 {
    font-size: 1em;
  }
  #errorMessage {
    font-size: 0.75em;
    bottom: 32%;
  }
}

@media screen and (max-width: 480px) {
  .header-text {
    top: 10vh;
  }

  .header-text h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  }

  .header-text p {
    font-size: clamp(1rem, 2vw, 1.2rem);
  }
  #nextButton {
    right: -48px;
  }
  #prevButton {
    left: -31px;
  }
}

@media screen and (max-width: 768px) and (orientation: landscape) {
  .header-text h1 {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
  }

  .header-text p {
    font-size: clamp(1rem, 2vw, 1.2rem);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.input-container {
  position: relative;
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 5;
  margin-bottom: clamp(3rem, 5vh, 5rem);
}

#ideaInput {
  width: 100%;
  min-height: clamp(120px, 20vh, 200px);
  padding: clamp(1rem, 2vw, 1.5rem);
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: clamp(10px, 2vw, 15px);
  background-color: rgba(255, 255, 255, 0.95);
  color: #333;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-family: "Montserrat", sans-serif;
  resize: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#ideaInput:focus {
  outline: none;
  border-color: #23a6d5;
  box-shadow: 0 0 15px rgba(35, 166, 213, 0.3);
  transform: translateY(-2px);
}

#ideaInput::placeholder {
  color: #999;
  font-size: clamp(0.9rem, 1.3vw, 1.1rem);
}

.mode-buttons-container {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: clamp(0.5rem, 1vw, 1rem);
  margin-bottom: 1rem;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.mode-buttons-container.visible {
  opacity: 1;
}

.mode-button {
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 0.8rem;
  background-color: rgba(255, 255, 255, 0.9);
  color: #333;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.mode-button:hover {
  background-color: #23a6d5;
  color: white;
  transform: translateY(-2px);
}

.mode-button.active {
  background-color: #23a6d5;
  color: white;
  border-color: #23a6d5;
}

.go-button {
  padding: clamp(0.5rem, 1vw, 0.8rem) clamp(1.5rem, 3vw, 2.5rem);
  background-color: #23a6d5;
  color: white;
  border: none;
  border-radius: clamp(8px, 1.5vw, 12px);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.go-button:hover {
  background-color: #1e90ff;
  transform: translateY(-2px);
}

@media screen and (max-width: 768px) {
  .input-container {
    width: 95%;
    padding: 1rem;
  }
  .mode-button {
    flex: 1;
  }

  .go-button {
    width: 100%;
    margin-top: 0.8rem;
  }
}

@media screen and (max-width: 480px) {
  .input-container {
    width: 100%;
    padding: 0.8rem;
  }
  .mode-button {
    width: 100%;
    margin: 0.3rem 0;
  }

  #ideaInput {
    min-height: 100px;
  }
}

@media screen and (max-width: 768px) and (orientation: landscape) {
  .input-container {
    padding: 1rem;
  }

  #ideaInput {
    min-height: 80px;
  }
}

@media (prefers-color-scheme: dark) {
  #ideaInput {
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
  }

  .mode-button {
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
  }

  .mode-button:hover,
  .mode-button.active {
    background-color: #23a6d5;
    color: white;
  }
}

@media (prefers-contrast: high) {
  #ideaInput {
    border: 2px solid #000;
  }

  .mode-button {
    border: 2px solid #000;
  }
}

@media (prefers-reduced-motion: reduce) {
  #ideaInput,
  .mode-button,
  .go-button {
    transition: none;
  }
}

.main-content-wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 6rem;
  box-sizing: border-box;
}

.header-text {
  width: 100%;
  max-width: 800px;
  text-align: center;
  margin-bottom: 4rem;
  padding: 0 1rem;
}

.header-text h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.header-text p {
  color: #fff;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  line-height: 1.4;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.input-container {
  width: 100%;
  max-width: 800px;
  position: relative;
  padding: 0 1rem;
}

#ideaInput:focus {
  outline: none;
  border-color: #23a6d5;
  box-shadow: 0 0 15px rgba(35, 166, 213, 0.3);
}

#ideaInput::placeholder {
  color: #999;
  font-size: clamp(1.2rem, 1.8vw, 1.4rem);
}

.mode-buttons-container {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  transition: opacity 0.5s ease;
  padding: 0 1rem;
}

.mode-buttons-container.visible {
  opacity: 1;
}

.mode-button:hover {
  background-color: #23a6d5;
  color: white;
}

.mode-button.active {
  background-color: #23a6d5;
  color: white;
  border-color: #23a6d5;
}

.go-button {
  padding: clamp(0.8rem, 2vw, 1rem) clamp(2rem, 4vw, 3rem);
  background-color: #23a6d5;
  color: white;
  border: none;
  border-radius: 0.8rem;
  font-size: clamp(1.4rem, 2vw, 1.6rem);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 4.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.go-button:hover {
  background-color: #1e90ff;
}

@media screen and (max-width: 768px) {
  .main-content-wrapper {
    padding: 6rem 1.5rem 4rem;
  }

  .header-text {
    margin-bottom: 3rem;
  }

  .mode-button {
    flex: 1;
  }

  .go-button {
    width: 100%;
    margin-top: 0.8rem;
  }
}

@media screen and (max-width: 480px) {
  .main-content-wrapper {
    padding: 5rem 1rem 3rem;
  }

  .header-text {
    margin-bottom: 2.5rem;
  }

  .mode-button {
    width: 100%;
    margin: 0.3rem 0;
  }
}

@media screen and (max-width: 768px) and (orientation: landscape) {
  .main-content-wrapper {
    padding: 5rem 1.5rem 3rem;
  }

  .mode-button {
    flex: 1 1 calc(33.333% - 0.8rem);
  }
}

.button-wrapper-right {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.content-box {
  margin-top: 6rem;
  margin-left: 1rem;
  margin-bottom: 1rem;
}

.platform-container {
  text-align: center;
  margin: 20px auto;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 15px;
  border-radius: 15px;
  width: 95%;
  max-width: 900px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.platform-container h3 {
  color: #333;
  font-size: 1.2em;
  margin-bottom: 5px;
}

.platform-instructions {
  color: #666;
  font-size: 0.9em;
  margin-bottom: 10px;
}

.platform-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 10px;
  justify-items: center;
}

.platform-box {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  margin: 5px;
  background-color: #fff;
  color: #333;
  text-decoration: none;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.platform-box:hover {
  background-color: #0078d4;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.platform-box[data-tooltip] {
  position: relative;
}

.platform-box[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.888);
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.8em;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 10;
}

.platform-box:hover[data-tooltip]::after {
  opacity: 1;
  visibility: visible;
}

.platform-details {
  color: #666;
  font-size: 0.9em;
  margin-top: 10px;
  line-height: 1.4;
}

@keyframes fadeInBox {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


