/* ============================================
   RegisterAgent – Custom CSS
   Tailwind CDN ergänzt durch diese Datei
   ============================================ */

/* === Smooth Scroll & Scrollbar === */
html { scroll-behavior: smooth; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #94a3b8; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #64748b; }

/* === Animations === */
@keyframes ra-float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-14px); }
}
@keyframes ra-float2 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
@keyframes ra-fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ra-pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}
@keyframes ra-count-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.ra-float         { animation: ra-float  4s ease-in-out infinite; }
.ra-float2        { animation: ra-float2 4s ease-in-out infinite 1.6s; }
.ra-float3        { animation: ra-float2 4s ease-in-out infinite 0.8s; }
.ra-fade-up       { animation: ra-fade-up 0.7s ease-out forwards; }
.ra-pulse-dot     { animation: ra-pulse-dot 2s ease-in-out infinite; }

/* === Hero Background === */
.ra-hero-bg {
  background-image:
    radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(135deg, #0f172a 0%, #134e4a 50%, #1e293b 100%);
  background-size: 28px 28px, auto;
}
.ra-hero-dots {
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* === Gradient Text === */
.ra-gradient-text {
  background: linear-gradient(135deg, #5eead4 0%, #14b8a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ra-gradient-text-orange {
  background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === Glass Card === */
.ra-glass {
  background: rgba(255, 255, 255, 0.065);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

/* === Feature Card === */
.ra-feature-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ra-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.10);
}

/* === Trigger Card === */
.ra-trigger-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.ra-trigger-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  border-color: #14b8a6;
}

/* === Step connector line === */
.ra-step-line {
  position: absolute;
  top: 28px;
  left: calc(50% + 40px);
  width: calc(100% - 80px);
  height: 2px;
  background: linear-gradient(90deg, #14b8a6, #5eead4);
  opacity: 0.4;
}

/* === Pricing === */
.ra-pricing-popular {
  background: linear-gradient(160deg, #0d9488 0%, #0f766e 100%);
  position: relative;
}

/* === Navigation === */
#main-nav {
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.ra-nav-scrolled {
  background: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 24px rgba(0, 0, 0, 0.08) !important;
  border-bottom: 1px solid #e2e8f0 !important;
}
.ra-nav-hero {
  background: transparent !important;
  border-bottom: 1px solid transparent !important;
  box-shadow: none !important;
}
.ra-nav-hero .ra-nav-link        { color: rgba(255,255,255,0.82); }
.ra-nav-hero .ra-nav-link:hover  { color: #ffffff; }
.ra-nav-hero .ra-logo-primary    { color: #ffffff; }
.ra-nav-hero .ra-logo-secondary  { color: #5eead4; }
.ra-nav-hero .ra-btn-login       { border-color: rgba(255,255,255,0.3); color: rgba(255,255,255,0.85); }
.ra-nav-hero .ra-btn-login:hover { border-color: rgba(255,255,255,0.65); color: white; }
.ra-nav-hero .ra-mobile-btn      { color: rgba(255,255,255,0.85); }

.ra-nav-link {
  color: #475569;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
  text-decoration: none;
}
.ra-nav-link:hover { color: #0d9488; }
.ra-logo-primary   { color: #0f172a; font-weight: 700; font-size: 1.2rem; line-height: 1.2; }
.ra-logo-secondary { color: #0d9488; font-weight: 600; font-size: 0.7rem; line-height: 1.2; }
.ra-btn-login {
  border: 1.5px solid #e2e8f0;
  color: #475569;
  border-radius: 0.625rem;
  padding: 0.45rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
  text-decoration: none;
  background: transparent;
}
.ra-btn-login:hover { border-color: #5eead4; color: #0d9488; }
.ra-mobile-btn { color: #475569; }

/* === CTA Section === */
.ra-cta-bg {
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
}

/* === Footer === */
.ra-footer-bg {
  background: #0f172a;
}

/* === Scroll Reveal === */
.ra-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.ra-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* === Form inputs === */
.ra-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 0.75rem;
  font-size: 0.9375rem;
  color: #0f172a;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.ra-input:focus {
  border-color: #14b8a6;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.12);
}
.ra-input::placeholder { color: #94a3b8; }

/* === Divider === */
.ra-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #94a3b8;
  font-size: 0.875rem;
}
.ra-divider::before, .ra-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

/* === Problem section bg === */
.ra-problem-bg {
  background: linear-gradient(135deg, #0f172a 0%, #134e4a 100%);
}

/* === Mobile menu === */
#mobile-menu {
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

/* === Sticky page anchor offset === */
[id] { scroll-margin-top: 80px; }

/* === FAQ Accordion === */
.ra-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.ra-faq-answer.open {
  max-height: 500px;
}
.ra-faq-toggle svg {
  transition: transform 0.3s ease;
}
.ra-faq-toggle.open svg {
  transform: rotate(180deg);
}
