/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Global Styles */
body {
  font-family: 'Roboto', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
  text-align: left;
}

p {
  margin-bottom: 1em;
}

h2 {
  margin-bottom: 15px;
  color: #2c3e50;
}

h3 {
  margin-bottom: 15px;
  color: #0077be;
  text-align: left;
}

/* Header Styles */
header {
  background: #e0e0e0;
  color: #333;
  padding: 5px 20px;
  position: relative;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
}

.logo img {
  height: 80px;
  width: auto;
  margin-right: 10px;
}

.logo span {
  font-size: 2.2rem;
  font-weight: bold;
}

/* Navigation */
nav {
  text-align: center;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 40px;
}

nav li {
  position: relative;
}

nav a {
  color: #333;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
}

nav a:hover {
  color: #666;
}

nav a.active {
  color: #0077be;
}

/* Dropdown Navigation */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #e0e0e0;
  min-width: 80px;
  width: max-content;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  border-radius: 5px;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
}

.dropdown-content a {
  color: #333;
  padding: 10px 12px;
  text-decoration: none;
  display: block;
  margin: 0;
  font-size: 1rem;
  white-space: nowrap;
}

.dropdown-content a:hover {
  background-color: #d0d0d0;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Auth Container for Partner Logos */
.auth-container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.auth-container .logo-link {
  display: inline-block;
}

.auth-container img {
  height: 30px;
  width: auto;
}

.auth-container .anthropic-logo {
  height: 16.2px;
  width: auto;
}

.auth-container .openai-logo {
  height: 30px;
  width: auto;
}

.auth-container .deepseek-logo {
  height: 30px;
  width: auto;
}

/* Carousel Styles */
.carousel {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-caption {
  position: absolute;
  bottom: 50px;
  left: 50px;
  background: rgba(0, 0, 0, 0.4);
  padding: 22px;
  border-radius: 8px;
  max-width: 576px;
  backdrop-filter: blur(2px);
}

.carousel-caption h2 {
  color: #87CEEB;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
  line-height: 1.3;
}

.carousel-caption p {
  color: #ffffff;
  font-size: 1rem;
  margin-top: 8px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
  line-height: 1.4;
  font-weight: 400;
}

/* Main Content Container */
.container {
  padding: 20px;
  max-width: 960px;
  margin: auto;
  text-align: left;
}

section {
  margin-bottom: 40px;
}

/* Professional Product Page Styles */
.product-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.product-section h2 {
  font-size: 2.2rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 45px 0 20px 0;
  line-height: 1.3;
}

.product-section h3 {
  font-size: 1.4rem;
  font-weight: bold;
  color: #0077be;
  margin: 35px 0 15px 0;
  line-height: 1.4;
}

.product-section p {
  margin-bottom: 18px;
  line-height: 1.7;
  font-size: 1.05rem;
}

.professional-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.professional-list li {
  padding: 12px 0 12px 20px;
  border-left: 3px solid #e9ecef;
  margin-bottom: 8px;
  position: relative;
  background: #f8f9fa;
  transition: border-color 0.2s ease;
}

.professional-list li:hover {
  border-left-color: #0077be;
}

.professional-list li::before {
  content: "▸";
  color: #0077be;
  position: absolute;
  left: 6px;
  font-weight: bold;
}

.section-divider {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, #dee2e6, transparent);
  margin: 5px 0;
}

.content-section {
  margin-bottom: 5px;
  padding-bottom: 5px;
}

.highlight-text {
  background: #f8f9fa;
  padding: 20px;
  border-left: 4px solid #0077be;
  margin: 25px 0 15px 0;
  font-style: italic;
}

.professional-cta {
  background: #f8f9fa;
  border: 2px solid #0077be;
  padding: 30px;
  text-align: center;
  margin: 40px 0;
  border-radius: 4px;
}

.cta-link {
  color: #0077be;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.cta-link:hover {
  border-bottom-color: #0077be;
}

.feature-group {
  background: white;
  border: 1px solid #e9ecef;
  padding: 25px;
  margin: 20px 0;
  border-radius: 4px;
}

.feature-group h4 {
  color: #2c3e50;
  margin-bottom: 15px;
  font-weight: 500;
  font-size: 1.1rem;
}

/* Brand Styling */
.brand-ai {
  color: #0077be;
}


.brand-black {
  color: #1a1a1a;
}

.company-byline {
  font-size: 0.6em;
  font-weight: normal;
}

/* Content Images */
.content-image {
  display: block;
  margin: 20px auto;
  text-align: center;
}

.content-image img {
  max-width: 70%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Footer Styles */
footer {
  background: #2c3e50;
  color: #fff;
  padding: 20px 20px 10px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-section {
  flex: 1;
  min-width: 250px;
}

.footer-section h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: bold;
}

.footer-section p {
  color: #bbb;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 10px;
}

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

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: #bbb;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #0077be;
}

.footer-bottom {
  text-align: center;
  margin: 0;
  padding: 0;
}

.footer-bottom p {
  color: #bbb;
  font-size: 0.9rem;
  margin: 0;
}

/* Get Involved Box */
.get-involved-box {
  background: #f0f8ff;
  border: 2px solid #0077be;
  border-radius: 8px;
  padding: 25px;
  margin-top: 30px;
  text-align: center;
}

.get-involved-box h3 {
  margin-bottom: 15px;
  color: #0077be;
  font-size: 1.5rem;
}

.get-involved-box p {
  margin-bottom: 15px;
  color: #333;
  font-size: 1.1rem;
}

.cta-link {
  color: #0077be !important;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
  border: 2px solid #0077be;
  padding: 12px 20px;
  border-radius: 5px;
  display: inline-block;
  transition: all 0.3s ease;
}

.cta-link:hover {
  background-color: #0077be;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 119, 190, 0.3);
}

/* Hover Contact Form Container */
.contact-hover-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

/* Talk-to-Us Button */
.talk-to-us-button {
  background-color: #0077be;
  color: #fff;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  border: none;
  border-radius: 8px;
  padding: 20px 25px;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1001;
}

.talk-to-us-button:hover {
  transform: scale(1.05);
}

/* Hover Form */
.hover-contact-form {
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: #e0e0e0;
  border: 1px solid #888;
  border-radius: 5px;
  padding: 25px;
  min-width: 480px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  transform-origin: bottom right;
  transform: scale(0);
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 1002;
}

.contact-hover-container:hover .hover-contact-form {
  transform: scale(1);
  opacity: 1;
  pointer-events: all;
}

.contact-hover-container:hover .talk-to-us-button {
  opacity: 0;
  pointer-events: none;
}

/* Hover Form Header */
.hover-form-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.hover-form-header img {
  height: 50px;
  width: auto;
  margin-right: 10px;
}

.hover-form-header span {
  font-size: 1.3rem;
  font-weight: bold;
  color: #333;
}

.hover-form-greeting {
  font-size: 1rem;
  margin-bottom: 15px;
  text-align: center;
  color: #333;
}

/* Hover Form Styling */
.hover-contact-form form label {
  display: block;
  text-align: left;
  margin-top: 10px;
  margin-bottom: 2px;
  font-size: 0.95rem;
  color: #333;
  font-weight: normal;
}

.hover-contact-form form input,
.hover-contact-form form textarea {
  font-family: 'Roboto', sans-serif;
  width: 100%;
  padding: 10px;
  margin-top: 2px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.95rem;
  box-sizing: border-box;
  color: #333;
}

.hover-contact-form form button {
  margin-top: 15px;
  padding: 12px 24px;
  background-color: #0073e6;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: normal;
  width: 100%;
}

.hover-contact-form form button:hover {
  background-color: #005bb5;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  background-color: #e0e0e0;
  margin: 10% auto;
  padding: 20px;
  border: 1px solid #888;
  max-width: 500px;
  border-radius: 5px;
  position: relative;
}

.close {
  color: #aaa;
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #000;
}

/* Modal Form Styles */
.modal-content form label {
  display: block;
  text-align: left;
  margin-top: 10px;
  margin-bottom: 1px;
}

.modal-content form input,
.modal-content form textarea {
  font-family: inherit;
  width: 100%;
  padding: 8px;
  margin-top: 2px;
  border: 1px solid #ccc;
  border-radius: 3px;
}

.modal-content form button {
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #0073e6;
  color: #fff;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

.modal-content form button:hover {
  background-color: #005bb5;
}

/* Form Validation Styles */
/* Enhanced Form Messages */
.form-error, .form-success {
    margin-top: 15px;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    border-left: 4px solid;
    animation: slideIn 0.3s ease-out;
    display: block;
}

.form-error {
    background-color: #fef2f2;
    color: #dc2626;
    border-left-color: #dc2626;
}

.form-success {
    background-color: #f0fdf4;
    color: #16a34a;
    border-left-color: #16a34a;
}

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

/* Form Loading State */
.loading {
  opacity: 0.7;
  pointer-events: none;
  position: relative;
}

.loading button[type="submit"] {
  cursor: wait;
  background-color: #6b7280;
}

.loading button[type="submit"]:hover {
  background-color: #6b7280;
}

/* Responsive Adjustments for Tablets (max-width:1024px) */
@media (max-width: 1024px) {
  .carousel {
    height: 500px;
  }
  .logo span {
    font-size: 2rem;
  }
}

/* Responsive Adjustments for Mobile/Tablet (max-width:768px) */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .company-name h1 {
    font-size: 1.8rem;
  }
  nav {
    margin-top: 0;
    width: 100%;
    text-align: center;
  }
  nav a {
    margin: 5px;
    font-size: 1rem;
  }
  .carousel {
    height: 320px;
  }
  .carousel-caption {
    left: 20px;
    bottom: 20px;
    padding: 10px;
    max-width: calc(100% - 40px);
  }
  .carousel-caption h2 {
    font-size: 1.5rem;
  }
  .carousel-caption p {
    font-size: 1rem;
  }
  .auth-container {
    display: none;
  }
  .container img {
    max-width: 100% !important;
    height: auto;
  }
  .footer-container {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  .footer-section {
    min-width: 100%;
  }
}

/* Additional Tweaks for Small Devices (max-width:480px) */
@media (max-width: 480px) {
  .logo img {
    height: 80px;
  }
  .logo span {
    font-size: 1.8rem;
  }
  nav ul {
    gap: 10px;
  }
  nav a {
    font-size: 0.9rem;
  }
  .carousel-caption h2 {
    font-size: 1.3rem;
  }
  .carousel-caption p {
    font-size: 0.9rem;
  }
}