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

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --secondary: #0ea5e9;
  --dark: #0f172a;
  --darker: #020617;
  --light: #f8fafc;
  --gray: #64748b;
  --success: #10b981;
  --warning: #f59e0b;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--darker);
  color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  transition: opacity 0.3s;
}

.logo:hover {
  opacity: 0.8;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  color: var(--gray);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--light);
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  opacity: 0.15;
  top: -200px;
  right: -200px;
  animation: pulse 4s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
  opacity: 0.1;
  bottom: -100px;
  left: -100px;
  animation: pulse 4s ease-in-out infinite 2s;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.15;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.2;
  }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-text h1 span {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  font-size: 1.2rem;
  color: var(--gray);
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.hero-visual {
  position: relative;
}

/* Main Chat Window on Hero */
.main-chat-window {
  background: var(--dark);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  height: 500px;
  overflow: hidden;
}

.main-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-avatar-main {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-avatar-main svg {
  width: 24px;
  height: 24px;
  stroke: white;
}

.chat-header-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 3px;
}

.chat-status-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  opacity: 0.9;
}

.status-indicator {
  width: 8px;
  height: 8px;
  background: #fbbf24;
  border-radius: 50%;
  animation: pulse-status 2s infinite;
}

@keyframes pulse-status {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(0.9);
  }
}

.chat-header-right {
  display: flex;
  gap: 10px;
}

.chat-clear-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  color: white;
  transition: background 0.2s;
}

.chat-clear-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.main-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.main-chat-messages::-webkit-scrollbar {
  width: 6px;
}

.main-chat-messages::-webkit-scrollbar-track {
  background: transparent;
}

.main-chat-messages::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

/* Welcome Screen */
.chat-welcome {
  text-align: center;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.welcome-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 16px;
  margin-bottom: 20px;
}

.welcome-icon svg {
  width: 32px;
  height: 32px;
  stroke: white;
}

.chat-welcome h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.chat-welcome p {
  color: var(--gray);
  font-size: 0.95rem;
  max-width: 300px;
  line-height: 1.6;
}

.welcome-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
  justify-content: center;
}

.suggestion-btn {
  padding: 10px 16px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 20px;
  color: var(--light);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}

.suggestion-btn:hover {
  background: rgba(99, 102, 241, 0.3);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* Chat Messages */
.main-chat-message {
  max-width: 80%;
  padding: 14px 18px;
  border-radius: 18px;
  font-size: 0.95rem;
  line-height: 1.6;
  animation: messageSlide 0.3s ease;
}

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

.main-chat-message.user {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 6px;
}

.main-chat-message.bot {
  background: rgba(255, 255, 255, 0.08);
  color: var(--light);
  align-self: flex-start;
  border-bottom-left-radius: 6px;
}

.main-chat-message .msg-time {
  font-size: 0.7rem;
  opacity: 0.6;
  margin-top: 8px;
  display: block;
}

.main-chat-message.bot.typing-indicator {
  display: flex;
  gap: 6px;
  padding: 18px 22px;
}

.main-chat-message.bot.typing-indicator span {
  width: 10px;
  height: 10px;
  background: var(--gray);
  border-radius: 50%;
  animation: typingBounce 1.4s infinite;
}

.main-chat-message.bot.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}
.main-chat-message.bot.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingBounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  50% {
    transform: translateY(-8px);
    opacity: 1;
  }
}

/* Chat Input */
.main-chat-input {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.main-chat-input input {
  flex: 1;
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  background: var(--darker);
  color: var(--light);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.main-chat-input input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.main-chat-input input::placeholder {
  color: var(--gray);
}

.main-chat-send {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
  color: white;
}

.main-chat-send:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(99, 102, 241, 0.4);
}

.main-chat-send:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.main-chat-send svg {
  width: 22px;
  height: 22px;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(245, 158, 11, 0.2);
  color: var(--warning);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

/* Features */
.features {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.section-title p {
  color: var(--gray);
  font-size: 1.1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: var(--dark);
  padding: 30px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--gray);
}

/* Pricing */
.pricing {
  padding: 100px 0;
  background: var(--dark);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.pricing-card {
  background: var(--darker);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  position: relative;
  transition: all 0.3s;
}

.pricing-card.popular {
  border-color: var(--primary);
  transform: scale(1.05);
}

.pricing-card.popular::before {
  content: "Most Popular";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 5px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.price {
  font-size: 3rem;
  font-weight: 800;
  margin: 20px 0;
}

.price span {
  font-size: 1rem;
  color: var(--gray);
  font-weight: 400;
}

.pricing-features {
  list-style: none;
  margin: 30px 0;
  text-align: left;
}

.pricing-features li {
  padding: 10px 0;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li::before {
  content: "✓";
  color: var(--success);
  font-weight: 700;
}

/* Coming Soon Banner */
.coming-soon {
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.1),
    rgba(14, 165, 233, 0.1)
  );
}

.notify-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 20px;
  margin-bottom: 30px;
  animation: float 3s ease-in-out infinite;
}

.notify-icon svg {
  stroke: white;
}

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

.coming-soon h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.coming-soon p {
  color: var(--gray);
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.coming-soon .btn-lg {
  padding: 16px 32px;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.launch-date {
  margin-top: 25px;
  font-size: 0.9rem !important;
  color: var(--gray) !important;
  margin-bottom: 0 !important;
}

.email-form {
  display: flex;
  gap: 10px;
  max-width: 500px;
  margin: 0 auto;
}

.email-form input {
  flex: 1;
  padding: 15px 20px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--dark);
  color: var(--light);
  font-size: 1rem;
}

.email-form input::placeholder {
  color: var(--gray);
}

/* Footer */
footer {
  padding: 80px 0 40px;
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand {
  max-width: 280px;
}

.footer-brand .logo {
  display: inline-block;
  margin-bottom: 15px;
}

.footer-brand p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-links h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--light);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gray);
  font-size: 0.9rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: relative;
  z-index: 1001;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--light);
  transition: all 0.3s;
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(10px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-10px);
}

