/* CSS Variables */
:root {
  /* Dark theme */
  --primary-color: #009ffd;
  --secondary-color: #2a2a72;
  --text-color: #f0f0f0;
  --background-color: #1a1a1a;
  --card-background: #2d2d2d;
  --nav-background: rgba(45, 45, 45, 0.95);
  --footer-background: #2d2d2d;
  --border-color: #404040;
  --transition: all 0.3s ease;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  overflow-x: hidden;
  background-color: var(--background-color);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navigation */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--nav-background);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav a {
  color: var(--text-color);
  text-decoration: none;
  margin-left: 2rem;
  font-weight: 500;
  transition: var(--transition);
}

.nav a:not(.get-started-btn):hover {
  color: var(--secondary-color);
}

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

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--text-color);
  margin: 5px 0;
  transition: var(--transition);
}

/* Header */
.header {
  width: 100%;
  background: var(--background-color);
  padding: 1rem 0;
  margin-top: 60px;
  display: flex;
  justify-content: center;
}

.header-logo {
  width: 100%;
  max-width: 800px;
  padding: 0 2rem;
  display: flex;
  justify-content: center;
}

.header-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .header-logo {
    max-width: 700px;
  }
  
  .container {
    padding: 0 2rem;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 0.75rem 1.5rem;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background-color: #1a1a1a;
    padding: 1rem;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    color: #ffffff;
    font-weight: 500;
    padding: 0.75rem 1rem;
    width: 100%;
    text-align: center;
    transition: background-color 0.3s ease;
  }

  .nav-links a:hover {
    background-color: #2d2d2d;
    color: var(--primary-color);
  }

  .nav-links .get-started-btn {
    background-color: var(--primary-color);
    color: white;
    border-radius: 4px;
    margin-top: 0.5rem;
  }

  .nav-links .get-started-btn:hover {
    background-color: #0077cc;
    color: white;
  }

  .nav a {
    margin: 0;
    padding: 0.5rem 0;
  }

  .header-logo {
    max-width: 600px;
  }

  .features {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  section {
    padding: 3rem 1rem;
  }
}

@media (max-width: 480px) {
  .nav {
    padding: 0.75rem 1rem;
  }

  .header-logo {
    max-width: 400px;
    padding: 0 1rem;
  }

  .header {
    padding: 0.5rem 0;
  }

  .container {
    padding: 0 1rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

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

/* Hero Section */
.hero {
  text-align: center;
  padding: 4rem 1rem;
}

.hero h2 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.feature-card {
  background: var(--card-background);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  color: var(--text-color);
}

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

/* CTA Button Styles and Animation */
.cta-container {
  margin-top: 2rem;
  text-align: center;
}

.get-started-btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  border-radius: 30px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.get-started-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

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

.get-started-btn:active::after {
  transform: translate(-50%, -50%) scale(2);
  opacity: 1;
}

.contact-btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  border-radius: 30px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-btn:active {
  transform: scale(0.98);
}

.contact-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

.contact-btn:active::after {
  transform: translate(-50%, -50%) scale(2);
  opacity: 1;
}

/* Contact Now Button */
.contact-now-btn,
.nav .contact-now-btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white !important;
  border: none;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 159, 253, 0.2);
}

.contact-now-btn:hover,
.nav .contact-now-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 159, 253, 0.3);
  color: white !important;
}

/* Sections */
section {
  padding: 4rem 0;
}

/* Footer */
footer {
  background: var(--footer-background);
  padding: 3rem 1rem;
  text-align: center;
  margin-top: 4rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-color);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-links a {
  color: #0099ff;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #0066cc;
}

/* Footer Links */
footer a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

footer a:hover {
  color: var(--secondary-color);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.social-icons a {
  color: var(--text-color);
  font-size: 1.5rem;
  transition: var(--transition);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
}

.social-icons a:hover {
  transform: translateY(-3px);
}

.social-icons .x-twitter {
  color: #000000;
}

.social-icons .linkedin {
  color: #0077b5;
}

.social-icons .email {
  color: #0099ff;
}

.social-icons .facebook {
  color: #1877f2;
}

.social-icons .instagram {
  color: #e4405f;
}

.social-icons .calendar {
  color: #4285f4;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .header {
    padding: 6rem 1rem 3rem;
  }

  .features {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
}

/* Performance Optimizations */
@media (prefers-reduced-motion: no-preference) {
  .feature-card {
    will-change: transform;
  }
}

/* Theme toggle button */
.theme-toggle {
  background: none;
  border: none;
  color: var(--text-color);
  cursor: pointer;
  padding: 0.5rem;
  font-size: 1.2rem;
  margin-left: 1rem;
  transition: var(--transition);
}

.theme-toggle:hover {
  color: var(--primary-color);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  display: block;
  opacity: 1;
}

.modal-content {
  background-color: var(--background-color);
  margin: 15% auto;
  padding: 2rem;
  border: 1px solid var(--border-color);
  width: 90%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  position: relative;
  transition: transform 0.3s ease;
  transform: translateY(-20px);
}

.modal.show .modal-content {
  transform: translateY(0);
}

/* Transition for modal close */
.modal.hide .modal-content {
  transform: translateY(-20px);
}

.close-modal {
  position: absolute;
  right: 1.5rem;
  top: 1rem;
  font-size: 1.5rem;
  color: var(--text-color);
  cursor: pointer;
  transition: var(--transition);
}

.close-modal:hover {
  color: var(--secondary-color);
}

/* Form Styles */
.contact-form {
  margin-top: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-color);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: var(--background-color);
  color: var(--text-color);
  font-family: inherit;
  transition: var(--transition);
}

