:root {
  --primary-bg-color: #f4f7f6;
  --primary-text-color: #333333;
  --secondary-text-color: #555555;
  --accent-color-1: #4285F4;
  --accent-color-1-hover-bg: #f1f3f4;
  --accent-color-1-hover-text: #333333;
  --login-button-bg: #ffffff;
  --login-button-border: #dadce0;
  --login-button-text-color: #3c4043;
  --login-button-hover-bg: #f8f9fa;
  --login-button-active-bg: #f1f3f4;
  --accent-color-2-start: #28a745;
  --accent-color-2-end: #2ebf50;
  --accent-color-2-hover-start: #218838;
  --accent-color-2-hover-end: #26a443;
  --accent-color-2-shadow: rgba(40, 167, 69, 0.3);
  --accent-color-2-hover-shadow: rgba(40, 167, 69, 0.5);
  --textarea-bg-color: #ffffff;
  --textarea-text-color: #333333;
  --textarea-placeholder-color: #999999;
  --textarea-border-color: #ced4da;
  --textarea-focus-border-color: #80bdff;
  --textarea-focus-shadow-color: rgba(0, 123, 255, 0.25);
  --scrollbar-thumb-color: #6c757d;
  --scrollbar-track-color: #e9ecef;
  --icon-color: #6c757d;
  --icon-hover-color: #495057;
  --footer-text-color: #6c757d;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --particles-bg: #f4f7f6;
}
.dark-theme {
  --primary-bg-color: #0f0f17;
  --primary-text-color: #e8eaed;
  --secondary-text-color: #c3c4c7;
  --accent-color-1: #4285f4;
  --accent-color-1-hover-bg: rgba(66, 133, 244, 0.1);
  --accent-color-1-hover-text: #5294ff;
  --login-button-bg: #1a1a24;
  --login-button-border: rgba(255, 255, 255, 0.08);
  --login-button-text-color: #e8eaed;
  --login-button-hover-bg: #222230;
  --login-button-active-bg: #2a2a38;
  --accent-color-2-start: #34a853;
  --accent-color-2-end: #4caf50;
  --accent-color-2-hover-start: #2e7d32;
  --accent-color-2-hover-end: #43a047;
  --accent-color-2-shadow: rgba(52, 168, 83, 0.3);
  --accent-color-2-hover-shadow: rgba(52, 168, 83, 0.5);
  --textarea-bg-color: #15151f;
  --textarea-text-color: #e8eaed;
  --textarea-placeholder-color: #9aa0a6;
  --textarea-border-color: rgba(255, 255, 255, 0.1);
  --textarea-focus-bg-color: #1c1c28;
  --textarea-focus-border-color: #6c757d;
  --textarea-focus-shadow-color: rgba(108, 117, 125, 0.2);
  --scrollbar-thumb-color: #6c757d;
  --scrollbar-track-color: rgba(255, 255, 255, 0.05);
  --icon-color: #9aa0a6;
  --icon-hover-color: #c3c4c7;
  --footer-text-color: #9aa0a6;
  --shadow-color: rgba(0, 0, 0, 0.4);
  --particles-bg: #0f0f17;
}
body.dark-theme,
html.dark-theme {
  background: #0f0f17 !important;
  background-color: #0f0f17 !important;
}
.dark-theme main {
  background: transparent;
}
.dark-theme .hero-section {
  background: transparent;
}
.dark-theme #particles-js {
  background: #0f0f17 !important;
}
.dark-theme #particles-js::before {
  background: transparent !important;
  display: none !important;
}
.dark-theme #particles-js::after {
  background:
    linear-gradient(
      45deg,
      rgba(0, 0, 0, 0.1) 0%,
      rgba(0, 0, 0, 0.08) 1%,
      transparent 4%),
    linear-gradient(
      135deg,
      rgba(0, 0, 0, 0.1) 0%,
      rgba(0, 0, 0, 0.08) 1%,
      transparent 4%),
    linear-gradient(
      225deg,
      rgba(0, 0, 0, 0.1) 0%,
      rgba(0, 0, 0, 0.08) 1%,
      transparent 4%),
    linear-gradient(
      315deg,
      rgba(0, 0, 0, 0.1) 0%,
      rgba(0, 0, 0, 0.08) 1%,
      transparent 4%) !important;
}
body,
html {
  margin: 0;
  padding: 0;
  font-family:
    "Segoe UI",
    Tahoma,
    Geneva,
    Verdana,
    sans-serif;
  color: var(--primary-text-color);
  background-color: var(--primary-bg-color);
  overflow-x: hidden;
  height: 100%;
  transition: background-color 0.3s ease, color 0.3s ease;
}
#particles-js {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  background: var(--particles-bg);
  z-index: 0;
  display: block;
  transition: background 0.3s ease;
}
#particles-js::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
      ellipse at center,
      transparent 70%,
      transparent 85%,
      rgba(0, 0, 0, 0.05) 92%,
      rgba(0, 0, 0, 0.1) 97%,
      rgba(0, 0, 0, 0.15) 100%);
  pointer-events: none;
  z-index: 1;
}
#particles-js::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(
      45deg,
      rgba(0, 0, 0, 0.08) 0%,
      rgba(0, 0, 0, 0.08) 3%,
      transparent 8%),
    linear-gradient(
      135deg,
      rgba(0, 0, 0, 0.08) 0%,
      rgba(0, 0, 0, 0.08) 3%,
      transparent 8%),
    linear-gradient(
      225deg,
      rgba(0, 0, 0, 0.08) 0%,
      rgba(0, 0, 0, 0.08) 3%,
      transparent 8%),
    linear-gradient(
      315deg,
      rgba(0, 0, 0, 0.08) 0%,
      rgba(0, 0, 0, 0.08) 3%,
      transparent 8%);
  pointer-events: none;
  z-index: 1;
}
#particles-js canvas.particles-js-canvas-el {
  display: block;
  width: 100% !important;
  height: 100% !important;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
