/* ============================================================
   CloudCraft — Apple-style Pricing Plan Modals
   Variables: --bg, --bg-elevated, --bg-card, --border,
              --border-hover, --text, --text-secondary,
              --text-muted, --primary (#009688 teal),
              --accent (#D4A54B gold), --font
   ============================================================ */

/* ----------------------------------------------------------
   Plan accent overrides (cascaded via modifier class)
   ---------------------------------------------------------- */
.plan-modal--starter { --plan-accent: #2196F3; --plan-accent-dim: rgba(33, 150, 243, 0.15); }
.plan-modal--pro     { --plan-accent: var(--primary, #009688); --plan-accent-dim: rgba(0, 150, 136, 0.15); }
.plan-modal--elite   { --plan-accent: var(--accent, #D4A54B);  --plan-accent-dim: rgba(212, 165, 75, 0.15); }

/* ----------------------------------------------------------
   Backdrop
   ---------------------------------------------------------- */
.plan-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.plan-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* ----------------------------------------------------------
   Modal container
   ---------------------------------------------------------- */
.plan-modal {
  position: relative;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #0d1c1c; /* deeper than --bg for contrast */
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: 28px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04);

  /* Open animation */
  transform: scale(0.9);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity  0.35s ease;

  /* Custom scrollbar */
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.12) transparent;
}

.plan-modal-backdrop.is-open .plan-modal {
  transform: scale(1);
  opacity: 1;
}

.plan-modal::-webkit-scrollbar {
  width: 4px;
}
.plan-modal::-webkit-scrollbar-track {
  background: transparent;
}
.plan-modal::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
}

/* ----------------------------------------------------------
   Close button
   ---------------------------------------------------------- */
.plan-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted, #8ECAD6);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.plan-modal__close:hover {
  background: rgba(255, 255, 255, 0.18);
  color: var(--text, #FFFFFF);
  transform: scale(1.08);
}

.plan-modal__close:active {
  transform: scale(0.94);
}

/* SVG X icon drawn via CSS — no external assets needed */
.plan-modal__close::before,
.plan-modal__close::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
}
.plan-modal__close::before { transform: rotate(45deg); }
.plan-modal__close::after  { transform: rotate(-45deg); }

/* ----------------------------------------------------------
   Modal header
   ---------------------------------------------------------- */
.plan-modal__header {
  padding: 48px 48px 32px;
  text-align: center;
}

/* Eyebrow — plan name */
.plan-modal__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--plan-accent, var(--primary));
  background: var(--plan-accent-dim, rgba(0, 150, 136, 0.15));
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

/* Persona title */
.plan-modal__title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--text, #FFFFFF);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

/* Subtitle */
.plan-modal__subtitle {
  font-size: 16px;
  color: var(--text-muted, #8ECAD6);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.55;
}

/* Thin divider under header */
.plan-modal__header-divider {
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: var(--plan-accent, var(--primary));
  margin: 24px auto 0;
  opacity: 0.6;
}

/* ----------------------------------------------------------
   Content area
   ---------------------------------------------------------- */
.plan-modal__body {
  padding: 0 48px 120px; /* bottom: room for sticky CTA */
}

/* Section heading inside body */
.plan-modal__section-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted, #8ECAD6);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.08));
}

/* ----------------------------------------------------------
   Feature blocks grid
   ---------------------------------------------------------- */
.plan-modal__features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

/* Single feature card */
.plan-modal__feature-card {
  background: var(--bg-card, rgba(255, 255, 255, 0.03));
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: 20px;
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.plan-modal__feature-card:hover {
  border-color: var(--border-hover, rgba(255, 255, 255, 0.15));
  background: rgba(255, 255, 255, 0.05);
}

/* Feature image */
.plan-modal__feature-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border-radius: 20px 20px 0 0;
  background: rgba(255, 255, 255, 0.02);
  display: block;
}

/* Feature text block */
.plan-modal__feature-text {
  padding: 20px 20px 22px;
}

.plan-modal__feature-text h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text, #FFFFFF);
  margin-bottom: 8px;
  line-height: 1.3;
}

.plan-modal__feature-text p {
  font-size: 14px;
  color: var(--text-secondary, #B8E0E8);
  line-height: 1.55;
}

/* Accent dot before h3 */
.plan-modal__feature-text h3::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--plan-accent, var(--primary));
  margin-right: 8px;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ----------------------------------------------------------
   "Bir Trading Gününüz" timeline section
   ---------------------------------------------------------- */
.plan-modal__day-section {
  margin-bottom: 40px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-left: 3px solid var(--plan-accent, var(--primary));
  border-radius: 0 16px 16px 0;
  padding: 28px 28px 28px 32px;
}

