/* Midnight Fade — "Fade specialist" */
:root {
  --t-bg: #0C1220;
  --t-bg-alt: #141C2E;
  --t-text: #D8DEE9;
  --t-text-muted: #8892A4;
  --t-accent: #5EEAD4;
  --t-accent-hover: #2DD4BF;
  --t-surface: #141C2E;
  --t-border: #1E293B;
  --t-font-heading: 'Outfit', sans-serif;
  --t-font-body: 'Outfit', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--t-font-body);
  background-color: var(--t-bg);
  color: var(--t-text);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--t-font-heading);
  font-weight: 700;
}

/* ---- Hero bg + float ---- */
.hero-bg {
  background: linear-gradient(180deg, #0C1220 0%, #101829 40%, #141C2E 100%);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* ---- Gradient text animation ---- */
.gradient-text {
  background: linear-gradient(135deg, #5EEAD4, #818CF8, #5EEAD4);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ---- Nav scrolled ---- */
.nav-scrolled { box-shadow: 0 2px 20px rgba(94,234,212,0.08); }

/* ---- Section label ---- */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--t-accent);
}

/* ---- Buttons ---- */
.btn-primary {
  background: linear-gradient(135deg, var(--t-accent), #2DD4BF);
  color: var(--t-bg);
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.3s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(94,234,212,0.3);
}

.btn-outline {
  border: 2px solid var(--t-accent);
  color: var(--t-accent);
  font-weight: 600;
  transition: all 0.3s;
}
.btn-outline:hover {
  background: var(--t-accent);
  color: var(--t-bg);
}

/* ---- Portfolio items ---- */
.fade-portfolio-item {
  background: linear-gradient(135deg, var(--t-surface), rgba(94,234,212,0.05));
  border: 1px solid var(--t-border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.fade-portfolio-item:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(94,234,212,0.1);
}

/* ---- Price cards with level indicators ---- */
.fade-price-card {
  background: var(--t-surface);
  border: 1px solid var(--t-border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
  position: relative;
}
.fade-price-card:hover {
  transform: translateY(-6px);
  border-color: var(--t-accent);
}
.fade-price-card.featured {
  border: 2px solid var(--t-accent);
  box-shadow: 0 0 30px rgba(94,234,212,0.1);
}

.fade-featured-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--t-accent);
  color: var(--t-bg);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
}

.fade-level-visual {
  height: 100px;
  position: relative;
  background: linear-gradient(180deg, var(--t-surface) 0%, rgba(94,234,212,0.03) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 2rem 0.75rem;
}

.fade-level-bar {
  width: 6px;
  background: linear-gradient(180deg, var(--t-accent), rgba(94,234,212,0.2));
  border-radius: 3px;
  transition: height 0.5s ease;
}

/* ---- Process steps ---- */
.process-step {
  background: var(--t-surface);
  border: 1px solid var(--t-border);
}

.process-step-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--t-accent), #818CF8);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--t-bg);
}

/* ---- Review cards ---- */
.review-card {
  background: var(--t-surface);
  border: 1px solid var(--t-border);
}

/* ---- Guarantee card ---- */
.guarantee-card {
  position: relative;
  overflow: hidden;
}
.guarantee-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: rgba(12,18,32,0.06);
  border-radius: 50%;
}

/* ---- FAQ ---- */
.faq-item {
  border: 1px solid var(--t-border);
  background: var(--t-surface);
}
.faq-item summary {
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 0.75rem;
  transition: background 0.3s;
  min-height: 48px;
  font-size: 0.95rem;
  color: var(--t-text);
}
.faq-item summary:hover { background: rgba(94,234,212,0.04); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary .faq-chevron { transform: rotate(180deg); }
.faq-chevron {
  transition: transform 0.3s;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-left: 0.5rem;
  color: var(--t-accent);
}

/* ---- Swiper pagination ---- */
.swiper-pagination-bullet {
  background: var(--t-border) !important;
  opacity: 1 !important;
}
.swiper-pagination-bullet-active {
  background: var(--t-accent) !important;
}

/* ---- Floating desktop CTA ---- */
.floating-cta a {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}
.floating-cta a:hover { transform: scale(1.1); }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--t-bg); }
::-webkit-scrollbar-thumb { background: var(--t-border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--t-accent); }

/* ==========================================
   MOBILE (max-width: 767px)
   ========================================== */
@media (max-width: 767px) {
  /* Sticky CTA bar bottom */
  .mobile-cta-bar {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 55;
    background: rgba(12,18,32,0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.625rem 0.75rem;
    padding-bottom: calc(0.625rem + env(safe-area-inset-bottom, 0px));
    gap: 0.5rem;
    border-top: 1px solid var(--t-accent);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
  }
  .mobile-cta-bar a {
    flex: 1;
    text-align: center;
    padding: 0.75rem;
    border-radius: 1rem;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
  }

  /* Hide floating desktop buttons */
  .floating-cta { display: none !important; }

  /* Body padding for sticky bar */
  body { padding-bottom: calc(3.5rem + env(safe-area-inset-bottom, 0px)); }

  /* FAQ smaller padding */
  .faq-item summary { padding: 0.875rem 1rem; font-size: 0.875rem; }

  /* Price cards smaller level visual */
  .fade-level-visual { height: 70px; }
}

/* ==========================================
   SMALL SCREENS (max-width: 480px)
   ========================================== */
@media (max-width: 480px) {
  .fade-price-card .p-4 { padding: 0.75rem; }
  .fade-featured-badge { top: 8px; right: 8px; font-size: 0.6rem; }
}
