/* Global styles */
:root {
  --primary-color: #0CFFE1;
  --accent-color-1: #FF16B0;
  --accent-color-2: #3A10E5;
  --bg-color-1: #080B17;
  --bg-color-2: #101528;
  --text-light: #E6F4FF;
  --text-dark: #151A30;
  --border-color: #2D3047;
}

body {
  font-family: 'Lato', sans-serif;
  background: var(--bg-color-1);
  color: var(--text-light);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color-1));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1.5rem;
  font-weight: 300;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-color-1);
  text-decoration: none;
}

/* Buttons */
.btn {
  border-radius: 0;
  padding: 0.8rem 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s ease;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color-1));
  z-index: -1;
  transition: all 0.3s ease;
  opacity: 0;
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--text-dark);
}

.btn-primary:hover {
  background-color: transparent;
  border-color: var(--primary-color);
  color: var(--primary-color);
}

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

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

/* Navigation */
.navbar {
  background-color: rgba(8, 11, 23, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
}

.navbar-brand img {
  height: 40px;
}

.navbar-toggler {
  border: none;
  color: var(--primary-color);
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-dark .navbar-nav .nav-link {
  color: var(--text-light);
  font-weight: 400;
  padding: 0.5rem 1rem;
  position: relative;
}

.navbar-dark .navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color-1));
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-dark .navbar-nav .nav-link:hover::after,
.navbar-dark .navbar-nav .active .nav-link::after {
  width: 80%;
}

/* Chat-like conversation layout */
.chat-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.message {
  margin-bottom: 2rem;
  max-width: 80%;
  position: relative;
}

.message-left {
  margin-right: auto;
  background-color: var(--bg-color-2);
  border-radius: 20px 20px 20px 0;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border-left: 3px solid var(--primary-color);
}

.message-right {
  margin-left: auto;
  background-color: rgba(60, 16, 229, 0.3);
  border-radius: 20px 20px 0 20px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border-right: 3px solid var(--accent-color-1);
}

.message-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.message-header .icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color-1));
  color: var(--text-dark);
  font-size: 1.2rem;
}

.message-header .timestamp {
  font-size: 0.8rem;
  color: rgba(230, 244, 255, 0.6);
  margin-left: auto;
}

.typing-indicator {
  display: flex;
  padding: 1rem;
}

.typing-indicator span {
  width: 10px;
  height: 10px;
  margin: 0 2px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: inline-block;
  animation: typing 1.5s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
  background-color: var(--accent-color-1);
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
  background-color: var(--accent-color-2);
}

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

/* Hero section */
.hero {
  position: relative;
  padding: 8rem 0 4rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(255, 22, 176, 0.2), transparent 60%),
              radial-gradient(circle at bottom left, rgba(12, 255, 225, 0.2), transparent 60%);
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 2rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: rgba(230, 244, 255, 0.8);
}

.hero-image {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

.hero-image img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.hero-image:hover img {
  transform: scale(1.05);
}

.hero-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(12, 255, 225, 0.3), rgba(255, 22, 176, 0.3));
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hero-image:hover::before {
  opacity: 1;
}

/* Features section */
.features {
  padding: 5rem 0;
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, var(--bg-color-1), var(--bg-color-2));
  z-index: -1;
}

.feature-card {
  background-color: rgba(16, 21, 40, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(to bottom, var(--primary-color), var(--accent-color-1));
  transition: all 0.5s ease;
}

.feature-card:hover::before {
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color-1));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* How it works section */
.how-it-works {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.how-it-works::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(58, 16, 229, 0.2), transparent 70%);
  z-index: -1;
}

.step-card {
  position: relative;
  padding: 2rem;
  margin-bottom: 2rem;
  background-color: rgba(16, 21, 40, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  transition: all 0.3s ease;
  height: 100%;
}

.step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.step-number {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color-1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  z-index: 1;
}

.step-content {
  position: relative;
  z-index: 0;
}

.step-line {
  position: absolute;
  top: 50%;
  right: -50px;
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color-1));
  transform: translateY(-50%);
  z-index: -1;
}

/* Testimonials - not used per requirements */

/* Team - not used per requirements */

/* Contact section */
.contact {
  padding: 5rem 0;
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at bottom right, rgba(12, 255, 225, 0.2), transparent 70%);
  z-index: -1;
}

