:root {
  --primary-blue: #1a73e8;
  --dark-blue: #0d47a1;
  --light-blue: #e3f2fd;
  --accent-blue: #42a5f5;
  --lighter-blue: #bbdefb;
  --dark-blue-text: #0d47a1;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  background-color: #f8fafc;
}

.main-content {
  min-height: 85vh;
}

.navbar {
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.8rem;
}

.navbar-logo {
  height: 40px;
  filter: drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.7));
}

.alert-container {
  position: fixed;
  bottom: 5%;
  right: 2%;
  width: 100%;
  z-index: 9999;
  border-radius: 0px;
  max-width: 35%;
}

.rounded-i-container {
  width: 15%;
  height: 2em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-section {
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  color: white;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></svg>');
  background-size: cover;
  z-index: 0;
}

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

.hero-content video {
  transition: all 0.3s;
}

.hero-content video:hover {
  transform: scale(1.1);
  box-shadow: 0 30px 30px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--lighter-blue);
}

.btn:not(.btn-lg):not(.btn-ex) {
  border-radius: 30px;
  transition: all 0.3s;
}

.btn:not(.btn-lg):not(.btn-ex):hover {
  border-radius: 30px;
  transition: all 0.3s;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

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

.btn-outline-primary {
  color: var(--primary-blue);
  border-color: var(--primary-blue);
}

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

.feature-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
  border: 1px solid var(--lighter-blue);
}

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

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--light-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary-blue);
  font-size: 2rem;
}

.section-title {
  position: relative;
  margin-bottom: 3rem;
  text-align: center;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary-blue);
  border-radius: 2px;
}

.subscription-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--lighter-blue);
  padding: 2rem;
  transition: all 0.3s;
}

.subscription-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.pricing-card {
  border: 1px solid var(--lighter-blue);
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-header {
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  color: white;
  padding: 1.5rem;
  border-radius: 15px 15px 0 0;
  text-align: center;
}

.pricing-header h3 {
  margin: 0;
  font-weight: 600;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 1rem 0;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.pricing-features li {
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--lighter-blue);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.documentation-section {
  background-color: white;
  padding: 3rem 0;
}

.doc-card {
  background: var(--light-blue);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--primary-blue);
}

.doc-card h4 {
  color: var(--dark-blue-text);
  margin-bottom: 1rem;
}

.footer {
  background: var(--dark-blue);
  color: white;
  padding: 3rem 0;
}

.footer a {
  color: var(--lighter-blue);
  text-decoration: none;
}

.footer a:hover {
  color: white;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  transition: all 0.3s;
}

.social-icon:hover {
  background: var(--primary-blue);
  transform: translateY(-3px);
}

.badge-blue {
  background-color: var(--light-blue);
  color: var(--dark-blue);
}

.stats-card {
  text-align: center;
  padding: 1.5rem;
}

.stats-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.stats-text {
  font-size: 1rem;
  color: #666;
}

.pricing-checkmark {
  color: #1a87f4;
  margin-right: 6px;
}

.text-small {
  font-size: 16px;
}

section[id] {
  scroll-margin-top: 50px;
}

.media-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.media-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.6);
  border-radius: inherit;
}

/* Spinner */
.media-loader::after {
  content: "";
  width: 40px;
  height: 40px;
  border: 4px solid #ddd;
  border-top: 4px solid #0000cb;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.media-wrapper.loaded .media-loader {
  display: none;
}

.auth-logo img {
  max-width: 180px;
  height: auto;
}

.feature-close-btn {
  position: relative;
  top: -30px;
}

.form-check *:not(disabled):hover {
  cursor: pointer;
}

.confirm-modal .modal-body {
  min-height: 65vh;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .alert-container {
    max-width: 95%;
  }
}