body > header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 8px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  z-index: 1000;
}
.logo-container {
}
#site-mills-logo {
  height: 28px;
  width: auto;
  display: block;
}
#logo-clip-rect {
  transform-origin: left center;
  transform: scaleX(0);
  animation: uncover-logo 1.2s ease-out 0.5s forwards;
}
@keyframes uncover-logo {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
#logo-highlight-rect {
  opacity: 0;
  transform: translateX(-35px);
  animation: slide-highlight-transform 1.0s ease-in-out 1.4s forwards;
}
@keyframes slide-highlight-transform {
  0% {
    transform: translateX(-35px);
    opacity: 0.4;
  }
  30% {
    opacity: 0.5;
  }
  70% {
    opacity: 0.5;
  }
  100% {
    transform: translateX(200px);
    opacity: 0;
  }
}
#site-mills-logo .logo-blades path {
  transition: fill 0.3s ease;
}
#site-mills-logo .logo-text-site {
  font-family:
    "Segoe UI",
    Tahoma,
    Geneva,
    Verdana,
    sans-serif;
  font-size: 24px;
  font-weight: 600;
  fill: var(--primary-text-color);
  transition: fill 0.3s ease;
}
#site-mills-logo .logo-text-mills {
  font-family:
    "Segoe UI",
    Tahoma,
    Geneva,
    Verdana,
    sans-serif;
  font-size: 24px;
  font-weight: 300;
  fill: var(--secondary-text-color);
  transition: fill 0.3s ease;
}
.header-controls {
  display: flex;
  align-items: center;
}
.theme-switch-wrapper {
  display: flex;
  align-items: center;
  margin-right: 20px;
}
.theme-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}
.theme-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 24px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}
input:checked + .slider {
  background-color: var(--accent-color-1);
}
input:checked + .slider:before {
  transform: translateX(26px);
}
.dark-theme .slider:before {
  background:
    linear-gradient(
      135deg,
      #e8eaed 0%,
      #f8f9fa 100%) !important;
  border: none;
  width: 18px;
  height: 18px;
  left: 3px;
  bottom: 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.dark-theme input:checked + .slider:before {
  background:
    linear-gradient(
      135deg,
      #1a1a24 0%,
      #15151f 100%) !important;
  border: 1px solid var(--accent-color-1);
  transform: translateX(26px);
  box-shadow: 0 0 10px rgba(66, 133, 244, 0.3);
}
.dark-theme .dropdown-theme-switch .mobile-theme-toggle::before {
  background:
    linear-gradient(
      135deg,
      #e8eaed 0%,
      #f8f9fa 100%) !important;
  border: none;
  width: 18px;
  height: 18px;
  top: 1px;
  left: 1px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.dark-theme .dropdown-theme-switch .mobile-theme-toggle.active::before {
  background:
    linear-gradient(
      135deg,
      #1a1a24 0%,
      #15151f 100%) !important;
  border: 1px solid var(--accent-color-1);
  transform: translateX(20px);
  box-shadow: 0 0 8px rgba(66, 133, 244, 0.3);
}
.dark-theme .slider {
  background:
    linear-gradient(
      135deg,
      #2a2a38 0%,
      #1a1a24 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}
.dark-theme input:checked + .slider {
  background:
    linear-gradient(
      135deg,
      #6c757d 0%,
      #9aa0a6 100%) !important;
  border: 1px solid rgba(66, 133, 244, 0.3);
  box-shadow: 0 0 15px rgba(66, 133, 244, 0.2);
}
.login-button {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background-color: var(--login-button-bg);
  color: var(--login-button-text-color);
  text-decoration: none;
  border: 1px solid var(--login-button-border);
  border-radius: 4px;
  font-weight: 500;
  font-size: 14px;
  transition:
    background-color 0.2s ease-in-out,
    border-color 0.2s ease-in-out,
    box-shadow 0.2s ease-in-out;
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
}
.login-button:hover {
  background-color: var(--login-button-hover-bg);
  border-color: var(--login-button-border);
  box-shadow: 0 1px 3px 0 rgba(60, 64, 67, 0.3), 0 4px 8px 3px rgba(60, 64, 67, 0.15);
  color: var(--login-button-text-color);
}
.login-button:active {
  background-color: var(--login-button-active-bg);
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
}
.login-button .google-icon {
  width: 18px;
  height: 18px;
  margin-right: 10px;
}
.login-button .profile-icon {
  width: 20px;
  height: 20px;
  fill: var(--login-button-text-color);
  display: none;
  margin-left: 6px;
}
#googleLoginButton .google-icon,
#googleLoginButton .profile-icon {
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}
#googleLoginButton[data-is-logged-in=false] .google-icon {
  opacity: 1;
  transform: scale(1);
  display: inline-block;
}
#googleLoginButton[data-is-logged-in=false] .profile-icon {
  opacity: 0;
  transform: scale(0.8);
  display: none;
}
#googleLoginButton[data-is-logged-in=true] .google-icon {
  opacity: 0;
  transform: scale(0.8);
  display: none;
}
#googleLoginButton[data-is-logged-in=true] .profile-icon {
  opacity: 1;
  transform: scale(1);
  display: inline-block;
  animation: profileIconAppear 0.5s ease-out;
}
#googleLoginButton .login-button-text {
  transition: opacity 0.2s ease-in-out;
}
@keyframes profileIconAppear {
  0% {
    opacity: 0;
    transform: scale(0.5) rotate(-180deg);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1) rotate(-90deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}
main {
  display: block;
  position: relative;
  z-index: 5;
}
.hero-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
  animation: fadeIn 1.5s ease-out;
}
.hero-section h1 {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: 600;
  letter-spacing: 1px;
  text-shadow: 2px 2px 4px var(--shadow-color);
  min-height: 1.2em;
}
#typewriter-base::after {
  content: "|";
  animation: blink 1s step-end infinite;
}
#typewriter-ai {
}
.ai-text-animated {
  display: inline-block;
  animation: ai-flash 0.5s ease-in-out, ai-color-change 1.5s linear 0.5s forwards;
}
@keyframes blink {
  from, to {
    border-right-color: transparent;
  }
  50% {
    border-right-color: var(--primary-text-color);
  }
}
@keyframes ai-flash {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  25% {
    transform: scale(1.1);
    opacity: 0.8;
  }
  50% {
    transform: scale(0.95);
    opacity: 1;
  }
  75% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}
@keyframes ai-color-change {
  0% {
    color: #ff2d55;
  }
  20% {
    color: #ff9500;
  }
  40% {
    color: #ffcc00;
  }
  60% {
    color: #34c759;
  }
  80% {
    color: #007aff;
  }
  100% {
    color: var(--login-button-text-color);
  }
}
.hero-section p {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: var(--secondary-text-color);
}
.search-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  position: relative;
}
.textarea-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 20px;
  border-radius: 20px;
  z-index: 1;
  background: transparent;
  padding: 2px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}
