/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  background: #0F172A;
  color: #ffffff;
  animation: fadeIn 0.5s ease-out;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0F172A;
}

::-webkit-scrollbar-thumb {
  background: #3B82F6;
  border-radius: 5px;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: #60A5FA;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(10px);
  animation: slideDown 0.5s ease-out;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header:hover {
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.3s ease;
  text-decoration: none;
}

.logo-section:hover {
  transform: scale(1.05);
}

.logo-icon {
  display: flex;
  align-items: center;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
}

.logo-tagline {
  font-size: 0.75rem;
  color: #60A5FA;
  margin: 0;
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #3B82F6, #60A5FA);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #60A5FA;
  transform: translateY(-2px);
}

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

.btn-get-started {
  background: linear-gradient(135deg, #3B82F6 0%, #60A5FA 100%);
  color: #ffffff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: inline-block;
}

.btn-get-started::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-get-started:hover::before {
  width: 300px;
  height: 300px;
}

.btn-get-started:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

.btn-get-started:active {
  transform: translateY(0) scale(0.98);
}

/* Hero Styles */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  overflow: hidden;
  background: linear-gradient(180deg, #0F172A 0%, #1E293B 100%);
}

.hero-container {
  max-width: 900px;
  text-align: center;
  z-index: 10;
  position: relative;
  animation: fadeInUp 1s ease-out;
}

.powered-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid #3B82F6;
  border-radius: 2rem;
  background: rgba(15, 23, 42, 0.6);
  color: #ffffff;
  font-size: 0.875rem;
  margin-bottom: 3rem;
  backdrop-filter: blur(10px);
  animation: fadeInDown 0.8s ease-out 0.2s both;
  transition: all 0.3s ease;
}

.powered-badge:hover {
  transform: scale(1.05);
  border-color: #60A5FA;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.hero-title {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.gradient-text {
  background: linear-gradient(
    135deg,
    #3B82F6 0%,
    #60A5FA 20%,
    #A855F7 40%,
    #EC4899 60%,
    #3B82F6 80%,
    #60A5FA 100%
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  animation: floatingColors 8s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.4));
}

.white-text {
  color: #ffffff;
  display: inline-block;
}

.hero-description {
  font-size: 1.25rem;
  color: #E2E8F0;
  line-height: 1.6;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.8s both;
}

.btn-primary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #3B82F6 0%, #60A5FA 100%);
  color: #ffffff;
  border: none;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.5);
}

.btn-primary:active {
  transform: translateY(-1px) scale(0.98);
}

.background-effects {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: float 20s infinite ease-in-out;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #3B82F6 0%, transparent 70%);
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #60A5FA 0%, transparent 70%);
  bottom: 20%;
  left: 15%;
  animation-delay: 5s;
}

.orb-3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, #93C5FD 0%, transparent 70%);
  top: 50%;
  right: 30%;
  animation-delay: 10s;
}

