/* ============================================
   PAGES.CSS — Light Theme Inner Pages v2
   ============================================ */

/* ======= SHARED NAVBAR SNIPPET (same on all pages) ======= */
/* All inner pages use the same .navbar from style.css */

/* ======= PRODUCTS PAGE ======= */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
  margin-bottom: var(--sp-16);
}

.product-card {
  background: white;
  border: 1px solid var(--border-card);
  border-radius: var(--r-xl);
  padding: var(--sp-10);
  position: relative;
  overflow: hidden;
  transition: all var(--tr-base);
  cursor: default;
}

.product-card:hover {
  box-shadow: 0 16px 48px rgba(75,63,238,0.10);
  transform: translateY(-6px);
  border-color: rgba(75,63,238,0.2);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transition: transform var(--tr-base);
  transform-origin: left;
}

.product-card:hover::before { transform: scaleX(1); }

.product-card-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: 0.25rem 0.75rem;
  border-radius: var(--r-full);
  font-size: var(--fz-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-5);
}

.product-card h3 {
  font-size: var(--fz-2xl);
  font-weight: 800;
  color: var(--txt-heading);
  margin-bottom: var(--sp-3);
  letter-spacing: -0.02em;
}

.product-card > p {
  font-size: var(--fz-base);
  color: var(--txt-muted);
  line-height: 1.7;
  margin-bottom: var(--sp-6);
}

.product-features {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-8);
}

.pf-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--fz-sm);
  color: var(--txt-body);
}

.pf-check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--clr-success-soft);
  color: var(--clr-success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  flex-shrink: 0;
  border: 1px solid rgba(16,185,129,0.2);
}

.product-cta-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fz-sm);
  font-weight: 700;
  color: var(--clr-primary);
  transition: gap var(--tr-fast);
}

.product-card:hover .product-cta-link { gap: var(--sp-3); }

.product-card-emoji {
  position: absolute;
  bottom: -10px; right: var(--sp-6);
  font-size: 6rem;
  opacity: 0.06;
  pointer-events: none;
  transform: rotate(-10deg);
  transition: all var(--tr-slow);
  line-height: 1;
}

.product-card:hover .product-card-emoji {
  opacity: 0.1;
  transform: rotate(-5deg) scale(1.05);
}

/* Comparison Table */
.comparison-wrap {
  overflow-x: auto;
  border-radius: var(--r-xl);
  border: 1px solid var(--border-card);
  box-shadow: var(--sh-sm);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: var(--sp-4) var(--sp-6);
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: var(--fz-sm);
}

.comparison-table thead th {
  background: var(--bg-soft);
  font-size: var(--fz-xs);
  font-weight: 800;
  color: var(--txt-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.comparison-table thead th.hl {
  background: var(--clr-primary-soft);
  color: var(--clr-primary);
}

.comparison-table td:first-child {
  font-weight: 500;
  color: var(--txt-body);
}

.comparison-table td.hl {
  background: rgba(75,63,238,0.03);
  font-weight: 700;
}

.comparison-table tbody tr:last-child td { border-bottom: none; }

.comparison-table tbody tr:hover td { background: var(--bg-soft); }

.c-yes { color: var(--clr-success); font-weight: 700; }
.c-no  { color: var(--txt-light); }

/* ======= SERVICES PAGE ======= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}

.service-card {
  background: white;
  border: 1px solid var(--border-card);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  position: relative;
  overflow: hidden;
  transition: all var(--tr-base);
}

.service-card:hover {
  box-shadow: 0 12px 40px rgba(75,63,238,0.08);
  transform: translateY(-5px);
  border-color: rgba(75,63,238,0.15);
}

.s-icon {
  width: 60px; height: 60px;
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: var(--sp-6);
  transition: transform var(--tr-base);
}

.service-card:hover .s-icon { transform: scale(1.08) rotate(-5deg); }

.service-card h3 {
  font-size: var(--fz-xl);
  font-weight: 700;
  color: var(--txt-heading);
  margin-bottom: var(--sp-3);
}

.service-card > p {
  font-size: var(--fz-sm);
  color: var(--txt-muted);
  line-height: 1.7;
  margin-bottom: var(--sp-5);
}

.s-highlight {
  font-size: var(--fz-xs);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Investment showcase */
.invest-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: center;
  padding: var(--sp-16) 0;
}

.invest-content h2 {
  font-size: clamp(var(--fz-3xl), 4vw, var(--fz-5xl));
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--txt-heading);
  margin-bottom: var(--sp-5);
}

.invest-content p {
  font-size: var(--fz-lg);
  color: var(--txt-muted);
  line-height: 1.7;
  margin-bottom: var(--sp-8);
}

.invest-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
}

.is-card {
  background: white;
  border: 1px solid var(--border-card);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  text-align: center;
  box-shadow: var(--sh-xs);
}

.is-num {
  font-size: var(--fz-2xl);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: var(--sp-1);
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.is-lbl {
  font-size: var(--fz-xs);
  color: var(--txt-muted);
}

/* Portfolio card */
.portfolio-card {
  background: white;
  border: 1px solid var(--border-card);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  box-shadow: var(--sh-md);
}

.port-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--sp-6);
}

