/*
Theme Name: TaskPaisa
Theme URI: https://taskpaisa.in
Description: Clean fintech-grade WordPress theme for TaskPaisa GPT platform
Version: 1.0.0
Author: TaskPaisa
Text Domain: taskpaisa
*/

/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
  /* Brand Colors */
  --tp-primary:       #1A6BF0;
  --tp-primary-dark:  #1255C7;
  --tp-primary-light: #EBF2FF;
  --tp-accent:        #F5A623;
  --tp-accent-light:  #FFF7E6;
  --tp-success:       #12B76A;
  --tp-success-light: #ECFDF5;
  --tp-danger:        #F04438;
  --tp-danger-light:  #FEF3F2;

  /* Coin System Colors */
  --tp-coin:          #F5A623;
  --tp-coin-bg:       #FFF7E6;
  --tp-coin-dark:     #B7780C;

  /* Neutrals */
  --tp-gray-50:   #F9FAFB;
  --tp-gray-100:  #F2F4F7;
  --tp-gray-200:  #E4E7EC;
  --tp-gray-300:  #D0D5DD;
  --tp-gray-400:  #98A2B3;
  --tp-gray-500:  #667085;
  --tp-gray-600:  #475467;
  --tp-gray-700:  #344054;
  --tp-gray-800:  #1D2939;
  --tp-gray-900:  #101828;

  /* Typography */
  --tp-font-sans: 'DM Sans', 'Noto Sans Devanagari', system-ui, sans-serif;
  --tp-font-display: 'Sora', 'DM Sans', sans-serif;
  --tp-font-mono: 'JetBrains Mono', monospace;

  /* Font Sizes */
  --tp-text-xs:   0.75rem;
  --tp-text-sm:   0.875rem;
  --tp-text-base: 1rem;
  --tp-text-lg:   1.125rem;
  --tp-text-xl:   1.25rem;
  --tp-text-2xl:  1.5rem;
  --tp-text-3xl:  1.875rem;
  --tp-text-4xl:  2.25rem;
  --tp-text-5xl:  3rem;

  /* Spacing */
  --tp-space-1: 0.25rem;
  --tp-space-2: 0.5rem;
  --tp-space-3: 0.75rem;
  --tp-space-4: 1rem;
  --tp-space-5: 1.25rem;
  --tp-space-6: 1.5rem;
  --tp-space-8: 2rem;
  --tp-space-10: 2.5rem;
  --tp-space-12: 3rem;
  --tp-space-16: 4rem;
  --tp-space-20: 5rem;
  --tp-space-24: 6rem;

  /* Radii */
  --tp-radius-sm:  6px;
  --tp-radius-md:  10px;
  --tp-radius-lg:  14px;
  --tp-radius-xl:  20px;
  --tp-radius-2xl: 28px;
  --tp-radius-full: 9999px;

  /* Shadows */
  --tp-shadow-xs:  0 1px 2px rgba(16,24,40,0.05);
  --tp-shadow-sm:  0 1px 3px rgba(16,24,40,0.1), 0 1px 2px rgba(16,24,40,0.06);
  --tp-shadow-md:  0 4px 8px -2px rgba(16,24,40,0.1), 0 2px 4px -2px rgba(16,24,40,0.06);
  --tp-shadow-lg:  0 12px 16px -4px rgba(16,24,40,0.08), 0 4px 6px -2px rgba(16,24,40,0.03);
  --tp-shadow-xl:  0 20px 24px -4px rgba(16,24,40,0.08), 0 8px 8px -4px rgba(16,24,40,0.03);

  /* Transitions */
  --tp-transition: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --tp-transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --tp-container: 1200px;
  --tp-container-sm: 800px;
  --tp-header-height: 68px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--tp-font-sans);
  font-size: var(--tp-text-base);
  line-height: 1.65;
  color: var(--tp-gray-800);
  background-color: var(--tp-gray-50);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--tp-primary); text-decoration: none; transition: color var(--tp-transition); }
a:hover { color: var(--tp-primary-dark); }

img { max-width: 100%; height: auto; display: block; }