/* Features Styles */
.features {
  padding: 4rem 2rem;
  background: linear-gradient(180deg, #1E293B 0%, #0F172A 100%);
  position: relative;
  z-index: 10;
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: fadeInScale 0.6s ease-out forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #3B82F6, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
  height: 64px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1rem;
}

.feature-value {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  background: linear-gradient(135deg, #ffffff 0%, #E2E8F0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* About Styles */
.about {
  padding: 6rem 2rem;
  background: linear-gradient(180deg, #0F172A 0%, #1E293B 100%);
  position: relative;
  z-index: 10;
  opacity: 0;
  animation: fadeIn 1s ease-out 0.3s forwards;
}

.about-container {
  max-width: 900px;
  margin: 0 auto;
}

.about-content {
  text-align: center;
}

.about-header {
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease-out 0.5s both;
}

.about-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid #3B82F6;
  border-radius: 2rem;
  background: rgba(15, 23, 42, 0.6);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.about-text {
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease-out 0.7s both;
}

.about-paragraph {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #E2E8F0;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.about-paragraph:hover {
  transform: translateX(5px);
  color: #ffffff;
}

.about-paragraph strong {
  color: #ffffff;
  font-weight: 600;
}

.about-highlight {
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 1.5rem;
  backdrop-filter: blur(10px);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInScale 0.8s ease-out 0.9s both;
}

.about-highlight:hover {
  transform: scale(1.02);
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

.about-highlight p {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #E2E8F0;
  margin: 0;
}

.about-highlight strong {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
}

.highlight-text {
  color: #60A5FA;
  font-weight: 500;
}

/* Contact Styles */
.contact {
  padding: 6rem 2rem;
  background: linear-gradient(180deg, #0F172A 0%, #1E293B 100%);
  position: relative;
  z-index: 10;
  opacity: 0;
  animation: fadeIn 1s ease-out 0.3s forwards;
}

.contact-container {
  max-width: 1000px;
  margin: 0 auto;
}

.contact-header {
  text-align: center;
  margin-bottom: 4rem;
  animation: fadeInUp 0.8s ease-out 0.5s both;
}

.contact-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  animation: float 3s ease-in-out infinite;
}

.contact-logo img {
  filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.5));
  transition: transform 0.3s ease;
}

.contact-logo:hover img {
  transform: scale(1.1);
}

.contact-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.contact-subtitle {
  font-size: 1.25rem;
  color: #E2E8F0;
  margin: 0;
}

.contact-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  animation: fadeInUp 0.8s ease-out 0.7s both;
}

.contact-item {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: fadeInScale 0.6s ease-out forwards;
}

.contact-item:nth-child(1) { animation-delay: 0.9s; }
.contact-item:nth-child(2) { animation-delay: 1s; }
.contact-item:nth-child(3) { animation-delay: 1.1s; }

.contact-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #3B82F6, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
}

.contact-item:hover .contact-icon {
  transform: scale(1.15) rotate(5deg);
}

.contact-item:hover::before {
  opacity: 1;
}

.contact-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
  width: 64px;
  height: 64px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-item:hover .contact-icon {
  background: rgba(59, 130, 246, 0.2);
  transform: scale(1.1);
}

.contact-info {
  flex: 1;
}

.contact-label {
  font-size: 1rem;
  font-weight: 600;
  color: #60A5FA;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-value {
  font-size: 1.125rem;
  color: #ffffff;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  word-break: break-word;
  position: relative;
}

.contact-value::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #3B82F6, #60A5FA);
  transition: width 0.3s ease;
}

.contact-value:hover {
  color: #60A5FA;
  transform: translateX(5px);
}

.contact-value:hover::after {
  width: 100%;
}

.contact-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-linkedin svg {
  transition: transform 0.3s ease;
}

.contact-linkedin:hover svg {
  transform: translateX(3px);
}

/* Footer Styles */
.footer {
  padding: 4rem 2rem;
  background: linear-gradient(180deg, #1E293B 0%, #0F172A 100%);
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(59, 130, 246, 0.1);
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.3s forwards;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  animation: fadeInScale 0.8s ease-out 0.5s both;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 3s ease-in-out infinite;
}

.footer-logo img {
  filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.5));
  transition: transform 0.3s ease;
}

.footer-logo:hover img {
  transform: scale(1.1);
}

.footer-text {
  text-align: center;
  flex: 1;
  min-width: 300px;
}

.footer-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  margin: 0 0 1rem 0;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-transform: uppercase;
  position: relative;
  color: transparent;
  background: linear-gradient(
    135deg,
    #3B82F6 0%,
    #60A5FA 20%,
    #A855F7 40%,
    #EC4899 60%,
    #3B82F6 80%,
    #60A5FA 100%
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: floatingColors 8s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.5));
}

.footer-subtitle {
  font-size: 1.25rem;
  color: #E2E8F0;
  margin: 0;
  font-weight: 500;
  opacity: 0.8;
}

/* Chatbot Styles */
.chatbot-container {
  min-height: 100vh;
  min-height: 100dvh; /* Dynamic viewport height for mobile */
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #0F172A 0%, #1E293B 100%);
  padding-top: 100px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  box-sizing: border-box;
}

