/* ============================================================
   DEALFLOW — DESIGN SYSTEM
   Palette: Copper & Slate
   Fonts: Clash Display + Plus Jakarta Sans
   ============================================================ */

/* --- TOKENS --- */
:root {
  --copper:       #B87333;
  --copper-light: #D4A574;
  --copper-dark:  #8A5520;
  --slate:        #2F3640;
  --slate-light:  #3D4A56;
  --slate-dark:   #1E252D;
  --cream:        #F5F0EB;
  --cream-dark:   #E8E0D5;
  --white:        #FFFFFF;
  --text-primary: #1E252D;
  --text-secondary: #5A6472;
  --text-muted:   #8A95A0;
  --border:       rgba(184,115,51,0.15);
  --border-light: rgba(255,255,255,0.08);
  --success:      #2ECC71;
  --danger:       #E74C3C;
  --warning:      #F39C12;
  --info:         #3498DB;

  --font-display: 'Clash Display', sans-serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  --shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:  0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.18);
  --shadow-copper: 0 8px 32px rgba(184,115,51,0.25);

  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
  --sidebar-w: 260px;
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }
ul { list-style: none; }

/* --- TYPOGRAPHY --- */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }
em { font-style: italic; color: var(--copper); }

/* --- CONTAINER --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-copper {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, var(--copper) 0%, var(--copper-dark) 100%);
  color: var(--white);
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: var(--transition);
  box-shadow: var(--shadow-copper);
  white-space: nowrap;
}
.btn-copper:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(184,115,51,0.4);
  background: linear-gradient(135deg, var(--copper-light) 0%, var(--copper) 100%);
}
.btn-copper:active { transform: translateY(0); }
.btn-copper.btn-lg { padding: 16px 36px; font-size: 1.05rem; border-radius: var(--radius-lg); }
.btn-copper.btn-full { width: 100%; }
.btn-copper.btn-sm { padding: 8px 16px; font-size: 0.82rem; border-radius: var(--radius-sm); }
.btn-copper.btn-elite {
  background: linear-gradient(135deg, #B87333 0%, #7B68EE 100%);
}

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: transparent;
  color: var(--slate);
  padding: 12px 28px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--slate);
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.95rem;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-outline:hover { background: var(--slate); color: var(--white); }
.btn-outline.btn-lg { padding: 16px 36px; font-size: 1.05rem; border-radius: var(--radius-lg); }
.btn-outline.btn-full { width: 100%; }

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--text-secondary);
  padding: 10px 20px; border-radius: var(--radius-md);
  font-weight: 500; font-size: 0.9rem;
  transition: var(--transition);
}
.btn-ghost:hover { color: var(--text-primary); background: rgba(0,0,0,0.05); }

.btn-danger {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--danger); color: var(--white);
  padding: 12px 28px; border-radius: var(--radius-md);
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  transition: var(--transition);
}
.btn-danger:hover { background: #c0392b; transform: translateY(-1px); }

.link-copper { color: var(--copper); font-weight: 600; transition: var(--transition); }
.link-copper:hover { color: var(--copper-dark); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(245,240,235,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(245,240,235,0.98);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: 72px;
  display: flex; align-items: center; gap: 40px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}
.logo-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--copper), var(--copper-dark));
  color: var(--white);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.05em;
}
.logo-text {
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
  color: var(--slate-dark);
}
.nav-links {
  display: flex; align-items: center; gap: 8px;
  flex: 1;
}
.nav-links a {
  padding: 8px 14px; border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 500; color: var(--text-secondary);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--text-primary); background: rgba(0,0,0,0.05); }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; border-radius: var(--radius-sm);
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--slate); border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section-tag {
  display: inline-block;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--copper);
  margin-bottom: 12px;
}
.section-header { text-align: center; margin-bottom: 56px; }
.section-title { margin-bottom: 12px; }
.section-sub { color: var(--text-secondary); font-size: 1.05rem; max-width: 520px; margin: 0 auto; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  background: var(--slate-dark);
  display: flex; align-items: center;
  padding: 120px 24px 80px;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(184,115,51,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,115,51,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.35;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--copper) 0%, transparent 70%);
  top: -200px; right: -100px;
  animation: orbFloat 8s ease-in-out infinite;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #7B68EE 0%, transparent 70%);
  bottom: -100px; left: 10%;
  animation: orbFloat 10s ease-in-out infinite reverse;
}
.hero-orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--copper-light) 0%, transparent 70%);
  top: 40%; left: 40%;
  animation: orbFloat 12s ease-in-out infinite;
}
.hero-lines {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: space-around;
}
.h-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,115,51,0.15), transparent);
}
@keyframes orbFloat {
  0%,100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 580px;
  animation: fadeUp 0.8s ease both;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(184,115,51,0.15);
  border: 1px solid rgba(184,115,51,0.3);
  color: var(--copper-light);
  padding: 8px 16px; border-radius: 100px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.05em;
  margin-bottom: 28px;
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--copper);
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
.hero-title {
  color: var(--white);
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
}
.hero-sub {
  color: rgba(255,255,255,0.65);
  font-size: 1.1rem; line-height: 1.7;
  margin-bottom: 40px;
  max-width: 480px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-cta .btn-outline { color: var(--white); border-color: rgba(255,255,255,0.3); }
.hero-cta .btn-outline:hover { background: rgba(255,255,255,0.1); }
.hero-stats {
  display: flex; align-items: center; gap: 32px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-num {
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem;
  color: var(--white);
}
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.15); }

/* HERO VISUAL */
.hero-visual {
  position: absolute; right: 5%; top: 50%; transform: translateY(-50%);
  width: 380px; z-index: 2;
  display: flex; flex-direction: column; gap: 16px;
  animation: fadeUp 0.8s 0.2s ease both;
}
.floating-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: var(--transition);
}
.floating-card:hover { transform: translateX(-6px); border-color: rgba(184,115,51,0.4); }
.fc-1 { animation: floatCard 6s ease-in-out infinite; }
.fc-2 { animation: floatCard 6s 1s ease-in-out infinite; margin-left: 32px; }
.fc-3 { animation: floatCard 6s 2s ease-in-out infinite; }
@keyframes floatCard {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.fc-tag {
  font-size: 0.75rem; font-weight: 700; color: var(--copper-light);
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px;
}
.fc-title { color: var(--white); font-family: var(--font-display); font-weight: 600; font-size: 1rem; margin-bottom: 8px; }
.fc-price { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.fc-old { color: rgba(255,255,255,0.4); text-decoration: line-through; font-size: 0.85rem; }
.fc-new { color: var(--copper-light); font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.fc-bar { height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; margin-bottom: 6px; }
.fc-fill { height: 100%; background: linear-gradient(90deg, var(--copper), var(--copper-light)); border-radius: 2px; }
.fc-meta { font-size: 0.75rem; color: rgba(255,255,255,0.45); }
.hero-match-badge {
  display: flex; align-items: center; gap: 12px;
  background: rgba(184,115,51,0.2);
  border: 1px solid rgba(184,115,51,0.4);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  animation: floatCard 5s 0.5s ease-in-out infinite;
}
.match-icon { font-size: 1.4rem; }
.match-text { display: flex; flex-direction: column; }
.match-text strong { color: var(--white); font-size: 0.9rem; }
.match-text span { color: rgba(255,255,255,0.5); font-size: 0.78rem; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   TICKER
   ============================================================ */
.ticker-wrap {
  background: var(--copper);
  overflow: hidden; padding: 14px 0;
}
.ticker-track {
  display: flex; gap: 40px; align-items: center;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
  width: max-content;
}
.ticker-track span {
  font-family: var(--font-display); font-weight: 600;
  font-size: 0.85rem; color: var(--white);
  letter-spacing: 0.04em;
}
.ticker-dot { color: rgba(255,255,255,0.5) !important; font-size: 0.5rem !important; }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how { padding: 100px 0; background: var(--white); }
.how-steps {
  display: flex; align-items: flex-start; gap: 0;
  justify-content: center;
}
.how-step {
  flex: 1; max-width: 280px; text-align: center;
  padding: 40px 24px;
  position: relative;
}
.how-step::before {
  content: attr(data-step);
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-display); font-weight: 700; font-size: 4rem;
  color: rgba(184,115,51,0.06); z-index: 0; line-height: 1;
}
.step-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, rgba(184,115,51,0.1), rgba(184,115,51,0.05));
  border: 1.5px solid rgba(184,115,51,0.2);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  color: var(--copper);
  position: relative; z-index: 1;
  transition: var(--transition);
}
.how-step:hover .step-icon {
  background: var(--copper);
  color: var(--white);
  transform: scale(1.08);
  box-shadow: var(--shadow-copper);
}
.step-icon svg { width: 28px; height: 28px; }
.how-step h3 {
  font-size: 1.15rem; margin-bottom: 12px;
  position: relative; z-index: 1;
}
.how-step p {
  color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7;
  position: relative; z-index: 1;
}
.how-connector {
  width: 80px; height: 2px; flex-shrink: 0;
  background: linear-gradient(90deg, rgba(184,115,51,0.2), rgba(184,115,51,0.5), rgba(184,115,51,0.2));
  margin-top: 72px;
  position: relative;
}
.how-connector::after {
  content: '→';
  position: absolute; right: -8px; top: 50%; transform: translateY(-50%);
  color: var(--copper); font-size: 1rem;
}

/* ============================================================
   DEALS SECTION
   ============================================================ */
.deals { padding: 100px 0; background: var(--cream); }
.deals-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 48px; flex-wrap: wrap; gap: 20px;
}
.deals-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn {
  padding: 8px 18px; border-radius: 100px;
  font-size: 0.85rem; font-weight: 600;
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
  background: var(--white);
  transition: var(--transition);
}
.filter-btn:hover { border-color: var(--copper); color: var(--copper); }
.filter-btn.active {
  background: var(--copper);
  border-color: var(--copper);
  color: var(--white);
  box-shadow: var(--shadow-copper);
}
.deals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.deal-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.deal-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(184,115,51,0.3);
}
.deal-card-featured {
  border-color: var(--copper);
  box-shadow: 0 0 0 1px var(--copper), var(--shadow-md);
}
.deal-card-img {
  height: 160px; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.deal-img-icon { font-size: 3.5rem; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3)); }
