/* ============================================
   components.css — SkipTV UI Components
   ============================================ */

/* ==========================================
   BUTTONS
   ========================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  text-decoration: none;
}

/* Orange (primary CTA) */
.btn-orange {
  background: var(--accent-orange);
  color: #ffffff;
}

.btn-orange:hover {
  background: var(--accent-orange-hover);
  box-shadow: var(--glow-orange);
  transform: translateY(-2px);
  color: #ffffff;
}

/* Blue */
.btn-blue {
  background: var(--accent-blue);
  color: #ffffff;
}

.btn-blue:hover {
  opacity: 0.9;
  box-shadow: var(--glow-blue);
  color: #ffffff;
}

/* Outline Blue */
.btn-outline-blue {
  background: transparent;
  border: 2px solid var(--accent-blue);
  color: var(--accent-blue);
}

.btn-outline-blue:hover {
  background: var(--accent-blue-dim);
  color: var(--accent-blue);
}

/* Outline White */
.btn-outline-white {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.btn-outline-white:hover {
  border-color: #ffffff;
  color: #ffffff;
}

/* Sizes */
.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 18px;
}

/* ==========================================
   CARDS
   ========================================== */

.card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.card-hover {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  cursor: pointer;
  transition: var(--transition);
}

.card-hover:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--glow-blue);
}

/* ==========================================
   BADGES
   ========================================== */

.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.badge-blue {
  background: var(--accent-blue-dim);
  color: var(--accent-blue);
  border: 1px solid rgba(0, 174, 239, 0.3);
}

.badge-orange {
  background: rgba(255, 107, 0, 0.12);
  color: var(--accent-orange);
  border: 1px solid rgba(255, 107, 0, 0.3);
}

.badge-green {
  background: rgba(0, 200, 100, 0.12);
  color: #00C864;
  border: 1px solid rgba(0, 200, 100, 0.3);
}

/* ==========================================
   GRIDS
   ========================================== */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ==========================================
   FEATURE CARDS
   ========================================== */

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--glow-blue);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-blue), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

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

.feature-card .icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--accent-blue-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================
   TRUST BAR
   ========================================== */

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 32px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
}

.trust-item::before {
  content: "✓";
  color: var(--accent-blue);
  font-weight: 700;
  font-size: 15px;
}

/* ==========================================
   TABLES
   ========================================== */

.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th {
  background: var(--bg-secondary);
  padding: 16px 24px;
  text-align: left;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}

th:first-child {
  border-radius: var(--radius-lg) 0 0 0;
}

th:last-child {
  border-radius: 0 var(--radius-lg) 0 0;
}

td {
  padding: 14px 24px;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 15px;
}

tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* ==========================================
   ACCORDION
   ========================================== */

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

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  text-align: left;
  transition: color var(--transition);
}

.accordion-header:hover {
  color: var(--accent-blue);
}

