/* =====================================================================
   FNOXPE — Homepage CSS  v5  (Bento Grid + Claymorphism)
   ===================================================================== */

/* ── Tokens ────────────────────────────────────────────────────────── */
:root {
  --c-blue:      #1A46D4;
  --c-blue-dk:   #1338A8;
  --c-violet:    #7C3AED;
  --c-violet-dk: #5B21B6;
  --c-purple:    #4C1D95;
  --c-orange:    #F97316;
  --c-green:     #10B981;
  --c-cyan:      #06B6D4;
  --c-dark:      #0E0825;
  --c-dark2:     #160D38;
  --c-text:      #1E1033;
  --c-muted:     #6B7280;
  --c-lavender:  #F3EEFF;
  --c-lavender2: #EDE9FE;
  --c-border:    rgba(124,58,237,.15);
  --c-white:     #FFFFFF;
  /* Clay shadows */
  --clay-wh:     0 6px 0 0 #C4B5FD, 0 14px 40px rgba(91,33,182,.13);
  --clay-vt:     0 6px 0 0 rgba(0,0,0,.4), 0 14px 40px rgba(91,33,182,.45);
  --clay-bl:     0 6px 0 0 rgba(0,0,0,.35), 0 14px 40px rgba(26,70,212,.4);
  --clay-or:     0 6px 0 0 rgba(180,70,0,.45), 0 14px 40px rgba(249,115,22,.35);
  --r-xl:        24px;
  --r-lg:        18px;
  --r-md:        14px;
  --max:         1140px;
}

/* ── Base ──────────────────────────────────────────────────────────── */
.hp-page {
  background: var(--c-lavender) !important;
  color: var(--c-text) !important;
  font-family: 'Inter', system-ui, sans-serif;
}
.hp-page * { box-sizing: border-box; margin: 0; padding: 0; }
a { text-decoration: none; }

/* ── Layout ────────────────────────────────────────────────────────── */
.hpc { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ── Typography ────────────────────────────────────────────────────── */
.hp-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--c-violet);
  background: rgba(124,58,237,.1); border: 1px solid rgba(124,58,237,.2);
  border-radius: 100px; padding: 5px 14px; margin-bottom: 18px;
}
.hp-eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-violet); animation: blink 2s infinite;
}
@keyframes blink { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(1.7)} }

