/* ============================================================
   Rivosoft Technologies — Custom Styles
   Built on top of Tailwind CSS CDN
   ============================================================ */

/* ── Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── Root Variables ── */
:root {
  --primary:    #2563EB;
  --primary-d:  #1D4ED8;
  --secondary:  #0F172A;
  --accent:     #38BDF8;
  --bg:         #F8FAFC;
  --text:       #111827;
  --card:       #FFFFFF;
  --muted:      #6B7280;
  --border:     #E5E7EB;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 12px 40px rgba(37,99,235,.15);
  --radius:     12px;
  --transition: .3s ease;
}

/* Dark mode variables */
.dark {
  --bg:      #0F172A;
  --card:    #1E293B;
  --text:    #F1F5F9;
  --muted:   #94A3B8;
  --border:  #334155;
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background-color var(--transition), color var(--transition);
  overflow-x: hidden;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ── Selection ── */
::selection { background: rgba(37,99,235,.2); color: var(--primary); }

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(248,250,252,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  height: 72px;
}

.dark #navbar {
  background: rgba(15,23,42,.85);
}

#navbar.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-link {
  position: relative;
  font-size: .9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--transition);
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Mobile menu */
#mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem 1.5rem;
  z-index: 999;
  animation: slideDown .25s ease;
}

#mobile-menu.open { display: block; }

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

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  padding: .75rem 1.75rem;
  border-radius: 8px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--primary-d);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(37,99,235,.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  color: var(--primary);
  font-weight: 600;
  font-size: .95rem;
  padding: .75rem 1.75rem;
  border-radius: 8px;
  border: 2px solid var(--primary);
  transition: all var(--transition);
  text-decoration: none;
  cursor: pointer;
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}

/* ============================================================
   SECTION UTILITIES
   ============================================================ */
.section-tag {
  display: inline-block;
  background: rgba(37,99,235,.08);
  color: var(--primary);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.section-heading {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: .75rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 50%, #F0F9FF 100%);
  display: flex;
  align-items: center;
  padding-top: 3rem;
  overflow: hidden;
  position: relative;
}

.dark #hero {
  background: linear-gradient(135deg, #0F172A 0%, #1E1B4B 50%, #0C1A3A 100%);
}

#hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.12) 0%, transparent 70%);
  top: -100px; right: -100px;
  pointer-events: none;
}

#hero::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56,189,248,.10) 0%, transparent 70%);
  bottom: 50px; left: -80px;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(37,99,235,.08);
  border: 1px solid rgba(37,99,235,.2);
  color: var(--primary);
  font-size: .8rem;
  font-weight: 600;
  padding: .4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  animation: fadeInUp .6s ease both;
}

.hero-headline {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--secondary);
  margin-bottom: 1.5rem;
  animation: fadeInUp .7s .1s ease both;
}

.dark .hero-headline { color: #F1F5F9; }

.hero-headline span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 720px;
  margin-bottom: 2.5rem;
  animation: fadeInUp .7s .2s ease both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp .7s .3s ease both;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
  animation: fadeInUp .7s .4s ease both;
}

.hero-stat-item span:first-child {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.hero-stat-item span:last-child {
  font-size: .82rem;
  color: var(--muted);
  font-weight: 500;
}

/* SVG illustration container */
.hero-illustration {
  animation: float 4s ease-in-out infinite;
}

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

/* ============================================================
   CLIENTS MARQUEE
   ============================================================ */
.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marquee 28s linear infinite;
  width: max-content;
}

.marquee-track:hover { animation-play-state: paused; }

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  min-width: 140px;
  font-weight: 700;
  font-size: .85rem;
  color: var(--muted);
  letter-spacing: .03em;
  transition: border-color var(--transition), color var(--transition);
  white-space: nowrap;
}

.client-logo:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ============================================================
   COUNTERS
   ============================================================ */