.deal-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--copper);
  color: var(--white);
  padding: 5px 12px; border-radius: 100px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.deal-badge-hot {
  background: linear-gradient(135deg, #E74C3C, #C0392B);
  animation: badgePulse 2s ease infinite;
}
@keyframes badgePulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(231,76,60,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(231,76,60,0); }
}
.deal-timer {
  position: absolute; bottom: 14px; right: 14px;
  background: rgba(0,0,0,0.6);
  color: var(--white);
  padding: 4px 10px; border-radius: var(--radius-sm);
  font-family: var(--font-display); font-weight: 600; font-size: 0.8rem;
  letter-spacing: 0.05em;
}
.deal-card-body { padding: 20px; }
.deal-category-tag {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--copper);
  margin-bottom: 8px;
}
.deal-name {
  font-size: 1.1rem; margin-bottom: 8px;
  color: var(--text-primary);
}
.deal-desc {
  font-size: 0.85rem; color: var(--text-secondary);
  line-height: 1.6; margin-bottom: 16px;
}
.deal-pricing {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px; flex-wrap: wrap;
}
.deal-price-new {
  font-family: var(--font-display); font-weight: 700; font-size: 1.4rem;
  color: var(--text-primary);
}
.deal-price-old {
  font-size: 0.9rem; color: var(--text-muted);
  text-decoration: line-through;
}
.deal-save {
  font-size: 0.78rem; font-weight: 700;
  background: rgba(46,204,113,0.12);
  color: var(--success);
  padding: 3px 8px; border-radius: 100px;
}
.deal-progress-wrap {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
}
.deal-progress-bar {
  flex: 1; height: 6px;
  background: var(--cream-dark); border-radius: 3px; overflow: hidden;
}
.deal-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--copper), var(--copper-light));
  border-radius: 3px;
  transition: width 1s ease;
}
.deal-progress-label { font-size: 0.75rem; color: var(--text-muted); white-space: nowrap; }
.deals-cta {
  text-align: center; margin-top: 48px;
  color: var(--text-secondary); font-size: 0.95rem;
}
.deals-cta a { color: var(--copper); font-weight: 600; }