ul, ol { list-style: none; }

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}
.custom-logo-link {
    max-width: 100px;
}

/* ============================================
   TYPOGRAPHY SCALE
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--tp-font-display);
  line-height: 1.25;
  color: var(--tp-gray-900);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  margin-top: 20px;
}

h1 { font-size: var(--tp-text-4xl); }
h2 { font-size: var(--tp-text-3xl); }
h3 { font-size: var(--tp-text-2xl); }
h4 { font-size: var(--tp-text-xl); }
h5 { font-size: var(--tp-text-lg); }
h6 { font-size: var(--tp-text-base); }

.tp-display {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-family: var(--tp-font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--tp-gray-900);
}

.tp-lead {
  font-size: var(--tp-text-lg);
  color: var(--tp-gray-500);
  line-height: 1.7;
}

.tp-label {
  font-size: var(--tp-text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tp-gray-500);
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.tp-container {
  width: 100%;
  max-width: var(--tp-container);
  margin-inline: auto;
  padding-inline: var(--tp-space-6);
}

.tp-container-sm {
  max-width: var(--tp-container-sm);
  margin-inline: auto;
  padding-inline: var(--tp-space-6);
}

.tp-section {
  padding-block: var(--tp-space-20);
}

.tp-section-sm {
  padding-block: var(--tp-space-12);
}

.tp-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--tp-space-6); }
.tp-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--tp-space-6); }
.tp-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--tp-space-5); }

.tp-flex { display: flex; }
.tp-flex-center { display: flex; align-items: center; justify-content: center; }
.tp-flex-between { display: flex; align-items: center; justify-content: space-between; }
.tp-gap-2 { gap: var(--tp-space-2); }
.tp-gap-3 { gap: var(--tp-space-3); }
.tp-gap-4 { gap: var(--tp-space-4); }

.tp-text-center { text-align: center; }
.tp-mt-2 { margin-top: var(--tp-space-2); }
.tp-mt-4 { margin-top: var(--tp-space-4); }
.tp-mt-6 { margin-top: var(--tp-space-6); }
.tp-mt-8 { margin-top: var(--tp-space-8); }
.tp-mb-4 { margin-bottom: var(--tp-space-4); }
.tp-mb-6 { margin-bottom: var(--tp-space-6); }
.tp-mb-8 { margin-bottom: var(--tp-space-8); }

/* ============================================
   BUTTON SYSTEM
   ============================================ */
.tp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--tp-space-2);
  padding: 0.625rem 1.25rem;
  font-weight: 600;
  font-size: var(--tp-text-sm);
  border-radius: var(--tp-radius-md);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--tp-transition);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1.5;
}

.tp-btn:focus-visible {
  outline: 3px solid var(--tp-primary);
  outline-offset: 2px;
}

.tp-btn-primary {
  background: var(--tp-primary);
  color: #fff;
  border-color: var(--tp-primary);
}
.tp-btn-primary:hover {
  background: var(--tp-primary-dark);
  border-color: var(--tp-primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--tp-shadow-md);
}

.tp-btn-secondary {
  background: #fff;
  color: var(--tp-gray-700);
  border-color: var(--tp-gray-300);
}
.tp-btn-secondary:hover {
  background: var(--tp-gray-50);
  border-color: var(--tp-gray-400);
  color: var(--tp-gray-800);
}

.tp-btn-ghost {
  background: transparent;
  color: var(--tp-primary);
  border-color: transparent;
}
.tp-btn-ghost:hover {
  background: var(--tp-primary-light);
  color: var(--tp-primary-dark);
}

.tp-btn-coin {
  background: var(--tp-accent);
  color: #fff;
  border-color: var(--tp-accent);
}
.tp-btn-coin:hover {
  background: #E09420;
  border-color: #E09420;
  color: #fff;
  transform: translateY(-1px);
}

.tp-btn-sm {
  padding: 0.375rem 0.875rem;
  font-size: var(--tp-text-xs);
  border-radius: var(--tp-radius-sm);
}

.tp-btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: var(--tp-text-base);
  border-radius: var(--tp-radius-lg);
}