.counter-card {
  text-align: center;
  padding: 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

@media (min-width: 768px) {
  .counter-card {
    padding: 2rem;
  }
}

.counter-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.counter-value {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  display: block;
}

@media (min-width: 768px) {
  .counter-value {
    font-size: 3rem;
  }
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(37,99,235,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
  color: var(--primary);
  transition: background var(--transition);
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: #fff;
}

/* ============================================================
   TECH GRID
   ============================================================ */
.tech-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem .75rem;
  font-size: .75rem;
  font-weight: 600;
  color: var(--muted);
  transition: all var(--transition);
  cursor: default;
}

.tech-badge:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(37,99,235,.12);
}

.tech-badge img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

/* ============================================================
   INDUSTRY CARDS
   ============================================================ */
.industry-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all var(--transition);
  text-decoration: none;
  color: var(--text);
}

.industry-card:hover {
  border-color: var(--primary);
  background: rgba(37,99,235,.04);
  transform: translateX(4px);
}

.industry-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(37,99,235,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  color: var(--primary);
}

/* ============================================================
   PROCESS TIMELINE
   ============================================================ */
.process-step {
  position: relative;
  display: flex;
  gap: 1.5rem;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 23px; top: 56px;
  width: 2px;
  height: calc(100% - 8px);
  background: linear-gradient(180deg, var(--primary) 0%, rgba(37,99,235,.1) 100%);
}

.step-number {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 0 0 6px rgba(37,99,235,.12);
}

/* ============================================================
   PORTFOLIO
   ============================================================ */
.filter-btn {
  padding: .5rem 1.25rem;
  border-radius: 100px;
  font-size: .875rem;
  font-weight: 600;
  border: 2px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.portfolio-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.portfolio-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.portfolio-tag {
  display: inline-block;
  background: rgba(37,99,235,.08);
  color: var(--primary);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .25rem .75rem;
  border-radius: 100px;
}

/* ============================================================
   TESTIMONIALS (Swiper)
   ============================================================ */
.testimonial-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem; right: 1.5rem;
  font-size: 5rem;
  line-height: 1;
  color: rgba(37,99,235,.1);
  font-family: Georgia, serif;
}

.stars { color: #F59E0B; letter-spacing: 2px; }

.swiper-pagination-bullet { background: var(--border); opacity: 1; }
.swiper-pagination-bullet-active { background: var(--primary); }

/* ============================================================
   CTA BANNER
   ============================================================ */
#cta-section {
  background: linear-gradient(135deg, var(--secondary) 0%, #1E3A8A 100%);
  position: relative;
  overflow: hidden;
}

#cta-section::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(56,189,248,.07);
  top: -200px; right: -100px;
  pointer-events: none;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}

.contact-info-card:hover { border-color: var(--primary); }

.contact-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(37,99,235,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Form */
.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .4rem;
}

.form-control {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  color: var(--text);
  font-size: .95rem;
  font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}

.form-control.error { border-color: #EF4444; }
.error-msg { font-size: .8rem; color: #EF4444; margin-top: .25rem; display: none; }
.error-msg.show { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--secondary);
  color: #94A3B8;
}

.nav-logo {
  height: 48px;
  width: auto;
}

.footer-logo {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
}



.footer-link {
  color: #94A3B8;
  text-decoration: none;
  font-size: .875rem;
  transition: color var(--transition);
  display: block;
  padding: .2rem 0;
}

.footer-link:hover { color: #fff; }

.social-icon {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94A3B8;
  font-size: 1rem;
  transition: all var(--transition);
  text-decoration: none;
}

.social-icon:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
#scroll-top {
  display: none !important;
}

#scroll-top.show {
  opacity: 1;
  transform: translateY(0);
}

#scroll-top:hover { background: var(--primary-d); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { transform: translateY(24px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ============================================================
   DARK MODE OVERRIDES
   ============================================================ */
.dark .hero-illustration path,
.dark .hero-illustration rect { fill-opacity: .85; }

.dark .section-tag { background: rgba(37,99,235,.15); }

/* ============================================================
   UTILITY OVERRIDES
   ============================================================ */
.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.divider {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  margin: 1rem auto;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .hero-buttons { flex-direction: column; }
  .hero-stats { gap: 1.25rem; }
  #hero::before, #hero::after { display: none; }
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, #EFF6FF 0%, #F0F9FF 100%);
  text-align: center;
}

