/* ============================================================
   PARKAR.IN — Design System & Global Styles
   ============================================================ */

/* --- CSS Variables --- */
:root {
  --color-bg:          #050505;
  --color-bg-2:        #0d0d0d;
  --color-bg-card:     #141414;
  --color-bg-card-2:   #1a1a1a;
  --color-border:      rgba(255,255,255,0.08);
  --color-border-teal: rgba(0,200,180,0.3);

  --color-primary:     #00c8b4;
  --color-primary-dim: rgba(0,200,180,0.12);
  --color-blue:        #1a6fff;
  --color-blue-dim:    rgba(26,111,255,0.15);
  --color-accent:      #00e5ff;

  --color-text-white:  #ffffff;
  --color-text-light:  #c8d6f0;
  --color-text-muted:  #7a8fad;
  --color-text-dim:    #4a5f7a;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Aeonik', 'Inter', sans-serif;

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-full: 9999px;

  --shadow-glow-teal: 0 0 40px rgba(0,200,180,0.15);
  --shadow-glow-blue: 0 0 40px rgba(26,111,255,0.15);
  --shadow-card:      0 4px 32px rgba(0,0,0,0.4);

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
  --section-pad: 72px 0;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-display);
  background: var(--color-bg);
  color: var(--color-text-light);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* --- Typography --- */
h1,h2,h3,h4 { color: var(--color-text-white); font-family: var(--font-display); font-weight: 400; line-height: 1.15; letter-spacing: -0.02em; }
h5,h6 { color: var(--color-text-white); font-family: var(--font-sans); font-weight: 600; line-height: 1.2; }
h1 { font-size: 42px; }
h2 { font-size: 42px; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p  { color: var(--color-text-light); }

.label {
  font-size: 18px; font-weight: 400; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--color-primary);
  font-family: 'Aeonik', 'Inter', system-ui, sans-serif;
}

/* --- Layout --- */
.container  { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section    { padding: var(--section-pad); }
.section-sm { padding: 64px 0; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-full);
  font-size: 16px; font-weight: 600; transition: var(--transition); white-space: nowrap;
}
.btn-primary { background: var(--color-primary); color: #000; }
.btn-primary:hover { background: #00e5cf; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,200,180,0.35); }
.btn-outline { border: 1.5px solid rgba(255,255,255,0.25); color: var(--color-text-white); background: rgba(255,255,255,0.04); }
.btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary); background: var(--color-primary-dim); transform: translateY(-2px); }
.btn-ghost { color: var(--color-primary); padding: 10px 0; font-weight: 600; font-size: 16px; display: inline-flex; align-items: center; gap: 6px; transition: var(--transition); }
.btn-ghost:hover { gap: 10px; }
.btn-ghost .arrow { transition: var(--transition); }

/* --- Section Header --- */
.section-header { margin-bottom: 28px; }
.section-header .label { margin-bottom: 16px; display: block; }
.section-header h2 { margin-bottom: 20px; }
.section-header p  { font-size: 16px; color: var(--color-text-muted); max-width: 920px; }
.section-header.center { text-align: center; }
.section-header.center p { margin: 0 auto; }


/* ============================================================
   S1 — HERO
   ============================================================ */
.hero {
  position: relative; min-height: auto; display: flex; align-items: center;
  padding-top: var(--navbar-height, 80px); overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.hero-bg-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5,5,5,0.65) 0%, rgba(5,5,5,0.45) 40%, rgba(5,5,5,0.8) 100%),
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(0,200,180,0.08) 0%, transparent 70%);
}
.hero-content { position: relative; z-index: 1; max-width: 860px; padding: 95px 0 70px; }
.hero h1 { font-size: 52px; margin-bottom: 24px; line-height: 1.1; }
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
/* Section Divider */
.section-divider {
  padding: 48px 0 16px;
  text-align: left;
  position: relative;
}
.section-divider-pill {
  display: inline-block; font-size: 0.95rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--color-primary); padding: 10px 30px;
  border: 1px solid rgba(0,200,180,0.25); border-radius: 100px;
  background: rgba(0,200,180,0.08);
}

