/* ==========================================================================
   TIKTOK ADS MANAGER AFFILIATE - STYLESHEET (MINIMALIST PREMIUM THEME)
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-dark: #07080b;
  --bg-card: rgba(18, 20, 28, 0.65);
  --bg-card-hover: rgba(25, 28, 38, 0.85);
  --bg-card-solid: #12141c;
  --bg-surface: #0e1017;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(255, 255, 255, 0.18);
  --border-highlight: rgba(0, 242, 254, 0.35);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverted: #07080b;

  /* TikTok Brand Colors */
  --tt-cyan: #00f2fe;
  --tt-pink: #fe2c55;
  --tt-gradient: linear-gradient(135deg, #00f2fe 0%, #fe2c55 100%);
  --tt-gradient-glow: linear-gradient(135deg, rgba(0, 242, 254, 0.25) 0%, rgba(254, 44, 85, 0.25) 100%);
  
  /* Typography & Layout */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  --transition-fast: 0.18s ease;
  --transition-smooth: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --container-max: 1160px;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Background Ambient Lighting */
.ambient-glow {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 1400px;
  height: 600px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
  background: radial-gradient(circle at 35% 20%, rgba(0, 242, 254, 0.08) 0%, transparent 45%),
              radial-gradient(circle at 65% 15%, rgba(254, 44, 85, 0.07) 0%, transparent 45%);
}

.ambient-grid {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at 50% 30%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 20%, transparent 80%);
}

/* Layout Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 1;
}

/* Typography Helpers */
h1, h2, h3, h4 {
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

p {
  color: var(--text-secondary);
}

.gradient-text {
  background: var(--tt-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Top Notification Banner */
.announcement-bar {
  background: rgba(14, 16, 23, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  padding: 0.5rem 1rem;
  text-align: center;
  position: relative;
  z-index: 50;
}

.announcement-content {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.badge-pulse {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(0, 242, 254, 0.12);
  color: var(--tt-cyan);
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(0, 242, 254, 0.25);
}

.badge-pulse .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--tt-cyan);
  box-shadow: 0 0 8px var(--tt-cyan);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* Header & Navigation */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 40;
  transition: background var(--transition-fast), border-color var(--transition-fast);
  padding: 1.1rem 0;
}

.navbar.scrolled {
  background: rgba(7, 8, 11, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.85rem 0;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.1rem;
}

.brand-icon {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 2px 8px rgba(0, 242, 254, 0.3));
}

.partner-tag {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.03em;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-primary);
}

/* Action Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1.45rem;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: #ffffff;
  color: #07080b;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

.btn-glow {
  background: var(--tt-gradient);
  color: #ffffff;
  box-shadow: 0 0 24px rgba(0, 242, 254, 0.35);
  border: none;
}

.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(254, 44, 85, 0.5), 0 0 16px rgba(0, 242, 254, 0.4);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-active);
  color: #ffffff;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-icon {
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}

/* Hero Section */
.hero {
  padding: 4.5rem 0 3.5rem;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  margin-bottom: 1.75rem;
  font-size: 0.84rem;
  color: var(--text-secondary);
  backdrop-filter: blur(8px);
}

.hero-pill-badge {
  background: var(--tt-gradient);
  color: #ffffff;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-title {
  font-size: clamp(2.3rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  max-width: 900px;
  margin: 0 auto 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 2.4rem;
  font-weight: 400;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.hero-trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.trust-item svg {
  color: var(--tt-cyan);
}

/* Card & Glass Component */
.card-glass {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-smooth);
  position: relative;
}

.card-glass:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-active);
  transform: translateY(-3px);
}

/* Hero Showcase Card */
.hero-visual {
  margin-top: 3.5rem;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.showcase-window {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: rgba(14, 16, 23, 0.9);
  backdrop-filter: blur(20px);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 242, 254, 0.08);
  overflow: hidden;
}

.window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
}

