:root {
  --background: 210 40% 3%;
  --foreground: 180 100% 95%;
  --primary: 174 100% 41%;
  --primary-foreground: 210 40% 3%;
  --primary-glow: 174 100% 60%;
  --card: 210 40% 8%;
  --card-foreground: 180 100% 95%;
  --popover: 210 40% 8%;
  --popover-foreground: 180 100% 95%;
  --secondary: 210 40% 12%;
  --secondary-foreground: 180 100% 95%;
  --muted: 210 40% 15%;
  --muted-foreground: 180 30% 65%;
  --accent: 174 60% 25%;
  --accent-foreground: 180 100% 95%;
  --destructive: 0 84% 60%;
  --destructive-foreground: 180 100% 95%;
  --border: 210 40% 20%;
  --input: 210 40% 15%;
  --ring: 174 100% 41%;
  --radius: .75rem;
  --gradient-primary: linear-gradient(135deg, hsl(174 100% 41%), #33ffeb);
  --gradient-hero: linear-gradient(135deg, hsl(210 40% 3%) 0%, hsl(174 30% 8%) 50%, hsl(210 40% 3%) 100%);
  --gradient-card: linear-gradient(145deg, hsl(210 40% 8%), hsl(210 40% 12%));
  --shadow-glow: 0 0 40px hsl(174 100% 41% / .3);
  --shadow-card: 0 10px 30px -5px hsl(210 40% 1% / .3);
  --transition-smooth: all .3s cubic-bezier(.4, 0, .2, 1);
  --transition-bounce: all .5s cubic-bezier(.68, -.55, .265, 1.55)
}

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

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: 210 40% 3%;
  background: linear-gradient(135deg, hsl(210 40% 3%) 0%, hsl(174 30% 8%) 50%, hsl(210 40% 3%) 100%);
  color: #ffffff;
}

.navbar{
  background-color: #0e151a;
}

.navbar-dark .nav-link {
  color: #ffffff;
  font-weight: 500;
}

.navbar-dark .nav-link.active,
.navbar-dark .nav-link:hover {
  color: #00f7c4;
}

.hero .badge {
  background-color: rgba(0, 247, 196, 0.1);
  color: #00f7c4;
  font-weight: 500;
  font-size: 0.9rem;
}

.text-info{
  color: #33ffeb !important;
}

.btn-success {
  --bs-btn-bg: #33ffeb !important;
  --bs-btn-border-color: #33ffeb !important;
  --bs-btn-hover-bg: #2dddcf !important;
  --bs-btn-hover-border-color: #2dddcf !important;
  --bs-btn-focus-shadow-rgb: 51, 255, 235 !important;
  --bs-btn-active-bg: #26bfb4 !important;
  --bs-btn-active-border-color: #26bfb4 !important;
  --bs-btn-disabled-bg: #33ffeb !important;
  --bs-btn-disabled-border-color: #33ffeb !important;
  --bs-gradient: none !important;
}



.btn-outline-success {
  --bs-btn-color: #33ffeb !important;
  --bs-btn-border-color: #33ffeb !important;
  --bs-btn-hover-color: #000 !important;
  --bs-btn-hover-bg: #33ffeb !important;
  --bs-btn-hover-border-color: #33ffeb !important;
  --bs-btn-focus-shadow-rgb: 51, 255, 235 !important;
  --bs-btn-active-color: #000 !important;
  --bs-btn-active-bg: #33ffeb !important;
  --bs-btn-active-border-color: #33ffeb !important;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125) !important;
  --bs-btn-disabled-color: #33ffeb !important;
  --bs-btn-disabled-bg: transparent !important;
  --bs-btn-disabled-border-color: #33ffeb !important;
  --bs-gradient: none !important;
}

.feature-card {
  transition: all 0.3s ease;
  background: linear-gradient(145deg,hsl(var(--card) / .8),hsl(var(--card) / .4));
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid hsl(var(--border) / .3);
  min-height: 200px;
  align-content: center;
}

.feature-card:hover {
  box-shadow: 0 0 12px #00f7c4;
}

.partner-card {
  transition: all 0.3s ease;
  background: linear-gradient(145deg,hsl(var(--card) / .8),hsl(var(--card) / .4));
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid hsl(var(--border) / .3);
}

.partner-card:hover {
  box-shadow: 0 0 10px #00f7c4;
}

.background-section {
  background: linear-gradient(145deg,hsl(var(--card) / .8),hsl(var(--card) / .4));
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid hsl(var(--border) / .3);
}

.metrics {
  margin: 100px auto;
}