/* Home Page Chatbot Section Styles */
.home-chatbot {
  padding: 0;
  background: linear-gradient(180deg, #0F172A 0%, #1E293B 100%);
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
}

.home-chatbot-container {
  position: relative !important;
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: 100px;
  padding-bottom: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Ensure only messages area scrolls in home chatbot, not the container */
.home-chatbot-container .chatbot-messages {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;
  max-height: calc(100vh - 350px);
}

.chatbot-header {
  text-align: center;
  padding: 2rem 2rem 1rem;
  z-index: 10;
  position: relative;
  flex-shrink: 0;
}

.chatbot-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.chatbot-subtitle {
  color: #60A5FA;
  font-size: 1rem;
  margin: 0;
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 2rem;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  scroll-behavior: smooth;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-width: auto;
  scrollbar-gutter: stable;
}

.message {
  display: flex;
  animation: fadeIn 0.3s ease-in;
}

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

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

.message-content {
  max-width: 70%;
  padding: 1rem 1.5rem;
  border-radius: 1.5rem;
  word-wrap: break-word;
  line-height: 1.6;
  font-size: 1rem;
}

.message-user .message-content {
  background: linear-gradient(135deg, #3B82F6 0%, #60A5FA 100%);
  color: #ffffff;
  border-bottom-right-radius: 0.25rem;
}

.message-assistant .message-content {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: #E2E8F0;
  border-bottom-left-radius: 0.25rem;
  backdrop-filter: blur(10px);
}

.typing-indicator {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
}

.typing-indicator span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #60A5FA;
  animation: typing 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) {
  animation-delay: 0s;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

.chatbot-input-form {
  display: flex;
  gap: 1rem;
  padding: 2rem;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  flex-shrink: 0;
  background: linear-gradient(180deg, transparent 0%, #0F172A 40%);
  backdrop-filter: blur(10px);
  z-index: 10;
  position: relative;
  box-sizing: border-box;
}

.chatbot-input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-radius: 1.5rem;
  background: rgba(15, 23, 42, 0.8);
  color: #ffffff;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-appearance: none;
  appearance: none;
  touch-action: manipulation;
}

.chatbot-input:focus {
  border-color: #3B82F6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.chatbot-input::placeholder {
  color: #64748B;
}

.chatbot-input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.chatbot-send-button {
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #3B82F6 0%, #60A5FA 100%);
  border: none;
  border-radius: 1.5rem;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  min-width: 56px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.chatbot-send-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

.chatbot-send-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.chatbot-send-button svg {
  width: 20px;
  height: 20px;
}

/* Custom scrollbar for chatbot */
.chatbot-messages::-webkit-scrollbar {
  width: 12px;
}

.chatbot-messages::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6);
  border-radius: 10px;
  margin: 10px 0;
  border: 1px solid rgba(59, 130, 246, 0.1);
}

.chatbot-messages::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #3B82F6 0%, #60A5FA 100%);
  border-radius: 10px;
  border: 2px solid rgba(15, 23, 42, 0.8);
  min-height: 40px;
}

.chatbot-messages::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #60A5FA 0%, #93C5FD 100%);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.6);
  border-color: rgba(59, 130, 246, 0.5);
}

.chatbot-messages::-webkit-scrollbar-thumb:active {
  background: linear-gradient(135deg, #2563EB 0%, #3B82F6 100%);
}

/* Firefox scrollbar */
.chatbot-messages {
  scrollbar-width: auto;
  scrollbar-color: #3B82F6 rgba(15, 23, 42, 0.6);
}

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

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

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes floatingColors {
  0% {
    background-position: 0% 50%;
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.4));
  }
  25% {
    background-position: 100% 50%;
    filter: drop-shadow(0 0 25px rgba(96, 165, 250, 0.5));
  }
  50% {
    background-position: 100% 100%;
    filter: drop-shadow(0 0 30px rgba(168, 85, 247, 0.6));
  }
  75% {
    background-position: 0% 100%;
    filter: drop-shadow(0 0 25px rgba(236, 72, 153, 0.5));
  }
  100% {
    background-position: 0% 50%;
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.4));
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes typing {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.7;
  }
  30% {
    transform: translateY(-10px);
    opacity: 1;
  }
}