.hero-pill {
  display: inline-block; font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-primary); padding: 6px 18px;
  border: 1px solid rgba(0,200,180,0.25); border-radius: 100px;
  background: rgba(0,200,180,0.08); margin-bottom: 20px;
}
.hero-sub { font-size: 1.15rem; color: var(--color-text-light); max-width: 680px; margin-bottom: 44px; line-height: 1.75; }
.hero-ctas { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* S2 — Stats Section (standalone, centered) */
/* ── Why Parkar Stats Bar (white bg) ── */
.wp-stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin: 28px 0 32px; padding: 28px 0;
  border-top: 1px solid rgba(0,0,0,0.08); border-bottom: 1px solid rgba(0,0,0,0.08);
}
.wp-stat {
  text-align: center; padding: 0 8px;
  border-right: 1px solid rgba(0,0,0,0.08);
}
.wp-stat:last-child { border-right: none; }
.wp-stat-num {
  font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; line-height: 1;
  color: #00C4A7;
  margin-bottom: 8px;
}
.wp-stat-label {
  font-size: 14px; color: #666; line-height: 1.4; max-width: 260px; margin: 0 auto;
}
@media (max-width: 768px) {
  .wp-stats-bar { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .wp-stat:nth-child(2) { border-right: none; }
}
@media (max-width: 480px) {
  .wp-stats-bar { grid-template-columns: 1fr; }
  .wp-stat { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.08); padding: 16px 0; }
  .wp-stat:last-child { border-bottom: none; }
}

.stats-section {
  background: var(--color-bg-2); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border);
  padding: 36px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 0 24px; border-right: 1px solid var(--color-border); }
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; line-height: 1;
  background: linear-gradient(135deg, var(--color-text-white), var(--color-primary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label { font-size: 0.78rem; color: var(--color-text-muted); line-height: 1.45; max-width: 180px; }

/* Why Parkar Grid */
.why-parkar-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }


/* ============================================================
   S2 — CLIENT LOGO BAR (marquee)
   ============================================================ */
.logo-bar-tagline {
  text-align: center; font-size: 22px; color: #fff;
  letter-spacing: 0.01em; padding: 16px 0 4px;
  line-height: 1.6; margin: 0;
}
.logo-bar-tagline .teal { color: var(--color-primary); }
.logo-bar {
  background: var(--color-bg); padding: 60px 0; overflow: hidden;
  position: relative;
}
.logo-bar::before,
.logo-bar::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 140px; z-index: 2; pointer-events: none;
}
.logo-bar::before { left: 0; background: linear-gradient(90deg, var(--color-bg), transparent); }
.logo-bar::after  { right: 0; background: linear-gradient(270deg, var(--color-bg), transparent); }
.logo-bar-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.logo-bar-track:hover { animation-play-state: paused; }
.logo-bar-slide { display: flex; align-items: center; gap: 20px; padding-right: 20px; }
.logo-bar-slide img {
  height: 60px; width: auto; padding: 14px 28px; opacity: 0.7;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  transition: opacity 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  box-sizing: content-box;
}
.logo-bar-slide img:hover {
  opacity: 1;
  border-color: rgba(0,200,180,0.3); background: rgba(255,255,255,0.06);
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ============================================================
   S4 — PROBLEM STATEMENT
   ============================================================ */
.problem-strip {
  background: var(--color-bg-2); border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border); padding: 100px 0;
}