/* ============================================================
   FEATURES
   ============================================================ */
.features { padding: 100px 0; background: var(--slate-dark); }
.features-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.features-left .section-tag { color: var(--copper-light); }
.features-left .section-title { color: var(--white); margin-bottom: 20px; }
.features-desc { color: rgba(255,255,255,0.6); line-height: 1.8; margin-bottom: 32px; }
.features-proof {
  display: flex; gap: 32px; margin-top: 32px;
}
.proof-item { display: flex; flex-direction: column; gap: 2px; }
.proof-item strong {
  font-family: var(--font-display); font-weight: 700; font-size: 1.6rem;
  color: var(--copper-light);
}
.proof-item span { font-size: 0.82rem; color: rgba(255,255,255,0.45); }
.features-right {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.feature-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: var(--transition);
}
.feature-item:hover {
  background: rgba(184,115,51,0.08);
  border-color: rgba(184,115,51,0.2);
  transform: translateY(-2px);
}
.feature-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.feature-text h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 6px; }
.feature-text p { color: rgba(255,255,255,0.5); font-size: 0.82rem; line-height: 1.6; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { padding: 100px 0; background: var(--cream); }
.testi-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.testi-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testi-card-featured {
  background: var(--slate-dark);
  border-color: var(--copper);
}
.testi-card-featured p { color: rgba(255,255,255,0.75); }
.testi-card-featured .testi-author strong { color: var(--white); }
.testi-card-featured .testi-author span { color: rgba(255,255,255,0.45); }
.testi-stars { color: var(--copper); font-size: 1rem; margin-bottom: 16px; letter-spacing: 2px; }
.testi-card p { color: var(--text-secondary); line-height: 1.7; margin-bottom: 24px; font-size: 0.95rem; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--copper), var(--copper-dark));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.8rem;
  flex-shrink: 0;
}
.testi-author strong { display: block; font-size: 0.9rem; }
.testi-author span { font-size: 0.78rem; color: var(--text-muted); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  padding: 100px 0; background: var(--slate);
  position: relative; overflow: hidden; text-align: center;
}
.cta-banner-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.3;
}
.cta-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--copper), transparent 70%);
  top: -200px; left: -100px;
}
.cta-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #7B68EE, transparent 70%);
  bottom: -150px; right: -50px;
}
.cta-inner { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.6); font-size: 1.1rem; margin-bottom: 40px; }
.cta-actions { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cta-note { font-size: 0.82rem; color: rgba(255,255,255,0.4); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--slate-dark); padding: 64px 0 0; }
.footer-inner {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px;
}
.footer-brand p { color: rgba(255,255,255,0.45); font-size: 0.85rem; margin-top: 16px; max-width: 240px; line-height: 1.7; }
.footer-brand .logo-text { color: var(--white); }
.footer-links { display: contents; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h5 {
  font-family: var(--font-display); font-weight: 600; font-size: 0.85rem;
  color: var(--white); letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 4px;
}
.footer-col a { color: rgba(255,255,255,0.45); font-size: 0.88rem; transition: var(--transition); }
.footer-col a:hover { color: var(--copper-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
}
.footer-bottom span { font-size: 0.8rem; color: rgba(255,255,255,0.3); }

/* ============================================================
   NOTIFICATION POPUP
   ============================================================ */
.notification {
  position: fixed; bottom: 32px; right: 32px; z-index: 200;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--copper);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow-lg);
  max-width: 320px;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.notification.show { transform: translateX(0); }
.notif-icon { font-size: 1.4rem; flex-shrink: 0; }
.notif-body { flex: 1; }
.notif-body strong { display: block; font-size: 0.9rem; margin-bottom: 2px; }
.notif-body span { font-size: 0.8rem; color: var(--text-secondary); }
.notif-close {
  color: var(--text-muted); font-size: 0.85rem;
  padding: 4px; border-radius: 4px;
  transition: var(--transition);
}
.notif-close:hover { color: var(--text-primary); background: var(--cream); }

/* ============================================================
   PREMIUM PAGE
   ============================================================ */
.page-premium { background: var(--cream); }
.premium-hero {
  background: var(--slate-dark);
  padding: 140px 0 80px;
  text-align: center;
  position: relative; overflow: hidden;
}
.premium-hero-inner { position: relative; z-index: 1; }
.premium-title { color: var(--white); margin-bottom: 16px; }
.premium-sub { color: rgba(255,255,255,0.6); font-size: 1.05rem; max-width: 500px; margin: 0 auto 40px; }
.billing-toggle {
  display: inline-flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px; padding: 8px 20px;
}
.toggle-label { font-size: 0.9rem; color: rgba(255,255,255,0.6); font-weight: 500; }
.toggle-save {
  background: var(--copper); color: var(--white);
  padding: 2px 8px; border-radius: 100px;
  font-size: 0.72rem; font-weight: 700; margin-left: 6px;
}
.toggle-switch {
  width: 44px; height: 24px;
  background: rgba(255,255,255,0.15);
  border-radius: 100px; position: relative;
  transition: var(--transition);
}
.toggle-switch.on { background: var(--copper); }
.toggle-thumb {
  position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--white);
  transition: var(--transition);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.toggle-switch.on .toggle-thumb { transform: translateX(20px); }

.pricing-section { padding: 80px 0 100px; }
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  align-items: start;
}
.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  position: relative;
  transition: var(--transition);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card-popular {
  border-color: var(--copper);
  box-shadow: 0 0 0 1px var(--copper), var(--shadow-md);
  transform: scale(1.03);
}
.pricing-card-popular:hover { transform: scale(1.03) translateY(-4px); }
.pricing-card-elite {
  background: var(--slate-dark);
  border-color: rgba(184,115,51,0.4);
}
.pricing-card-elite .plan-name,
.pricing-card-elite .plan-desc,
.pricing-card-elite .price-amount,
.pricing-card-elite .price-currency,
.pricing-card-elite .price-period { color: var(--white); }
.pricing-card-elite .price-note { color: rgba(255,255,255,0.45); }
.pricing-card-elite .feat-yes { color: rgba(255,255,255,0.8); }
.pricing-card-elite .feat-no { color: rgba(255,255,255,0.25); }
.pricing-card-elite .feat-yes::before { color: var(--copper-light); }
.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--copper);
  color: var(--white);
  padding: 5px 18px; border-radius: 100px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.06em; white-space: nowrap;
}
.pricing-card-header { margin-bottom: 24px; }
.plan-icon { font-size: 2rem; margin-bottom: 12px; }
.plan-name { font-size: 1.4rem; margin-bottom: 6px; }
.plan-desc { color: var(--text-secondary); font-size: 0.85rem; }
.plan-price-wrap { margin-bottom: 28px; }
.plan-price { display: flex; align-items: baseline; gap: 2px; margin-bottom: 4px; }
.price-currency { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--text-primary); }
.price-amount { font-family: var(--font-display); font-weight: 700; font-size: 3rem; color: var(--text-primary); line-height: 1; }
.price-period { font-size: 0.9rem; color: var(--text-secondary); }
.price-note { font-size: 0.8rem; color: var(--text-muted); }
.plan-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.plan-features li { font-size: 0.88rem; padding-left: 22px; position: relative; }
.feat-yes::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 700; }
.feat-no { color: var(--text-muted); }
.feat-no::before { content: '×'; position: absolute; left: 0; color: var(--text-muted); }
.plan-trial-note { text-align: center; font-size: 0.78rem; color: var(--text-muted); margin-top: 10px; }
.pricing-note {
  text-align: center; margin-top: 48px;
  background: rgba(184,115,51,0.08);
  border: 1px solid rgba(184,115,51,0.2);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  color: var(--text-secondary); font-size: 0.9rem;
}

