/* ===== Modern SaaS Landing Page Styles ===== */

/* Hero Banner Wrapper */
.hero-banner-wrapper {
  padding: 100px 24px 60px;
  max-width: 1200px;
  margin: 0 auto;
  container-type: inline-size;
}

.hero-banner-container {
  position: relative;
  border-radius: 2cqi;
  overflow: hidden;
  box-shadow: 0 1.6cqi 3.3cqi rgba(0,0,0,0.15);
  aspect-ratio: 1200 / 580;
  width: 100%;
  background: #1a202c;
}

.hero-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Glassmorphism Card */
.hero-glass-card {
  position: relative;
  z-index: 10;
  margin: 3.33cqi;
  margin-right: auto;
  width: 100%;
  max-width: 45.83cqi;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 1.66cqi;
  padding: 4cqi;
  display: flex;
  flex-direction: column;
  color: white;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 0.66cqi;
  margin-bottom: 2cqi;
}
.hero-brand i { color: white; width: 2cqi; height: 2cqi; }
.hero-brand span { font-weight: 700; font-size: 1.83cqi; letter-spacing: -0.05cqi; }

.hero-headline {
  font-size: 3.5cqi;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 2cqi;
  color: white;
  text-shadow: 0 0.16cqi 0.83cqi rgba(0,0,0,0.2);
}

.hero-subheadline {
  font-size: 1.33cqi;
  line-height: 1.6;
  margin-bottom: 3.33cqi;
  color: rgba(255,255,255,0.9);
}

.hero-cta-btn {
  background: var(--accent-color);
  color: white;
  padding: 1.33cqi 2.66cqi;
  border-radius: 1cqi;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  text-decoration: none;
  transition: transform 0.2s;
  box-shadow: 0 0.33cqi 1cqi rgba(0,102,255,0.3);
  font-size: 1.33cqi;
}
.hero-cta-btn i { margin-left: 0.66cqi; width: 1.5cqi; }

.hero-trusted {
  margin-top: 4cqi;
  display: flex;
  align-items: center;
  gap: 1cqi;
}
.hero-trusted-avatars { display: flex; margin-left: 0.66cqi; }
.avatar-circle { width: 2.66cqi; height: 2.66cqi; border-radius: 50%; margin-left: -0.66cqi; }
.text-avatar { display: flex; align-items: center; justify-content: center; font-size: 1cqi; font-weight: bold; color: black; }
.hero-trusted-text { font-size: 1.16cqi; color: rgba(255,255,255,0.9); }

/* Floating Text */
.hero-floating-text {
  position: absolute;
  top: 25%;
  right: 8%;
  font-family: 'Brush Script MT', cursive, sans-serif;
  font-size: 4.66cqi;
  color: #ffb800;
  transform: rotate(-10deg);
  text-shadow: 0.16cqi 0.16cqi 0.33cqi rgba(0,0,0,0.5);
  z-index: 10;
}

/* --- Mobile Optimization --- */
@media (max-width: 768px) {
  .hero-banner-wrapper { 
    padding: 32px 16px 40px; 
  }
}
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(0, 102, 255, 0.05);
  border: 1px solid rgba(0, 102, 255, 0.1);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 32px;
}

.hero-title {
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.hero-title .text-primary {
  color: var(--accent-color);
}

.hero-description {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* Floating Widgets (Hero) */
.floating-widget {
  position: absolute;
  background: var(--bg-surface);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
  z-index: 10;
  animation: float 6s ease-in-out infinite;
}

.widget-left {
  top: 150px;
  left: 0;
  animation-delay: 0s;
  width: 260px;
}

.widget-right {
  top: 200px;
  right: 0;
  animation-delay: 3s;
  width: 260px;
}

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

.profile-widget {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.profile-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.profile-avatar {
  width: 40px;
  height: 40px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
}
.profile-info h4 { font-size: 14px; margin: 0; }
.profile-info p { font-size: 12px; color: var(--text-secondary); margin: 0; }
.profile-score {
  text-align: center;
  margin: 8px 0;
}
.profile-score .score-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 4px solid var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-color);
}
.profile-tags { display: flex; gap: 8px; justify-content: center; }
.tag { font-size: 11px; padding: 4px 8px; background: #f1f5f9; border-radius: 4px; color: #475569; font-weight: 600; }

.metric-stack { display: flex; flex-direction: column; gap: 12px; }
.metric-box {
  background: #f8fafc;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}
.metric-box h5 { font-size: 13px; margin: 0 0 4px; color: #1e293b; }
.metric-box p { font-size: 12px; color: var(--accent-color); font-weight: 600; margin: 0; }

@media (max-width: 1200px) {
  .floating-widget { display: none; }
}

/* Horizontal Feature Carousel */
.feature-carousel-section {
  padding: 40px 0;
  background: var(--bg-surface);
}
.carousel-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 24px;
  scrollbar-width: none; /* Firefox */
}
.carousel-grid::-webkit-scrollbar { display: none; } /* Chrome */
.carousel-card {
  min-width: 260px;
  flex: 1;
  background: var(--bg-surface);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
  transition: all 0.3s ease;
}
.carousel-card:hover {
  border-color: var(--accent-color);
  transform: translateY(-2px);
}
.carousel-icon {
  width: 48px;
  height: 48px;
  background: #f0f7ff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  margin-bottom: 16px;
}
.carousel-card h4 { font-size: 16px; margin-bottom: 8px; color: var(--text-primary); }
.carousel-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.5; }

/* Trusted By Ribbon */
.trusted-ribbon {
  padding: 60px 0;
  text-align: center;
  border-top: 1px solid var(--bg-border);
  border-bottom: 1px solid var(--bg-border);
  background: #f8fafc;
}
.trusted-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-tertiary);
  letter-spacing: 0.1em;
  margin-bottom: 32px;
}
.trusted-logos {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  opacity: 0.5;
}
.trusted-logos span {
  font-size: 24px;
  font-weight: 800;
  color: #64748b;
  font-family: monospace;
}

/* Core Services */
.core-services-section {
  padding: 100px 0;
  background: #ffffff;
}
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}
.section-header h2 { font-size: 36px; margin-bottom: 16px; font-weight: 800; letter-spacing: -0.02em; }
.section-header p { font-size: 18px; color: var(--text-secondary); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.08);
  border-color: var(--accent-color);
}

.service-card.card-blue {
  background: var(--accent-color);
  color: #ffffff;
  border: none;
  box-shadow: 0 10px 25px -5px rgba(0, 102, 255, 0.4);
}
.service-card.card-blue:hover {
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: 0 25px 30px -5px rgba(0, 102, 255, 0.5);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: #f8fafc;
  border: 1px solid var(--bg-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  margin-bottom: 24px;
}
.card-blue .service-icon {
  background: #ffffff;
  border: none;
  color: var(--accent-color);
}

.service-card h3 { 
  font-size: 20px; 
  margin-bottom: 12px; 
  color: var(--text-primary);
  font-weight: 700;
}
.card-blue h3 {
  color: #ffffff;
}

.service-card p { 
  font-size: 15px; 
  color: var(--text-secondary); 
  line-height: 1.6; 
}
.card-blue p {
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
}