/* Header */
.problem-header { text-align: center; margin-bottom: 56px; }
.problem-header .label { display: block; margin-bottom: 14px; }
.problem-header h2 { font-size: 42px; margin-bottom: 0; }
.highlight-red { color: #ef4444; }

/* Two-card grid */
.problem-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 32px;
  align-items: stretch; max-width: 1000px; margin: 0 auto;
}
.problem-card {
  background: var(--color-bg-card); border: 1px solid var(--color-border);
  border-radius: 20px; padding: 40px 36px; transition: var(--transition);
  position: relative; overflow: hidden;
}
.problem-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.problem-pain-card::before { background: linear-gradient(90deg, #ef4444, #f97316); }
.problem-fix-card::before  { background: linear-gradient(90deg, var(--color-primary), var(--color-accent)); }
.problem-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.problem-pain-card:hover { border-color: rgba(239,68,68,0.3); }
.problem-fix-card:hover  { border-color: var(--color-border-teal); }

/* Icon */
.problem-icon-wrap {
  width: 40px; height: 40px; border-radius: 12px; display: flex;
  align-items: center; justify-content: center; margin-bottom: 24px;
}
.problem-icon-wrap.pain { background: rgba(239,68,68,0.1); color: #ef4444; border: 1px solid rgba(239,68,68,0.2); }
.problem-icon-wrap.fix  { background: var(--color-primary-dim); color: var(--color-primary); border: 1px solid var(--color-border-teal); }

/* Stat row */
.problem-stat-row { display: flex; align-items: baseline; gap: 14px; margin-bottom: 20px; }
.problem-big-num {
  font-size: clamp(3.5rem, 6vw, 5.5rem); font-weight: 800; line-height: 1;
  color: var(--color-text-white); letter-spacing: -0.03em;
}
.problem-big-num.accent { color: var(--color-primary); }
.problem-vs {
  font-size: 1rem; font-weight: 700; color: var(--color-text-dim);
  text-transform: uppercase; letter-spacing: 0.14em;
}

/* Headlines */
.problem-headline {
  font-size: 1rem; color: var(--color-text-muted); font-weight: 500;
  line-height: 1.65; margin-bottom: 16px;
}
.problem-headline strong { color: var(--color-text-white); font-weight: 700; }

/* Fix title */
.problem-fix-title {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 700;
  color: var(--color-text-muted); line-height: 1.3; margin-bottom: 14px;
}
.problem-fix-title span { color: var(--color-primary); }

/* Pain pills */
.problem-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.problem-pill {
  padding: 5px 14px; border-radius: var(--radius-full);
  background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.2);
  font-size: 0.72rem; font-weight: 600; color: #f87171; letter-spacing: 0.03em;
}

/* Fix checkpoints */
.problem-checkpoints {
  list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px;
}
.problem-checkpoints li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.85rem; color: var(--color-text-muted); line-height: 1.55;
}
.problem-checkpoints li svg { flex-shrink: 0; margin-top: 3px; color: var(--color-primary); }
.problem-checkpoints li strong { color: var(--color-text-white); }

/* Connector */
.problem-connector {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0; flex-shrink: 0; padding: 0 4px;
}
.problem-connector-line {
  width: 1px; flex: 1; min-height: 24px;
  background: linear-gradient(180deg, transparent, var(--color-border), transparent);
}
.problem-connector-arrow {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--color-bg-card); border: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-primary);
}

/* Trust strip */
.problem-trust {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--color-border);
  flex-wrap: wrap;
}
.problem-trust span {
  font-size: 0.75rem; font-weight: 600; color: var(--color-text-dim);
  letter-spacing: 0.04em;
}
.problem-trust-dot {
  width: 4px; height: 4px; border-radius: 50%; background: var(--color-primary); opacity: 0.4;
}


/* ============================================================
   S5 — GenAI at the Core (Tabbed)
   ============================================================ */