.accordion-icon {
  width: 24px;
  height: 24px;
  color: var(--accent-blue);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.accordion-item.open .accordion-icon {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-body p {
  padding-bottom: 20px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Aliases: HTML uses accordion-trigger / accordion-panel */
.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  text-align: left;
  transition: color var(--transition);
}

.accordion-trigger:hover {
  color: var(--accent-blue);
}

.accordion-trigger .accordion-icon {
  width: 24px;
  height: 24px;
  color: var(--accent-blue);
  transition: transform var(--transition);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
}

.accordion-item.open .accordion-trigger .accordion-icon {
  transform: rotate(45deg);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-panel p {
  padding-bottom: 20px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================
   PRICING CARDS
   ========================================== */

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.pricing-card.featured {
  border-color: var(--accent-blue);
  box-shadow: var(--glow-blue);
  transform: scale(1.03);
  background: rgba(0, 174, 239, 0.04);
}

.pricing-card .plan-name {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.pricing-card .plan-price {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 700;
  color: var(--accent-blue);
  line-height: 1;
}

.pricing-card .plan-period {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.pricing-card .plan-monthly {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.pricing-card .plan-features {
  list-style: none;
  margin-bottom: 32px;
  flex: 1;
}

.pricing-card .plan-features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-card .plan-features li:last-child {
  border-bottom: none;
}

.pricing-card .plan-features li::before {
  content: "✅";
  font-size: 13px;
  flex-shrink: 0;
}

.pricing-card .plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

/* ==========================================
   PAYMENT PILLS
   ========================================== */

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.payment-pill {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
}

.payment-pill:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

/* ==========================================
   FORMS
   ========================================== */

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-secondary);
}

input,
select,
textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

input::placeholder,
textarea::placeholder {
  color: var(--text-muted);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px var(--accent-blue-dim);
}

textarea {
  resize: vertical;
  min-height: 140px;
}

select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

/* ==========================================
   CTA BOX (mid-article / section)
   ========================================== */

.cta-box {
  background: linear-gradient(
    135deg,
    rgba(0, 174, 239, 0.1),
    rgba(255, 107, 0, 0.08)
  );
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  margin: 48px 0;
}

.cta-box h3 {
  font-size: 24px;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.cta-box p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-size: 16px;
}

/* ==========================================
   NOTIFICATION / TOAST
   ========================================== */

.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  z-index: 9998;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.success {
  border-color: #00C864;
}

.toast.error {
  border-color: #FF4444;
}


/* ==========================================
   COOKIE CONSENT BANNER
   ========================================== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 0 16px 16px;
  transform: translateY(110%);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.cookie-banner--visible {
  transform: translateY(0);
  pointer-events: all;
}

.cookie-banner--hiding {
  transform: translateY(110%);
  transition: transform 0.35s ease-in;
  pointer-events: none;
}

.cookie-banner__inner {
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 -4px 32px rgba(0,0,0,0.18), 0 0 0 1px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  flex-wrap: wrap;
}

.cookie-banner__icon {
  font-size: 36px;
  flex-shrink: 0;
  line-height: 1;
}

.cookie-banner__content {
  flex: 1;
  min-width: 220px;
}

.cookie-banner__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 6px;
  line-height: 1.2;
}

.cookie-banner__text {
  font-size: 13px;
  color: #555;
  line-height: 1.55;
  margin: 0;
}

.cookie-banner__link {
  color: var(--accent-blue);
  text-decoration: underline;
  font-weight: 600;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  flex-shrink: 0;
}

.cookie-banner__btn {
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  padding: 10px 20px;
  border: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  line-height: 1;
}

.cookie-banner__btn--accept {
  background: var(--accent-blue);
  color: #fff;
  border: 2px solid var(--accent-blue);
}

.cookie-banner__btn--accept:hover {
  background: #0099d4;
  border-color: #0099d4;
  transform: translateY(-1px);
}

.cookie-banner__btn--reject {
  background: #fff;
  color: #333;
  border: 2px solid #d0d0d8;
}

.cookie-banner__btn--reject:hover {
  border-color: #999;
  background: #f5f5f8;
}

.cookie-banner__btn--settings {
  background: transparent;
  color: #777;
  border: none;
  padding: 10px 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
}

.cookie-banner__btn--settings:hover {
  color: #333;
}

/* Cookie settings panel */
.cookie-settings-panel {
  background: #fff;
  border-top: 1px solid #e8e8f0;
  border-radius: 0 0 16px 16px;
  margin-top: -16px;
  padding: 20px 24px 16px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.cookie-settings-panel__title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 12px;
}

.cookie-settings-panel__list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-settings-panel__list li,
.cookie-toggle-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: #444;
  cursor: pointer;
  gap: 12px;
}

.cookie-toggle-label input[type="checkbox"] {
  display: none;
}

.cookie-toggle-switch {
  width: 44px;
  height: 24px;
  background: #ccc;
  border-radius: 12px;
  position: relative;
  transition: background 0.25s;
  flex-shrink: 0;
}

.cookie-toggle-switch::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: transform 0.25s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.cookie-toggle-label input:checked + .cookie-toggle-switch {
  background: var(--accent-blue);
}

.cookie-toggle-label input:checked + .cookie-toggle-switch::after {
  transform: translateX(20px);
}

.cookie-toggle--on {
  font-size: 12px;
  color: #00a85a;
  font-weight: 700;
  background: rgba(0,168,90,0.1);
  padding: 3px 10px;
  border-radius: 20px;
}

.cookie-settings-panel__footer {
  padding-top: 8px;
}

/* ==========================================
   PLATFORM / CONTENT IMAGE SLIDER
   ========================================== */

.slider-section {
  background: var(--bg-secondary);
  padding: 56px 0 48px;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.slider-section .section-heading {
  margin-bottom: 32px;
}

.slider-track-wrapper {
  overflow: hidden;
  position: relative;
  /* fade edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.slider-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: sliderScroll 36s linear infinite;
  align-items: stretch;
}

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

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

/* Portrait cards — match tall/vertical source images */
.slider-slide {
  flex-shrink: 0;
  width: 160px;
  height: 240px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  position: relative;
}

.slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}

.slider-slide:hover img {
  transform: scale(1.05);
}

/* ==========================================
   DEVICE IMAGES GRID — compact brand tiles
   ========================================== */

/* Outer wrapper allows horizontal scroll on small screens */
.device-images-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Each tile: fixed small square, logo centered with padding */
.device-img-card {
  flex-shrink: 0;
  width: 140px;
  height: 110px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.device-img-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--glow-blue);
  border-color: var(--border-hover);
}

/* Use contain so logos / icons aren't cropped */
.device-img-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
  }
  .cookie-banner__actions {
    width: 100%;
    justify-content: flex-start;
  }
  .slider-slide {
    width: 130px;
    height: 196px;
  }
  .device-img-card {
    width: 120px;
    height: 96px;
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .cookie-banner__btn--accept,
  .cookie-banner__btn--reject {
    flex: 1;
    text-align: center;
    justify-content: center;
  }
  .slider-slide {
    width: 110px;
    height: 165px;
  }
  .device-img-card {
    width: 100px;
    height: 82px;
    padding: 8px;
  }
}

/* ==========================================
   PLAN ORDER POPUP
   ========================================== */

/* Prevent body scroll when popup is open */
body.popup-open { overflow: hidden; }

/* Overlay */
#plan-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
#plan-popup-overlay.visible {
  opacity: 1;
  pointer-events: all;
}
#plan-popup-overlay.hiding {
  opacity: 0;
  pointer-events: none;
}

/* Card */
.plan-popup {
  background: var(--bg-card, #13131f);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 36px 32px 28px;
  width: 100%;
  max-width: 420px;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.25s ease;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.05);
}
#plan-popup-overlay.visible .plan-popup {
  transform: translateY(0) scale(1);
}