.textarea-wrapper:focus-within {
  box-shadow: 0 8px 32px rgba(0, 112, 243, 0.12);
}
.textarea-inner-bg {
  position: absolute;
  top: 2px;
  right: 2px;
  bottom: 2px;
  left: 2px;
  background: var(--textarea-bg-color);
  border-radius: 18px;
  z-index: -1;
  border: 1px solid var(--textarea-border-color);
  transition: border 0.3s ease;
}
.textarea-wrapper:focus-within .textarea-inner-bg {
  border-color: transparent;
}
.beam-border {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: 20px;
  background: transparent;
  z-index: -2;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  overflow: hidden;
}
.textarea-wrapper:focus-within .beam-border {
  opacity: 1;
  background:
    conic-gradient(
      from var(--beam-angle, 0deg),
      transparent 60%,
      #0070f3 85%,
      #00f2fe 100%);
  animation: spinningBeam 3s linear infinite;
}
@property --beam-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spinningBeam {
  to {
    --beam-angle: 360deg;
  }
}
.textarea-wrapper:focus-within .beam-border {
  opacity: 1;
  animation: spinningBeam 3s linear infinite;
}
@keyframes lightBluePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 112, 243, 0.4);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(0, 112, 243, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 112, 243, 0);
  }
}
.pulse-active .textarea-inner-bg {
  animation: lightBluePulse 0.3s ease-out;
}
#website-description {
  width: 100%;
  min-height: 120px;
  padding: 24px 70px 24px 24px;
  font-size: 1.1em;
  border: none;
  border-radius: 18px;
  margin-bottom: 0;
  box-sizing: border-box;
  resize: vertical;
  background-color: transparent;
  color: var(--textarea-text-color);
  transition: min-height 0.3s ease, color 0.3s ease;
  display: block;
  position: relative;
  z-index: 1;
}
#website-description::placeholder {
  color: var(--textarea-placeholder-color);
}
#website-description::-webkit-scrollbar {
  width: 10px;
}
#website-description::-webkit-scrollbar-track {
  background: var(--scrollbar-track-color);
  border-radius: 8px;
}
#website-description::-webkit-scrollbar-thumb {
  background-color: var(--scrollbar-thumb-color);
  border-radius: 8px;
  border: 2px solid var(--scrollbar-track-color);
}
#website-description::-webkit-scrollbar-thumb:hover {
  background-color: var(--icon-hover-color);
}
#website-description {
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb-color) var(--scrollbar-track-color);
}
#website-description:focus {
  outline: none;
  box-shadow: none;
  border: none;
}
.textarea-submit-icon {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background:
    linear-gradient(
      135deg,
      #0052cc 0%,
      #0070f3 100%);
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 112, 243, 0.3);
}
.textarea-submit-icon:hover {
  transform: scale(1.05);
  background:
    linear-gradient(
      135deg,
      #0060df 0%,
      #007dfa 100%);
  box-shadow: 0 6px 14px rgba(0, 112, 243, 0.4);
  color: white;
}
.textarea-submit-icon:active {
  transform: scale(0.95);
  box-shadow: 0 2px 5px rgba(0, 112, 243, 0.2);
}
#build-button {
  padding: 14px 32px;
  font-size: 1.15em;
  background:
    linear-gradient(
      135deg,
      #0052cc 0%,
      #0070f3 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  cursor: pointer;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 112, 243, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  display: none;
  position: relative;
  overflow: hidden;
}
#build-button::before {
  content: "✨";
  margin-right: 10px;
  font-size: 1.1em;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.6));
}
#build-button:hover {
  background:
    linear-gradient(
      135deg,
      #0060df 0%,
      #007dfa 100%);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 112, 243, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.3);
}
#build-button:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 6px rgba(0, 112, 243, 0.2);
}
footer {
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
  color: var(--footer-text-color);
  position: relative;
  width: 100%;
  z-index: 1000;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 770px) {
  .hero-section h1 {
    font-size: 2.5em;
  }
  .hero-section p {
    font-size: 1em;
  }
  #website-description {
    font-size: 1em;
    padding-right: 20px;
  }
  #website-description:focus {
    padding-right: 70px;
  }
  #build-button {
    font-size: 1em;
    padding: 12px 25px;
    display: none !important;
  }
  .textarea-submit-icon {
    display: flex !important;
  }
  body > header {
    padding: 10px 15px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
  }
  .logo-container {
    margin-bottom: 0;
    flex-shrink: 0;
  }
  #site-mills-logo {
    height: 30px;
  }
  .header-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
    gap: 8px;
  }
  .header-controls.user-logged-in .theme-switch-wrapper {
    display: none;
  }
  .header-controls:not(.user-logged-in) .theme-switch-wrapper {
    display: block;
    margin-right: 0;
  }
  .theme-switch-wrapper {
    margin-right: 0;
  }
  .login-button {
    padding: 8px 10px;
    font-size: 13px;
  }
  .login-button .google-icon {
    margin-right: 0;
  }
  .login-button .profile-icon {
    display: inline-block;
  }
  .login-button .login-button-text {
    display: none;
  }
}
.textarea-submit-icon {
  display: flex;
}
.dark-theme body::before,
.dark-theme body::after,
.dark-theme html::before,
.dark-theme html::after {
  display: none !important;
}
.dark-theme *::before,
.dark-theme *::after {
  background-color: transparent !important;
}
.dark-theme .container,
.dark-theme .main-container,
.dark-theme .wrapper {
  background: transparent !important;
}
.dashboard-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  z-index: 10000;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  max-width: 90vw;
  pointer-events: none;
}
.dashboard-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.dashboard-toast.hiding {
  opacity: 0;
  transform: translateX(-50%) translateY(20px);
}
.dashboard-toast-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.dashboard-toast-message {
  line-height: 1.4;
}
.dashboard-toast-error {
  background:
    linear-gradient(
      135deg,
      rgba(239, 68, 68, 0.95) 0%,
      rgba(220, 38, 38, 0.95) 100%);
  color: #fff;
  border-left: 4px solid #dc2626;
}
.dashboard-toast-error .dashboard-toast-icon {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.dashboard-toast-success {
  background:
    linear-gradient(
      135deg,
      rgba(34, 197, 94, 0.95) 0%,
      rgba(22, 163, 74, 0.95) 100%);
  color: #fff;
  border-left: 4px solid #16a34a;
}
.dashboard-toast-success .dashboard-toast-icon {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.dashboard-toast-warning {
  background:
    linear-gradient(
      135deg,
      rgba(245, 158, 11, 0.95) 0%,
      rgba(217, 119, 6, 0.95) 100%);
  color: #fff;
  border-left: 4px solid #d97706;
}
.dashboard-toast-warning .dashboard-toast-icon {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.dashboard-toast-info {
  background:
    linear-gradient(
      135deg,
      rgba(59, 130, 246, 0.95) 0%,
      rgba(37, 99, 235, 0.95) 100%);
  color: #fff;
  border-left: 4px solid #2563eb;
}
.dashboard-toast-info .dashboard-toast-icon {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.dark-theme .dashboard-toast {
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 4px 16px rgba(0, 0, 0, 0.3),
    0 0 1px rgba(255, 255, 255, 0.1) inset;
}
.dark-theme .dashboard-toast-error {
  background:
    linear-gradient(
      135deg,
      rgba(185, 28, 28, 0.98) 0%,
      rgba(153, 27, 27, 0.98) 100%);
  border-left-color: #ef4444;
}
.dark-theme .dashboard-toast-success {
  background:
    linear-gradient(
      135deg,
      rgba(21, 128, 61, 0.98) 0%,
      rgba(22, 101, 52, 0.98) 100%);
  border-left-color: #22c55e;
}
.dark-theme .dashboard-toast-warning {
  background:
    linear-gradient(
      135deg,
      rgba(180, 83, 9, 0.98) 0%,
      rgba(146, 64, 14, 0.98) 100%);
  border-left-color: #f59e0b;
}
.dark-theme .dashboard-toast-info {
  background:
    linear-gradient(
      135deg,
      rgba(29, 78, 216, 0.98) 0%,
      rgba(30, 64, 175, 0.98) 100%);
  border-left-color: #3b82f6;
}
@media (max-width: 600px) {
  .dashboard-toast {
    bottom: 20px;
    padding: 14px 18px;
    font-size: 13px;
    gap: 10px;
    border-radius: 10px;
  }
  .dashboard-toast-icon {
    width: 20px;
    height: 20px;
    font-size: 10px;
  }
}
.feature-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1100px;
  margin: 150px auto;
  gap: 80px;
  padding: 0 40px;
  text-align: left;
  position: relative;
  z-index: 10;
}
.feature-section.align-right {
  flex-direction: row-reverse;
}
.feature-content {
  flex: 1;
  max-width: 480px;
}
.feature-badge {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid rgba(0, 112, 243, 0.2);
  color: var(--primary-text-color);
  border-radius: 20px;
  font-size: 0.85em;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.dark-theme .feature-badge {
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.feature-content h2 {
  font-size: 2.8em;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--primary-text-color);
  letter-spacing: -0.02em;
}
.feature-content p {
  font-size: 1.25em;
  color: var(--secondary-text-color);
  line-height: 1.6;
}
.feature-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}
.mock-card {
  width: 100%;
  max-width: 400px;
  background: var(--textarea-bg-color);
  border: 1px solid var(--textarea-border-color);
  border-radius: 16px;
  box-shadow: 0 20px 40px var(--shadow-color);
  overflow: hidden;
}
.mock-header {
  background: rgba(125, 125, 125, 0.05);
  padding: 12px 16px;
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--textarea-border-color);
}
.mock-header .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mock-header .dot.red {
  background: #ff5f56;
}
.mock-header .dot.yellow {
  background: #ffbd2e;
}
.mock-header .dot.green {
  background: #27c93f;
}
.mock-body {
  padding: 24px;
}
.skel-line {
  height: 12px;
  background: rgba(125, 125, 125, 0.15);
  border-radius: 6px;
  margin-bottom: 12px;
}
.skel-line.w-80 {
  width: 80%;
}
.skel-line.w-60 {
  width: 60%;
}
.skel-line.w-40 {
  width: 40%;
}
.skel-box {
  height: 120px;
  background: rgba(0, 112, 243, 0.05);
  border: 1px dashed rgba(0, 112, 243, 0.2);
  border-radius: 8px;
  margin: 20px 0;
}
.dark-theme .skel-box {
  background: rgba(50, 145, 255, 0.05);
}
.mock-chat {
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.chat-bubble {
  padding: 16px 20px;
  border-radius: 18px;
  font-size: 1.05em;
  line-height: 1.4;
  box-shadow: 0 6px 16px var(--shadow-color);
}
.chat-bubble.user {
  background: #0070f3;
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.chat-bubble.ai {
  background: var(--textarea-bg-color);
  color: var(--primary-text-color);
  border: 1px solid var(--textarea-border-color);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.dark-theme .chat-bubble.user {
  background: #3291ff;
}
.typing-dots {
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
  height: 12px;
}
.typing-dots span {
  width: 6px;
  height: 6px;
  background: var(--secondary-text-color);
  border-radius: 50%;
  opacity: 0.6;
  animation: bounce 1.4s infinite ease-in-out both;
  color: transparent;
  overflow: hidden;
}
.typing-dots span:nth-child(1) {
  animation-delay: -0.32s;
}
.typing-dots span:nth-child(2) {
  animation-delay: -0.16s;
}
@keyframes bounce {
  0%, 80%, 100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}
.layered-circles {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.circle {
  position: absolute;
  border-radius: 50%;
}
.circle.c1 {
  width: 200px;
  height: 200px;
  border: 2px dashed rgba(0, 112, 243, 0.3);
  animation: spinSlow 20s linear infinite;
}
.circle.c2 {
  width: 140px;
  height: 140px;
  border: 2px solid rgba(0, 112, 243, 0.15);
}
.circle.c-main {
  width: 80px;
  height: 80px;
  background:
    linear-gradient(
      135deg,
      #0052cc 0%,
      #0070f3 100%);
  box-shadow: 0 10px 30px rgba(0, 112, 243, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 4s ease-in-out infinite;
}
@keyframes spinSlow {
  100% {
    transform: rotate(360deg);
  }
}
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
@media (max-width: 900px) {
  .feature-section,
  .feature-section.align-right {
    flex-direction: column;
    text-align: center;
    margin: 80px auto;
    padding: 0 20px;
    gap: 40px;
  }
  .feature-visual {
    width: 100%;
  }
  .chat-bubble.user,
  .chat-bubble.ai {
    align-self: center;
    border-radius: 18px;
  }
}
.last-feature {
  margin-bottom: 100px;
}
.mock-ai-node {
  position: relative;
  width: 300px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.node {
  background: var(--textarea-bg-color);
  border: 1px solid var(--textarea-border-color);
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 600;
  box-shadow: 0 4px 12px var(--shadow-color);
  z-index: 2;
}
.node.origin {
  background: rgba(125, 125, 125, 0.05);
}
.node.ai-core {
  background:
    linear-gradient(
      135deg,
      #0052cc 0%,
      #0070f3 100%);
  color: white;
  border-color: rgba(0, 112, 243, 0.5);
}
.node.end {
  position: absolute;
  right: 0;
}
.node.end.top {
  top: 10px;
}
.node.end.bottom {
  bottom: 10px;
}
.node-link {
  flex: 1;
  height: 2px;
  background: rgba(0, 112, 243, 0.4);
  margin: 0 10px;
}
.node-link-split {
  position: absolute;
  right: 80px;
  top: 30px;
  bottom: 30px;
  width: 60px;
  border-top: 2px dashed rgba(0, 112, 243, 0.3);
  border-bottom: 2px dashed rgba(0, 112, 243, 0.3);
  border-left: 2px dashed rgba(0, 112, 243, 0.3);
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}
.mock-timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 350px;
  position: relative;
  padding-left: 20px;
  border-left: 2px solid rgba(0, 112, 243, 0.2);
}
.time-block {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}
.time-block::before {
  content: "";
  position: absolute;
  left: -25px;
  width: 8px;
  height: 8px;
  background: var(--textarea-bg-color);
  border: 2px solid #0070f3;
  border-radius: 50%;
}
.time {
  font-family: monospace;
  font-size: 0.9em;
  color: var(--secondary-text-color);
}
.job-pill {
  padding: 8px 16px;
  background: rgba(125, 125, 125, 0.05);
  border-radius: 20px;
  font-size: 0.9em;
  font-weight: 500;
}
.job-pill.active {
  background: rgba(0, 112, 243, 0.1);
  color: #0070f3;
  border: 1px solid rgba(0, 112, 243, 0.3);
}
.dark-theme .job-pill.active {
  color: #3291ff;
}
.mock-api {
  width: 100%;
  max-width: 380px;
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow-color);
  font-family: monospace;
  text-align: left;
}
.api-header {
  background: #222;
  padding: 12px 16px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.api-method {
  color: #27c93f;
  font-weight: bold;
}
.api-path {
  color: #fff;
  opacity: 0.8;
}
.api-status {
  padding: 12px 16px 0;
  color: #ffbd2e;
}
.api-payload {
  padding: 8px 16px 16px;
  color: #a4ceea;
}
.mock-chart {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  width: 320px;
  height: 180px;
  border-bottom: 2px solid var(--textarea-border-color);
  padding-bottom: 10px;
}
.mock-chart .bar {
  flex: 1;
  background: rgba(0, 112, 243, 0.2);
  border-radius: 4px 4px 0 0;
  transition: all 0.3s ease;
}
.mock-chart .bar.active {
  background: #0070f3;
  box-shadow: 0 0 15px rgba(0, 112, 243, 0.4);
}
.mock-chart .bar:hover {
  background: rgba(0, 112, 243, 0.6);
}
.mock-db {
  width: 100%;
  max-width: 400px;
  background: var(--textarea-bg-color);
  border: 1px solid var(--textarea-border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px var(--shadow-color);
}
.db-header {
  display: flex;
  background: rgba(125, 125, 125, 0.05);
  padding: 10px 16px;
  font-weight: bold;
  font-size: 0.85em;
  color: var(--secondary-text-color);
}
.db-row {
  display: flex;
  padding: 12px 16px;
  border-top: 1px solid var(--textarea-border-color);
  font-size: 0.95em;
}
.col.id,
.db-cell.id {
  width: 80px;
  color: #0070f3;
  font-family: monospace;
}
.col.string,
.db-cell.string {
  flex: 1;
  color: var(--primary-text-color);
}
.dark-theme .col.id,
.dark-theme .db-cell.id {
  color: #3291ff;
}
.mock-collab {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(125, 125, 125, 0.02);
  padding: 24px 32px;
  border-radius: 40px;
  border: 1px dashed var(--textarea-border-color);
}
.mock-collab .avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.avatar.ai {
  background:
    linear-gradient(
      135deg,
      #0052cc 0%,
      #0070f3 100%);
}
.avatar.dev {
  background: #333;
}
.dark-theme .avatar.dev {
  background: #555;
}
.collab-link {
  width: 40px;
  height: 2px;
  background: var(--textarea-border-color);
}
.code-bracket {
  font-size: 2em;
  font-family: monospace;
  font-weight: bold;
  color: #0070f3;
}
.dark-theme .code-bracket {
  color: #3291ff;
}
.site-footer {
  width: 100%;
  margin-top: 80px;
  padding: 60px 20px 30px;
  border-top: 1px solid var(--textarea-border-color);
  background: var(--main-bg-color);
  display: flex;
  justify-content: center;
}
.footer-wrapper {
  width: 100%;
  max-width: 1200px;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
}
.footer-brand {
  max-width: 300px;
}
.footer-logo {
  font-size: 1.5em;
  font-weight: 800;
  margin-bottom: 16px;
  background:
    linear-gradient(
      135deg,
      var(--primary-text-color) 0%,
      rgba(128, 128, 128, 0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer-brand p {
  color: var(--secondary-text-color);
  line-height: 1.6;
  font-size: 0.95em;
}
.footer-links {
  display: flex;
  gap: 60px;
}
.link-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.link-column h4 {
  margin: 0 0 8px 0;
  font-size: 1em;
  font-weight: 600;
  color: var(--primary-text-color);
}
.link-column a {
  color: var(--secondary-text-color);
  text-decoration: none;
  font-size: 0.95em;
  transition: color 0.2s ease;
}
.link-column a:hover {
  color: #0070f3;
}
.dark-theme .link-column a:hover {
  color: #3291ff;
}
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--textarea-border-color);
  text-align: center;
  color: var(--secondary-text-color);
  font-size: 0.85em;
}
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
  }
  .footer-links {
    flex-wrap: wrap;
    gap: 40px;
  }
}
