/* Main components */

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.feature-card:hover::before {
  transform: translateX(0);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-icon.ai {
  background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 100%);
}

.feature-icon.speed {
  background: linear-gradient(135deg, #059669 0%, #10B981 100%);
}

.feature-icon.security {
  background: linear-gradient(135deg, #DC2626 0%, #EF4444 100%);
}

.feature-icon.expert {
  background: linear-gradient(135deg, #1E88E5 0%, #42A5F5 100%);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1f2937;
}

.feature-description {
  color: #6b7280;
  line-height: 1.6;
}

.feature-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: #8B5CF6;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.feature-link:hover {
  color: #7C3AED;
}

.process-step-alt {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: #8B5CF6;
}

.process-step-alt a {
  color: #8B5CF6;
  font-weight: 600;
  text-decoration: underline;
}

.process-step-alt a:hover {
  color: #7C3AED;
}

/* Why Us Section */
.why-us-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
}

.benefit-icon svg {
  width: 24px;
  height: 24px;
}

.benefit-icon.free {
  background: linear-gradient(135deg, #059669 0%, #10B981 100%);
}

.benefit-icon.banks {
  background: linear-gradient(135deg, #1E88E5 0%, #42A5F5 100%);
}

.benefit-icon.expert {
  background: linear-gradient(135deg, #DC2626 0%, #EF4444 100%);
}

.benefit-icon.time {
  background: linear-gradient(135deg, #EA580C 0%, #F97316 100%);
}

.benefit-icon.support {
  background: linear-gradient(135deg, #1565C0 0%, #1E88E5 100%);
}

.benefit-icon.no-obligation {
  background: linear-gradient(135deg, #16A34A 0%, #4ADE80 100%);
}

.benefit-icon.ai {
  background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 100%);
}

.benefit-icon.privacy {
  background: linear-gradient(135deg, #7C3AED 0%, #8B5CF6 100%);
}

.benefit-content h4 {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.benefit-content p {
  color: #6b7280;
  margin: 0;
}

/* Expert Section */
.expert-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.expert-photo-container {
  position: relative;
}

.expert-photo {
  position: relative;
  display: inline-block;
}

.expert-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  background: #f3f4f6;
}

.online-indicator {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  background: #059669;
  border-radius: 50%;
  border: 3px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pulse {
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

.expert-badges {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.badge-expert {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-experience {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.expert-content {
  position: relative;
  padding-left: 2rem;
}

.expert-quote-icon {
  position: absolute;
  top: -10px;
  left: 0;
  font-size: 4rem;
  color: var(--ai-purple);
  opacity: 0.3;
  font-family: serif;
  line-height: 1;
}

.expert-quote {
  font-size: 1.4rem;
  color: #1f2937;
  margin-bottom: 1rem;
  font-weight: 500;
  line-height: 1.4;
}

.expert-quote strong {
  color: var(--ai-purple);
  font-weight: 700;
}

.expert-message {
  color: #4b5563;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.expert-signature {
  border-top: 1px solid #e5e7eb;
  padding-top: 1rem;
}

.signature-line {
  margin-bottom: 0.5rem;
}

.signature-line strong {
  color: #1f2937;
  font-size: 1.1rem;
}

.signature-title {
  color: #6b7280;
  font-size: 0.9rem;
  margin-left: 8px;
}

.expert-contact {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #4b5563;
  font-size: 0.95rem;
}

.online-status {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #059669;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.status-dot.offline {
  background: #9ca3af;
  animation: none;
}

.online-indicator.offline {
  background: #9ca3af;
}

.online-indicator.offline .pulse {
  animation: none;
}

/* FAQ Section */
.faq-section {
  background: white;
}

.faq-item {
  border: none !important;
  background: white;
  border-radius: 16px !important;
  margin-bottom: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb !important;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.faq-item .accordion-button {
  background: white;
  border: none;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1rem;
  color: #1f2937;
  border-radius: 16px !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
}

.faq-item .accordion-button:not(.collapsed) {
  background: white;
  color: #7C3AED;
  border-bottom: 1px solid #e5e7eb;
  border-radius: 16px 16px 0 0 !important;
}

.faq-item .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  width: 20px;
  height: 20px;
  margin-left: auto;
}

.faq-item .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%237C3AED'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transform: rotate(-180deg);
}

.faq-icon {
  font-size: 1.25rem;
  margin-right: 12px;
  display: inline-block;
  width: 32px;
  text-align: center;
}

.faq-item .accordion-body {
  padding: 0 24px 24px;
  color: #4b5563;
  line-height: 1.6;
}

.faq-item .accordion-body strong {
  color: #7C3AED;
}

/* AI Insight Card (inline calculator results) */
.ai-insight-card {
  position: relative;
  padding: 1rem 1rem 1rem 1.25rem;
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.04);
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-left: 4px solid var(--ai-purple, #8B5CF6);
}

.ai-insight-card.ai-insight-loading {
  animation: aiPulse 1.5s ease-in-out infinite;
}

@keyframes aiPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.ai-insight-badge {
  display: inline-block;
  background: linear-gradient(135deg, #8B5CF6, #A78BFA);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.ai-insight-badge-data {
  background: linear-gradient(135deg, #1E88E5, #42A5F5);
}

.ai-insight-text {
  color: #374151;
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 500;
}

/* Own Contribution Note (results modal) */
.own-contribution-note {
  background: #FEF3C7;
  padding: 8px 12px;
  border-radius: 8px;
  border-left: 3px solid #F59E0B;
  margin-top: 12px;
  font-size: 0.85rem;
  color: #92400E;
}

/* Fixed Rate Tag (bank comparison rows) */
.fixed-rate-tag {
  background: #DBEAFE;
  color: #1E40AF;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-block;
  margin-top: 4px;
}

/* Commission Info (bank comparison rows) */
.commission-info {
  color: #6B7280;
  font-size: 0.8rem;
  display: inline-block;
  margin-top: 2px;
}

/* Variable rate tag (bank comparison rows) */
.variable-rate-tag {
  background: #DBEAFE;
  color: #1E40AF;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-block;
  margin-top: 4px;
}

/* No fixed rate - neutral badge */
.no-fixed-rate {
  background: #F3F4F6;
  color: #9CA3AF;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-block;
  margin-top: 4px;
}

/* Regulatory buffer value in rate breakdown */
.rate-buffer-value {
  color: #6B7280;
  font-size: 0.9em;
}

/* Bank row extras container */
.bank-extras {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

/* Tier-based border colors */
.ai-insight-tier-strong {
  border-left-color: #059669;
}

.ai-insight-tier-good {
  border-left-color: #1E88E5;
}

.ai-insight-tier-moderate {
  border-left-color: #F59E0B;
}

.ai-insight-tier-needs-review {
  border-left-color: #6B7280;
}

/* How Cooperation Section */
.how-cooperation-section {
  background: white;
}

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
  position: relative;
}

.process-step-card {
  background: white;
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.process-step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.process-step-card:hover::before {
  transform: translateX(0);
}

.process-step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: white;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.process-step-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: var(--primary-blue);
}

.process-step-icon svg {
  width: 26px;
  height: 26px;
}

.process-step-time {
  display: inline-block;
  background: #f0f9ff;
  color: #0369a1;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}

.process-step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.75rem;
}

.process-step-desc {
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.process-disclaimer {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.9rem;
  color: #047857;
  font-weight: 600;
}

/* Mobile Sticky CTA - Floating Button */
.mobile-sticky-cta-wrapper {
  background: transparent;
  border: none;
  padding: 0;
}

.btn-mobile-sticky {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(30, 136, 229, 0.4), 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  white-space: nowrap;
}

/* Legal disclaimer - landing page sections */
.legal-disclaimer {
  text-align: center;
  margin-top: 2rem;
  padding: 0 1rem;
}

.legal-disclaimer p {
  font-size: 0.78rem;
  color: #6b7280;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

.legal-disclaimer a {
  color: var(--primary-blue);
  text-decoration: underline;
}

/* Hero disclaimer - white on dark background */
.hero-disclaimer {
  font-size: 0.78rem;
  opacity: 0.65;
  margin-top: 1.5rem;
  line-height: 1.5;
}

.btn-mobile-sticky:active {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(30, 136, 229, 0.5), 0 4px 12px rgba(0, 0, 0, 0.2);
}