/* Menu Overlay for mobile */
.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  backdrop-filter: blur(2px);
}

.menu-overlay.active {
  display: block;
  animation: fadeInOverlay 0.2s ease;
}

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

/* Responsive - Tablets */
@media (max-width: 968px) {
  .container {
    padding: 0 30px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-text h1 {
    font-size: 2.8rem;
  }

  .hero-text p {
    font-size: 1.1rem;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .main-chat-window {
    max-width: 500px;
    margin: 0 auto;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .pricing-card.popular {
    transform: none;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    height: 100vh;
    background: var(--dark);
    flex-direction: column;
    padding: 100px 40px 40px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
    z-index: 999;
    overflow-y: auto;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    padding: 15px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  nav > .btn {
    display: none;
  }
}

/* Responsive - Mobile */
@media (max-width: 640px) {
  .container {
    padding: 0 20px;
  }

  .hero {
    padding-top: 100px;
    min-height: auto;
    padding-bottom: 60px;
  }

  .hero-text h1 {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .hero-text p {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }

  .badge {
    font-size: 0.8rem;
    padding: 5px 10px;
  }

  /* Main Chat Window */
  .main-chat-window {
    height: 400px;
    border-radius: 16px;
  }

  .main-chat-header {
    padding: 14px 16px;
  }

  .chat-avatar-main {
    width: 38px;
    height: 38px;
  }

  .chat-header-info h4 {
    font-size: 0.95rem;
  }

  .chat-status-badge {
    font-size: 0.75rem;
  }

  .main-chat-messages {
    padding: 15px;
    gap: 12px;
  }

  .main-chat-input {
    padding: 12px 15px;
    gap: 10px;
  }

  .main-chat-input input {
    padding: 12px 16px;
    font-size: 0.9rem;
  }

  .main-chat-send {
    width: 44px;
    height: 44px;
  }

  .main-chat-message {
    font-size: 0.9rem;
    padding: 12px 14px;
  }

  /* Features Section */
  .features {
    padding: 60px 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-card {
    padding: 25px;
  }

  .feature-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
  }

  .feature-card h3 {
    font-size: 1.1rem;
  }

  .feature-card p {
    font-size: 0.9rem;
  }

  /* Pricing Section */
  .pricing {
    padding: 60px 0;
  }

  .pricing-card {
    padding: 30px 25px;
  }

  .price {
    font-size: 2.5rem;
  }

  /* Coming Soon Section */
  .coming-soon {
    padding: 60px 0;
  }

  .coming-soon h2 {
    font-size: 2rem;
  }

  .coming-soon p {
    font-size: 1rem;
  }

  .notify-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
  }

  .coming-soon .btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
    width: 100%;
    justify-content: center;
  }

  /* Footer */
  footer {
    padding: 60px 0 30px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-brand {
    max-width: 100%;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .section-title p {
    font-size: 1rem;
  }

  /* Mobile menu adjustments for small screens */
  .nav-links {
    width: 100%;
    padding: 100px 30px 30px;
  }

  .nav-links a {
    font-size: 1rem;
  }
}

/* Responsive - Very Small Mobile */
@media (max-width: 380px) {
  .hero {
    padding-top: 90px;
    padding-bottom: 50px;
  }

  .hero-text h1 {
    font-size: 1.6rem;
  }

  .main-chat-window {
    height: 350px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .welcome-suggestions {
    flex-direction: column;
  }

  .suggestion-btn {
    width: 100%;
  }
}
