/* ============================================================
   YKA Teknoloji — Components (components.css)
   ============================================================
   All reusable UI components: buttons, cards, badges,
   form fields, FAQ accordion, pricing toggle, compare table,
   and form banners.
   ============================================================ */


/* ==========================================================
   BUTTONS
   Shared .btn base with semantic variants.
   ========================================================== */

/* Base button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  text-decoration: none;
  line-height: 1;
}

/* Icon inside button — slightly smaller */
.btn i {
  font-size: 0.75rem;
}

/* ----------------------------------------------------------
   Primary — gold CTA, prominent shadow
   ---------------------------------------------------------- */
.btn-primary {
  background: var(--color-accent);
  color: white;
  box-shadow: 0 4px 20px rgba(196, 137, 26, 0.3);
}

.btn-primary:hover {
  background: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(196, 137, 26, 0.4);
}

/* ----------------------------------------------------------
   Secondary — frosted glass on dark backgrounds
   ---------------------------------------------------------- */
.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ----------------------------------------------------------
   Ghost — subtle outline, inverts on hover
   ---------------------------------------------------------- */
.btn-ghost {
  background: var(--color-surface-alt);
  color: var(--color-primary);
  border: 1px solid var(--color-border);
}

.btn-ghost:hover {
  background: var(--color-primary);
  color: white;
}

/* ----------------------------------------------------------
   Dark — navy background
   ---------------------------------------------------------- */
.btn-dark {
  background: var(--color-primary);
  color: white;
}

.btn-dark:hover {
  background: var(--color-primary-light);
}

/* ----------------------------------------------------------
   Block — full-width button
   ---------------------------------------------------------- */
.btn-block {
  width: 100%;
  text-align: center;
}

/* ----------------------------------------------------------
   Submit — larger primary variant for forms
   ---------------------------------------------------------- */
.btn-submit {
  padding: 16px 32px;
  font-size: 1rem;
}


/* ==========================================================
   CARDS — Feature
   Horizontal card with icon + text content.
   ========================================================== */

/* Base card — dark navy glass with hover lift + glow */
.card {
  background: #0B1929;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s ease;
  overflow: hidden;
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196,137,26,0.7), rgba(56,189,248,0.4), rgba(196,137,26,0.7), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 1;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(196,137,26,0.2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.45), 0 0 30px rgba(196,137,26,0.08);
}

.card:hover::before {
  opacity: 1;
}

/* Feature card layout */
.card-feature {
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

/* Feature icon circle — glowing on dark */
.card-feature-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, rgba(196,137,26,0.15), rgba(56,189,248,0.1));
  border: 1px solid rgba(196,137,26,0.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

.card:hover .card-feature-icon {
  box-shadow: 0 0 16px rgba(196,137,26,0.35);
  border-color: rgba(196,137,26,0.5);
}

.card-feature-icon i {
  color: var(--color-accent-glow);
  font-size: 0.875rem;
}

/* Feature text content */
.card-feature-content {
  flex: 1;
  min-width: 0;
}

.card-feature-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  font-size: 1rem;
  margin-bottom: 8px;
}

.card-feature-text {
  font-family: var(--font-body);
  color: rgba(255,255,255,0.45);
  font-size: 0.875rem;
  line-height: 1.6;
}


/* ==========================================================
   CARDS — Why (Neden Biz)
   Vertical card with icon, title, text.
   ========================================================== */
.card-why {
  background: #0B1929;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s ease;
  position: relative;
  overflow: hidden;
}

.card-why::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(196,137,26,0.5), rgba(56,189,248,0.3), transparent);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-out);
  transform-origin: center;
}

.card-why:hover {
  transform: translateY(-8px);
  border-color: rgba(196,137,26,0.15);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 25px rgba(196,137,26,0.06);
}

.card-why:hover::after {
  transform: scaleX(1);
}