.genai-core { background: var(--color-bg-2); border-top: 1px solid var(--color-border); }
.genai-tabs { max-width: 1000px; margin: 0 auto; }
.genai-tab-nav {
  display: flex; gap: 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden; border: 1px solid var(--color-border); border-bottom: none;
}
.genai-tab-btn {
  flex: 1; padding: 16px 12px; font-size: 0.82rem; font-weight: 600; color: var(--color-text-muted);
  background: var(--color-bg-card); border: none; border-right: 1px solid var(--color-border);
  cursor: pointer; transition: var(--transition); text-align: center;
}
.genai-tab-btn:last-child { border-right: none; }
.genai-tab-btn:hover { color: var(--color-text-white); background: var(--color-bg-card-2); }
.genai-tab-btn.active {
  color: var(--color-primary); background: var(--color-bg-card-2);
  box-shadow: inset 0 2px 0 var(--color-primary);
}
.genai-tab-panel {
  display: none; background: var(--color-bg-card); border: 1px solid var(--color-border);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg); padding: 0;
}
.genai-tab-panel.active { display: block; }
.gtp-content { display: grid; grid-template-columns: 1fr 1fr; gap: 0; min-height: 320px; }
.gtp-text { padding: 40px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.gtp-text h3 { font-size: 1.3rem; color: var(--color-text-white); }
.gtp-text p  { font-size: 0.92rem; color: var(--color-text-muted); line-height: 1.7; }
.gtp-visual { overflow: hidden; border-radius: 0 0 var(--radius-lg) 0; }
.gtp-visual img { width: 100%; height: 100%; object-fit: cover; }


/* ============================================================
   S6 — PLATFORMS
   ============================================================ */
.platforms-section { background: var(--color-bg); }
.platforms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.platform-feature-card {
  background: var(--color-bg-card); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: 40px; position: relative; overflow: hidden; transition: var(--transition); display: flex; flex-direction: column;
}
.platform-feature-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.platform-feature-card.aioniq::before { background: linear-gradient(90deg, var(--color-primary), var(--color-accent)); }
.platform-feature-card.vector::before { background: linear-gradient(90deg, var(--color-blue), #8250ff); }
.platform-feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.platform-feature-card.aioniq:hover { border-color: var(--color-border-teal); box-shadow: var(--shadow-glow-teal); }
.platform-feature-card.vector:hover  { border-color: rgba(26,111,255,0.3); box-shadow: var(--shadow-glow-blue); }
.pf-logo { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.pf-logo-icon { width: 48px; height: 48px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.pf-logo-img { width: 44px; height: 44px; border-radius: var(--radius-sm); object-fit: contain; flex-shrink: 0; }
.pf-logo-img-large { height: 48px; width: auto; object-fit: contain; flex-shrink: 0; }
.vector .pf-logo-img-large { height: 48px; }
.pf-logo-icon.teal { background: rgba(0,200,180,0.15); }
.pf-logo-icon.blue { background: rgba(26,111,255,0.15); }
.pf-logo-name { font-size: 1.3rem; font-weight: 800; color: var(--color-text-white); letter-spacing: -0.02em; }
.pf-tagline { font-size: 0.8rem; color: var(--color-text-muted); font-weight: 500; letter-spacing: 0.04em; }
.pf-image {
  height: 220px; border-radius: var(--radius-md) var(--radius-md) 0 0; margin: -40px -40px 0 -40px;
  position: relative; overflow: hidden;
}
.pf-image > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-image-overlay { position: absolute; bottom: 0; left: 0; right: 0; height: 80px; background: linear-gradient(to top, var(--color-bg-card), transparent); z-index: 1; }
.pf-image-label { position: absolute; top: 16px; right: 16px; z-index: 2; }
.pf-img-badge { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 12px; border-radius: var(--radius-full); }
.pf-img-badge.teal { background: rgba(0,200,180,0.2); color: var(--color-primary); border: 1px solid var(--color-border-teal); }
.pf-img-badge.blue { background: rgba(26,111,255,0.2); color: #6699ff; border: 1px solid rgba(26,111,255,0.3); }
.pf-body { padding-top: 28px; flex: 1; display: flex; flex-direction: column; }
.pf-one-liner { font-size: 0.88rem; color: var(--color-text-muted); line-height: 1.7; margin-bottom: 24px; flex: 1; }
a.platform-feature-card { text-decoration: none; color: inherit; }
.pf-explore {
  font-size: 0.85rem; font-weight: 600; color: var(--color-primary);
  display: inline-flex; align-items: center; gap: 6px; transition: var(--transition);
  margin-top: auto;
}
a.platform-feature-card:hover .pf-explore { gap: 10px; }

/* Platform CTA Buttons */
.pf-actions {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; padding-top: 8px;
}

.pf-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 100px; font-size: 16px;
  font-weight: 500; cursor: pointer; letter-spacing: 0.01em;
  transition: all 0.3s ease;
}
.pf-btn .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}
.pf-btn:hover .arrow { transform: translateX(5px); }

.pf-btn-primary {
  background: none; color: var(--color-primary); padding: 0;
  font-weight: 600;
}
.pf-btn-primary:hover {
  color: #00e5cc;
}

.pf-btn-ghost {
  background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.1);
}
.pf-btn-ghost:hover {
  background: rgba(255,255,255,0.1); color: #fff;
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

/* Platform stack diagram (embedded) */
.platform-stack {
  display: flex; align-items: center; justify-content: center; gap: 0;
  margin-top: 48px; padding: 20px; background: var(--color-bg-card);
  border: 1px solid var(--color-border); border-radius: var(--radius-lg);
}
.ps-layer {
  display: flex; align-items: center; gap: 8px; padding: 12px 20px;
  border-radius: var(--radius-md); background: rgba(255,255,255,0.03); border: 1px solid var(--color-border);
  transition: var(--transition);
}
.ps-layer:hover { border-color: var(--color-border-teal); background: var(--color-primary-dim); }
.ps-num { font-size: 0.7rem; font-weight: 800; color: var(--color-primary); opacity: 0.6; }
.ps-name { font-size: 0.85rem; font-weight: 700; color: var(--color-text-white); }
.ps-aioniq { border-color: var(--color-border-teal); background: var(--color-primary-dim); }
.ps-aioniq .ps-name { color: var(--color-primary); }
.ps-vector { border-color: rgba(26,111,255,0.3); background: var(--color-blue-dim); }
.ps-vector .ps-name { color: #6699ff; }
.ps-arrow { color: var(--color-text-dim); font-size: 1rem; padding: 0 12px; }


/* ============================================================
   S7 — SOLUTIONS / CAPABILITIES (4-col)
   ============================================================ */
.solutions-section { background: var(--color-bg); }
.solutions-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }

/* ── Magic Bento Cards ── */
.solution-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1),
              border-color 0.4s ease,
              box-shadow 0.4s ease;
}

/* Animated gradient border glow on hover */
.solution-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from var(--bento-angle, 0deg),
    transparent 0%,
    rgba(27,174,159,0.4) 10%,
    transparent 20%,
    transparent 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}
.solution-card:hover::before {
  opacity: 1;
  animation: bentoSpin 3s linear infinite, bentoPulse 2s ease-in-out infinite;
}
@keyframes bentoPulse {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

@keyframes bentoSpin {
  from { --bento-angle: 0deg; }
  to   { --bento-angle: 360deg; }
}
@property --bento-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* Bottom accent line */
.solution-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.4s ease;
  transform: scaleX(0);
  transform-origin: left;
  z-index: 2;
}
.solution-card:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

/* Hover lift + glow */
.solution-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(27,174,159,0.25);
  box-shadow:
    0 20px 50px rgba(0,0,0,0.35),
    0 0 30px rgba(27,174,159,0.08);
}