.tp-btn-xl {
  padding: 1rem 2rem;
  font-size: var(--tp-text-lg);
  border-radius: var(--tp-radius-lg);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.tp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--tp-header-height);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--tp-gray-200);
  display: flex;
  align-items: center;
}

.tp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.tp-logo {
  display: flex;
  align-items: center;
  gap: var(--tp-space-2);
  text-decoration: none;
}

.tp-logo-mark {
  width: 36px;
  height: 36px;
  background: var(--tp-primary);
  border-radius: var(--tp-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  font-family: var(--tp-font-display);
}

.tp-logo-text {
  font-family: var(--tp-font-display);
  font-size: var(--tp-text-xl);
  font-weight: 700;
  color: var(--tp-gray-900);
  letter-spacing: -0.02em;
}

.tp-logo-text span { color: var(--tp-primary); }

.tp-nav ul{
  display: flex;
  align-items: center;
  gap: var(--tp-space-1);
}

.tp-nav a {
  padding: var(--tp-space-2) var(--tp-space-3);
  font-size: var(--tp-text-sm);
  font-weight: 500;
  color: var(--tp-gray-600);
  border-radius: var(--tp-radius-md);
  transition: all var(--tp-transition);
  text-decoration: none;
}

.tp-nav a:hover, .tp-nav a.active {
  color: var(--tp-primary);
  background: var(--tp-primary-light);
}

.tp-header-actions {
  display: flex;
  align-items: center;
  gap: var(--tp-space-3);
}

/* Coin Balance Badge in Header */
.tp-coin-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--tp-space-1);
  padding: var(--tp-space-2) var(--tp-space-3);
  background: var(--tp-coin-bg);
  border: 1px solid #F5D89020;
  border-radius: var(--tp-radius-full);
  font-size: var(--tp-text-sm);
  font-weight: 600;
  color: var(--tp-coin-dark);
}

.tp-coin-badge .coin-icon {
  width: 18px;
  height: 18px;
  background: var(--tp-coin);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #fff;
  font-weight: 700;
}

/* Mobile menu toggle */
.tp-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--tp-space-2);
  color: var(--tp-gray-700);
  font-size: 22px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.tp-hero {
  background: #fff;
  padding-top: calc(var(--tp-space-20) + var(--tp-space-4));
  padding-bottom: var(--tp-space-20);
  overflow: hidden;
  position: relative;
}

.tp-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--tp-space-16);
  align-items: center;
}

.tp-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--tp-space-2);
  padding: var(--tp-space-2) var(--tp-space-3);
  background: var(--tp-primary-light);
  border-radius: var(--tp-radius-full);
  font-size: var(--tp-text-xs);
  font-weight: 600;
  color: var(--tp-primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--tp-space-5);
}

.tp-hero-title {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 700;
  font-family: var(--tp-font-display);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--tp-gray-900);
  margin-bottom: var(--tp-space-5);
}

.tp-hero-title .highlight {
  color: var(--tp-primary);
  position: relative;
}

.tp-hero-title .highlight-coin {
  color: var(--tp-accent);
}

.tp-hero-subtitle {
  font-size: var(--tp-text-lg);
  color: var(--tp-gray-500);
  line-height: 1.7;
  margin-bottom: var(--tp-space-8);
  max-width: 480px;
}

.tp-hero-cta {
  display: flex;
  align-items: center;
  gap: var(--tp-space-3);
  flex-wrap: wrap;
  margin-bottom: var(--tp-space-8);
}

.tp-hero-trust {
  display: flex;
  align-items: center;
  gap: var(--tp-space-3);
}

.tp-trust-avatars {
  display: flex;
}

.tp-trust-avatars .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--tp-primary-light);
  margin-left: -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--tp-primary);
  overflow: hidden;
}

.tp-trust-avatars .avatar:first-child { margin-left: 0; }

.tp-trust-text {
  font-size: var(--tp-text-sm);
  color: var(--tp-gray-500);
}

.tp-trust-text strong { color: var(--tp-gray-700); }

/* Hero Visual Side */
.tp-hero-visual {
  position: relative;
}

