/* ==========================================================================
   PrachaarBazaar - Modern SaaS Design System
   ========================================================================== */

:root {
  /* Brand Colors - Deep Blue */
  --primary: #2563EB;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;

  /* Neutral Colors */
  --charcoal: #0f172a;
  --charcoal-light: #1e293b;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;

  /* Semantic Colors */
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #2563EB 0%, #3b82f6 100%);
  --gradient-dark: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1a1a2e 50%, #16213e 100%);

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.3);

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --section-padding: 6rem;
  --container-max: 1200px;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--white);
  color: var(--gray-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
}

/* ==========================================================================
   Navbar
   ========================================================================== */

.navbar {
  background-color: transparent;
  padding: 1rem 0;
  transition: all var(--transition-base);
  z-index: 1000;
}

.navbar.scrolled {
  background-color: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
  padding: 0.75rem 0;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
}

/* Text Logo Styles */
.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  transition: all var(--transition-base);
}

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

.logo-dot {
  color: var(--gray-400);
  font-weight: 500;
}

.navbar-brand:hover .logo-text {
  opacity: 0.9;
}

/* Footer Logo */
.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo .logo-text {
  font-size: 1.375rem;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.5rem 1rem !important;
  margin: 0 0.125rem;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--white) !important;
}

.navbar .btn-primary {
  background: var(--gradient-primary);
  border: none;
  font-weight: 600;
  padding: 0.625rem 1.5rem !important;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.3);
}

.navbar .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px 0 rgba(37, 99, 235, 0.4);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  background: var(--gradient-hero);
  color: var(--white);
  padding: 10rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: rgba(37, 99, 235, 0.15);
  color: var(--primary-light);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(37, 99, 235, 0.3);
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

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

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-400);
  max-width: 540px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-top: 0.25rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-cta .btn-primary {
  background: var(--gradient-primary);
  border: none;
  padding: 1rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.4);
  transition: all var(--transition-base);
}

.hero-cta .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px 0 rgba(37, 99, 235, 0.5);
}

.hero-cta .btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 0.875rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.hero-cta .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Hero Visual / Screen Mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.screen-mockup {
  position: relative;
}

.screen-frame {
  width: 280px;
  height: 180px;
  background: var(--gray-900);
  border-radius: var(--radius-lg);
  border: 3px solid var(--gray-700);
  overflow: hidden;
  box-shadow: var(--shadow-2xl), var(--shadow-glow);
}

.screen-content {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ad-placeholder {
  color: var(--gray-500);
  font-size: 1.25rem;
  font-weight: 600;
  padding: 1rem 2rem;
  border: 2px dashed var(--gray-600);
  border-radius: var(--radius-md);
}

.screen-stand {
  width: 60px;
  height: 30px;
  background: var(--gray-700);
  margin: 0 auto;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

/* ==========================================================================
   Early Adopter Banner
   ========================================================================== */

.early-adopter {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 1rem 0;
}

.early-adopter-text {
  text-align: center;
  color: var(--white);
  font-size: 0.9375rem;
  margin: 0;
}

.early-adopter-text strong {
  font-weight: 700;
}

/* ==========================================================================
   Problem / Solution Section
   ========================================================================== */

.problem-solution {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.problem-card,
.solution-card {
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  height: 100%;
}

.problem-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
}

.solution-card {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(37, 99, 235, 0.02) 100%);
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.problem-card .card-icon {
  background: var(--gray-200);
  color: var(--gray-600);
}

.solution-card .card-icon {
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
}

.problem-card h3,
.solution-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.problem-list,
.solution-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.problem-list li,
.solution-list li {
  padding: 0.625rem 0;
  padding-left: 1.75rem;
  position: relative;
  color: var(--gray-600);
  font-size: 0.9375rem;
}

.problem-list li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: var(--gray-400);
  font-size: 0.75rem;
}

.solution-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================================================
   How It Works Section
   ========================================================================== */

.how-it-works {
  padding: var(--section-padding) 0;
  background: var(--gray-50);
}

.step-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  height: 100%;
  position: relative;
  transition: all var(--transition-base);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.2);
}