/* Per-card accent gradients */
.solution-card.s1::after { background: linear-gradient(90deg,var(--color-primary),var(--color-accent)); }
.solution-card.s1:hover::before { background: conic-gradient(from var(--bento-angle,0deg), transparent 0%, rgba(0,200,180,0.5) 10%, transparent 20%, transparent 100%); }
.solution-card.s2::after { background: linear-gradient(90deg,#8250ff,#c084fc); }
.solution-card.s2:hover::before { background: conic-gradient(from var(--bento-angle,0deg), transparent 0%, rgba(130,80,255,0.5) 10%, transparent 20%, transparent 100%); }
.solution-card.s3::after { background: linear-gradient(90deg,#ff9632,#ffcc00); }
.solution-card.s3:hover::before { background: conic-gradient(from var(--bento-angle,0deg), transparent 0%, rgba(255,150,50,0.5) 10%, transparent 20%, transparent 100%); }
.solution-card.s4::after { background: linear-gradient(90deg,var(--color-blue),#6699ff); }
.solution-card.s4:hover::before { background: conic-gradient(from var(--bento-angle,0deg), transparent 0%, rgba(26,111,255,0.5) 10%, transparent 20%, transparent 100%); }
.solution-card.s5::after { background: linear-gradient(90deg,#534AB7,#8B7BE8); }
.solution-card.s5:hover::before { background: conic-gradient(from var(--bento-angle,0deg), transparent 0%, rgba(83,74,183,0.5) 10%, transparent 20%, transparent 100%); }

/* Icon pulse on hover */
.sol-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.4s ease;
}
.solution-card:hover .sol-icon {
  transform: scale(1.12);
  box-shadow: 0 0 20px rgba(27,174,159,0.15);
}
.sol-icon img { width: 28px; height: 28px; object-fit: contain; filter: invert(1); opacity: 0.85; }

.solution-card h4 { font-size: 14px; font-weight: 700; color: var(--color-text-white); }
.solution-card p  { font-size: 12px; color: var(--color-text-muted); line-height: 1.6; flex: 1; }
.sol-link {
  font-size: 16px; font-weight: 600; color: var(--color-primary);
  display: flex; align-items: center; gap: 4px;
  transition: gap 0.3s ease, color 0.3s ease;
}
.solution-card:hover .sol-link { gap: 8px; color: #fff; }


/* ============================================================
   S8 — INDUSTRIES (5-col with photos)
   ============================================================ */
.industries-section { background: var(--color-bg-2); border-top: 1px solid var(--color-border); }
.industries-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1100px; margin: 0 auto; }
.industry-card {
  background: var(--color-bg-card); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  overflow: hidden; cursor: pointer; transition: var(--transition); text-decoration: none; color: inherit; display: block;
}
.industry-card:hover { transform: translateY(-4px); border-color: var(--color-border-teal); box-shadow: var(--shadow-glow-teal); }
.industry-img { height: 180px; overflow: hidden; }
.industry-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.industry-card:hover .industry-img img { transform: scale(1.05); }
.industry-body { padding: 20px; }
.industry-body h4 { font-size: 16px; margin-bottom: 8px; }
.industry-body p  { font-size: 12px; color: var(--color-text-muted); line-height: 1.55; }


/* ============================================================
   S9 — CASE STUDIES
   ============================================================ */
.cs-section { background: var(--color-bg); }

/* Top 3 hero cards */
.cs-hero-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 28px; }
.cs-hero-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3;
  border: 1px solid var(--color-border); transition: var(--transition);
}
.cs-hero-card:hover { transform: translateY(-4px); border-color: var(--color-border-teal); }
.cs-hero-card img { width: 100%; height: 100%; object-fit: cover; }
.cs-hero-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px; background: linear-gradient(to top, rgba(5,5,5,0.9) 0%, rgba(5,5,5,0.3) 60%, transparent 100%);
}
.cs-hero-tag {
  align-self: flex-start; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 10px; border-radius: var(--radius-full); background: var(--color-primary-dim);
  color: var(--color-primary); border: 1px solid var(--color-border-teal); margin-bottom: 12px;
}
.cs-hero-metric {
  font-size: 2.8rem; font-weight: 800; color: var(--color-primary); line-height: 1; margin-bottom: 8px;
}
.cs-hero-overlay p { font-size: 0.85rem; color: var(--color-text-light); line-height: 1.5; }

/* Secondary card grid */
.cs-secondary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1100px; margin: 0 auto; }
.cs-sec-card {
  background: var(--color-bg-card); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  overflow: hidden; transition: var(--transition); text-decoration: none; color: inherit; display: block;
}
.cs-sec-card:hover { transform: translateY(-4px); border-color: var(--color-border-teal); }
.cs-sec-card img { width: 100%; height: 140px; object-fit: cover; }
.cs-sec-body { padding: 16px; }
.cs-sec-tag { font-size: 0.65rem; font-weight: 600; color: var(--color-primary); letter-spacing: 0.04em; display: block; margin-bottom: 8px; }
.cs-sec-body h4 { font-size: 16px; font-weight: 700; color: var(--color-text-white); line-height: 1.4; margin-bottom: 12px; }
.cs-sec-link { font-size: 14px; font-weight: 600; color: var(--color-primary); }


/* ============================================================
   S10 — CERTIFICATIONS
   ============================================================ */
.trust-section { background: var(--color-bg-2); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.certs-row { display: flex; align-items: center; justify-content: center; gap: 64px; flex-wrap: wrap; }
.cert-item { transition: var(--transition); opacity: 0.85; }
.cert-item:hover { opacity: 1; transform: scale(1.05); }
.cert-logo { width: 209px; height: 209px; object-fit: contain; filter: brightness(1.1); }


/* ============================================================
   S11 — OBJECTION HANDLER
   ============================================================ */
.objections-section { background: var(--color-bg); border-bottom: 1px solid var(--color-border); }
.objections-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.objection-card {
  background: var(--color-bg-card); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; transition: var(--transition);
}
.objection-card:hover { border-color: var(--color-border-teal); }
.objection-icon { font-size: 1.6rem; }
.objection-card h4 { font-size: 1rem; font-weight: 700; color: var(--color-text-white); }
.objection-card p  { font-size: 0.88rem; color: var(--color-text-muted); line-height: 1.65; }


/* ============================================================
   S12 — GCC CALLOUT
   ============================================================ */
.gcc-callout {
  background: var(--color-bg-2); border-bottom: 1px solid var(--color-border); padding: 48px 0;
}
.gcc-callout-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  background: var(--color-bg-card); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: 36px 40px;
}
.gcc-callout-text { flex: 1; }
.gcc-callout-text .label { display: block; margin-bottom: 10px; }
.gcc-callout-text p { font-size: 0.95rem; color: var(--color-text-muted); line-height: 1.65; }
.gcc-callout-text p strong { color: var(--color-text-white); }


/* ============================================================
   S13 — PARTNERS (2-col: text left, grid right)
   ============================================================ */
.partners-section {
  background: var(--color-bg); border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border); padding: 100px 0;
}
.partners-inner {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center;
}
.partners-text h2 { margin-bottom: 16px; }
.partners-text p { font-size: 16px; color: var(--color-text-muted); line-height: 1.75; }

/* Logo grid with stagger animation */
.partners-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.partner-grid-item {
  background: var(--color-bg-card); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: 28px; display: flex;
  align-items: center; justify-content: center; min-height: 90px;
  transition: border-color 0.3s, background 0.3s;
  opacity: 0; transform: translateY(20px) scale(0.95);
  animation: partnerReveal 0.5s ease forwards;
}
.partner-grid-item:nth-child(1) { animation-delay: 0s; }
.partner-grid-item:nth-child(2) { animation-delay: 0.07s; }
.partner-grid-item:nth-child(3) { animation-delay: 0.14s; }
.partner-grid-item:nth-child(4) { animation-delay: 0.21s; }
.partner-grid-item:nth-child(5) { animation-delay: 0.28s; }
.partner-grid-item:nth-child(6) { animation-delay: 0.35s; }
.partner-grid-item:nth-child(7) { animation-delay: 0.42s; }
.partner-grid-item:nth-child(8) { animation-delay: 0.49s; }
.partner-grid-item:nth-child(9) { animation-delay: 0.56s; }
@keyframes partnerReveal {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.partner-grid-item:hover {
  border-color: var(--color-border-teal); background: rgba(255,255,255,0.04);
}
.partner-grid-item img {
  height: 32px; width: auto; object-fit: contain;
  filter: brightness(1.5); opacity: 0.8;
}


/* ============================================================
   S14 — AWARDS CAROUSEL (parkar.in style)
   ============================================================ */
.awards-section { background: var(--color-bg-2); border-top: 1px solid var(--color-border); }

/* Header: title left, arrows right */
.awards-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 48px;
}
.awards-header-text .label { display: block; margin-bottom: 14px; }
.awards-header-text h2 { margin-bottom: 0; }
.awards-nav { display: flex; gap: 10px; flex-shrink: 0; }
.awards-btn {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--color-border); background: var(--color-bg-card);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-text-muted); cursor: pointer; transition: var(--transition);
}
.awards-btn:hover { border-color: var(--color-primary); color: var(--color-primary); background: var(--color-primary-dim); }