/* CHECKOUT */
.checkout-section { padding: 80px 0 100px; background: var(--white); }
.checkout-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: start; }
.checkout-left h2 { margin-bottom: 8px; }
.checkout-sub { color: var(--text-secondary); margin-bottom: 32px; }
.order-summary {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 32px;
}
.order-plan { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.order-plan-icon { font-size: 1.4rem; }
.order-plan div { flex: 1; }
.order-plan strong { display: block; font-size: 0.95rem; }
.order-plan span { font-size: 0.82rem; color: var(--text-secondary); }
.order-change { font-size: 0.8rem; color: var(--copper); font-weight: 600; cursor: pointer; }
.order-trial {
  font-size: 0.82rem; color: var(--success); font-weight: 600;
  padding-top: 10px; border-top: 1px solid var(--border);
}
.form-section-title {
  font-family: var(--font-display); font-weight: 600; font-size: 0.85rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-muted); margin: 24px 0 16px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text-primary); }
.form-input {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-md);
  font-size: 0.9rem; color: var(--text-primary);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-input:focus { border-color: var(--copper); box-shadow: 0 0 0 3px rgba(184,115,51,0.1); }
.form-select { appearance: none; cursor: pointer; }
.form-textarea { resize: vertical; min-height: 100px; }
.card-input-wrap { position: relative; }
.card-icons { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); }
.form-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 24px; }
.form-check input { margin-top: 3px; accent-color: var(--copper); }
.form-check label { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.5; }
.form-check a { color: var(--copper); }
.checkout-submit { margin-bottom: 16px; }
.submit-loader { display: inline-flex; align-items: center; gap: 8px; }
.checkout-security {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 0.78rem; color: var(--text-muted); flex-wrap: wrap;
}
.checkout-right { position: sticky; top: 100px; }
.checkout-benefits {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px; margin-bottom: 20px;
}
.checkout-benefits h3 { font-size: 1rem; margin-bottom: 16px; }
.checkout-benefits ul { display: flex; flex-direction: column; gap: 10px; }
.checkout-benefits li { font-size: 0.88rem; color: var(--text-secondary); }
.checkout-guarantee {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(46,204,113,0.06);
  border: 1px solid rgba(46,204,113,0.2);
  border-radius: var(--radius-md);
  padding: 20px; margin-bottom: 20px;
}
.guarantee-icon { font-size: 1.6rem; flex-shrink: 0; }
.checkout-guarantee strong { display: block; font-size: 0.9rem; margin-bottom: 4px; }
.checkout-guarantee p { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.5; }
.checkout-social-proof { display: flex; align-items: center; gap: 12px; }
.proof-avatars { display: flex; }
.proof-av {
  width: 32px; height: 32px; border-radius: 50%;
  color: var(--white); font-size: 0.7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--white);
  margin-left: -8px;
}
.proof-av:first-child { margin-left: 0; }
.checkout-social-proof p { font-size: 0.82rem; color: var(--text-secondary); }
.checkout-social-proof strong { color: var(--text-primary); }