.plan-modal__day-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--plan-accent, var(--primary));
  margin-bottom: 12px;
}

.plan-modal__day-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.plan-modal__day-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

/* Time stamp */
.plan-modal__day-time {
  font-size: 12px;
  font-weight: 600;
  color: var(--plan-accent, var(--primary));
  white-space: nowrap;
  min-width: 48px;
  padding-top: 2px;
  font-variant-numeric: tabular-nums;
}

/* Timeline connector dot */
.plan-modal__day-item::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--plan-accent, var(--primary));
  flex-shrink: 0;
  margin-top: 6px;
  opacity: 0.7;
}

.plan-modal__day-desc {
  font-size: 14px;
  font-style: italic;
  color: var(--text-secondary, #B8E0E8);
  line-height: 1.55;
}

/* ----------------------------------------------------------
   Testimonial
   ---------------------------------------------------------- */
.plan-modal__testimonial {
  margin-bottom: 40px;
  padding: 28px 32px;
  background: var(--bg-card, rgba(255, 255, 255, 0.03));
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: 20px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

/* Avatar placeholder */
.plan-modal__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--plan-accent-dim, rgba(0, 150, 136, 0.2));
  border: 2px solid var(--plan-accent, var(--primary));
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--plan-accent, var(--primary));
  overflow: hidden;
}

.plan-modal__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.plan-modal__testimonial-body {
  flex: 1;
  min-width: 0;
}

.plan-modal__quote {
  font-size: 15px;
  font-style: italic;
  color: var(--text-secondary, #B8E0E8);
  line-height: 1.6;
  margin-bottom: 10px;

  /* Opening quote */
  position: relative;
}

.plan-modal__quote::before {
  content: '\201C';
  font-size: 48px;
  line-height: 0;
  vertical-align: -18px;
  color: var(--plan-accent, var(--primary));
  opacity: 0.4;
  margin-right: 4px;
  font-style: normal;
}

.plan-modal__quote-author {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted, #8ECAD6);
}

.plan-modal__quote-role {
  font-size: 12px;
  color: var(--text-muted, #8ECAD6);
  opacity: 0.7;
}

/* ----------------------------------------------------------
   Included items bullet list
   ---------------------------------------------------------- */
.plan-modal__includes {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan-modal__includes li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary, #B8E0E8);
}

.plan-modal__includes li::before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--plan-accent-dim, rgba(0, 150, 136, 0.15));
  border: 1.5px solid var(--plan-accent, var(--primary));
  flex-shrink: 0;
  /* Checkmark via clip-path trick */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23009688' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px;
}

/* Starter plan checkmark color override */
.plan-modal--starter .plan-modal__includes li::before {
  border-color: #2196F3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%232196F3' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px;
}

/* Elite plan checkmark color override */
.plan-modal--elite .plan-modal__includes li::before {
  border-color: #D4A54B;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23D4A54B' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px;
}

/* ----------------------------------------------------------
   Sticky bottom CTA bar
   ---------------------------------------------------------- */
.plan-modal__cta-bar {
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
  padding: 16px 48px;
  background: rgba(13, 28, 28, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

/* Price display */
.plan-modal__price-block {
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
}

.plan-modal__price-amount {
  font-size: 32px;
  font-weight: 700;
  color: var(--text, #FFFFFF);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.plan-modal__price-currency {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-muted, #8ECAD6);
  align-self: flex-start;
  margin-top: 4px;
}

.plan-modal__price-period {
  font-size: 14px;
  color: var(--text-muted, #8ECAD6);
  align-self: flex-end;
  padding-bottom: 2px;
}

/* Billing toggle (monthly / yearly) */
.plan-modal__period-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted, #8ECAD6);
}

.plan-modal__toggle-input {
  appearance: none;
  -webkit-appearance: none;
  width: 40px;
  height: 22px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  position: relative;
  transition: background 0.25s ease;
  flex-shrink: 0;
}

.plan-modal__toggle-input::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.25s ease;
}

.plan-modal__toggle-input:checked {
  background: var(--plan-accent, var(--primary));
}

.plan-modal__toggle-input:checked::after {
  transform: translateX(18px);
}

.plan-modal__toggle-label--active {
  color: var(--text, #FFFFFF);
  font-weight: 600;
}

/* Savings badge */
.plan-modal__savings-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--plan-accent, var(--primary));
  background: var(--plan-accent-dim, rgba(0, 150, 136, 0.15));
  padding: 2px 8px;
  border-radius: 10px;
}

/* Right side of CTA bar */
.plan-modal__cta-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* CTA button */
.plan-modal__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 12px;
  border: none;
  font-family: var(--font, inherit);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  background: var(--plan-accent, var(--primary));
  transition: filter 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3),
              0 0 0 0 var(--plan-accent, var(--primary));
  white-space: nowrap;
}