/* Close button */
.plan-popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted, #8899aa);
  transition: background 0.2s, color 0.2s;
}
.plan-popup__close:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* Header */
.plan-popup__header {
  text-align: center;
  margin-bottom: 28px;
}
.plan-popup__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  box-shadow: 0 6px 20px rgba(37,211,102,0.35);
}
.plan-popup__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary, #fff);
  margin-bottom: 4px;
}
.plan-popup__subtitle {
  font-size: 0.82rem;
  color: var(--text-muted, #8899aa);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* Fields */
.plan-popup__field {
  margin-bottom: 18px;
}
.plan-popup__label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary, #cdd6e0);
  margin-bottom: 8px;
  letter-spacing: .02em;
}
.plan-popup__req { color: var(--accent-orange, #FF6B00); }

/* Select wrapper with custom chevron */
.plan-popup__select-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.plan-popup__select {
  width: 100%;
  padding: 13px 40px 13px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: var(--text-primary, #fff);
  font-family: 'Nunito', sans-serif;
  font-size: 0.92rem;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.plan-popup__select:focus {
  border-color: var(--accent-blue, #00AEEF);
  box-shadow: 0 0 0 3px rgba(0,174,239,0.18);
}
.plan-popup__select.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.15);
}
.plan-popup__select option {
  background: #1a1a2e;
  color: #fff;
}
.plan-popup__chevron {
  position: absolute;
  right: 13px;
  pointer-events: none;
  color: var(--text-muted, #8899aa);
  flex-shrink: 0;
}

/* Phone row */
.plan-popup__phone-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.plan-popup__cc-wrap {
  flex-shrink: 0;
  width: 180px;
}
.plan-popup__cc-select {
  font-size: 0.82rem;
  padding-right: 30px;
}

/* Number input */
.plan-popup__input {
  flex: 1;
  padding: 13px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: var(--text-primary, #fff);
  font-family: 'Nunito', sans-serif;
  font-size: 0.92rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  min-width: 0;
}
.plan-popup__input::placeholder { color: var(--text-muted, #8899aa); }
.plan-popup__input:focus {
  border-color: var(--accent-blue, #00AEEF);
  box-shadow: 0 0 0 3px rgba(0,174,239,0.18);
}
.plan-popup__input.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.15);
}

/* Inline errors */
.plan-popup__error {
  display: none;
  font-size: 0.76rem;
  color: #f87171;
  margin-top: 5px;
  padding-left: 2px;
}

/* Go button */
.plan-popup__btn-go {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 20px;
  background: linear-gradient(135deg, #e6a817 0%, #c88c00 100%);
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  margin-top: 8px;
  transition: transform .2s, box-shadow .2s, filter .2s;
  box-shadow: 0 4px 18px rgba(230,168,23,0.35);
}
.plan-popup__btn-go:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(230,168,23,0.5);
  filter: brightness(1.08);
}

/* Cancel button */
.plan-popup__btn-cancel {
  display: block;
  width: 100%;
  padding: 10px;
  margin-top: 8px;
  background: transparent;
  border: none;
  color: var(--text-muted, #8899aa);
  font-family: 'Nunito', sans-serif;
  font-size: 0.88rem;
  cursor: pointer;
  transition: color .2s;
  text-align: center;
}
.plan-popup__btn-cancel:hover { color: var(--text-primary, #fff); }

/* Mobile tweaks */
@media (max-width: 480px) {
  .plan-popup { padding: 28px 20px 22px; }
  .plan-popup__phone-row { flex-direction: column; }
  .plan-popup__cc-wrap { width: 100%; }
}