.hp-h1 {
  font-size: clamp(36px, 5vw, 62px); font-weight: 900;
  letter-spacing: -2px; line-height: 1.06; color: var(--c-text);
}
.hp-h2 {
  font-size: clamp(26px, 3.5vw, 42px); font-weight: 800;
  letter-spacing: -1.2px; line-height: 1.12; color: var(--c-text);
}
.hp-h2-wh { color: #fff; }
.hp-lead {
  font-size: 16px; color: var(--c-muted); line-height: 1.7; max-width: 440px;
}
.hp-grad {
  background: linear-gradient(135deg, var(--c-blue), var(--c-violet));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hp-grad-or {
  background: linear-gradient(135deg, var(--c-orange), var(--c-violet));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hp-cx { text-align: center; }
.hp-cx .hp-lead { margin: 0 auto; }

/* ── Buttons ──────────────────────────────────────────────────────── */
.hp-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 12px 24px; border-radius: var(--r-lg); font-size: 14.5px;
  font-weight: 700; cursor: pointer; border: none; font-family: inherit;
  transition: all .2s; white-space: nowrap;
}
.hp-btn-vt {
  background: linear-gradient(135deg, var(--c-violet-dk), var(--c-violet));
  color: #fff; box-shadow: var(--clay-vt);
}
.hp-btn-vt:hover { transform: translateY(-2px); box-shadow: 0 10px 0 0 rgba(0,0,0,.4), 0 20px 50px rgba(91,33,182,.5); color:#fff; }
.hp-btn-wh {
  background: #fff; color: var(--c-violet);
  box-shadow: 0 4px 0 0 #C4B5FD, 0 8px 24px rgba(91,33,182,.15);
}
.hp-btn-wh:hover { transform: translateY(-2px); color: var(--c-violet); }
.hp-btn-ghost {
  background: rgba(255,255,255,.12); color: #fff;
  border: 1.5px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
}
.hp-btn-ghost:hover { background: rgba(255,255,255,.2); transform: translateY(-1px); color:#fff; }
.hp-btn-or {
  background: linear-gradient(135deg, #F97316, #EA580C);
  color: #fff; box-shadow: var(--clay-or);
}
.hp-btn-or:hover { transform: translateY(-2px); color:#fff; }

/* ── Clay card base ────────────────────────────────────────────────── */
.clay {
  border-radius: var(--r-xl);
  box-shadow: var(--clay-wh);
  background: #fff;
  overflow: hidden;
}
.clay-vt {
  border-radius: var(--r-xl);
  box-shadow: var(--clay-vt);
  background: linear-gradient(145deg, var(--c-violet-dk), var(--c-violet));
  color: #fff;
}
.clay-dk {
  border-radius: var(--r-xl);
  box-shadow: var(--clay-vt);
  background: linear-gradient(145deg, var(--c-dark), var(--c-dark2));
  color: #fff;
}
.clay-bl {
  border-radius: var(--r-xl);
  box-shadow: var(--clay-bl);
  background: linear-gradient(145deg, var(--c-blue-dk), var(--c-blue));
  color: #fff;
}
.clay-or {
  border-radius: var(--r-xl);
  box-shadow: var(--clay-or);
  background: linear-gradient(145deg, #EA580C, var(--c-orange));
  color: #fff;
}
.clay-lav {
  border-radius: var(--r-xl);
  box-shadow: var(--clay-wh);
  background: var(--c-lavender2);
}

/* ════════════════════════════════════════════════════════════════════ */
/* HERO                                                                 */
/* ════════════════════════════════════════════════════════════════════ */
.hp-hero {
  padding: 110px 0 80px;
  background: var(--c-lavender);
  position: relative; overflow: hidden;
}
.hp-hero::before {
  content: '';
  position: absolute; top: -200px; right: -200px;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,.12) 0%, transparent 65%);
  pointer-events: none;
}
.hp-hero::after {
  content: '';
  position: absolute; bottom: -100px; left: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(26,70,212,.08) 0%, transparent 65%);
  pointer-events: none;
}

.hp-hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center; position: relative; z-index: 1;
}
.hp-hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(124,58,237,.1); border: 1px solid rgba(124,58,237,.2);
  border-radius: 100px; padding: 5px 14px;
  font-size: 12px; font-weight: 600; color: var(--c-violet);
  margin-bottom: 20px;
}
.hp-hero-badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--c-violet); animation: blink 2s infinite;
}
.hp-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* Hero Bento Visual */
.hp-hero-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 14px;
  position: relative; z-index: 1;
}
.hb-card { padding: 22px; transition: transform .3s; }
.hb-card:hover { transform: translateY(-4px); }

/* Card slot layout */
.hb-c1 { grid-column: 1 / 3; } /* full width */
.hb-c2 { grid-column: 1; }
.hb-c3 { grid-column: 2; }
.hb-c4 { grid-column: 1; }
.hb-c5 { grid-column: 2; }

.hb-icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 12px;
}
.hb-icon-wh { background: rgba(255,255,255,.2); }
.hb-icon-vt { background: rgba(124,58,237,.12); }
.hb-icon-or { background: rgba(249,115,22,.12); }
.hb-icon-bl { background: rgba(26,70,212,.12); }