/* FAQ */
.faq-section { padding: 80px 0 100px; background: var(--cream); }
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-q {
  width: 100%; text-align: left;
  padding: 20px 24px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  color: var(--text-primary);
  display: flex; justify-content: space-between; align-items: center;
  transition: var(--transition);
}
.faq-q:hover { color: var(--copper); }
.faq-arrow { transition: var(--transition); font-size: 1.1rem; }
.faq-item.open .faq-arrow { transform: rotate(180deg); color: var(--copper); }
.faq-a {
  padding: 0 24px;
  max-height: 0; overflow: hidden;
  font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-a { max-height: 200px; padding: 0 24px 20px; }

/* ============================================================
   DASHBOARD LAYOUT
   ============================================================ */
.page-dashboard { background: #F0EDE8; }
.sidebar {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: var(--sidebar-w);
  background: var(--slate-dark);
  border-right: 1px solid rgba(255,255,255,0.06);
  display: flex; flex-direction: column;
  z-index: 50;
  transition: transform var(--transition);
}
.sidebar-logo {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.sidebar-nav {
  flex: 1; padding: 16px 12px;
  display: flex; flex-direction: column; gap: 4px;
  overflow-y: auto;
}
.sidebar-link {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; border-radius: var(--radius-md);
  font-size: 0.88rem; font-weight: 500;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
  position: relative;
}
.sidebar-link svg { width: 18px; height: 18px; flex-shrink: 0; }
.sidebar-link:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.sidebar-link.active {
  color: var(--white);
  background: rgba(184,115,51,0.15);
  border: 1px solid rgba(184,115,51,0.2);
}
.sidebar-link.active::before {
  content: '';
  position: absolute; left: 0; top: 20%; bottom: 20%;
  width: 3px; border-radius: 0 2px 2px 0;
  background: var(--copper);
}
.sidebar-link-upgrade {
  color: var(--copper-light) !important;
  background: rgba(184,115,51,0.08) !important;
  border: 1px solid rgba(184,115,51,0.15) !important;
}
.sidebar-badge {
  margin-left: auto;
  background: var(--copper); color: var(--white);
  font-size: 0.7rem; font-weight: 700;
  padding: 2px 7px; border-radius: 100px;
}
.sidebar-badge-copper { background: rgba(184,115,51,0.2); color: var(--copper-light); }
.sidebar-divider { height: 1px; background: rgba(255,255,255,0.06); margin: 8px 0; }
.sidebar-user {
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; gap: 12px;
}
.sidebar-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--copper), var(--copper-dark));
  color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 0.78rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sidebar-user-info strong { display: block; font-size: 0.85rem; color: var(--white); }
.sidebar-user-info span { font-size: 0.75rem; color: rgba(255,255,255,0.4); }

.dashboard-main {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
  display: flex; flex-direction: column;
}
.dash-topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(240,237,232,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 32px; height: 68px;
  display: flex; align-items: center; justify-content: space-between;
}
.dash-topbar-left { display: flex; align-items: center; gap: 16px; }
.sidebar-toggle {
  display: none; flex-direction: column; gap: 4px; padding: 8px;
}
.sidebar-toggle span { display: block; width: 20px; height: 2px; background: var(--slate); border-radius: 2px; }
.dash-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-muted); }
.breadcrumb-sep { color: var(--text-muted); }
.breadcrumb-active { color: var(--text-primary); font-weight: 600; }
.dash-topbar-right { display: flex; align-items: center; gap: 12px; }
.dash-search {
  display: flex; align-items: center; gap: 10px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 8px 14px;
  width: 240px;
}
.dash-search svg { width: 16px; height: 16px; color: var(--text-muted); flex-shrink: 0; }
.dash-search input {
  border: none; outline: none; background: none;
  font-size: 0.85rem; color: var(--text-primary); width: 100%;
}
.dash-notif-btn {
  width: 40px; height: 40px; border-radius: var(--radius-md);
  background: var(--white); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  position: relative; transition: var(--transition);
}
.dash-notif-btn svg { width: 18px; height: 18px; color: var(--text-secondary); }
.dash-notif-btn:hover { border-color: var(--copper); }
.notif-dot {
  position: absolute; top: 8px; right: 8px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--copper); border: 2px solid var(--white);
}
.dash-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--copper), var(--copper-dark));
  color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 0.78rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}