.tp-hero-card-stack {
  position: relative;
  max-width: 380px;
  margin-left: auto;
}

.tp-reward-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:4rem;
    align-items:center;
}

@media (max-width: 991px){
    .tp-reward-grid{
        gap:2rem;
    }
}

@media (max-width: 768px){
    .tp-reward-grid{
        grid-template-columns:1fr;
        gap:2rem;
    }
}

/* ============================================
   STATS BAR
   ============================================ */
.tp-stats-bar {
  background: var(--tp-gray-900);
  padding-block: var(--tp-space-8);
}

.tp-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--tp-space-4);
  text-align: center;
}

.tp-stat-item {}

.tp-stat-number {
  font-family: var(--tp-font-display);
  font-size: var(--tp-text-3xl);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: var(--tp-space-1);
}

.tp-stat-number span { color: var(--tp-accent); }

.tp-stat-label {
  font-size: var(--tp-text-sm);
  color: var(--tp-gray-400);
}

/* ============================================
   TASK CARDS
   ============================================ */
.tp-task-card {
  background: #fff;
  border: 1px solid var(--tp-gray-200);
  border-radius: var(--tp-radius-lg);
  padding: var(--tp-space-5);
  transition: all var(--tp-transition-slow);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.tp-task-card:hover {
  border-color: var(--tp-primary);
  box-shadow: var(--tp-shadow-lg);
  transform: translateY(-3px);
}

.tp-task-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--tp-space-3);
}