.contact-info {
  background-color: rgba(16, 21, 40, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 2rem;
  height: 100%;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-info-icon {
  font-size: 1.5rem;
  margin-right: 1rem;
  color: var(--primary-color);
}

.contact-form {
  background-color: rgba(16, 21, 40, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 2rem;
}

.form-control {
  background-color: rgba(8, 11, 23, 0.5);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  color: var(--text-light);
  padding: 0.8rem 1rem;
}

.form-control:focus {
  background-color: rgba(8, 11, 23, 0.7);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(12, 255, 225, 0.25);
  color: var(--text-light);
}

.form-label {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.form-check-input {
  background-color: rgba(8, 11, 23, 0.5);
  border: 1px solid var(--border-color);
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.form-check-label {
  color: var(--text-light);
}

/* Map */
.map-container {
  position: relative;
  height: 400px;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  margin-top: 2rem;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer */
.footer {
  background-color: var(--bg-color-2);
  padding: 3rem 0 1rem;
  border-top: 1px solid var(--border-color);
}

.footer-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(230, 244, 255, 0.8);
  transition: all 0.3s ease;
  position: relative;
  padding-left: 1rem;
}

.footer-links a::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 1.5rem;
}

.footer-links a:hover::before {
  left: 0.5rem;
}

.footer-bottom {
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: rgba(230, 244, 255, 0.6);
}

/* Cookie consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-color-2);
  padding: 1.5rem;
  z-index: 9999;
  border-top: 1px solid var(--border-color);
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-settings-modal {
  background-color: var(--bg-color-2);
  border: 1px solid var(--border-color);
  border-radius: 10px;
}

.cookie-settings-modal .modal-header {
  border-bottom: 1px solid var(--border-color);
}

.cookie-settings-modal .modal-footer {
  border-top: 1px solid var(--border-color);
}

.cookie-category {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.cookie-category:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.form-check-label {
  align-items: center;
}

.cookie-category-title {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cookie-category-desc {
  color: rgba(230, 244, 255, 0.8);
  font-size: 0.9rem;
}

/* Thank you page */
.thank-you {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(ellipse at center, rgba(58, 16, 229, 0.2), transparent 70%);
}

.thank-you-content {
  max-width: 600px;
  padding: 3rem;
  background-color: rgba(16, 21, 40, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin: 0 auto;
}

.thank-you-icon {
  font-size: 4rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.accordion-item {
  background-color: rgba(16, 21, 40, 0.1) !important;
}

.accordion-body {
  color: white !important;
}

/* Demo access */
.demo-access {
  padding: 5rem 0;
  position: relative;
}

.demo-access::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top left, rgba(255, 22, 176, 0.2), transparent 60%);
  z-index: -1;
}

.demo-card {
  background-color: rgba(16, 21, 40, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
}

.demo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Policy pages */
.policy-content {
  background-color: rgba(16, 21, 40, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.policy-section {
  margin-bottom: 2rem;
}

.policy-section h3 {
  margin-bottom: 1rem;
}

.policy-list {
  padding-left: 1.5rem;
}

.policy-list li {
  margin-bottom: 0.8rem;
}

/* Custom animations */
.glow {
  animation: glow 3s infinite alternate;
}

@keyframes glow {
  0% {
    text-shadow: 0 0 5px rgba(12, 255, 225, 0.5), 0 0 10px rgba(12, 255, 225, 0.3);
  }
  100% {
    text-shadow: 0 0 20px rgba(12, 255, 225, 0.8), 0 0 30px rgba(12, 255, 225, 0.5), 0 0 40px rgba(12, 255, 225, 0.3);
  }
}

.hover-lift {
  transition: transform 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
}

/* Utility classes */
.bg-gradient-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color-1));
}

.text-gradient {
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color-1));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.border-glow {
  position: relative;
}

.border-glow::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid transparent;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color-1)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
}

/* Responsive */
@media (max-width: 991.98px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .hero {
    padding: 6rem 0 3rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .step-line {
    display: none;
  }
  
  .message {
    max-width: 90%;
  }
}

@media (max-width: 767.98px) {
  .hero {
    padding: 5rem 0 2rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .message {
    max-width: 100%;
  }
  
  .features, .how-it-works, .contact, .demo-access {
    padding: 3rem 0;
  }
  
  .navbar-collapse {
    background-color: var(--bg-color-2);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
  }
}

/* IntlTelInput custom styles */
.iti {
  width: 100%;
}

.iti__flag {
  background-image: url("https://cdn.jsdelivr.net/npm/intl-tel-input@19.5.1/build/img/flags.png");
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .iti__flag {
    background-image: url("https://cdn.jsdelivr.net/npm/intl-tel-input@19.5.1/build/img/flags@2x.png");
  }
}

.iti__country-list {
  background-color: var(--bg-color-2);
  border: 1px solid var(--border-color);
}

.iti__country {
  color: var(--text-light);
}

.iti__country.iti__highlight {
  background-color: rgba(12, 255, 225, 0.2);
}

.iti__selected-flag {
  background-color: rgba(8, 11, 23, 0.5);
}

.iti__selected-flag:hover {
  background-color: rgba(8, 11, 23, 0.7);
}