.hb-title { font-size: 13.5px; font-weight: 700; margin-bottom: 4px; }
.hb-title-wh { color: #fff; }
.hb-title-dk { color: var(--c-text); }
.hb-sub { font-size: 11.5px; font-weight: 500; opacity: .7; }

/* Wide hero card c1 */
.hb-c1 .hb-inner {
  display: flex; align-items: center; gap: 16px;
}
.hb-c1 .hb-icon { margin-bottom: 0; flex-shrink: 0; width: 52px; height: 52px; font-size: 26px; }
.hb-big-text { font-size: 28px; font-weight: 900; letter-spacing: -.5px; line-height: 1; }
.hb-big-text-wh { color: #fff; }

/* Pill tags in bento */
.hb-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.hb-pill {
  font-size: 10.5px; font-weight: 700; padding: 3px 10px; border-radius: 100px;
  background: rgba(255,255,255,.2); color: rgba(255,255,255,.9);
}
.hb-pill-dk {
  font-size: 10.5px; font-weight: 700; padding: 3px 10px; border-radius: 100px;
  background: rgba(124,58,237,.1); color: var(--c-violet);
}

/* ════════════════════════════════════════════════════════════════════ */
/* PRODUCTS BENTO                                                       */
/* ════════════════════════════════════════════════════════════════════ */
.hp-products {
  padding: 100px 0;
  background: var(--c-dark);
  position: relative; overflow: hidden;
}
.hp-products::before {
  content: '';
  position: absolute; top: -150px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 500px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(124,58,237,.18) 0%, transparent 70%);
  pointer-events: none;
}

.hp-products-head { margin-bottom: 56px; }

/* Bento grid */
.hp-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 300px 220px;
  gap: 16px;
}
.hp-bento-cell { overflow: hidden; }

/* Cell positions */
.hbc-1 { grid-column: 1; grid-row: 1; }
.hbc-2 { grid-column: 2 / 4; grid-row: 1; }
.hbc-3 { grid-column: 1 / 3; grid-row: 2; }
.hbc-4 { grid-column: 3; grid-row: 2; }

.hbc-inner {
  height: 100%; padding: 30px 28px;
  display: flex; flex-direction: column; justify-content: space-between;
}

.hbc-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,.6); background: rgba(255,255,255,.1);
  border-radius: 100px; padding: 3px 10px; margin-bottom: 14px;
  align-self: flex-start;
}
.hbc-tag-vt { color: var(--c-violet); background: rgba(124,58,237,.15); }

.hbc-name {
  font-size: clamp(22px, 2.5vw, 30px); font-weight: 900;
  letter-spacing: -.5px; color: #fff; line-height: 1;
}
.hbc-name-dk { color: var(--c-text); }
.hbc-desc {
  font-size: 13px; line-height: 1.6;
  color: rgba(255,255,255,.6); margin-top: 8px;
}
.hbc-desc-dk { color: var(--c-muted); }

.hbc-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 700;
  color: rgba(255,255,255,.8);
  transition: color .2s, gap .2s;
}
.hbc-link:hover { color: #fff; gap: 10px; }
.hbc-link-vt { color: var(--c-violet); }
.hbc-link-vt:hover { color: var(--c-violet-dk); }

/* Large card (hbc-2) — horizontal split */
.hbc-2 .hbc-inner { flex-direction: row; align-items: center; gap: 32px; }
.hbc-2-text { flex: 1; }
.hbc-2-visual {
  flex: 0 0 180px; display: flex; flex-direction: column; gap: 10px;
}
.hbc-chip {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px; padding: 10px 14px;
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,.85);
  display: flex; align-items: center; gap: 8px;
}
.hbc-chip-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}

/* Wide bottom card hbc-3 — features grid */
.hbc-3 .hbc-inner { flex-direction: column; }
.hbc-3-features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px;
}
.hbc-feat {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px; padding: 14px 16px;
  display: flex; align-items: center; gap: 10px;
}
.hbc-feat-ic {
  width: 32px; height: 32px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0;
}
.hbc-feat-label { font-size: 12.5px; font-weight: 700; color: rgba(255,255,255,.85); }