.port-label { font-size: var(--fz-sm); color: var(--txt-muted); margin-bottom: 4px; }

.port-val {
  font-size: var(--fz-3xl);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--txt-heading);
}

/* Bar chart */
.port-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 120px;
  margin-bottom: var(--sp-5);
}

.pc-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: var(--clr-primary-soft);
  transition: background var(--tr-base);
}

.pc-bar.active {
  background: var(--grad-primary);
  box-shadow: 0 4px 12px rgba(75,63,238,0.25);
}

.port-foot {
  display: flex;
  gap: var(--sp-3);
}

.pf-pill {
  flex: 1;
  padding: var(--sp-3);
  border-radius: var(--r-md);
  text-align: center;
  font-size: var(--fz-xs);
}

.pf-pill span { display: block; font-weight: 800; font-size: var(--fz-base); margin-bottom: 2px; }

/* ======= ABOUT PAGE ======= */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
  margin-bottom: var(--sp-24);
}

.about-story-content h2 {
  font-size: clamp(var(--fz-3xl), 4vw, var(--fz-5xl));
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--txt-heading);
  margin-bottom: var(--sp-6);
}

.about-story-content p {
  font-size: var(--fz-lg);
  color: var(--txt-muted);
  line-height: 1.8;
  margin-bottom: var(--sp-4);
}

.about-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

.a-stat-card {
  background: white;
  border: 1px solid var(--border-card);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  text-align: center;
  box-shadow: var(--sh-xs);
  transition: all var(--tr-base);
}

.a-stat-card:hover {
  border-color: rgba(75,63,238,0.2);
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}

.a-stat-num {
  font-size: var(--fz-3xl);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: var(--sp-2);
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin-bottom: var(--sp-20);
}

/* Timeline */
.timeline {
  position: relative;
  padding: var(--sp-8) 0;
  margin-bottom: var(--sp-20);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--clr-primary), var(--clr-accent), transparent);
  transform: translateX(-50%);
}

.tl-item {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items: center;
  margin-bottom: var(--sp-10);
  gap: var(--sp-4);
}

.tl-item:nth-child(even) .tl-content { order: 3; }
.tl-item:nth-child(even) .tl-empty   { order: 1; }

.tl-content {
  background: white;
  border: 1px solid var(--border-card);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  box-shadow: var(--sh-xs);
  transition: all var(--tr-base);
}

.tl-content:hover {
  box-shadow: var(--sh-md);
  border-color: rgba(75,63,238,0.15);
}

.tl-year {
  font-size: var(--fz-xs);
  font-weight: 800;
  color: var(--clr-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-2);
}

.tl-content h3 {
  font-size: var(--fz-lg);
  font-weight: 700;
  color: var(--txt-heading);
  margin-bottom: var(--sp-2);
}

.tl-content p {
  font-size: var(--fz-sm);
  color: var(--txt-muted);
  line-height: 1.65;
}

.tl-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--grad-primary);
  border: 3px solid white;
  box-shadow: 0 0 0 2px var(--clr-primary), 0 0 16px rgba(75,63,238,0.3);
  justify-self: center;
  z-index: 1;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
  margin-bottom: var(--sp-20);
}

.team-card {
  background: white;
  border: 1px solid var(--border-card);
  border-radius: var(--r-xl);
  padding: var(--sp-8) var(--sp-5);
  text-align: center;
  transition: all var(--tr-base);
}

.team-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-4px);
  border-color: rgba(75,63,238,0.15);
}

.team-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  margin: 0 auto var(--sp-4);
  border: 3px solid white;
  box-shadow: 0 4px 16px rgba(75,63,238,0.2);
}

.t-name {
  font-size: var(--fz-base);
  font-weight: 700;
  color: var(--txt-heading);
  margin-bottom: 4px;
}

.t-role {
  font-size: var(--fz-xs);
  color: var(--clr-primary);
  font-weight: 600;
  margin-bottom: var(--sp-3);
}

.t-bio {
  font-size: var(--fz-xs);
  color: var(--txt-muted);
  line-height: 1.6;
}

/* Press Section */
.press-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}

.press-card {
  background: white;
  border: 1px solid var(--border-card);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  transition: all var(--tr-base);
}

.press-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}

.press-outlet {
  font-size: var(--fz-lg);
  font-weight: 800;
  color: var(--txt-muted);
  margin-bottom: var(--sp-4);
}

.press-quote {
  font-size: var(--fz-sm);
  color: var(--txt-body);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: var(--sp-4);
}

.press-date {
  font-size: var(--fz-xs);
  color: var(--txt-light);
}