/* Highlighted variant — rich navy with gold accents */
.card-why--highlight {
  background: linear-gradient(135deg, #0F2B52 0%, #0a1e3a 100%);
  border: 1px solid rgba(196,137,26,0.2);
  box-shadow: 0 0 40px rgba(196,137,26,0.06);
}

/* Why icon — glowing on dark */
.card-why-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(196,137,26,0.12), rgba(56,189,248,0.08));
  border: 1px solid rgba(196,137,26,0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

.card-why:hover .card-why-icon {
  box-shadow: 0 0 20px rgba(196,137,26,0.3);
  border-color: rgba(196,137,26,0.45);
}

.card-why-icon i {
  color: var(--color-accent-glow);
  font-size: 1.125rem;
}

/* Light icon variant for dark cards */
.card-why-icon--light {
  background: rgba(255, 255, 255, 0.08);
}

.card-why-icon--light i {
  color: var(--color-accent-glow);
}

/* Why title */
.card-why-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.card-why-title--light {
  color: white;
}

/* Why text */
.card-why-text {
  font-family: var(--font-body);
  color: rgba(255,255,255,0.45);
  font-size: 0.875rem;
  line-height: 1.6;
}

.card-why-text--light {
  color: rgba(255, 255, 255, 0.6);
}


/* ==========================================================
   CARDS — Trust (Güven)
   Simple vertical card for trust signals.
   ========================================================== */
.card-trust {
  background: white;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s ease;
  position: relative;
  overflow: hidden;
}

.card-trust::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(196,137,26,0.6), transparent);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-out);
  transform-origin: center;
}

.card-trust:hover {
  transform: translateY(-8px);
  border-color: rgba(196,137,26,0.2);
  box-shadow: 0 20px 50px rgba(15,43,82,0.12), 0 0 20px rgba(196,137,26,0.05);
}

.card-trust:hover::after {
  transform: scaleX(1);
}

.card-trust-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(15,43,82,0.12), rgba(196,137,26,0.08));
  border: 1px solid rgba(15,43,82,0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

.card-trust:hover .card-trust-icon {
  border-color: rgba(196,137,26,0.3);
  box-shadow: 0 0 15px rgba(196,137,26,0.2);
}

.card-trust-icon i {
  color: var(--color-accent-glow);
  font-size: 1.125rem;
}

.card-trust-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.card-trust-text {
  font-family: var(--font-body);
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  line-height: 1.7;
}


/* ==========================================================
   CARDS — Pricing
   Tall card with header, feature list, and footer CTA.
   ========================================================== */
.card-pricing {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #0B1929;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  position: relative;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s ease;
}

.card-pricing::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196,137,26,0.5), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.card-pricing:hover {
  transform: translateY(-6px);
  border-color: rgba(196,137,26,0.15);
  box-shadow: 0 20px 55px rgba(0,0,0,0.4), 0 0 25px rgba(196,137,26,0.06);
}

.card-pricing:hover::before {
  opacity: 1;
}

.card-pricing-body {
  padding: 24px;
  flex: 1;
}

.card-pricing-footer {
  padding: 0 24px 24px;
}

/* ----------------------------------------------------------
   Popular variant — dark navy with gold accents + grid overlay
   ---------------------------------------------------------- */
.card-pricing.is-popular {
  background: linear-gradient(135deg, #0F2B52 0%, #0a1e3a 60%, #0B1929 100%);
  background-image:
    linear-gradient(135deg, #0F2B52 0%, #0a1e3a 60%, #0B1929 100%),
    radial-gradient(rgba(196,137,26,0.04) 1px, transparent 1px);
  background-size: auto, 24px 24px;
  border: 1px solid rgba(196,137,26,0.3);
  border-radius: 16px;
  position: relative;
}

.card-pricing.is-popular .pricing-label {
  color: rgba(255, 255, 255, 0.4);
}

.card-pricing.is-popular .pricing-name {
  color: white;
}

.card-pricing.is-popular .pricing-description {
  color: rgba(255, 255, 255, 0.5);
}

.card-pricing.is-popular .pricing-price {
  color: var(--color-accent-glow);
  text-shadow: 0 0 20px rgba(196,137,26,0.5);
}

.card-pricing.is-popular .pricing-currency {
  color: rgba(255, 255, 255, 0.5);
}

.card-pricing.is-popular .pricing-period {
  color: rgba(255, 255, 255, 0.4);
}

.card-pricing.is-popular .pricing-feature {
  color: rgba(255, 255, 255, 0.85);
}

.card-pricing.is-popular .pricing-note {
  color: rgba(255, 255, 255, 0.35);
}

/* Non-popular pricing typography adjustments */
.card-pricing:not(.is-popular) .pricing-name {
  color: rgba(255,255,255,0.9);
}

.card-pricing:not(.is-popular) .pricing-label {
  color: rgba(255,255,255,0.35);
}

.card-pricing:not(.is-popular) .pricing-description {
  color: rgba(255,255,255,0.4);
}

.card-pricing:not(.is-popular) .pricing-price {
  color: rgba(255,255,255,0.9);
}

.card-pricing:not(.is-popular) .pricing-currency {
  color: rgba(255,255,255,0.4);
}

.card-pricing:not(.is-popular) .pricing-period {
  color: rgba(255,255,255,0.35);
}

.card-pricing:not(.is-popular) .pricing-feature {
  color: rgba(255,255,255,0.65);
}

.card-pricing:not(.is-popular) .pricing-note {
  color: rgba(255,255,255,0.3);
}

/* ----------------------------------------------------------
   Popular glow — animated border + pulsing outline
   ---------------------------------------------------------- */
.popular-glow {
  animation: glowPulse 2.4s ease-in-out infinite;
  outline: 2px solid rgba(196, 137, 26, 0.5);
  outline-offset: 0;
}

.popular-glow::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--a, 0deg),
    transparent 65%,
    #F0B54A 75%,
    #C4891A 82%,
    transparent 92%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1.5px;
  animation: spin 3s linear infinite;
  pointer-events: none;
}

