
/* DhandhaDesk Theme Variables */
:root {
  --wa-green: #25D366;
  --wa-dark-green: #128C7E;
  --wa-teal: #075E54;
  --wa-deep: #0B463E;
  --wa-light: #E7FCE8;
  --wa-chat-bg: #EFEAE2;
  --wa-bubble-in: #FFFFFF;
  --wa-bubble-out: #D9FDD3;
  --text-dark: #0F172A;
  --text-muted: #475569;
  --border-light: #E2E8F0;
  --card-bg: #FFFFFF;
  --page-bg: #F8FAFC;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: var(--page-bg);
  line-height: 1.6;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header & Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-light);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--wa-teal);
  letter-spacing: -0.02em;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: var(--wa-green);
  color: white;
  border-radius: 0.5rem;
  font-size: 1.1rem;
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--wa-teal);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--wa-green);
  color: #052E16;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.25);
}

.btn-primary:hover {
  background: #20BD5A;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-outline {
  background: white;
  border-color: var(--border-light);
  color: var(--text-dark);
}

.btn-outline:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
  padding: 0.5rem;
}

/* Hero Section */
.hero-section {
  padding: 4rem 0 5rem;
  background: linear-gradient(180deg, #F0FDF4 0%, #FFFFFF 100%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: #DCFCE7;
  color: #166534;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 2.75rem;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #0F172A;
  margin-bottom: 1.25rem;
}

.hero-title span {
  color: var(--wa-teal);
  position: relative;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

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

.hero-trust-list {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  font-weight: 600;
  color: #166534;
}

/* Phone Mockup */
.mockup-container {
  display: flex;
  justify-content: center;
}

.phone-card {
  width: 100%;
  max-width: 360px;
  background: white;
  border-radius: 2.25rem;
  border: 10px solid #1E293B;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  position: relative;
}

.phone-header {
  background: var(--wa-teal);
  color: white;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.phone-avatar {
  width: 2.4rem;
  height: 2.4rem;
  background: #128C7E;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.phone-header-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
}

.phone-header-sub {
  font-size: 0.72rem;
  color: #A7F3D0;
}

.phone-chat-body {
  background: var(--wa-chat-bg);
  padding: 1rem;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.82rem;
  position: relative;
}

.chat-bubble {
  max-width: 85%;
  padding: 0.6rem 0.85rem;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  line-height: 1.35;
  position: relative;
}

.bubble-in {
  align-self: flex-start;
  background: var(--wa-bubble-in);
  border-top-left-radius: 2px;
}

.bubble-out {
  align-self: flex-end;
  background: var(--wa-bubble-out);
  border-top-right-radius: 2px;
}

.bubble-time {
  font-size: 0.65rem;
  color: #64748B;
  float: right;
  margin-top: 0.25rem;
  margin-left: 0.5rem;
}

.badge-float {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 0.35rem;
  margin-bottom: 0.25rem;
}

.badge-ai {
  background: #EDE9FE;
  color: #6D28D9;
}

.badge-agent {
  background: #E0E7FF;
  color: #3730A3;
}

/* Common Section Styling */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: white;
}

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

.section-pill {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: #DCFCE7;
  color: #166534;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

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

.feature-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 1rem;
  padding: 1.75rem;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.08);
  border-color: #86EFAC;
}

.feature-icon-box {
  width: 3.25rem;
  height: 3.25rem;
  background: #DCFCE7;
  color: #15803D;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 1.25rem;
  padding: 2rem;
  position: relative;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.04);
}

.step-number {
  width: 2.75rem;
  height: 2.75rem;
  background: var(--wa-green);
  color: #052E16;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
}

.step-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Category Groups */
.category-group-box {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 1.25rem;
  padding: 2rem;
  margin-bottom: 2rem;
}

.category-group-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #F1F5F9;
}

.categories-subgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.category-chip {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 0.75rem;
  transition: all 0.15s ease;
}

.category-chip:hover {
  background: #F0FDF4;
  border-color: #86EFAC;
}

.category-chip-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.category-chip-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0F172A;
}

.category-chip-desc {
  font-size: 0.75rem;
  color: #64748B;
  line-height: 1.3;
  margin-top: 0.2rem;
}

/* Har Dukaan Apni Screen */
.screen-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.screen-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.screen-card-header {
  background: #0F172A;
  color: white;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.screen-biz-tag {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  background: #334155;
  color: #F8FAFC;
}

.screen-chat-preview {
  background: #F8FAFC;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.85rem;
}

.screen-outcome {
  background: #ECFDF5;
  border-top: 1px solid #D1FAE5;
  padding: 0.75rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #065F46;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: white;
  border: 2px solid var(--border-light);
  border-radius: 1.5rem;
  padding: 2.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card-featured {
  border-color: var(--wa-green);
  box-shadow: 0 20px 25px -5px rgba(37, 211, 102, 0.15);
}

.featured-ribbon {
  position: absolute;
  top: -0.9rem;
  right: 2rem;
  background: var(--wa-green);
  color: #052E16;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
}

.pricing-plan-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 0.5rem;
}

.pricing-plan-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  min-height: 2.7rem;
}

.pricing-price-box {
  margin-bottom: 2rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.price-val {
  font-size: 3rem;
  font-weight: 900;
  color: #0F172A;
  letter-spacing: -0.03em;
}

.price-period {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
}

.pricing-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.pricing-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: #334155;
}

.check-icon {
  color: #16A34A;
  font-weight: bold;
}

/* FAQ Accordion */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
}

.faq-question {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.faq-answer {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Contact Box */
.contact-box {
  background: linear-gradient(135deg, var(--wa-teal) 0%, var(--wa-deep) 100%);
  color: white;
  border-radius: 1.5rem;
  padding: 3.5rem 2rem;
  text-align: center;
  margin-bottom: 4rem;
}

.contact-box h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.contact-box p {
  font-size: 1.1rem;
  color: #D1FAE5;
  max-width: 650px;
  margin: 0 auto 1.75rem;
}

.contact-email-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.6rem 1.25rem;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 700;
  color: white;
}

/* Footer */
.footer {
  background: #0F172A;
  color: #94A3B8;
  padding: 4rem 0 2rem;
  margin-top: auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #1E293B;
}

.footer-brand h4 {
  font-size: 1.35rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col h5 {
  color: white;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.85rem;
}

.footer-col a:hover {
  color: var(--wa-green);
}

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Legal Pages Styling */
.legal-container {
  max-width: 820px;
  margin: 3rem auto 5rem;
  background: white;
  padding: 3rem;
  border-radius: 1.25rem;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.03);
}

.legal-header {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

.legal-header h1 {
  font-size: 2.25rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 0.5rem;
}

.legal-date {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.legal-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0F172A;
  margin: 1.75rem 0 0.75rem;
}

.legal-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1E293B;
  margin: 1.25rem 0 0.5rem;
}

.legal-content p, .legal-content li {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.legal-content ul, .legal-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.legal-highlight-box {
  background: #F0FDF4;
  border-left: 4px solid var(--wa-green);
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  margin: 1.5rem 0;
  font-size: 0.92rem;
  color: #166534;
}

/* Responsive Media Queries */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .hero-cta-group, .hero-trust-list {
    justify-content: center;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn-outline {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .legal-container {
    padding: 1.75rem;
    margin: 1.5rem auto 3rem;
  }
}