.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-card {
  background: linear-gradient(145deg,hsl(var(--card) / .8),hsl(var(--card) / .4));
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid hsl(var(--border) / .3);
  border-radius: 1rem;
  padding: 2.5rem;
  width: 96%;
  max-width: 400px;
  box-shadow: 0 8px 24px var(--shadow);
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.footer {
  background-color: #0e151a;
}

.footer a:hover {
  color: #00f7c4;
}

.footer a.footer-link:hover {
  color: #00c698 !important;
}

.footer i:hover {
  color: #00c698 !important;
  transition: color 0.3s ease;
}

.copyright{
  display: flex;
  justify-content: space-between;
}

@media only screen and (max-width: 992px) {
  .copyright{
    flex-direction: column;
    text-align: center;
  }
}

/* Form */

form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.login-form {
  display: block;
}

.form-container {
  max-width: 820px;
  margin: 60px auto;
}
.form-header {
  text-align: center;
  margin-bottom: 40px;
}
.form-header h2 {
  color: #00f0b5;
  font-weight: 700;
}
.form-header p {
  color: #aaa;
}
.form-card {
  background-color: hsl(var(--card));
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 24px;
  border: 1px solid #1e2e32;
  width: 90%;
}
.form-card h6 {
  font-size: 1rem;
  margin-bottom: 6px;
}
.form-card small {
  color: #aaa;
}
.form-control {
  background-color: hsl(var(--input) / .5);
  border: 1px solid #2c3a3e;
  color: #fff;
  margin-top: 12px;
  font-size: .875rem;
  line-height: 1.25rem;
}
.form-card textarea {
  min-height: 120px !important;
}
.form-card textarea:focus {
  border-color: #00f0ff;
  background-color: #1b2c30;
}
.form-card input:focus {
  border-color: #00f0ff;
  background-color: #1b2c30;
}
.form-control::placeholder {
  color: hsl(var(--muted-foreground));
}
.form-check-input:checked {
  background-color: #089183;
  border-color: #33ffeb;
}
.submit-btn {
  background: linear-gradient(90deg, #00f0b5, #00d8ff);
  border: none;
  padding: 14px 36px;
  font-weight: 600;
  border-radius: 50px;
  color: #000;
  box-shadow: 0 0 12px rgba(0, 255, 200, 0.4);
  display: block;
  margin: 40px auto 12px auto;
}
.submit-info {
  text-align: center;
  color: #777;
  font-size: 0.9rem;
}

/* Chat */

.chat-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.chat-header {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #00e0d3;
}

.chat-box {
  flex-grow: 1;
  overflow-y: auto;
  background-color: rgba(255, 255, 255, 0.03);
  padding: 16px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.message {
  max-width: 70%;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
}

.user {
  align-self: flex-end;
  background-color: #00e0d3;
  color: #000;
}

.ai {
  align-self: flex-start;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-input {
  margin-top: 16px;
  display: flex;
  gap: 8px;
}

.chat-input textarea {
  flex-grow: 1;
  background-color: rgba(255, 255, 255, 0.05);
  border: none;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  color: #fff;
  resize: none;
  height: 48px;
  outline: none;
}

.chat-input button {
  background: linear-gradient(135deg, #00e0d3, #00b8c3);
  border: none;
  border-radius: 12px;
  padding: 0 20px;
  color: #000;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
}

.chat-input button:hover {
  opacity: 0.9;
}

#thankyou-screen {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 30vh;
  padding: 20px;
}

.thankyou-box {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid #444;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  width: 100%;
}

#thankyou-screen .form-header h2 {
  font-size: 1.75rem;
  color: #f5f5dc; /* bej tema rengi */
  margin-bottom: 16px;
}

#thankyou-screen .form-header p {
  font-size: 1rem;
  color: #f0f0f0;
}

  #summary-screen .card {
    max-width: 100%;
    margin: 0 auto;
    border-radius: 12px;
  }

  #summary-list .list-group-item {
    background-color: #1e1e1e;
    border-color: #444;
    color: #f0f0f0;
  }

  #summary-list .list-group-item strong {
    color: #f5f5dc;
  }
}

/* Redirect animation styles */
.typing-animation {
  text-align: center;
  margin-top: 20px;
}

.typing-animation .dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
}

.typing-animation .dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #00d4ff;
  animation: redirectDots 1.4s infinite ease-in-out;
}

.typing-animation .dots span:nth-child(1) { animation-delay: -0.32s; }
.typing-animation .dots span:nth-child(2) { animation-delay: -0.16s; }
.typing-animation .dots span:nth-child(3) { animation-delay: 0s; }

@keyframes redirectDots {
  0%, 80%, 100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  40% {
    transform: scale(1.2);
    opacity: 1;
  }
}