/* Popular badge — floating label */
.popular-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  background: var(--color-accent);
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(196, 137, 26, 0.3);
}

/* ----------------------------------------------------------
   Pricing typography
   ---------------------------------------------------------- */
.pricing-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: rgba(15, 43, 82, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
}

.pricing-name {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--color-primary);
  font-size: 1.25rem;
  margin-top: 4px;
  margin-bottom: 4px;
}

.pricing-description {
  font-family: var(--font-body);
  color: var(--color-text-light);
  font-size: 0.875rem;
  margin-bottom: 20px;
}

.pricing-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.25rem;
  color: var(--color-primary);
}

.pricing-currency {
  font-family: var(--font-body);
  color: var(--color-text-light);
  font-size: 0.875rem;
  margin-left: 4px;
}

.pricing-period {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin-top: 2px;
}

/* ----------------------------------------------------------
   Pricing features list
   ---------------------------------------------------------- */
.pricing-features {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.pricing-feature i {
  color: var(--color-accent);
  font-size: 0.75rem;
  margin-top: 4px;
  flex-shrink: 0;
}

/* Pricing footer note */
.pricing-note {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--color-text-light);
  text-align: center;
  margin-bottom: 12px;
}

/* Info note below pricing grid */
.pricing-info-note {
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin-top: 32px;
}

.pricing-info-note i {
  margin-right: 4px;
}


/* ==========================================================
   CARDS — Info (CTA sidebar)
   Glassmorphic card on dark backgrounds.
   ========================================================== */
.card-info {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card-info::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196,137,26,0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-info:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(196,137,26,0.25);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2), 0 0 15px rgba(196,137,26,0.06);
}

.card-info:hover::before {
  opacity: 1;
}

.card-info-icon {
  width: 40px;
  height: 40px;
  background: rgba(196,137,26,0.12);
  border: 1px solid rgba(196,137,26,0.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: box-shadow 0.3s ease;
}

.card-info:hover .card-info-icon {
  box-shadow: 0 0 15px rgba(196,137,26,0.35);
}

.card-info-icon i {
  color: var(--color-accent-glow);
  font-size: 0.875rem;
}

.card-info-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: white;
  font-size: 0.875rem;
  margin-bottom: 4px;
}

.card-info-text {
  font-family: var(--font-body);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  line-height: 1.6;
}

.card-info-text strong {
  color: rgba(255, 255, 255, 0.7);
}


/* ==========================================================
   PRICING TOGGLE
   Pill-shaped billing period switcher.
   ========================================================== */
.pricing-toggle {
  text-align: center;
  margin-bottom: 48px;
}

.toggle-pill {
  position: relative;
  display: inline-flex;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  padding: 4px;
  max-width: calc(100vw - 40px);
}

.toggle-btn {
  position: relative;
  z-index: 1;
  padding: 7px 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  cursor: pointer;
  border: none;
  background: none;
  transition: color 0.25s ease;
  white-space: nowrap;
}

.toggle-btn.active {
  color: var(--color-primary);
}

/* Sliding indicator behind active button */
.toggle-slider {
  position: absolute;
  top: 4px;
  left: 4px;
  height: calc(100% - 8px);
  background: white;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(15, 43, 82, 0.15);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              width 0.3s ease;
  pointer-events: none;
}

/* Discount badge inside toggle */
.discount-badge {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #C4891A, #F0B54A);
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.58rem;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  margin-left: 4px;
  vertical-align: middle;
}