/* ======= CONTACT PAGE ======= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--sp-12);
  margin-bottom: var(--sp-20);
  align-items: start;
}

.contact-info h3 {
  font-size: var(--fz-2xl);
  font-weight: 800;
  color: var(--txt-heading);
  margin-bottom: var(--sp-4);
}

.contact-info > p {
  font-size: var(--fz-base);
  color: var(--txt-muted);
  line-height: 1.7;
  margin-bottom: var(--sp-8);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
}

.contact-method {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  background: white;
  border: 1px solid var(--border-card);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xs);
  transition: all var(--tr-base);
}

.contact-method:hover {
  border-color: rgba(75,63,238,0.2);
  box-shadow: var(--sh-sm);
  transform: translateX(4px);
}

.cm-icon {
  width: 46px; height: 46px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.cm-label {
  font-size: var(--fz-xs);
  color: var(--txt-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.cm-value {
  font-size: var(--fz-base);
  font-weight: 700;
  color: var(--txt-heading);
}

/* Office cards */
.office-grid {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.office-card {
  background: white;
  border: 1px solid var(--border-card);
  border-radius: var(--r-lg);
  padding: var(--sp-4) var(--sp-5);
  box-shadow: var(--sh-xs);
}

.office-name {
  font-size: var(--fz-sm);
  font-weight: 700;
  color: var(--txt-heading);
  margin-bottom: 3px;
}

.office-addr {
  font-size: var(--fz-xs);
  color: var(--txt-muted);
}

/* Contact Form */
.contact-form-card {
  background: white;
  border: 1px solid var(--border-card);
  border-radius: var(--r-xl);
  padding: var(--sp-10);
  box-shadow: var(--sh-sm);
}

.form-title {
  font-size: var(--fz-2xl);
  font-weight: 800;
  color: var(--txt-heading);
  margin-bottom: var(--sp-2);
}

.form-subtitle {
  font-size: var(--fz-sm);
  color: var(--txt-muted);
  margin-bottom: var(--sp-8);
}

.form-group {
  margin-bottom: var(--sp-5);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

.form-label {
  display: block;
  font-size: var(--fz-sm);
  font-weight: 600;
  color: var(--txt-body);
  margin-bottom: var(--sp-2);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  color: var(--txt-heading);
  font-size: var(--fz-base);
  font-family: var(--font);
  transition: all var(--tr-fast);
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--clr-primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(75,63,238,0.12);
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--txt-light); }

.form-textarea { min-height: 130px; resize: vertical; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--border-card);
  border-radius: var(--r-lg);
  margin-bottom: var(--sp-3);
  overflow: hidden;
  background: white;
  transition: border-color var(--tr-fast), box-shadow var(--tr-fast);
}

.faq-item.open {
  border-color: rgba(75,63,238,0.2);
  box-shadow: 0 4px 20px rgba(75,63,238,0.06);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-5) var(--sp-6);
  font-size: var(--fz-base);
  font-weight: 600;
  color: var(--txt-heading);
  width: 100%;
  text-align: left;
  background: none;
  cursor: pointer;
  transition: background var(--tr-fast);
}

.faq-q:hover { background: var(--bg-soft); }

.faq-ico {
  font-size: 1.2rem;
  color: var(--clr-primary);
  transition: transform var(--tr-base);
  flex-shrink: 0;
  margin-left: var(--sp-4);
  font-weight: 300;
}

.faq-item.open .faq-ico { transform: rotate(45deg); }

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--tr-slow);
}

.faq-item.open .faq-body { max-height: 500px; }

.faq-body-inner {
  padding: 0 var(--sp-6) var(--sp-5);
  font-size: var(--fz-sm);
  color: var(--txt-muted);
  line-height: 1.75;
  border-top: 1px solid var(--border);
  padding-top: var(--sp-4);
}

/* ======= RESPONSIVE ======= */
@media (max-width: 1024px) {
  .products-grid   { grid-template-columns: 1fr; }
  .services-grid   { grid-template-columns: repeat(2,1fr); }
  .values-grid     { grid-template-columns: repeat(2,1fr); }
  .team-grid       { grid-template-columns: repeat(2,1fr); }
  .press-grid      { grid-template-columns: 1fr; }
  .invest-showcase { grid-template-columns: 1fr; }
  .about-story     { grid-template-columns: 1fr; }
  .contact-grid    { grid-template-columns: 1fr; }

  .timeline::before { left: 30px; }
  .tl-item {
    grid-template-columns: 60px 1fr;
    gap: var(--sp-4);
  }
  .tl-item:nth-child(even) .tl-content { order: unset; }
  .tl-item:nth-child(even) .tl-empty   { display: none; }
  .tl-empty { display: none; }
  .tl-dot   { justify-self: auto; }
}

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
  .values-grid   { grid-template-columns: 1fr; }
  .team-grid     { grid-template-columns: 1fr 1fr; }
  .form-row      { grid-template-columns: 1fr; }
  .invest-stats  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ======= NEW PRODUCT/SERVICE PAGES RESPONSIVE GRID ======= */
.upay-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--sp-8);
  align-items: start;
  /* margin-bottom: var(--sp-20); */
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
}

@media (max-width: 1024px) {
  .upay-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }
  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-4);
  }
}

@media (max-width: 480px) {
  .stats-inner {
    grid-template-columns: 1fr;
  }
}

