@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');

:root {
  --primary: #F97316; /* Coral / Orange */
  --secondary: #FB923C;
  --dark: #2E1065; /* Deep Indigo */
  --darker: #1E0B44;
  --light: #f8fafc;
  --gray: #cbd5e1;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
}

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

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

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.4); }
  70% { box-shadow: 0 0 0 20px rgba(249, 115, 22, 0); }
  100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); }
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: rgba(30, 11, 68, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff;
  text-decoration: none;
}
.logo img {
  height: 40px;
}
.nav-links {
  display: flex;
  gap: 30px;
}
.nav-links a {
  color: var(--light);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(79,172,254,0.3) 0%, rgba(0,0,0,0) 70%);
  filter: blur(60px);
  z-index: -1;
}
.hero-content {
  max-width: 800px;
  animation: fadeUp 1s ease-out;
}
.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: 1.2rem;
  color: var(--gray);
  margin-bottom: 40px;
}
.btn {
  padding: 15px 40px;
  border-radius: 30px;
  background: linear-gradient(45deg, var(--secondary), var(--primary));
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  display: inline-block;
  animation: pulse 2s infinite;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 242, 254, 0.3);
}

/* Glass Cards */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s;
}
.glass-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.2);
}
.glass-card h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
  color: var(--primary);
}

/* Images */
.mockup-img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  border: 1px solid var(--glass-border);
  margin-top: 50px;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
  text-align: left;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--gray);
}
.form-control {
  width: 100%;
  padding: 15px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: #fff;
  font-family: inherit;
  transition: border-color 0.3s;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
}

/* Feature Expandable */
.feature-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  margin-top: 10px;
  font-size: 0.95rem;
  color: var(--gray);
}
.glass-card {
  cursor: pointer;
}
.glass-card.expanded .feature-details {
  max-height: 200px;
}

/* AI Bot Widget */
.ai-bot-toggle {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 70px;
  height: 70px;
  background: var(--darker);
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  z-index: 1000;
  animation: pulse 2s infinite;
  transition: transform 0.3s;
  overflow: hidden;
}
.ai-bot-toggle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ai-bot-toggle:hover {
  transform: scale(1.1);
}
.ai-chat-window {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 350px;
  height: 500px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  z-index: 1000;
  transform: scale(0);
  transform-origin: bottom right;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  overflow: hidden;
}
.ai-chat-window.open {
  transform: scale(1);
}
.chat-header {
  padding: 20px;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chat-header h4 { margin: 0; display: flex; align-items: center; gap: 10px; }
.close-btn { cursor: pointer; color: var(--gray); font-size: 20px; }
.chat-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.msg {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 15px;
  font-size: 0.9rem;
}
.msg.bot {
  background: var(--glass-bg);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}
.msg.user {
  background: linear-gradient(45deg, var(--secondary), var(--primary));
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}
.chat-input {
  padding: 15px;
  border-top: 1px solid var(--glass-border);
  display: flex;
  gap: 10px;
}
.chat-input input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  outline: none;
}
.chat-input button {
  background: transparent;
  border: none;
  color: var(--primary);
  cursor: pointer;
  font-weight: bold;
}

/* Contact Profiles */
.profile-card {
  text-align: center;
}
.profile-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
  margin-bottom: 20px;
}

footer {
  text-align: center;
  padding: 40px;
  border-top: 1px solid var(--glass-border);
  color: var(--gray);
  margin-top: 50px;
}