/* Price tag transition — fade between billing periods */
.price-tag {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.price-tag.fade-out {
  opacity: 0;
  transform: translateY(-5px);
  pointer-events: none;
}

.price-tag.fade-in {
  opacity: 1;
  transform: translateY(0);
}


/* ==========================================================
   BADGES
   Section and hero badges.
   ========================================================== */

/* Section badge — glowing pill with gold accent */
.section-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-accent-glow);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  background: rgba(196,137,26,0.08);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(196,137,26,0.25);
  box-shadow: 0 0 20px rgba(196,137,26,0.1);
  position: relative;
}

/* Border variant for dark sections */
.section-badge--border {
  border: 1px solid rgba(196, 137, 26, 0.3);
  box-shadow: 0 0 25px rgba(196,137,26,0.15);
}

/* Hero badge — frosted glass pill */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
}

.hero-badge-text {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.05em;
}


/* ==========================================================
   FORM FIELDS
   Styled inputs, selects, textareas with focus rings.
   ========================================================== */

/* Field group wrapper */
.field-group {
  display: flex;
  flex-direction: column;
}

/* Label with icon */
.field-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.field-icon {
  color: var(--color-accent);
  font-size: 0.7rem;
}

/* Text input */
.field-input {
  width: 100%;
  height: 44px;
  background: #F9FAFB;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0 14px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-text);
  transition: border-color 0.2s ease,
              background 0.2s ease,
              box-shadow 0.2s ease;
  outline: none;
}

/* Textarea overrides height */
.field-textarea {
  height: auto !important;
  padding: 12px 14px !important;
  resize: none;
}

.field-input::placeholder {
  color: var(--color-text-light);
}

.field-input:focus {
  border-color: var(--color-accent);
  background: white;
  box-shadow: 0 0 0 3px rgba(196, 137, 26, 0.1);
}

/* Select wrapper */
.field-select-wrap {
  position: relative;
}

/* Select input */
.field-select {
  width: 100%;
  height: 44px;
  background: #F9FAFB;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0 36px 0 14px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-text);
  appearance: none;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s ease,
              background 0.2s ease,
              box-shadow 0.2s ease;
}

.field-select:focus {
  border-color: var(--color-accent);
  background: white;
  box-shadow: 0 0 0 3px rgba(196, 137, 26, 0.1);
}

/* Custom chevron for select */
.field-chevron {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-light);
  font-size: 0.65rem;
  pointer-events: none;
}

/* ----------------------------------------------------------
   Validation states
   ---------------------------------------------------------- */
.input-valid {
  border-color: #86efac !important;
  background-color: #f0fdf4 !important;
}

.input-error {
  border-color: #fca5a5 !important;
  background-color: #fff5f5 !important;
}


/* ==========================================================
   FAQ ACCORDION
   Expandable question/answer pairs.
   ========================================================== */
.faq-wrapper {
  max-width: 768px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item--last {
  border-bottom: none;
}

/* Question button */
.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
}

.faq-question {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1rem;
  text-align: left;
  padding-right: 16px;
}

/* Answer panel — collapsed by default */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-answer.open {
  max-height: 300px;
  padding-bottom: 16px;
}

.faq-answer p {
  font-family: var(--font-body);
  color: var(--color-text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
}

/* Rotating icon */
.faq-icon {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: var(--color-accent);
}

.faq-btn.open .faq-icon {
  transform: rotate(45deg);
}

/* CTA below FAQ */
.faq-cta {
  text-align: center;
  margin-top: 40px;
}

.faq-cta-text {
  font-family: var(--font-body);
  color: var(--color-text-light);
  font-size: 0.875rem;
  margin-bottom: 16px;
}


/* ==========================================================
   COMPARE TABLE
   Feature comparison across packages — dark glass theme.
   ========================================================== */
.compare-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  /* Subtle gold glow around entire table */
  box-shadow: 0 0 0 1px rgba(196,137,26,0.15),
              0 30px 80px rgba(0,0,0,0.5);
}

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: transparent;
}

/* ── Table header ── */
.compare-table thead tr {
  background: linear-gradient(135deg, #0a1929 0%, #0F2B52 100%);
}

.compare-table th {
  background: transparent;
  color: rgba(255,255,255,0.9);
  padding: 16px 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
}

.compare-table th:first-child {
  text-align: left;
  border-radius: 12px 0 0 0;
  min-width: 210px;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Package name in header */
.compare-table th .th-name {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.95);
  letter-spacing: -0.01em;
}

.compare-table th .th-sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  margin-top: 2px;
  letter-spacing: 0;
}