.dark .page-hero {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
}

/* ============================================================
   BLOG CARDS
   ============================================================ */
.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  color: var(--text);
  display: block;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.blog-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.open { border-color: var(--primary); }

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  gap: 1rem;
}

.faq-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(37,99,235,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform var(--transition), background var(--transition);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  font-size: .9rem;
  color: var(--muted);
  padding: 0 1.5rem;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem;
}

/* ============================================================
   PAGE LOADER
   ============================================================ */
#page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity .4s ease, visibility .4s ease;
}

#page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-ring {
  width: 48px;
  height: 48px;
  border: 4px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

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

/* ============================================================
   TOAST NOTIFICATION
   ============================================================ */
.toast {
  position: fixed;
  bottom: 5rem;
  right: 1.5rem;
  background: var(--secondary);
  color: #fff;
  padding: .85rem 1.4rem;
  border-radius: 10px;
  font-size: .875rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
  display: flex;
  align-items: center;
  gap: .6rem;
  z-index: 9000;
  animation: slideInRight .3s ease both;
}

@keyframes slideInRight {
  from { transform: translateX(60px); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

/* ============================================================
   ANIMATED GRADIENT BORDER (Hero badge)
   ============================================================ */
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

/* ============================================================
   PROGRESS BAR (top of page on scroll)
   ============================================================ */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 1001;
  width: 0%;
  transition: width .1s linear;
}

/* ============================================================
   IMAGE LAZY LOAD FADE-IN
   ============================================================ */
img[data-src] { opacity: 0; transition: opacity .5s ease; }
img.loaded    { opacity: 1; }

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
  #navbar, #mobile-menu, #scroll-top, .btn-primary, .btn-outline, #page-loader, #progress-bar { display: none !important; }
  body { font-size: 12pt; color: #000; background: #fff; }
  section { page-break-inside: avoid; }
}

/* ============================================================
   SERVICE SIDE-NAV (services page quick links bar)
   ============================================================ */
.service-quick-nav {
  position: sticky;
  top: 90px;
  height: fit-content;
}

.service-quick-link {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .6rem 1rem;
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: all var(--transition);
  border-left: 3px solid transparent;
}

.service-quick-link:hover,
.service-quick-link.active {
  background: rgba(37,99,235,.06);
  color: var(--primary);
  border-color: var(--primary);
}

/* ============================================================
   AWARD / TRUST BADGE STRIP
   ============================================================ */
.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  padding: 1rem;
  text-align: center;
}

.trust-badge i {
  font-size: 1.75rem;
  color: var(--primary);
}

.trust-badge p:first-of-type {
  font-weight: 700;
  font-size: .85rem;
  color: var(--text);
}

.trust-badge p:last-of-type {
  font-size: .75rem;
  color: var(--muted);
}

/* ============================================================
   HERO TYPED CURSOR
   ============================================================ */
.typed-cursor {
  display: inline-block;
  width: 3px;
  height: 1.1em;
  background: var(--primary);
  animation: blink 1.2s ease-in-out infinite;
  margin-left: 2px;
  vertical-align: middle;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.15; }
}

/* ============================================================
   CUSTOM SELECT DROPDOWN
   ============================================================ */
.custom-select-wrapper {
  position: relative;
  width: 100%;
}

.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition);
}

.custom-select-trigger:hover,
.custom-select-wrapper.open .custom-select-trigger {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.custom-select-trigger::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.8rem;
  color: var(--muted);
  transition: transform var(--transition);
}

.custom-select-wrapper.open .custom-select-trigger::after {
  transform: rotate(180deg);
}

.custom-select-options {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 100;
  max-height: 250px;
  overflow-y: auto;
}

.custom-select-wrapper.open .custom-select-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-select-option {
  padding: 0.7rem 1rem;
  font-size: 0.92rem;
  color: var(--text);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.custom-select-option:hover {
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
}

.custom-select-option.selected {
  background: var(--primary);
  color: #fff;
}

.custom-select-wrapper.error .custom-select-trigger {
  border-color: #EF4444;
}