.plan-modal__cta-btn:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35),
              0 0 0 3px var(--plan-accent-dim, rgba(0, 150, 136, 0.25));
}

.plan-modal__cta-btn:active {
  transform: translateY(0);
  filter: brightness(0.95);
}

/* Plan-specific button gradient overlays */
.plan-modal--starter .plan-modal__cta-btn {
  background: linear-gradient(135deg, #2196F3, #1565C0);
  box-shadow: 0 4px 20px rgba(33, 150, 243, 0.25);
}
.plan-modal--starter .plan-modal__cta-btn:hover {
  box-shadow: 0 8px 28px rgba(33, 150, 243, 0.35),
              0 0 0 3px rgba(33, 150, 243, 0.2);
}

.plan-modal--pro .plan-modal__cta-btn {
  background: linear-gradient(135deg, #009688, #00695c);
  box-shadow: 0 4px 20px rgba(0, 150, 136, 0.25);
}
.plan-modal--pro .plan-modal__cta-btn:hover {
  box-shadow: 0 8px 28px rgba(0, 150, 136, 0.35),
              0 0 0 3px rgba(0, 150, 136, 0.2);
}

.plan-modal--elite .plan-modal__cta-btn {
  background: linear-gradient(135deg, #D4A54B, #a07830);
  box-shadow: 0 4px 20px rgba(212, 165, 75, 0.25);
}
.plan-modal--elite .plan-modal__cta-btn:hover {
  box-shadow: 0 8px 28px rgba(212, 165, 75, 0.35),
              0 0 0 3px rgba(212, 165, 75, 0.2);
}

/* Trial note under button */
.plan-modal__trial-note {
  font-size: 12px;
  color: var(--text-muted, #8ECAD6);
  text-align: center;
}

/* ----------------------------------------------------------
   Responsive — mobile (≤768px)
   ---------------------------------------------------------- */
@media (max-width: 768px) {
  /* Backdrop: no padding — full screen sheet */
  .plan-modal-backdrop {
    padding: 0;
    align-items: flex-end;
  }

  /* Modal: full width, full height, square corners */
  .plan-modal {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    border-radius: 0;
    box-shadow: none;
  }

  /* Tighter header on mobile */
  .plan-modal__header {
    padding: 40px 24px 24px;
  }

  /* Tighter body on mobile */
  .plan-modal__body {
    padding: 0 24px 100px;
  }

  /* Full-width feature grid on mobile */
  .plan-modal__features {
    grid-template-columns: 1fr;
  }

  /* Feature images: natural full width */
  .plan-modal__feature-img {
    aspect-ratio: 16 / 8;
  }

  /* Day section: narrower left padding */
  .plan-modal__day-section {
    padding: 20px 20px 20px 24px;
  }

  /* Testimonial stacks on mobile */
  .plan-modal__testimonial {
    flex-direction: column;
    gap: 14px;
    padding: 20px;
  }

  /* CTA bar: thinner, stacked */
  .plan-modal__cta-bar {
    padding: 12px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .plan-modal__cta-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .plan-modal__cta-btn {
    width: 100%;
    padding: 13px 24px;
  }

  .plan-modal__price-amount {
    font-size: 26px;
  }

  .plan-modal__period-toggle {
    justify-content: center;
  }

  /* Close: smaller offset on mobile */
  .plan-modal__close {
    top: 14px;
    right: 14px;
  }
}

/* ----------------------------------------------------------
   Reduced motion
   ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .plan-modal-backdrop,
  .plan-modal,
  .plan-modal__cta-btn,
  .plan-modal__feature-card,
  .plan-modal__close,
  .plan-modal__toggle-input,
  .plan-modal__toggle-input::after {
    transition: none;
    animation: none;
  }

  /* Skip the scale animation — just fade */
  .plan-modal {
    transform: none;
  }

  .plan-modal-backdrop.is-open .plan-modal {
    transform: none;
  }
}


/* ═══════════════════════════════════════════════════════════
   HOTFIX: Modal layout, images, sticky CTA, scroll
   ═══════════════════════════════════════════════════════════ */

/* Backdrop: scrollable container */
.plan-modal-backdrop.is-open {
  overflow-y: auto !important;
  display: flex !important;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 0;
}

/* Modal: static inside backdrop, not fixed */
.plan-modal {
  position: relative !important;
  max-height: none !important;
  overflow: visible !important;
  margin: 0 auto;
  width: 90%;
  max-width: 900px;
  border-radius: 28px;
  background: #0d1c1c;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 40px 100px rgba(0,0,0,0.6);
}

/* Feature images — constrained */
.plan-modal-feature-img {
  width: 100%;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  background: #0a0f0f;
}

.plan-modal-feature-img img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  display: block;
}

/* Feature card */
.plan-modal-feature {
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,255,255,0.02);
  margin-bottom: 24px;
}

.plan-modal-feature-copy {
  padding: 20px 24px;
}

.plan-modal-feature-copy h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
}

.plan-modal-feature-copy p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
  margin: 0;
}