/* Last column = popular / gold accent */
.compare-table th:last-child {
  border-radius: 0 12px 0 0;
  background: linear-gradient(135deg, rgba(196,137,26,0.25), rgba(196,137,26,0.12));
  border-left: 1px solid rgba(196,137,26,0.3);
}

.compare-table th:last-child .th-name {
  color: var(--color-accent-glow);
}

/* ── Table body rows ── */
.compare-table td {
  padding: 13px 18px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  text-align: center;
  vertical-align: middle;
  background: transparent;
  transition: background 0.2s ease;
}

.compare-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  padding-left: 20px;
}

/* Last column cells — gold tint */
.compare-table td:last-child {
  background: rgba(196,137,26,0.04);
  border-left: 1px solid rgba(196,137,26,0.1);
}

/* Zebra — alternating subtle rows */
.compare-table tbody tr:nth-child(odd) td {
  background: rgba(255,255,255,0.025);
}

.compare-table tbody tr:nth-child(odd) td:last-child {
  background: rgba(196,137,26,0.06);
}

/* Hover on row */
.compare-table tbody tr:hover td {
  background: rgba(255,255,255,0.05);
}

.compare-table tbody tr:hover td:last-child {
  background: rgba(196,137,26,0.10);
}

/* ── Bottom row rounded corners ── */
.compare-table tr:last-child td:first-child {
  border-radius: 0 0 0 12px;
}

.compare-table tr:last-child td:last-child {
  border-radius: 0 0 12px 0;
}

/* ── Check icon ── */
.compare-check {
  color: var(--color-accent-glow);
  font-size: 1rem;
  filter: drop-shadow(0 0 4px rgba(196,137,26,0.5));
}

/* ── Cross icon ── */
.compare-cross {
  color: rgba(255,255,255,0.15);
  font-size: 0.9rem;
}

/* ── Price row — highlighted bottom ── */
.compare-highlight td {
  background: rgba(196,137,26,0.08) !important;
  border-top: 1px solid rgba(196,137,26,0.2);
  padding-top: 16px;
  padding-bottom: 16px;
}

.compare-highlight td:first-child {
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.compare-highlight td:not(:first-child) {
  color: rgba(255,255,255,0.85);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
}

.compare-highlight td:last-child {
  color: var(--color-accent-glow) !important;
  font-size: 1rem;
}


/* ==========================================================
   FORM BANNERS
   Success and error messages above forms.
   ========================================================== */

/* Success banner — hidden by default, shown via JS */
.form-success {
  display: none;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: var(--radius-md);
  padding: 16px;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

/* Show when .hidden is removed */
.form-success:not(.hidden) {
  display: flex;
}

.form-success i {
  color: var(--color-success);
  font-size: 1.125rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Error banner — hidden by default, shown via JS */
.form-error {
  display: none;
  background: #fff5f5;
  border: 1px solid #fca5a5;
  border-radius: var(--radius-md);
  padding: 16px;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

/* Show when .hidden is removed */
.form-error:not(.hidden) {
  display: flex;
}

.form-error i {
  color: var(--color-danger);
  font-size: 1.125rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Banner titles */
.form-banner-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
}

.form-success .form-banner-title {
  color: #15803d;
}

.form-error .form-banner-title {
  color: #b91c1c;
}

/* Banner body text */
.form-banner-text {
  font-family: var(--font-body);
  font-size: 0.75rem;
  margin-top: 2px;
}

.form-success .form-banner-text {
  color: #166534;
}

.form-error .form-banner-text {
  color: #991b1b;
}

.form-banner-text a {
  text-decoration: underline;
  font-weight: 500;
}

/* Form disclaimer below submit */
.form-disclaimer {
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin-top: 12px;
}

.form-disclaimer i {
  margin-right: 4px;
  color: var(--color-border);
}
/* ------------------------------------------------------------
   BLOG COMPONENTS
   ------------------------------------------------------------ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 40px;
  padding: 20px 0;
}

.blog-card {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border-color: rgba(0,0,0,0.08);
}

.blog-cover-wrap {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
}

.blog-cover {
  width: 100%;
  height: 100%;
  background: #f1f5f9;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blog-card:hover .blog-cover {
  transform: scale(1.08);
}

.blog-date-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 2;
}

.blog-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-date {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.blog-card:hover .blog-card-title {
  color: var(--accent);
}

.blog-excerpt {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 24px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-read-more {
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  padding: 10px 0;
  border-top: 1px solid rgba(0,0,0,0.05);
  margin-top: auto;
}

.blog-read-more i {
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-read-more i {
  transform: translateX(6px);
}