/* Carousel */
.awards-carousel { overflow: hidden; cursor: grab; }
.awards-carousel:active { cursor: grabbing; }
.awards-track {
  display: flex; gap: 24px; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.award-card {
  width: 280px; min-width: 280px; flex-shrink: 0;
  background: var(--color-bg-card); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform 0.4s ease, border-color 0.3s, box-shadow 0.4s, opacity 0.4s;
  text-decoration: none; color: inherit; display: block;
}
.award-card:hover { border-color: var(--color-border-teal); transform: translateY(-4px); box-shadow: var(--shadow-glow-teal); }
.award-card-img { overflow: hidden; }
.award-card-img { height: 200px; }
.award-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.award-card:hover .award-card-img img { transform: scale(1.05); }
.award-card-body { padding: 16px 20px 20px; }
.award-card-body { height: 100px; display: flex; flex-direction: column; justify-content: space-between; }
.award-card-body h4 {
  font-size: 0.82rem; font-weight: 600; color: var(--color-text-light);
  line-height: 1.5; margin-bottom: 12px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.award-learn-more {
  font-size: 16px; font-weight: 600; color: var(--color-primary);
  transition: var(--transition); display: inline-flex; align-items: center; gap: 4px;
}


/* ============================================================
   S15 — TESTIMONIALS
   ============================================================ */
.testimonials-section { background: var(--color-bg); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.testimonial-card {
  background: var(--color-bg-card); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: 36px; transition: var(--transition);
}
.testimonial-card:hover { border-color: var(--color-border-teal); }
.testi-quote { font-size: 3.5rem; font-weight: 800; color: var(--color-primary); opacity: 0.3; line-height: 0.6; margin-bottom: 16px; }
.testimonial-card p { font-size: 0.92rem; color: var(--color-text-light); line-height: 1.75; font-style: italic; margin-bottom: 20px; }
.testi-author { display: flex; align-items: center; gap: 10px; }
.testi-author-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-primary); flex-shrink: 0; }
.testi-author span { font-size: 0.8rem; font-weight: 600; color: var(--color-text-muted); }


/* ============================================================
   S16 — FINAL CTA
   ============================================================ */
/* ── CTA Pill Button (icon swap animation) ── */
.hp-cta-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.04); color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  padding: 8px 24px 8px 8px;
  font-size: 16px; font-weight: 500;
  border-radius: 100px; text-decoration: none;
  cursor: pointer; position: relative; overflow: hidden;
  transition: background 0.5s ease, border-color 0.5s ease, transform 0.3s ease, padding 0.5s ease;
}
.hp-cta-text {
  white-space: nowrap; color: #fff; position: relative; z-index: 1;
  transition: transform 0.5s ease;
}
.hp-cta-icon {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; min-width: 36px; min-height: 36px;
  border-radius: 50%; flex-shrink: 0; overflow: hidden;
  background: #00C4A7; position: relative; z-index: 2;
  transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1), background-color 0.5s ease;
}
.hp-cta-icon svg { width: 16px; height: 16px; min-width: 16px; flex-shrink: 0; }
.hp-cta-icon svg path { transition: stroke 0.5s ease; }