.window-dots {
  display: flex;
  gap: 0.45rem;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.window-title {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.window-content {
  padding: 1.75rem;
}

.dashboard-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.stat-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  text-align: left;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.stat-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.stat-trend {
  font-size: 0.78rem;
  color: #10b981;
  font-weight: 600;
}

/* Coupon Highlight Bar */
.coupon-claim-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, rgba(0, 242, 254, 0.07) 0%, rgba(254, 44, 85, 0.07) 100%);
  border: 1px dashed rgba(0, 242, 254, 0.35);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.coupon-details {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.coupon-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--tt-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.coupon-text h4 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.coupon-text p {
  font-size: 0.82rem;
}

/* Metrics Ribbon */
.metrics-section {
  padding: 3rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(14, 16, 23, 0.4);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  text-align: center;
}

.metric-number {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(180deg, #ffffff 40%, rgba(255, 255, 255, 0.6) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* Features Grid */
.features-section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tt-cyan);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  color: var(--tt-cyan);
  transition: all var(--transition-smooth);
}

.feature-card:hover .feature-icon-wrapper {
  background: rgba(0, 242, 254, 0.1);
  border-color: rgba(0, 242, 254, 0.3);
  transform: scale(1.06);
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Interactive Calculator */
.calc-section {
  padding: 5rem 0;
  position: relative;
}

.calc-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 2.5rem;
}

.calc-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .calc-layout {
    grid-template-columns: 1.2fr 1fr;
  }
}

.calc-controls {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.calc-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
}

.calc-current-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--tt-cyan);
}

.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  cursor: pointer;
  margin: 1rem 0 1.5rem;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 12px var(--tt-cyan);
  cursor: pointer;
  border: 2px solid var(--tt-cyan);
  transition: transform 0.1s ease;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-result-box {
  background: rgba(7, 8, 11, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.result-item {
  margin-bottom: 1.25rem;
}

.result-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.result-val {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text-primary);
}

.credit-highlight-badge {
  background: rgba(254, 44, 85, 0.12);
  border: 1px solid rgba(254, 44, 85, 0.28);
  color: #ff5c7c;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-top: 1rem;
}

/* Steps Section */
.steps-section {
  padding: 5rem 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  position: relative;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  position: relative;
}

.step-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--tt-cyan);
  margin-bottom: 1.25rem;
}

.step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}

.step-card p {
  font-size: 0.9rem;
}

/* Testimonials / Social Proof */
.testimonials-section {
  padding: 5rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.85rem;
}

.author-name {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.author-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-section {
  padding: 5rem 0;
}

.faq-container {
  max-width: 740px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--border-active);
}

.faq-trigger {
  width: 100%;
  padding: 1.35rem 1.6rem;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform var(--transition-smooth), color var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--tt-cyan);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 1.6rem;
}

.faq-item.active .faq-content {
  padding: 0 1.6rem 1.4rem;
}

.faq-content p {
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Final CTA Section */
.cta-section {
  padding: 6rem 0;
  text-align: center;
}

.cta-box {
  position: relative;
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 242, 254, 0.12) 0%, rgba(254, 44, 85, 0.08) 50%, var(--bg-card-solid) 100%);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0, 242, 254, 0.08);
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.25rem;
}

.cta-subtitle {
  max-width: 580px;
  margin: 0 auto 2.25rem;
  font-size: 1.05rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 0 2.5rem;
  background: #050608;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  font-size: 0.82rem;
  max-width: 320px;
  margin-top: 0.6rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--text-primary);
}

.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 1.75rem;
  line-height: 1.6;
  font-size: 0.75rem;
  color: #525f7a;
}

/* Responsive Overrides */
@media (max-width: 640px) {
  .hero {
    padding: 3rem 0 2rem;
  }
  .card-glass {
    padding: 1.4rem;
  }
  .btn-lg {
    width: 100%;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .coupon-claim-box {
    flex-direction: column;
    text-align: center;
  }
  .coupon-details {
    flex-direction: column;
  }
}