.step-number {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  background: var(--gradient-primary);
  color: var(--white);
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.step-icon {
  color: var(--primary);
  margin-bottom: 1.25rem;
  margin-top: 0.5rem;
}

.step-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.step-card p {
  color: var(--gray-500);
  font-size: 0.9375rem;
  margin: 0;
}

/* ==========================================================================
   Why Us Section
   ========================================================================== */

.why-us {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.feature-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  height: 100%;
  transition: all var(--transition-base);
}

.feature-card:hover {
  background: var(--white);
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-card h5 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--gray-500);
  font-size: 0.9375rem;
  margin: 0;
  line-height: 1.6;
}

/* ==========================================================================
   Use Cases Section
   ========================================================================== */

.use-cases {
  padding: var(--section-padding) 0;
  background: var(--gray-50);
}

.use-case-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  height: 100%;
  text-align: center;
  transition: all var(--transition-base);
}

.use-case-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.use-case-card h5 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}

.use-case-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin: 0;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */

.pricing {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 2rem;
  height: 100%;
  position: relative;
  transition: all var(--transition-base);
}

.pricing-card:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-xl), 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.375rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.pricing-header h4 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.pricing-desc {
  color: var(--gray-500);
  font-size: 0.875rem;
  margin: 0;
}

.pricing-amount {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}

.pricing-amount .currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gray-700);
  vertical-align: top;
}

.pricing-amount .amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1;
}

.pricing-amount .period {
  font-size: 1rem;
  color: var(--gray-500);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.pricing-features li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--gray-600);
  font-size: 0.9375rem;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.pricing-card .btn-outline-primary {
  border: 2px solid var(--gray-300);
  color: var(--gray-700);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.pricing-card .btn-outline-primary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(37, 99, 235, 0.05);
}

.pricing-card .btn-primary {
  background: var(--gradient-primary);
  border: none;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.pricing-card .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* ==========================================================================
   Host CTA Section
   ========================================================================== */

.host-cta {
  padding: 4rem 0;
  background: var(--gray-50);
}

.host-cta-card {
  background: var(--gradient-hero);
  border-radius: var(--radius-2xl);
  padding: 3rem;
  color: var(--white);
}

.host-cta-card h3 {
  font-size: 1.75rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.host-cta-card p {
  color: var(--gray-400);
  font-size: 1.0625rem;
  margin: 0;
}

.host-cta-card .btn-light {
  background: var(--white);
  color: var(--gray-900);
  font-weight: 600;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-md);
  border: none;
  transition: all var(--transition-base);
}

.host-cta-card .btn-light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.contact h2 {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.contact .lead {
  color: var(--gray-500);
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
}

.contact-methods {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  text-decoration: none;
  color: var(--gray-700);
  font-weight: 500;
  transition: all var(--transition-base);
}

.contact-card:hover {
  background: var(--white);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.contact-card.whatsapp:hover {
  border-color: #25d366;
  color: #25d366;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  stroke: currentColor;
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
  background: var(--charcoal);
  color: var(--gray-400);
  padding: 4rem 0 2rem;
}

.footer-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 280px;
}

footer h6 {
  color: var(--white);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

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

.footer-links a:hover {
  color: var(--white);
}

.footer-divider {
  border-color: var(--gray-700);
  margin: 2rem 0;
}

.footer-bottom {
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.875rem;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media (max-width: 991.98px) {
  :root {
    --section-padding: 4rem;
  }

  .hero {
    padding: 8rem 0 4rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-stats {
    gap: 2rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .navbar-collapse {
    background: var(--charcoal);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: var(--radius-lg);
  }

  .nav-link {
    padding: 0.75rem 1rem !important;
  }

  .navbar .btn-primary {
    margin-top: 0.5rem;
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 767.98px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .stat {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
    text-align: center;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .problem-card,
  .solution-card {
    padding: 1.75rem;
  }

  .host-cta-card {
    padding: 2rem;
    text-align: center;
  }

  .contact-methods {
    flex-direction: column;
  }

  .contact-card {
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  :root {
    --section-padding: 3rem;
  }

  .hero {
    padding: 7rem 0 3rem;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .brand-logos {
    gap: 1rem;
  }

  .brand-placeholder {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
  }
}
