/* TripGuy Chatbot - Simple, Clean CSS */

/* CSS Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

ul, ol { list-style: none; }
button { background: none; border: none; cursor: pointer; font: inherit; }
input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

/* CSS Variables */
:root {
  --primary-blue: #0066cc;
  --primary-blue-dark: #0052a3;
  --purple: #6dc1c4;
  --pink: #ec4899;
  --green: #10b981;
  --orange: #f59e0b;
  
  --text-dark: #111827;
  --text-gray: #6b7280;
  --text-light: #9ca3af;
  
  --bg-white: #ffffff;
  --bg-gray-50: #f9fafb;
  --bg-gray-100: #f3f4f6;
  
  --border-gray: #e5e7eb;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Base Styles */
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-gray-50);
}

/* Header Styles */
.header-nav {
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border-gray);
  position: sticky;
  top: 0;
  z-index: 50;
}

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

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

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

.header-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.3s ease;
}

.header-logo:hover {
  transform: translateY(-1px);
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--primary-blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  color: white;
  font-weight: 700;
  font-size: 14px;
}

.logo-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  color: var(--text-gray);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-blue);
}

/* Page Container */
.page-container {
  width: 100%;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #6366f1 100%);
  color: white;
  padding: 80px 20px;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

/* Hero Left */
.hero-left {
  text-align: left;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  margin-right: 8px;
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, #60a5fa, var(--purple), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--bg-white), #f8fafc);
  color: var(--primary-blue);
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: white;
  box-shadow: var(--shadow-lg);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.btn-primary:hover .btn-icon,
.btn-secondary:hover .btn-icon {
  transform: translateX(4px);
}

.trust-indicators {
  display: flex;
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: transform 0.3s ease;
}

.trust-item:hover .trust-icon {
  transform: scale(1.1);
}

.trust-text {
  color: rgba(255, 255, 255, 0.9);
}

.trust-label {
  font-weight: 600;
  font-size: 14px;
}

.trust-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

/* Hero Right - Chat Demo */
.hero-right {
  display: flex;
  justify-content: center;
}

.chat-demo {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
  width: 100%;
  max-width: 500px;
  transition: transform 0.3s ease;
}

.chat-demo:hover {
  transform: translateY(-4px);
}

.chat-header {
  background: linear-gradient(135deg, var(--primary-blue), var(--purple));
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.chat-avatar {
  position: relative;
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.avatar-emoji {
  font-size: 24px;
}

.status-indicator {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 16px;
  height: 16px;
  background: var(--green);
  border-radius: 50%;
  border: 2px solid white;
  animation: pulse 2s infinite;
}

.chat-info {
  color: white;
}

.chat-name {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px 0;
}

.chat-status {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.chat-messages {
  padding: 24px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.ai-message {
  display: flex;
  gap: 12px;
  animation: fadeInUp 0.4s ease;
}

.message-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-blue), var(--purple));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
  color: white;
  font-size: 12px;
  font-weight: 700;
}

.message-bubble {
  background: var(--bg-white);
  padding: 20px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  flex: 1;
  border: 1px solid var(--border-gray);
}

.message-header {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.welcome-icon {
  font-size: 20px;
  margin-right: 8px;
}

.message-bubble p {
  color: var(--text-gray);
  margin-bottom: 16px;
}

.feature-list {
  margin-bottom: 16px;
}

.feature-list li {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 8px;
}

.feature-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 12px;
}

.feature-dot.blue { background: var(--primary-blue); }
.feature-dot.purple { background: var(--purple); }
.feature-dot.pink { background: var(--pink); }
.feature-dot.green { background: var(--green); }

.cta-message {
  background: linear-gradient(135deg, #dbeafe, #e0e7ff);
  padding: 12px;
  border-radius: 12px;
  text-align: center;
  color: var(--text-dark);
  font-weight: 600;
}

.chat-input {
  padding: 24px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  gap: 12px;
  align-items: center;
}

.message-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 16px;
  padding: 16px 20px;
  font-size: 16px;
  color: var(--text-dark);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.message-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

.message-input::placeholder {
  color: var(--text-light);
}

.send-button {
  background: linear-gradient(135deg, var(--primary-blue), var(--purple));
  color: white;
  border: none;
  border-radius: 16px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  width: 56px;
  height: 56px;
}

.send-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

/* Features Section */
.features {
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--bg-gray-50), #dbeafe);
}

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

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: #dbeafe;
  color: var(--primary-blue);
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.section-description {
  font-size: 1.2rem;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--bg-white);
  padding: 32px;
  border-radius: 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

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

.feature-icon.blue {
  background: linear-gradient(135deg, var(--primary-blue), #3b82f6);
}

.feature-icon.purple {
  background: linear-gradient(135deg, var(--purple), #a855f7);
}

.feature-icon.pink {
  background: linear-gradient(135deg, var(--pink), #f472b6);
}

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

.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.feature-desc {
  color: var(--text-gray);
  line-height: 1.6;
}

/* Footer Styles */
.site-footer {
  background: #111827;
  color: #d1d5db;
  margin-top: 80px;
}

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

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

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.footer-brand .logo-title {
  font-size: 20px;
  font-weight: 600;
  color: white;
}

.footer-description {
  font-size: 14px;
  color: #9ca3af;
  line-height: 1.6;
  max-width: 300px;
}

.footer-heading {
  color: white;
  font-weight: 600;
  margin-bottom: 16px;
  font-size: 16px;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-link {
  font-size: 14px;
  color: #9ca3af;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 14px;
  color: #9ca3af;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
    max-width: none;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 300px;
  }
  
  .trust-indicators {
    justify-content: center;
  }
  
  .chat-demo {
    max-width: none;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 60px 16px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .features {
    padding: 60px 16px;
  }
  
  .footer-container {
    padding: 32px 16px 20px;
  }
}

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

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--primary-blue), var(--purple));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--primary-blue-dark), #7c3aed);
}