/* Hover: icon goes right, text goes left, bg fills teal */
.hp-cta-btn:hover {
  background: #00C4A7; border-color: #00C4A7;
  padding: 8px 8px 8px 24px; transform: scale(1.02);
}
.hp-cta-btn:hover .hp-cta-icon {
  transform: translateX(var(--hp-icon-move, 0px)) rotate(360deg);
  background: #fff;
}
.hp-cta-btn:hover .hp-cta-icon svg path { stroke: #00C4A7; }
.hp-cta-btn:hover .hp-cta-text { transform: translateX(var(--hp-text-move, 0px)); }

/* Old final-cta kept for other pages */
.final-cta {
  background: var(--color-bg); position: relative; overflow: hidden; padding: 72px 0;
}
.final-cta-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(0,200,180,0.08) 0%, transparent 70%); }
.final-cta-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; text-align: center; }
.final-cta h2 { margin-bottom: 20px; }
.final-cta p  { font-size: 16px; color: var(--color-text-muted); margin-bottom: 40px; }
.final-cta-btns { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta-reassure { font-size: 0.82rem; color: var(--color-text-dim); margin-top: 16px; font-style: italic; }


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .solutions-grid { grid-template-columns: repeat(3, 1fr); }
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
  .cs-secondary-grid { grid-template-columns: repeat(2, 1fr); }
  .genai-tab-nav { flex-wrap: wrap; }
  .genai-tab-btn { flex: 1 1 48%; }
}
@media (max-width: 900px) {
  .why-parkar-grid { grid-template-columns: repeat(2, 1fr); }
  .platforms-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .cs-hero-grid { grid-template-columns: 1fr; }
  .cs-secondary-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .stat-item:nth-child(2) { border-right: none; }
  .problem-inner { grid-template-columns: 1fr; gap: 20px; }
  .problem-connector { flex-direction: row; }
  .problem-connector-line { width: auto; height: 1px; min-height: unset; min-width: 24px; flex: 1; background: linear-gradient(90deg, transparent, var(--color-border), transparent); }
  .problem-connector-arrow svg { transform: rotate(90deg); }
  .gtp-content { grid-template-columns: 1fr; }
  .gtp-visual { height: 220px; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
  .platform-stack { flex-wrap: wrap; gap: 8px; }
  .ps-arrow { display: none; }
  .objections-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .gcc-callout-inner { flex-direction: column; align-items: flex-start; }
  .partners-inner { grid-template-columns: 1fr; gap: 40px; }
  .partners-text { text-align: center; }
  .partners-grid { grid-template-columns: repeat(3, 1fr) !important; }
  .partner-grid-item[style*="border:none"] { display: none; }
  .award-card { width: 260px; min-width: 260px; }
  .pf-actions { gap: 12px; }
}
@media (max-width: 640px) {
  :root { --section-pad: 48px 0; }
  .hero-content { padding: 48px 0 40px; }
  .hero h1 { font-size: clamp(26px, 7vw, 36px) !important; }
  .hero-sub { font-size: 0.95rem; margin-bottom: 28px; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .hero-ctas .btn { width: 100%; text-align: center; }
  .industries-grid { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr !important; }
  .why-parkar-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .stat-item { padding: 12px 16px; }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--color-border); }
  .stat-item:nth-child(even) { border-right: none; }
  .section-header h2 { font-size: clamp(22px, 6vw, 32px); }
  .section-header p { font-size: 0.95rem; }
  .final-cta { padding: 48px 0; }
  .final-cta-inner { flex-direction: column !important; align-items: flex-start !important; gap: 24px !important; }
  .final-cta h2 { font-size: clamp(22px, 6vw, 30px); }
  .final-cta p { font-size: 0.95rem; margin-bottom: 24px; }
  .platform-feature-card { flex-direction: column; }
  .pf-image { min-height: 200px; }
  .pf-body { padding: 24px 20px; }
  .pf-actions { flex-wrap: wrap; gap: 12px; justify-content: flex-start; }
  .pf-btn { padding: 10px 20px; font-size: 14px; }
  .pf-btn-ghost { padding: 10px 20px; }
  .cs-secondary-grid { grid-template-columns: 1fr; }
  .genai-tab-btn { flex: 1 1 100%; }
  .awards-track { gap: 16px; }
  .award-card { width: 240px; min-width: 240px; }
  .awards-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .partners-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .partner-grid-item { padding: 16px; min-height: 70px; }
  .partner-grid-item img { height: 26px; }
  .partners-section { padding: 60px 0; }
}
@media (max-width: 400px) {
  .hero-content { padding: 36px 0 32px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none !important; border-bottom: 1px solid var(--color-border); padding: 16px 0; }
  .stat-item:last-child { border-bottom: none; }
  .solutions-grid { grid-template-columns: 1fr !important; }
  .partners-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .partner-grid-item { padding: 12px; min-height: 60px; }
  .partner-grid-item img { height: 22px; }
}