/* Modal header */
.plan-modal-header {
  padding: 48px 48px 24px;
}

.plan-modal-eyebrow {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  display: block;
}

.plan-modal--starter .plan-modal-eyebrow { color: #2196F3; }
.plan-modal--pro .plan-modal-eyebrow { color: #009688; }
.plan-modal--elite .plan-modal-eyebrow { color: #D4A54B; }

.plan-modal-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.plan-modal-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin: 0;
}

/* Features grid */
.plan-modal-features {
  padding: 0 48px;
}

/* Scenario */
.plan-modal-scenario {
  padding: 32px;
  background: rgba(255,255,255,0.02);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.06);
  margin: 32px 48px;
}

.plan-modal-scenario h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 20px;
  color: #fff;
}

.timeline-step {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-left: 2px solid var(--teal, #009688);
  padding-left: 20px;
  margin-left: 8px;
}

.timeline-step .time {
  font-weight: 700;
  color: var(--teal, #009688);
  min-width: 50px;
  font-size: 14px;
}

.timeline-step p {
  margin: 0;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

/* Testimonial */
.plan-modal-testimonial {
  padding: 28px 32px;
  background: rgba(255,255,255,0.02);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.06);
  margin: 24px 48px;
}

.plan-modal-testimonial blockquote {
  margin: 0 0 12px;
  font-size: 16px;
  font-style: italic;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
}

.plan-modal-testimonial cite {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  font-style: normal;
}

/* Sticky CTA */
.plan-modal-sticky-cta {
  position: sticky;
  bottom: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  background: rgba(13, 28, 28, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-radius: 0 0 28px 28px;
}

.plan-modal-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-amount {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
}

.price-period {
  font-size: 16px;
  color: rgba(255,255,255,0.5);
}

.plan-modal-cta-btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.plan-modal--starter .plan-modal-cta-btn { background: linear-gradient(135deg, #2196F3, #1976D2); }
.plan-modal--pro .plan-modal-cta-btn { background: linear-gradient(135deg, #009688, #00796B); }
.plan-modal--elite .plan-modal-cta-btn { background: linear-gradient(135deg, #D4A54B, #c9a04a); color: #000; }

.plan-modal-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

/* Close button */
.plan-modal-close {
  position: sticky;
  top: 16px;
  float: right;
  margin: 16px 16px 0 0;
  z-index: 20;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.4);
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  display: grid;
  place-items: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.plan-modal-close:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* Mobile */
@media (max-width: 768px) {
  .plan-modal-backdrop.is-open { padding: 0; }
  .plan-modal {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0 !important;
    min-height: 100vh;
  }
  .plan-modal-header { padding: 40px 20px 16px; }
  .plan-modal-title { font-size: 26px; }
  .plan-modal-subtitle { font-size: 14px; }
  .plan-modal-features { padding: 0 16px; }
  .plan-modal-feature-img img { max-height: 240px; }
  .plan-modal-feature-copy { padding: 16px; }
  .plan-modal-feature-copy h3 { font-size: 17px; }
  .plan-modal-feature-copy p { font-size: 14px; }
  .plan-modal-scenario { margin: 20px 16px; padding: 20px; }
  .plan-modal-scenario h3 { font-size: 17px; }
  .timeline-step { gap: 10px; padding-left: 14px; }
  .timeline-step .time { font-size: 12px; min-width: 42px; }
  .timeline-step p { font-size: 13px; }
  .plan-modal-testimonial { margin: 16px 16px; padding: 20px; }
  .plan-modal-testimonial blockquote { font-size: 14px; }
  .plan-modal-sticky-cta {
    padding: 12px 16px;
    border-radius: 0;
    position: sticky;
    bottom: 0;
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .plan-modal-cta-btn {
    display: block;
    width: 100%;
    padding: 14px 20px;
    text-align: center;
  }
  .plan-modal-close {
    margin: 12px 12px 0 0;
    width: 36px;
    height: 36px;
  }

}

/* pricing-card base: clickable affordance (stil index-budur.css'te) */
.pricing-card {
  position: relative;
  cursor: pointer;
}
