:root {
  --brand: #0d6efd;
  --muted: #6c757d;
  --card-border: #e4e7ec;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background-color: #f8f9fb;
  color: #1f2630;
}

.hero-section {
  background: linear-gradient(135deg, #0d6efd 0%, #42a0ff 45%, #80d0ff 100%);
  min-height: 70vh;
  position: relative;
  overflow: hidden;
}

.hero-card {
  background: rgba(255, 255, 255, 0.95);
  color: #1f2630;
  border-radius: 2rem;
}

.hero-card ul {
  padding-left: 1rem;
}

.hero-visual, .result-image, .contact-image {
  overflow: hidden;
  border-radius: 1.5rem;
}

.hero-visual img, .result-image img, .contact-image img {
  width: 100%;
  display: block;
  height: 100%;
  object-fit: cover;
}

.hero-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  background: rgba(15, 23, 42, 0.7);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom-left-radius: 1.5rem;
  border-bottom-right-radius: 1.5rem;
  text-align: right;
}

.fun-pill {
  background: rgba(255, 255, 255, 0.18);
  border: 1px dashed rgba(255, 255, 255, 0.55);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  max-width: 220px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--card-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.result-card {
  border: 1px solid var(--card-border);
}

.testimonial-card {
  border: 1px solid var(--card-border);
  background: #fff;
}

.cta-section {
  background: linear-gradient(120deg, #0d6efd 0%, #2563eb 55%, #4f46e5 100%);
}

.contact-card {
  border: 1px solid var(--card-border);
}

@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding-bottom: 4rem;
  }
}

.header-branding {
  min-width: 0;
}

.header-branding .brand-title, .header-branding .brand-tagline {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-title {
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  line-height: 1.1;
}

.brand-tagline {
  font-size: clamp(0.85rem, 1.4vw, 1.1rem);
}

header .container {
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
}

.header-actions .btn {
  font-size: 0.95rem;
}

@media (max-width: 767.98px) {
  header .container {
    flex-wrap: wrap;
    align-items: flex-start;
  }
}

@media (max-width: 767.98px) {
  .header-actions {
    width: 100%;
    justify-content: flex-end;
    flex-wrap: wrap;
    margin-top: 1rem !important;
  }
}

@media (max-width: 767.98px) {
  .header-actions > a {
    flex: 0 0 auto;
  }
}

@media (max-width: 768px) {
  .hero-card {
    margin-top: 1rem;
  }
}