.form-group input[type="tel"] {
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 2px rgba(0, 159, 253, 0.1);
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
}

.consent-label {
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--text-color);
  opacity: 0.7;
}

.consent-label a {
  color: var(--secondary-color);
  text-decoration: none;
}

.consent-label a:hover {
  text-decoration: underline;
}

.submit-button {
  background: var(--secondary-color);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 159, 253, 0.3);
}

/* Contact Section Styles */
#contact {
  background: var(--background-color);
  padding: 4rem 0;
}

#contact .cta-container {
  margin-top: 2rem;
}

/* About Section Styles */
.about-section {
  padding: 6rem 0;
  background-color: var(--background-color);
}

.about-section h2 {
  text-align: center;
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.about-grid {
  display: grid;
  gap: 3rem;
  margin-bottom: 4rem;
}

.about-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.about-content h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Voice Agent Features */
.voice-agent-features {
  padding: 2rem 0;
}

.voice-agent-features h3 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-item {
  background: var(--card-background);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.feature-item i {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.feature-item h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Implementation Roadmap */
.implementation-roadmap {
  padding: 3rem 0;
}

.implementation-roadmap h3 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background-color: var(--secondary-color);
}

.timeline-item {
  margin-bottom: 2rem;
  position: relative;
  padding: 1rem;
}

.timeline-content {
  background: var(--card-background);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  margin-left: 2rem;
}

.timeline-content::before {
  content: "";
  position: absolute;
  left: -2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  background-color: var(--secondary-color);
  border-radius: 50%;
}

.timeline-content h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* Implementation Roadmap Styles */
.implementation-roadmap {
  padding: 4rem 0;
  background-color: #000000;
  color: #ffffff;
}

.implementation-roadmap h2 {
  text-align: center;
  color: #007bff;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 0 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.roadmap-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 2rem;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.roadmap-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 123, 255, 0.1);
}

.phase-number {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 40px;
  height: 40px;
  background: #007bff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
}

.roadmap-card h3 {
  color: #007bff;
  font-size: 1.8rem;
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.roadmap-card h4 {
  color: #00a6ff;
  font-size: 1.2rem;
  margin: 1.5rem 0 1rem;
}

.phase-description {
  color: #e0e0e0;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.roadmap-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.roadmap-card li {
  color: #cccccc;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.4;
}

.roadmap-card li::before {
  content: "•";
  color: #007bff;
  font-size: 1.2em;
  position: absolute;
  left: 0;
  top: -2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .roadmap-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }
  
  .implementation-roadmap h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  
  .roadmap-card {
    padding: 1.5rem;
  }
  
  .roadmap-card h3 {
    font-size: 1.5rem;
  }
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 4rem 0;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: white;
  border-radius: 12px;
  margin-top: 4rem;
}

.cta-section h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-section p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .about-section h2 {
    font-size: 2rem;
  }

  .timeline::before {
    left: 0;
  }

  .timeline-content {
    margin-left: 2rem;
  }

  .timeline-content::before {
    left: -2.5rem;
  }
}

/* Calendar Styles */
.calendar-section {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.calendar-container {
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.calendar-section h1 {
  text-align: center;
  margin-bottom: 2rem;
  color: #333;
}

/* Policy Pages */
.policy-section {
  padding: 2rem 0;
}

.policy-section .card {
  background: var(--card-background);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
}

.policy-section h2 {
  color: var(--primary-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

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

.policy-section ul {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.policy-section ul li {
  margin-bottom: 0.5rem;
}

.last-updated {
  color: var(--text-color);
  opacity: 0.7;
  font-style: italic;
  margin-bottom: 2rem;
}

/* Terms and Conditions Page Styles */
.policy-section .card {
  background: var(--card-background);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 2rem 0;
}

.policy-section h1 {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.policy-section h2 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.policy-section h3 {
  color: var(--text-color);
  font-size: 1.4rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.policy-section p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.policy-section ul {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.policy-section li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.policy-section .last-updated {
  color: #888;
  font-style: italic;
  text-align: center;
  margin-bottom: 2rem;
}

.policy-section .contact-info {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.policy-section .contact-info p {
  margin-bottom: 1rem;
}

/* Smooth Scroll behavior for the whole page */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px; /* Adjust based on your nav height */
}