/* ════════════════════════════════════════════════════════════════════ */
/* PLATFORM FEATURES                                                    */
/* ════════════════════════════════════════════════════════════════════ */
.hp-platform {
  padding: 100px 0;
  background: var(--c-lavender);
}
.hp-plat-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  margin-top: 56px;
}
.hp-plat-card { padding: 32px 28px; }
.hp-plat-ic {
  width: 52px; height: 52px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 18px;
}
.hp-plat-ic-vt { background: rgba(124,58,237,.12); }
.hp-plat-ic-bl { background: rgba(26,70,212,.1); }
.hp-plat-ic-or { background: rgba(249,115,22,.1); }
.hp-plat-ic-gr { background: rgba(16,185,129,.1); }
.hp-plat-title { font-size: 17px; font-weight: 800; color: var(--c-text); margin-bottom: 8px; }
.hp-plat-desc { font-size: 13.5px; color: var(--c-muted); line-height: 1.65; }

/* ════════════════════════════════════════════════════════════════════ */
/* GATEWAY CONNECT                                                      */
/* ════════════════════════════════════════════════════════════════════ */
.hp-gateway {
  padding: 80px 0;
  background: linear-gradient(145deg, var(--c-violet-dk) 0%, var(--c-violet) 60%, var(--c-blue) 100%);
  position: relative; overflow: hidden;
}
.hp-gateway::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hp-gateway > * { position: relative; z-index: 1; }

.hp-gw-head { margin-bottom: 44px; }
.hp-gw-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase;
  color: rgba(255,255,255,.7); background: rgba(255,255,255,.12);
  border-radius: 100px; padding: 4px 14px; margin-bottom: 14px;
}
.hp-gw-title { font-size: clamp(22px, 3vw, 36px); font-weight: 800; color: #fff; letter-spacing: -.8px; }
.hp-gw-sub { font-size: 14px; color: rgba(255,255,255,.65); margin-top: 8px; }

.hp-gw-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.hp-gw-chip {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  border-radius: 100px; padding: 9px 20px;
  font-size: 13px; font-weight: 700; color: #fff;
  backdrop-filter: blur(8px); transition: all .2s;
  display: flex; align-items: center; gap: 7px;
}
.hp-gw-chip:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }
.hp-gw-chip-dot { width: 8px; height: 8px; border-radius: 50%; }

.hp-gw-note {
  margin-top: 24px; font-size: 12px; color: rgba(255,255,255,.45); font-style: italic;
}

/* ════════════════════════════════════════════════════════════════════ */
/* WHY FNOXPE                                                           */
/* ════════════════════════════════════════════════════════════════════ */
.hp-why {
  padding: 100px 0;
  background: #fff;
}
.hp-why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: 56px;
}
.hp-why-card { padding: 30px 26px; }
.hp-why-num {
  font-size: 13px; font-weight: 800; letter-spacing: 1px;
  color: var(--c-violet); margin-bottom: 14px;
  background: rgba(124,58,237,.1); border-radius: 100px;
  display: inline-block; padding: 3px 10px;
}
.hp-why-title { font-size: 16px; font-weight: 800; color: var(--c-text); margin-bottom: 8px; }
.hp-why-desc { font-size: 13px; color: var(--c-muted); line-height: 1.65; }

