/* ==========================================================================
   Homepage Stylesheet - Clean, Human, Authentic SaaS
   Matches MakeGSTBill Brand Identity from Hero Screenshot
   ========================================================================== */

/* Hero section */
.hero-app {
  position: relative;
  overflow: hidden;
  background: #fefcf9;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 50px 1.5rem 3.5rem;
}

.hero-app::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 650px;
  height: 650px;
  background: conic-gradient(
    from 0deg,
    rgba(99, 102, 241, 0.25),
    rgba(59, 130, 246, 0.2),
    rgba(6, 182, 212, 0.2),
    rgba(3, 0, 141, 0.15),
    rgba(99, 102, 241, 0.25)
  );
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 1;
}

.hero-app::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: conic-gradient(
    from 180deg,
    rgba(59, 130, 246, 0.2),
    rgba(99, 102, 241, 0.2),
    rgba(255, 92, 0, 0.12),
    rgba(59, 130, 246, 0.2)
  );
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 1;
}

.hero-app-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1040px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

/* Title */
.hero-app-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  color: #000000;
  text-align: center;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.hero-app-sub {
  font-size: 1.08rem;
  color: #4b5563;
  text-align: center;
  max-width: 820px;
  line-height: 1.65;
}

/* Document type grid - 2 rows matching screenshot */
.hero-doc-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem 1.25rem;
  width: 100%;
  max-width: 840px;
  padding: 0.75rem 0 0.5rem;
}

.hero-doc-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: #1e293b;
  width: 84px;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-doc-item:hover {
  transform: translateY(-4px);
}

.hero-doc-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.4);
  transition: all 0.2s ease;
}

.hero-doc-item:hover .hero-doc-icon {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  transform: scale(1.05);
}

.hero-doc-item span {
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.25;
  color: #1e293b;
  transition: color 0.2s ease;
}

.hero-doc-item:hover span {
  color: #FF5C00;
}

/* Hero CTA Button */
.hero-cta-wrap {
  margin-top: 1rem;
  text-align: center;
}

.hero-cta-btn {
  background: #FF5C00;
  color: #ffffff !important;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.9rem 2.5rem;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(255, 92, 0, 0.35);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.hero-cta-btn:hover {
  background: #e05200;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 92, 0, 0.45);
}

/* ==========================================================================
   Section Headers (Clean Light)
   ========================================================================== */
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}

.section-head .badge {
  margin: 0 auto 1rem;
}

.section-head h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.section-head p {
  color: #475569;
  font-size: 1.05rem;
  margin-top: 0.75rem;
  line-height: 1.6;
}

/* ==========================================================================
   Interactive Live GST Bill Creator Widget (Clean White Card)
   ========================================================================== */
.live-maker-section {
  padding: 5rem 0;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.bill-maker-widget {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
}

.widget-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.widget-form h3 {
  font-size: 1.25rem;
  color: #0f172a;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group-full {
  margin-bottom: 1rem;
}

.widget-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.widget-input,
.widget-select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  color: #0f172a;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.2s ease;
  outline: none;
}

.widget-input:focus,
.widget-select:focus {
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

/* Bill Live Preview Card (Clean Crisp Paper Style) */
.bill-preview-card {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  font-size: 0.85rem;
}

.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.preview-brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #03008D;
}

.preview-tax-badge {
  background: #10b981;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  text-transform: uppercase;
}

.preview-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
}

.preview-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

.preview-table th {
  background: #f8fafc;
  padding: 0.55rem 0.65rem;
  text-align: left;
  font-size: 0.72rem;
  color: #475569;
  text-transform: uppercase;
  font-weight: 700;
  border: 1px solid #e2e8f0;
}

.preview-table td {
  padding: 0.65rem;
  border: 1px solid #e2e8f0;
  font-size: 0.82rem;
  color: #1e293b;
}

.preview-summary-box {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1rem;
}

.preview-qr-wrap {
  text-align: center;
}

.preview-totals-list {
  text-align: right;
  line-height: 1.6;
}

.preview-grand-total {
  font-size: 1.3rem;
  font-weight: 800;
  color: #03008D;
  margin-top: 0.35rem;
}

.widget-cta-bar {
  margin-top: 1.25rem;
  display: flex;
  gap: 0.75rem;
}

/* ==========================================================================
   App Screenshots Showcase Section (Clean Light)
   ========================================================================== */
.showcase-section {
  padding: 5rem 0;
  background: #ffffff;
}

.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 5rem;
}

.showcase-row:last-child {
  margin-bottom: 0;
}

.showcase-row.reverse {
  grid-template-columns: 1.2fr 1fr;
}

.showcase-row.reverse .showcase-text {
  order: 2;
}

.showcase-row.reverse .mockup-window {
  order: 1;
}

.showcase-text h3 {
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin: 0.75rem 0 1rem;
}

.showcase-text p {
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.feature-bullets li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #1e293b;
  font-size: 0.95rem;
  font-weight: 500;
}

.feature-bullets li i {
  color: #10b981;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ==========================================================================
   14+ Document Types Showcase (Clean Light Cards)
   ========================================================================== */
.docs-section {
  padding: 5rem 0;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.docs-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.5rem;
}

.doc-feature-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.75rem;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
}

.doc-feature-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
}

.doc-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.doc-feature-card h4 {
  font-size: 1.15rem;
  color: #0f172a;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.doc-feature-card p {
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex: 1;
}

.doc-card-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: #4f46e5;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.doc-card-link:hover {
  color: #FF5C00;
}

/* ==========================================================================
   Accounting Suite Pillars
   ========================================================================== */
.accounting-section {
  padding: 5rem 0;
  background: #ffffff;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pillar-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.pillar-card:hover {
  border-color: #cbd5e1;
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pillar-card h3 {
  font-size: 1.25rem;
  color: #0f172a;
  margin: 1rem 0 0.75rem;
  font-weight: 700;
}

.pillar-card p {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   Stats Banner (Vivid Orange)
   ========================================================================== */
.stats-banner {
  padding: 3.5rem 0;
  background: #FF5C00;
  color: #ffffff;
}

.stats-grid-home {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.stat-item p {
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  margin-top: 0.5rem;
}

/* ==========================================================================
   FAQ Section (Clean White Cards)
   ========================================================================== */
.faq-section {
  padding: 5rem 0;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: all 0.2s ease;
}

.faq-card.open {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-sm);
}

.faq-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-header h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.faq-icon {
  font-size: 0.85rem;
  color: #64748b;
  transition: transform 0.2s ease;
}

.faq-card.open .faq-icon {
  transform: rotate(180deg);
}

.faq-body {
  padding: 0 1.5rem 1.5rem;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.65;
  display: none;
}

.faq-card.open .faq-body {
  display: block;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .widget-grid {
    grid-template-columns: 1fr;
  }
  .showcase-row,
  .showcase-row.reverse {
    grid-template-columns: 1fr;
  }
  .showcase-row.reverse .showcase-text {
    order: 1;
  }
  .showcase-row.reverse .mockup-window {
    order: 2;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid-home {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .hero-doc-grid {
    gap: 0.5rem 1rem;
  }
  .hero-doc-item {
    width: 68px;
  }
  .hero-doc-icon {
    width: 46px;
    height: 46px;
    font-size: 1.15rem;
  }
}