.dash-content { padding: 32px; flex: 1; }
.dash-welcome {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 32px; flex-wrap: wrap; gap: 16px;
}
.dash-title { font-size: 1.8rem; margin-bottom: 6px; }
.dash-subtitle { color: var(--text-secondary); font-size: 0.9rem; }

/* KPI CARDS */
.kpi-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-bottom: 28px;
}
.kpi-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex; align-items: flex-start; gap: 16px;
  transition: var(--transition);
}
.kpi-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.kpi-icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.kpi-icon-copper { background: rgba(184,115,51,0.1); }
.kpi-icon-blue { background: rgba(52,152,219,0.1); }
.kpi-icon-green { background: rgba(46,204,113,0.1); }
.kpi-icon-purple { background: rgba(123,104,238,0.1); }
.kpi-body { display: flex; flex-direction: column; gap: 2px; }
.kpi-label { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }
.kpi-value { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: var(--text-primary); }
.kpi-change { font-size: 0.75rem; font-weight: 600; }
.kpi-up { color: var(--success); }
.kpi-down { color: var(--danger); }
.kpi-neutral { color: var(--text-muted); }

/* CHARTS */
.charts-row { display: grid; grid-template-columns: 1.8fr 1fr; gap: 20px; margin-bottom: 28px; }
.chart-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.chart-card-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
}
.chart-card-header h3 { font-size: 1rem; margin-bottom: 4px; }
.chart-card-header p { font-size: 0.78rem; color: var(--text-muted); }
.chart-period-tabs { display: flex; gap: 4px; }
.period-tab {
  padding: 5px 12px; border-radius: var(--radius-sm);
  font-size: 0.78rem; font-weight: 600;
  color: var(--text-muted); border: 1px solid var(--border);
  background: transparent; transition: var(--transition);
}
.period-tab.active { background: var(--copper); color: var(--white); border-color: var(--copper); }
.chart-wrap { position: relative; height: 220px; }
.chart-donut-wrap { height: 180px; }
.donut-legend {
  display: flex; flex-direction: column; gap: 8px; margin-top: 16px;
}
.donut-legend-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8rem; color: var(--text-secondary);
}
.donut-legend-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

