@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800;900&display=swap');

/* ========================================================
   TaskGo (تسک‌گو) - Global Stylesheet (Light Theme)
   ======================================================== */

@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/vazirmatn.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/vazirmatn_bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-sans: 'Vazirmatn', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Light Theme Palette */
  --bg-page: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-card-subtle: #F1F5F9;
  --text-heading: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  
  --primary-50: #EEF2FF;
  --primary-100: #E0E7FF;
  --primary-500: #6366F1;
  --primary-600: #4F46E5;
  --primary-700: #4338CA;
  
  --emerald-500: #10B981;
  --emerald-50: #ECFDF5;
  --amber-500: #F59E0B;
  --amber-50: #FFFBEB;
  --rose-500: #EF4444;
  --rose-50: #FFF1F2;
  --sky-500: #0EA5E9;
  --sky-50: #F0F9FF;
  
  --border-subtle: #E2E8F0;
  --border-focus: #C7D2FE;
  
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.03);
  --shadow-glow: 0 0 25px rgba(79, 70, 229, 0.18);
}

*, body, button, input, textarea, select, a, div, span, p, h1, h2, h3, h4, h5, h6 {
  box-sizing: border-box;
  font-family: 'Vazirmatn', var(--font-sans) !important;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
  direction: rtl;
  text-align: right;
  background-color: var(--bg-page);
  color: var(--text-body);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: radial-gradient(circle at 10% 10%, rgba(99, 102, 241, 0.05) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(14, 165, 233, 0.05) 0%, transparent 40%),
              var(--bg-page);
}

/* Glassmorphism Card Effect */
.glass-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  box-shadow: var(--shadow-xl);
  border-color: rgba(199, 210, 254, 0.9);
  transform: translateY(-2px);
}

/* Header & Navigation */
header.sticky-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.2s ease-in-out;
}

/* Button Styles */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 0.875rem;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
  transition: all 0.25s ease;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #4338CA 0%, #3730A3 100%);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.45);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #FFFFFF;
  color: var(--text-heading) !important;
  font-weight: 600;
  padding: 0.75rem 1.35rem;
  border-radius: 0.875rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  text-decoration: none;
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--bg-card-subtle);
  border-color: #CBD5E1;
  color: var(--primary-600) !important;
  transform: translateY(-1px);
}

/* Pulse Wave for Voice Animation */
@keyframes voicePulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.6);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 20px rgba(79, 70, 229, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(79, 70, 229, 0);
  }
}

.voice-pulse-btn {
  animation: voicePulse 2.4s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes waveBar {
  0%, 100% { height: 6px; }
  50% { height: 28px; }
}

.wave-bar {
  width: 4px;
  background: var(--primary-600);
  border-radius: 4px;
  display: inline-block;
  animation: waveBar 1.2s infinite ease-in-out;
}
.wave-bar:nth-child(2) { animation-delay: 0.15s; }
.wave-bar:nth-child(3) { animation-delay: 0.3s; }
.wave-bar:nth-child(4) { animation-delay: 0.45s; }
.wave-bar:nth-child(5) { animation-delay: 0.6s; }
.wave-bar:nth-child(6) { animation-delay: 0.25s; }

/* Phone Mockup Frame */
.phone-mockup {
  border: 10px solid #0F172A;
  border-radius: 2.5rem;
  background: #FFFFFF;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(0,0,0,0.05);
  overflow: hidden;
  position: relative;
  max-width: 330px;
  margin: 0 auto;
}

.phone-notch {
  width: 120px;
  height: 18px;
  background: #0F172A;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

/* Badges */
.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  background-color: var(--primary-50);
  color: var(--primary-600);
  border: 1px solid var(--primary-100);
}

/* Floating animation */
@keyframes floatY {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.floating-anim {
  animation: floatY 5s ease-in-out infinite;
}

/* Accordion for FAQ */
.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  background: #FFFFFF;
  margin-bottom: 0.75rem;
  transition: all 0.2s ease;
  overflow: hidden;
}

.faq-item[open] {
  border-color: var(--primary-500);
  box-shadow: var(--shadow-sm);
}

.faq-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.25rem;
  font-weight: 700;
  color: var(--text-heading);
  user-select: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-content {
  padding: 0 1.25rem 1.25rem 1.25rem;
  color: var(--text-body);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Methodology Accent Badges */
.method-gtd { border-right: 4px solid #0EA5E9; }
.method-pomodoro { border-right: 4px solid #E11D48; }
.method-eisenhower { border-right: 4px solid #8B5CF6; }
.method-frog { border-right: 4px solid #10B981; }
.method-kanban { border-right: 4px solid #F59E0B; }
.method-timeblock { border-right: 4px solid #6366F1; }
.method-pareto { border-right: 4px solid #D946EF; }

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}