.tp-task-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--tp-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.tp-task-icon.social  { background: #EBF5FF; color: #1DA1F2; }
.tp-task-icon.video   { background: #FFF0F0; color: #FF0000; }
.tp-task-icon.app     { background: #F0FFF4; color: #12B76A; }
.tp-task-icon.survey  { background: #FFF7E6; color: #F5A623; }
.tp-task-icon.review  { background: #F5F0FF; color: #7C3AED; }
.tp-task-icon.follow  { background: #FFF0FB; color: #E1306C; }

.tp-task-reward {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: var(--tp-coin-bg);
  border-radius: var(--tp-radius-full);
  font-size: var(--tp-text-xs);
  font-weight: 700;
  color: var(--tp-coin-dark);
}

.tp-task-reward .coin {
  width: 14px;
  height: 14px;
  background: var(--tp-coin);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  color: #fff;
  font-weight: 800;
}

.tp-task-title {
  font-size: var(--tp-text-base);
  font-weight: 600;
  color: var(--tp-gray-800);
  margin-bottom: var(--tp-space-1);
  line-height: 1.4;
}

.tp-task-desc {
  font-size: var(--tp-text-sm);
  color: var(--tp-gray-500);
  line-height: 1.5;
  margin-bottom: var(--tp-space-4);
}

.tp-task-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tp-task-meta {
  display: flex;
  align-items: center;
  gap: var(--tp-space-3);
}

.tp-task-difficulty {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--tp-text-xs);
  color: var(--tp-gray-400);
}

.tp-task-time {
  font-size: var(--tp-text-xs);
  color: var(--tp-gray-400);
}

/* Task Status Badges */
.tp-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--tp-radius-full);
  font-size: var(--tp-text-xs);
  font-weight: 600;
}

.tp-badge-new     { background: #EBF2FF; color: #1A6BF0; }
.tp-badge-hot     { background: #FFF0F0; color: #F04438; }
.tp-badge-easy    { background: #ECFDF5; color: #12B76A; }
.tp-badge-limited { background: #FFF7E6; color: #B7780C; }

/* Category Filter Tabs */
.tp-task-filters {
  display: flex;
  align-items: center;
  gap: var(--tp-space-2);
  flex-wrap: wrap;
  margin-bottom: var(--tp-space-6);
}

.tp-filter-tab {
  padding: var(--tp-space-2) var(--tp-space-4);
  background: #fff;
  border: 1px solid var(--tp-gray-200);
  border-radius: var(--tp-radius-full);
  font-size: var(--tp-text-sm);
  font-weight: 500;
  color: var(--tp-gray-600);
  cursor: pointer;
  transition: all var(--tp-transition);
}

.tp-filter-tab:hover,
.tp-filter-tab.active {
  background: var(--tp-primary);
  border-color: var(--tp-primary);
  color: #fff;
}


/* ============================================
   COIN SYSTEM UI
   ============================================ */
.tp-coin-display {
  display: flex;
  align-items: center;
  gap: var(--tp-space-2);
  font-family: var(--tp-font-display);
  font-weight: 700;
  color: var(--tp-coin-dark);
}

.tp-coin-icon-lg {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #F5A623 0%, #E09420 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(245,166,35,0.35);
  color: #fff;
  font-weight: 900;
}

.tp-redeem-card {
  background: linear-gradient(135deg, #1A6BF0 0%, #1255C7 100%);
  border-radius: var(--tp-radius-xl);
  padding: var(--tp-space-8);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.tp-redeem-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}

.tp-redeem-card::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 250px;
  height: 250px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.tp-reward-option {
  background: #fff;
  border: 1.5px solid var(--tp-gray-200);
  border-radius: var(--tp-radius-lg);
  padding: var(--tp-space-5);
  display: flex;
  align-items: center;
  gap: var(--tp-space-4);
  cursor: pointer;
  transition: all var(--tp-transition);
}

.tp-reward-option:hover,
.tp-reward-option.selected {
  border-color: var(--tp-primary);
  box-shadow: 0 0 0 3px var(--tp-primary-light);
}

.tp-reward-option .reward-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--tp-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  background: var(--tp-gray-50);
  flex-shrink: 0;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.tp-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--tp-space-6);
  position: relative;
}

.tp-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 15%;
  right: 15%;
  height: 1px;
  background: var(--tp-gray-200);
  z-index: 0;
}

.tp-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.tp-step-number {
  width: 64px;
  height: 64px;
  border-radius: var(--tp-radius-full);
  background: #fff;
  border: 2px solid var(--tp-gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--tp-font-display);
  font-size: var(--tp-text-xl);
  font-weight: 700;
  color: var(--tp-primary);
  margin: 0 auto var(--tp-space-5);
  transition: all var(--tp-transition);
}

.tp-step:hover .tp-step-number {
  background: var(--tp-primary);
  border-color: var(--tp-primary);
  color: #fff;
  transform: scale(1.1);
  box-shadow: var(--tp-shadow-md);
}

.tp-step-title {
  font-size: var(--tp-text-base);
  font-weight: 600;
  color: var(--tp-gray-800);
  margin-bottom: var(--tp-space-2);
}

.tp-step-desc {
  font-size: var(--tp-text-sm);
  color: var(--tp-gray-500);
  line-height: 1.6;
}

/* ============================================
   SECTION HEADER
   ============================================ */
.tp-section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--tp-space-12);
}

.tp-section-eyebrow {
  display: inline-block;
  font-size: var(--tp-text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tp-primary);
  margin-bottom: var(--tp-space-3);
}

.tp-section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  font-family: var(--tp-font-display);
  color: var(--tp-gray-900);
  margin-bottom: var(--tp-space-4);
  letter-spacing: -0.02em;
}

.tp-section-desc {
  font-size: var(--tp-text-lg);
  color: var(--tp-gray-500);
  line-height: 1.7;
}

/* ============================================
   FEATURE CARDS
   ============================================ */
.tp-feature-card {
  background: #fff;
  border: 1px solid var(--tp-gray-200);
  border-radius: var(--tp-radius-lg);
  padding: var(--tp-space-6);
  transition: all var(--tp-transition-slow);
}

.tp-feature-card:hover {
  border-color: var(--tp-gray-300);
  box-shadow: var(--tp-shadow-lg);
  transform: translateY(-2px);
}

.tp-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--tp-radius-md);
  background: var(--tp-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: var(--tp-space-4);
  color: var(--tp-primary);
}

.tp-feature-title {
  font-size: var(--tp-text-lg);
  font-weight: 600;
  color: var(--tp-gray-800);
  margin-bottom: var(--tp-space-2);
}

.tp-feature-desc {
  font-size: var(--tp-text-sm);
  color: var(--tp-gray-500);
  line-height: 1.6;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.tp-testimonial-card {
  background: #fff;
  border: 1px solid var(--tp-gray-200);
  border-radius: var(--tp-radius-lg);
  padding: var(--tp-space-6);
}

.tp-testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--tp-space-3);
  color: var(--tp-accent);
  font-size: var(--tp-text-base);
}