/* BOTTOM ROW */
.dash-bottom-row { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; }
.dash-table-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px; overflow: hidden;
}
.dash-table-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.dash-table-header h3 { font-size: 1rem; }
.dash-table-wrap { overflow-x: auto; }
.dash-table { width: 100%; border-collapse: collapse; }
.dash-table th {
  text-align: left; padding: 10px 12px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.dash-table td {
  padding: 14px 12px; font-size: 0.85rem;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  color: var(--text-primary);
}
.dash-table tr:last-child td { border-bottom: none; }
.dash-table tr:hover td { background: rgba(184,115,51,0.03); }
.table-deal-name { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.table-deal-icon { font-size: 1.1rem; }
.table-tag {
  display: inline-block; padding: 3px 10px; border-radius: 100px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.table-tag-tech { background: rgba(52,152,219,0.1); color: #2980B9; }
.table-tag-software { background: rgba(123,104,238,0.1); color: #6C5CE7; }
.table-tag-lifestyle { background: rgba(184,115,51,0.1); color: var(--copper-dark); }
.table-saved { color: var(--success); font-weight: 700; }
.table-status {
  display: inline-block; padding: 4px 10px; border-radius: 100px;
  font-size: 0.72rem; font-weight: 700;
}
.status-active { background: rgba(46,204,113,0.1); color: var(--success); }
.status-expired { background: rgba(0,0,0,0.06); color: var(--text-muted); }

/* AI MATCHES */
.ai-matches-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.ai-matches-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.ai-matches-header h3 { font-size: 1rem; }
.ai-matches-badge {
  background: var(--copper); color: var(--white);
  font-size: 0.72rem; font-weight: 700;
  padding: 3px 10px; border-radius: 100px;
}
.ai-matches-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 16px; }
.ai-match-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px; border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.ai-match-item:hover { border-color: var(--copper); background: rgba(184,115,51,0.03); }
.ai-match-icon { font-size: 1.4rem; flex-shrink: 0; }
.ai-match-body { flex: 1; min-width: 0; }
.ai-match-body strong { display: block; font-size: 0.88rem; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ai-match-body span { font-size: 0.78rem; color: var(--text-secondary); }
.ai-match-body s { color: var(--text-muted); }
.ai-match-score { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.score-bar { flex: 1; height: 4px; background: var(--cream-dark); border-radius: 2px; overflow: hidden; }
.score-fill { height: 100%; background: linear-gradient(90deg, var(--copper), var(--copper-light)); border-radius: 2px; }
.ai-match-score span { font-size: 0.72rem; color: var(--copper); font-weight: 700; white-space: nowrap; }
.dash-view-all { display: block; text-align: center; font-size: 0.85rem; }

/* ============================================================
   MANAGE PAGE
   ============================================================ */
.manage-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
}
.manage-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.manage-view-toggle { display: flex; gap: 4px; }
.view-btn {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--white);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: var(--transition);
}
.view-btn svg { width: 16px; height: 16px; }
.view-btn.active { background: var(--copper); border-color: var(--copper); color: var(--white); }
.manage-deals-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px;
}
.manage-deals-grid.list-view {
  grid-template-columns: 1fr;
}
.manage-deal-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.manage-deal-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.mdc-header {
  height: 120px; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.mdc-emoji { font-size: 2.8rem; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3)); }
.mdc-status-badge {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 10px; border-radius: 100px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em;
}
.mdc-status-active { background: rgba(46,204,113,0.2); color: #27AE60; }
.mdc-status-scheduled { background: rgba(52,152,219,0.2); color: #2980B9; }
.mdc-status-draft { background: rgba(0,0,0,0.15); color: rgba(255,255,255,0.7); }
.mdc-status-expired { background: rgba(0,0,0,0.2); color: rgba(255,255,255,0.5); }
.mdc-actions {
  position: absolute; top: 10px; right: 10px;
  display: flex; gap: 4px; opacity: 0;
  transition: var(--transition);
}
.manage-deal-card:hover .mdc-actions { opacity: 1; }
.mdc-action-btn {
  width: 30px; height: 30px; border-radius: var(--radius-sm);
  background: rgba(0,0,0,0.4); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; transition: var(--transition);
}
.mdc-action-btn:hover { background: rgba(0,0,0,0.6); transform: scale(1.1); }
.mdc-delete:hover { background: rgba(231,76,60,0.7) !important; }
.mdc-body { padding: 16px; }
.mdc-body h4 { font-size: 0.95rem; margin-bottom: 8px; }
.mdc-meta-row { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.mdc-discount {
  font-family: var(--font-display); font-weight: 700; font-size: 0.8rem;
  color: var(--copper);
}
.mdc-prices { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.mdc-price-new { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.mdc-price-old { font-size: 0.8rem; color: var(--text-muted); text-decoration: line-through; }
.mdc-progress-row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 0.75rem; color: var(--text-muted); }
.mdc-progress-row .deal-progress-bar { flex: 1; }
.mdc-footer { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--text-muted); }
.manage-deal-add {
  border: 2px dashed var(--border);
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  min-height: 240px;
  cursor: pointer;
  transition: var(--transition);
}
.manage-deal-add:hover { border-color: var(--copper); background: rgba(184,115,51,0.03); transform: none; box-shadow: none; }
.add-deal-btn {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: var(--text-muted); transition: var(--transition);
}
.manage-deal-add:hover .add-deal-btn { color: var(--copper); }
.add-deal-icon {
  width: 48px; height: 48px; border-radius: 50%;
  border: 2px dashed currentColor;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 300;
}
.add-deal-btn span { font-size: 0.88rem; font-weight: 600; }

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px;
  width: 100%; max-width: 640px;
  max-height: 90vh; overflow-y: auto;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
  box-shadow: var(--shadow-lg);
}
.modal-overlay.open .modal-box { transform: scale(1) translateY(0); }
.modal-box-sm { max-width: 420px; }
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 28px;
}
.modal-header h2 { font-size: 1.4rem; }
.modal-close {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: var(--cream); color: var(--text-secondary);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; transition: var(--transition);
}
.modal-close:hover { background: var(--cream-dark); color: var(--text-primary); }
.modal-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 8px; flex-wrap: wrap; }
.discount-preview {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 0.88rem; color: var(--text-secondary);
}
.discount-preview.has-value { color: var(--success); font-weight: 600; }
.delete-confirm-text { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 24px; line-height: 1.6; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .hero-visual { display: none; }
  .hero-content { max-width: 100%; }
  .features-inner { grid-template-columns: 1fr; gap: 48px; }
  .features-right { grid-template-columns: 1fr 1fr; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .charts-row { grid-template-columns: 1fr; }
  .dash-bottom-row { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .pricing-card-popular { transform: none; }
  .checkout-inner { grid-template-columns: 1fr; }
  .checkout-right { position: static; }
}
@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: flex; }
  .how-steps { flex-direction: column; align-items: center; }
  .how-connector { width: 2px; height: 40px; margin: 0; }
  .how-connector::after { content: '↓'; right: auto; left: 50%; transform: translateX(-50%) translateY(0); top: auto; bottom: -12px; }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .dashboard-main { margin-left: 0; }
  .sidebar-toggle { display: flex; }
  .dash-content { padding: 20px; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .deals-header { flex-direction: column; align-items: flex-start; }
  .hero-stats { gap: 20px; }
  .stat-divider { display: none; }
}
@media (max-width: 480px) {
  .kpi-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn-copper, .hero-cta .btn-outline { width: 100%; text-align: center; }
  .manage-deals-grid { grid-template-columns: 1fr; }
}