/* Responsive Styles */
@media (max-width: 768px) {
  /* Header Mobile */
  .header {
    padding: 1rem 0;
  }
  
  .nav-link {
    display: none;
  }
  
  .header-container {
    padding: 0 1rem;
  }

  .logo-title {
    font-size: 1.25rem;
  }

  .logo-tagline {
    font-size: 0.6875rem;
  }

  .btn-get-started {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    min-height: 44px;
  }

  /* Hero Mobile */
  .hero {
    padding: 5rem 1rem 3rem;
    min-height: 100vh;
    min-height: 100dvh;
  }
  
  .powered-badge {
    font-size: 0.75rem;
    padding: 0.5rem 0.875rem;
    margin-bottom: 2rem;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
  }
  
  .hero-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    padding: 0 0.5rem;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  
  .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    min-height: 48px;
    touch-action: manipulation;
  }

  /* Background orbs - smaller on mobile */
  .orb-1 {
    width: 200px;
    height: 200px;
  }

  .orb-2 {
    width: 150px;
    height: 150px;
  }

  .orb-3 {
    width: 120px;
    height: 120px;
  }

  /* Features Mobile */
  .features {
    padding: 3rem 1rem;
  }
  
  .features-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .feature-card {
    padding: 1.75rem 1.25rem;
  }

  .feature-icon {
    height: 56px;
    margin-bottom: 1.25rem;
  }

  .feature-icon svg {
    width: 40px;
    height: 40px;
  }

  .feature-title {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
  }

  .feature-value {
    font-size: 1.75rem;
  }

  /* About Mobile */
  .about {
    padding: 4rem 1rem;
  }

  .about-header {
    margin-bottom: 2rem;
  }

  .about-title {
    font-size: clamp(2rem, 8vw, 3rem);
    margin-bottom: 1rem;
  }

  .about-badge {
    font-size: 0.75rem;
    padding: 0.5rem 0.875rem;
  }
  
  .about-paragraph {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
  }
  
  .about-highlight {
    padding: 1.25rem 1rem;
    margin-top: 2rem;
  }
  
  .about-highlight p {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  .about-highlight strong {
    font-size: 1.125rem;
  }

  /* Contact Mobile */
  .contact {
    padding: 4rem 1rem;
  }

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

  .contact-logo img {
    width: 40px;
    height: 40px;
  }

  .contact-title {
    font-size: clamp(2rem, 8vw, 3rem);
    margin: 1rem 0 0.5rem;
  }

  .contact-subtitle {
    font-size: 0.9375rem;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .contact-item {
    padding: 1.5rem 1.25rem;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }

  .contact-icon {
    flex-shrink: 0;
  }

  .contact-icon svg {
    width: 28px;
    height: 28px;
  }

  .contact-label {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
  }
  
  .contact-value {
    font-size: 0.9375rem;
    word-break: break-word;
  }

  /* Footer Mobile */
  .footer {
    padding: 3rem 1rem 2rem;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  
  .footer-logo {
    order: 2;
  }

  .footer-logo img {
    width: 56px;
    height: 56px;
  }
  
  .footer-text {
    order: 1;
  }
  
  .footer-title {
    font-size: clamp(2rem, 10vw, 3.5rem);
    margin-bottom: 0.75rem;
  }
  
  .footer-subtitle {
    font-size: 0.9375rem;
  }

  .chatbot-container {
    padding-top: 60px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 20px;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
  }

  .home-chatbot-container {
    position: relative !important;
    padding-top: 60px;
    padding-bottom: 2rem;
    min-height: 90vh;
    bottom: auto;
  }

  .chatbot-header {
    padding: 0.75rem 1rem 0.5rem;
    flex-shrink: 0;
    position: relative;
  }

  .chatbot-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 0.25rem;
  }

  .chatbot-subtitle {
    font-size: 0.875rem;
  }

  #clearChatBtn {
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
  }

  .chatbot-messages {
    padding: 1rem 0.75rem;
    gap: 1rem;
    padding-bottom: 1rem;
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .message-content {
    max-width: 85%;
    padding: 0.875rem 1.125rem;
    font-size: 0.9375rem;
    line-height: 1.5;
    word-break: break-word;
  }

  .chatbot-input-form {
    padding: 1rem;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    gap: 0.75rem;
    flex-shrink: 0;
    background: linear-gradient(180deg, transparent 0%, #0F172A 70%);
    backdrop-filter: blur(10px);
    box-sizing: border-box;
    width: 100%;
    margin: 0 auto;
    max-width: 100%;
    position: relative;
    z-index: 10;
    margin-bottom: 0;
    margin-top: auto;
  }

  .chatbot-input {
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    border-radius: 1.25rem;
    -webkit-appearance: none;
    appearance: none;
    min-height: 48px;
    box-sizing: border-box;
  }

  .chatbot-send-button {
    padding: 0.875rem 1.25rem;
    min-width: 50px;
    min-height: 48px;
    border-radius: 1.25rem;
    flex-shrink: 0;
  }

  .chatbot-send-button svg {
    width: 18px;
    height: 18px;
  }
}

/* Tablet and Medium Mobile */
@media (max-width: 1024px) and (min-width: 769px) {
  .features-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    padding: 7rem 2rem 4rem;
  }

  .header-container {
    padding: 0 1.5rem;
  }
}

/* General Mobile Improvements */
@media (max-width: 768px) {
  /* Improve touch targets */
  a, button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Better text selection */
  * {
    -webkit-tap-highlight-color: rgba(59, 130, 246, 0.2);
  }

  /* Smooth scrolling */
  html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }

  /* Prevent text size adjustment on orientation change */
  body {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
  /* Header Extra Small */
  .header {
    padding: 0.875rem 0;
  }

  .logo-title {
    font-size: 1.125rem;
  }

  .logo-icon img {
    width: 28px;
    height: 28px;
  }

  .btn-get-started {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
  }

  /* Hero Extra Small */
  .hero {
    padding: 4.5rem 0.75rem 2.5rem;
  }

  .powered-badge {
    font-size: 0.6875rem;
    padding: 0.4375rem 0.75rem;
    margin-bottom: 1.5rem;
  }

  .hero-title {
    font-size: clamp(1.75rem, 10vw, 2.5rem);
    margin-bottom: 1.25rem;
  }

  .hero-description {
    font-size: 0.9375rem;
    margin-bottom: 1.75rem;
  }

  .btn-primary {
    padding: 0.875rem 1.25rem;
    font-size: 0.9375rem;
  }

  /* Features Extra Small */
  .features {
    padding: 2.5rem 0.75rem;
  }

  .feature-card {
    padding: 1.5rem 1rem;
  }

  .feature-icon {
    height: 48px;
    margin-bottom: 1rem;
  }

  .feature-icon svg {
    width: 36px;
    height: 36px;
  }

  .feature-title {
    font-size: 1rem;
  }

  .feature-value {
    font-size: 1.5rem;
  }

  /* About Extra Small */
  .about {
    padding: 3rem 0.75rem;
  }

  .about-title {
    font-size: clamp(1.75rem, 10vw, 2.5rem);
  }

  .about-paragraph {
    font-size: 0.875rem;
  }

  .about-highlight {
    padding: 1rem 0.875rem;
  }

  /* Contact Extra Small */
  .contact {
    padding: 3rem 0.75rem;
  }

  .contact-item {
    padding: 1.25rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .contact-icon {
    margin-bottom: 0.5rem;
  }

  /* Footer Extra Small */
  .footer {
    padding: 2.5rem 0.75rem 1.5rem;
  }

  .footer-logo img {
    width: 48px;
    height: 48px;
  }
  .chatbot-container {
    padding-top: 55px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 20px;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
  }

  .home-chatbot-container {
    position: relative !important;
    padding-top: 55px;
    padding-bottom: 2rem;
    min-height: 85vh;
    bottom: auto;
  }

  .chatbot-header {
    padding: 0.5rem 0.75rem 0.25rem;
    flex-shrink: 0;
    position: relative;
  }

  .chatbot-title {
    font-size: 1.375rem;
  }

  .chatbot-subtitle {
    font-size: 0.8125rem;
  }

  .chatbot-messages {
    padding: 0.75rem 0.5rem;
    gap: 0.875rem;
    padding-bottom: 1rem;
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .message-content {
    max-width: 90%;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }

  .chatbot-input-form {
    padding: 0.875rem;
    padding-bottom: calc(0.875rem + env(safe-area-inset-bottom, 0px));
    gap: 0.625rem;
    flex-shrink: 0;
    background: linear-gradient(180deg, transparent 0%, #0F172A 70%);
    backdrop-filter: blur(10px);
    box-sizing: border-box;
    width: 100%;
    margin: 0 auto;
    max-width: 100%;
    position: relative;
    z-index: 10;
    margin-bottom: 0;
    margin-top: auto;
  }

  .chatbot-input {
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    min-height: 48px;
    box-sizing: border-box;
  }

  .chatbot-send-button {
    padding: 0.75rem 1rem;
    min-width: 48px;
    min-height: 48px;
  }
}