.tp-testimonial-text {
  font-size: var(--tp-text-base);
  color: var(--tp-gray-600);
  line-height: 1.7;
  margin-bottom: var(--tp-space-5);
  font-style: italic;
}

.tp-testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--tp-space-3);
}

.tp-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--tp-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--tp-text-sm);
  color: var(--tp-primary);
  flex-shrink: 0;
}

.tp-author-name {
  font-weight: 600;
  font-size: var(--tp-text-sm);
  color: var(--tp-gray-800);
}

.tp-author-meta {
  font-size: var(--tp-text-xs);
  color: var(--tp-gray-400);
}

/* ============================================
   CTA BANNER
   ============================================ */
.tp-cta-banner {
  background: var(--tp-gray-900);
  border-radius: var(--tp-radius-2xl);
  padding: var(--tp-space-16) var(--tp-space-12);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.tp-cta-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(26,107,240,0.3) 0%, transparent 70%);
  pointer-events: none;
}

.tp-cta-banner::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(245,166,35,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.tp-cta-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  font-family: var(--tp-font-display);
  color: #fff;
  margin-bottom: var(--tp-space-4);
  position: relative;
  z-index: 1;
}

.tp-cta-desc {
  font-size: var(--tp-text-lg);
  color: var(--tp-gray-400);
  margin-bottom: var(--tp-space-8);
  position: relative;
  z-index: 1;
}

/* ============================================
   FORMS & INPUTS
   ============================================ */
.tp-form-group {
  margin-bottom: var(--tp-space-5);
}

.tp-label {
  display: block;
  font-size: var(--tp-text-sm);
  font-weight: 500;
  color: var(--tp-gray-700);
  margin-bottom: var(--tp-space-2);
}

.tp-input, .tp-select, .tp-textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  background: #fff;
  border: 1.5px solid var(--tp-gray-300);
  border-radius: var(--tp-radius-md);
  font-size: var(--tp-text-base);
  color: var(--tp-gray-800);
  transition: all var(--tp-transition);
  line-height: 1.5;
}

.tp-input:hover, .tp-select:hover { border-color: var(--tp-gray-400); }
.tp-input:focus, .tp-select:focus, .tp-textarea:focus {
  outline: none;
  border-color: var(--tp-primary);
  box-shadow: 0 0 0 3px var(--tp-primary-light);
}

.tp-input::placeholder { color: var(--tp-gray-400); }

/* ============================================
   USER DASHBOARD COMPONENTS
   ============================================ */
.tp-dashboard-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--tp-space-8);
  min-height: calc(100vh - var(--tp-header-height));
}

.tp-sidebar {
  background: #fff;
  border-right: 1px solid var(--tp-gray-200);
  padding: var(--tp-space-6);
  min-height: 100%;
}

.tp-sidebar-nav a {
  display: flex;
  align-items: center;
  gap: var(--tp-space-3);
  padding: var(--tp-space-3) var(--tp-space-3);
  border-radius: var(--tp-radius-md);
  font-size: var(--tp-text-sm);
  font-weight: 500;
  color: var(--tp-gray-600);
  margin-bottom: var(--tp-space-1);
  transition: all var(--tp-transition);
  text-decoration: none;
}

.tp-sidebar-nav a:hover, .tp-sidebar-nav a.active {
  background: var(--tp-primary-light);
  color: var(--tp-primary);
}

.tp-sidebar-nav a .nav-icon {
  width: 20px;
  text-align: center;
  font-size: 16px;
}

.tp-balance-card {
  background: linear-gradient(135deg, #1A6BF0, #1255C7);
  border-radius: var(--tp-radius-xl);
  padding: var(--tp-space-6);
  color: #fff;
  margin-bottom: var(--tp-space-5);
}

.tp-balance-label {
  font-size: var(--tp-text-xs);
  opacity: 0.75;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--tp-space-2);
}