/* ════════════════════════════════════════════════════════════════════ */
/* CTA                                                                  */
/* ════════════════════════════════════════════════════════════════════ */
.hp-cta {
  padding: 100px 0;
  background: var(--c-dark);
  text-align: center; position: relative; overflow: hidden;
}
.hp-cta::before {
  content: '';
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 600px; height: 400px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(124,58,237,.25) 0%, transparent 70%);
  pointer-events: none;
}
.hp-cta > * { position: relative; z-index: 1; }
.hp-cta-title {
  font-size: clamp(28px, 4vw, 52px); font-weight: 900;
  letter-spacing: -1.5px; color: #fff; margin: 12px 0 18px;
}
.hp-cta-sub { font-size: 15px; color: rgba(255,255,255,.55); max-width: 460px; margin: 0 auto 36px; line-height: 1.65; }
.hp-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ════════════════════════════════════════════════════════════════════ */
/* CONTACT                                                              */
/* ════════════════════════════════════════════════════════════════════ */
.hp-contact {
  padding: 100px 0;
  background: var(--c-lavender);
}
.hp-contact-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start;
}
.hp-contact-info { padding-top: 8px; }
.hp-contact-info .hp-lead { margin-top: 14px; }
.hp-contact-detail {
  display: flex; align-items: flex-start; gap: 14px; margin-top: 28px;
}
.hp-cd-ic {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 17px;
  background: rgba(124,58,237,.1);
}
.hp-cd-label { font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--c-violet); margin-bottom: 2px; }
.hp-cd-val { font-size: 14px; font-weight: 600; color: var(--c-text); }

.hp-contact-form { background: #fff; border-radius: var(--r-xl); padding: 36px 32px;
  box-shadow: var(--clay-wh); }
.hp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.hp-field label { font-size: 12px; font-weight: 700; color: var(--c-text); letter-spacing: .3px; }
.hp-field input, .hp-field textarea {
  width: 100%; padding: 11px 14px; border-radius: 12px; font-family: inherit;
  font-size: 14px; color: var(--c-text);
  border: 1.5px solid rgba(124,58,237,.2);
  background: var(--c-lavender); outline: none; transition: border-color .2s;
}
.hp-field input:focus, .hp-field textarea:focus { border-color: var(--c-violet); }
.hp-field textarea { resize: vertical; min-height: 100px; }
.hp-form-submit {
  width: 100%; padding: 13px;
  background: linear-gradient(135deg, var(--c-violet-dk), var(--c-violet));
  color: #fff; border: none; border-radius: var(--r-lg);
  font-size: 15px; font-weight: 700; cursor: pointer;
  box-shadow: var(--clay-vt); transition: all .2s; font-family: inherit;
  margin-top: 4px;
}
.hp-form-submit:hover { transform: translateY(-2px); }

/* ── Scroll animations ────────────────────────────────────────────── */
/* Default: fully visible — JS adds .hp-js to <html> to enable animations */
.hp-anim { transition: opacity .65s ease, transform .65s ease; }
.hp-js .hp-anim { opacity: 0; transform: translateY(28px); }
.hp-js .hp-anim.hp-in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .hp-js .hp-anim, .hp-js .hp-anim.hp-in { opacity: 1; transform: none; }
}
.hp-anim-d1 { transition-delay: .1s; }
.hp-anim-d2 { transition-delay: .2s; }
.hp-anim-d3 { transition-delay: .3s; }

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hp-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hp-hero-bento { display: none; }
  .hp-hero { padding: 90px 0 60px; }

  .hp-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .hbc-1 { grid-column: 1; }
  .hbc-2 { grid-column: 2; grid-row: 1; }
  .hbc-2 .hbc-inner { flex-direction: column; gap: 16px; }
  .hbc-2-visual { flex: none; }
  .hbc-3 { grid-column: 1 / 3; grid-row: 2; }
  .hbc-4 { grid-column: 1 / 3; grid-row: 3; }

  .hp-plat-grid { grid-template-columns: 1fr; }
  .hp-why-grid { grid-template-columns: 1fr 1fr; }
  .hp-contact-wrap { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .hp-bento { grid-template-columns: 1fr; }
  .hbc-1,.hbc-2,.hbc-3,.hbc-4 { grid-column: 1; grid-row: auto; }
  .hp-bento { grid-template-rows: auto; }

  .hp-why-grid { grid-template-columns: 1fr; }
  .hp-plat-grid { grid-template-columns: 1fr; }
  .hp-hero-btns { flex-direction: column; }
  .hp-form-row { grid-template-columns: 1fr; }
  .hp-gw-chips { gap: 8px; }
  .hbc-3-features { grid-template-columns: 1fr; }
}