.tp-balance-amount {
  font-family: var(--tp-font-display);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: var(--tp-space-1);
}

.tp-balance-equiv {
  font-size: var(--tp-text-sm);
  opacity: 0.65;
}

/* ============================================
   FOOTER
   ============================================ */
.tp-footer {
  background: var(--tp-gray-900);
  color: var(--tp-gray-400);
  padding-top: var(--tp-space-16);
  padding-bottom: var(--tp-space-5);
}

.tp-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--tp-space-10);
  margin-bottom: var(--tp-space-12);
}

.tp-footer-logo-text {
  font-family: var(--tp-font-display);
  font-size: var(--tp-text-xl);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--tp-space-3);
}

.tp-footer-logo-text span { color: var(--tp-accent); }

.tp-footer-desc {
  font-size: var(--tp-text-sm);
  line-height: 1.7;
  color: var(--tp-gray-400);
  margin-bottom: var(--tp-space-5);
}

.tp-footer-heading {
  font-size: var(--tp-text-sm);
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--tp-space-4);
}

.tp-footer-links { display: flex; flex-direction: column; gap: var(--tp-space-3); }

.tp-footer-links a {
  font-size: var(--tp-text-sm);
  color: var(--tp-gray-400);
  text-decoration: none;
  transition: color var(--tp-transition);
}

.tp-footer-links a:hover { color: #fff; }

.tp-footer-bottom {
  border-top: 1px solid var(--tp-gray-800);
  padding-top: var(--tp-space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tp-footer-legal {
  font-size: var(--tp-text-xs);
  color: var(--tp-gray-500);
}

/* ============================================
   UTILITIES
   ============================================ */
.tp-bg-white  { background: #fff; }
.tp-bg-gray   { background: var(--tp-gray-50); }
.tp-bg-dark   { background: var(--tp-gray-900); }

.tp-divider {
  height: 1px;
  background: var(--tp-gray-200);
  margin-block: var(--tp-space-6);
}

.tp-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 10px;
  background: var(--tp-gray-100);
  border-radius: var(--tp-radius-full);
  font-size: var(--tp-text-xs);
  font-weight: 500;
  color: var(--tp-gray-600);
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .tp-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .tp-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .tp-steps { grid-template-columns: repeat(2, 1fr); }
  .tp-steps::before { display: none; }
  .tp-footer-grid { grid-template-columns: 1fr 1fr; gap: var(--tp-space-8); }
  .tp-hero-inner { gap: var(--tp-space-10); }
}

@media (max-width: 768px) {
  :root { --tp-header-height: 60px; }

  .tp-nav, .tp-header-actions .tp-btn-secondary { display: none; }
  .tp-menu-toggle { display: flex; align-items: center; }

  .tp-hero-inner { grid-template-columns: 1fr; }
  .tp-hero-visual { display: none; }
  .tp-hero { padding-top: calc(var(--tp-space-12) + var(--tp-space-4)); }

  .tp-grid-2, .tp-grid-3 { grid-template-columns: 1fr; }
  .tp-steps { grid-template-columns: 1fr; }

  .tp-dashboard-layout { grid-template-columns: 1fr; }
  .tp-sidebar { display: none; }

  .tp-footer-grid { grid-template-columns: 1fr; gap: var(--tp-space-6); }
  .tp-footer-bottom { flex-direction: column; gap: var(--tp-space-3); text-align: center; }

  .tp-container { padding-inline: var(--tp-space-4); }
  .tp-section { padding-block: var(--tp-space-12); }
}

@media (max-width: 480px) {
  .tp-hero-cta { flex-direction: column; align-items: flex-start; }
  .tp-hero-cta .tp-btn { width: 100%; justify-content: center; }
  .tp-task-filters { gap: var(--tp-space-1); }
  .tp-filter-tab { padding: var(--tp-space-1) var(--tp-space-3); font-size: var(--tp-text-xs); }
}
