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

:root {
  --red-primary: #C90D0D;      
  --red-deep: #b91c1c;         
  --orange: #FC5800;           
  --text-dark: #2b1114;        
  --text-body: #6b6b6b;        
  --bg-light: #fafafa;         
  --bg-white: #ffffff;
  --border-faint: #eee2e2;

  --font-heading: 'Fustat', sans-serif;
  --font-body: 'Fustat', sans-serif;

  --container-width: 1400px;

  /* ---- GAP CONTROL ---- */
  /* was clamp(60px, 8vh, 50px) — min (60px) exceeded max (50px),
     an invalid clamp. Widened the max so 8vh actually has room
     to apply between breakpoints. */
  --section-gap: clamp(60px, 8vh, 120px);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  line-height: 1.6;
  background: var(--bg-white);
  overflow-x: hidden;
  position: relative;
}

img, svg { display: block; max-width: 100%; }

.container{
    width:100%;
    max-width:1400px;
    margin:0 auto;
    padding-inline:clamp(24px,5vw,100px);
}

h1{font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.2;
  font-size: larger;
}
h2, h3 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.2;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.section-sub { margin-bottom: 40px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-footnote {
  margin-top: 32px;
  font-size: 0.95rem;
  color: var(--text-body);
}

/* SCROLL REVEAL */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Buttons (reused everywhere) ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--red-deep));
  color: #fff;
  box-shadow: 0 8px 20px rgba(226, 59, 46, 0.35);
}
.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgb(255, 255, 255);
  padding: 8px 22px;
}
.btn-text {
  background: none;
  color: var(--red-primary);
  padding: 12px 0;
  font-weight: 600;
}
.btn-dark {
  background: var(--text-dark);
  color: #fff;
}
.btn-small { padding: 10px 22px; font-size: 0.85rem; }
.full-width { width: 100%; }

.placeholder-label {
  font-size: 0.85rem;
  color: #999;
  font-family: var(--font-body);
}

/* =====================================================
   SECTION: HEADER
   =====================================================
   Header now lives *inside* .hero in the markup and is
   absolutely positioned over the video, so it reads as
   part of the hero rather than a separate bar above it.
   The hero itself keeps top padding (see .hero-grid) so
   the copy/art below don't sit underneath the header. */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3; /* above .hero-overlay (1) and video (0), below nothing else in hero */
  background: transparent;
  padding: 28px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  height: 50px;
  width: auto;
}

/* SECTION: HERO */
.hero{
    position:relative;
    min-height:100vh;
    display:flex;
    align-items:center;
    overflow:hidden;
    padding:0;
}

.hero-video{
    position:absolute;
    inset:0;

    width:100%;
    height:100%;

    object-fit:cover;

    z-index:0;
}

.hero-overlay{

    position:absolute;
    inset:0;

    background:rgba(0,0,0,.35);

    z-index:1;
}

.hero-grid{
    position:relative;
    z-index:2;

    display:grid;
    grid-template-columns:0.95fr 1.05fr;
    gap:60px;
    align-items:center;

    /* room for the absolutely-positioned header sitting on top */
    padding-top: 110px;
    min-height: 100vh;
}
.hero-copy h1 {
  font-size: 2.6rem;
  font-weight: 1000;
  margin-bottom: 20px;
}
.highlight { color: var(--red-primary); }
.hero-sub {
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 28px;
}
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.trust-line {
  font-size: 0.85rem;
  color: #999;
  font-style: italic;
}

/* Character now anchored to the bottom of the hero art column
   and enlarged — grows out of the bottom edge of the section
   instead of floating centered. */
.hero-art {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    align-self: flex-end;
    height: 100%;
}

.hero-illustration{
    width: 135%;
    max-width: none;
    height: auto;
    display: block;
}

/* SECTION: PROBLEM DIAGRAM */
.problem-section {
  padding: var(--section-gap) 0;
  background: transparent;
}

/* ---- Circular arrangement ---- */
.problem-circle {
  position: relative;
  width: min(700px, 100%);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}

.problem-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
}

.circle-item {
  position: absolute;
  transform: translate(-50%, -50%);
  width: clamp(84px, 24vw, 170px);
  max-width: 42%;
  background: var(--red-primary);
  color: #fff;
  font-size: clamp(0.6rem, 2.3vw, 0.85rem);
  line-height: 1.15;
  font-weight: 600;
  padding: clamp(6px, 1.6vw, 12px) clamp(8px, 2vw, 18px);
  border-radius: 30px;
  text-align: center;
  box-shadow: 0 6px 14px rgba(226,59,46,0.25);
  cursor: default;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: pill-float 7s ease-in-out infinite;
}
.angle-top-left     { top: 14%; left: 29%; animation-delay: 0s;    }
.angle-top-right    { top: 14%; left: 71%; animation-delay: 1.1s;  }
.angle-mid-right    { top: 50%; left: 92%; animation-delay: 2.2s;  }
.angle-bottom-right { top: 86%; left: 71%; animation-delay: 3.3s;  }
.angle-bottom-left  { top: 86%; left: 29%; animation-delay: 4.4s;  }
.angle-mid-left      { top: 50%; left: 8%;  animation-delay: 5.5s;  }

@keyframes pill-float {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50%      { transform: translate(-50%, -50%) translateY(-20px); }
}

/* =====================================================
   SECTION: ONE SMART PLATFORM (icon strip)
   ===================================================== */
.platform-section {
  padding: var(--section-gap) 0;
  background: transparent;
}
.platform-copy { max-width: 640px; margin-bottom: 60px; }

.icon-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
}
.icon-item {
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    gap:16px;
    width:180px;
}
.icon-circle {
  width:300px;
    height:300px;
    border-radius:50%;
    background:linear-gradient(135deg,var(--orange),var(--red-deep));

    display:flex;
    align-items:center;
    justify-content:center;

    box-shadow:0 10px 24px rgba(226,59,46,.30);

    animation:icon-float 6s ease-in-out infinite;
    transition:transform .35s ease;
}

.icon-label {  font-size:16px;
    color:var(--text-dark);
    font-weight:500;
    line-height:1.4;
}

.float-1 .icon-circle{
    animation-delay:0s;
}

.float-2 .icon-circle{
    animation-delay:1.3s;
}

.float-3 .icon-circle{
    animation-delay:2.6s;
}

@keyframes icon-float{

    0%,
    100%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-18px);
    }

}

/*SECTION: WHAT OUR PRODUCT OFFERS (scroll-jacked arc)*/
.offers-section {
  background: transparent;
  padding-top: var(--section-gap);
}

.offers-scroll-track {
  position: relative;
  height: 720vh; /* 9 features * 80vh */
}

.offers-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 40px;
}

.offers-arc-stage {
  position: relative;
  width: min(1100px, 100%);
  aspect-ratio: 1371 / 757;
  margin: 0 auto;
}

.offers-heading {
  position: absolute;
  top: -20%;
  right: 0;
  z-index: 4;
  max-width: 42%;
  text-align: right;
  margin: 0;
}

.arc-guide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}


.offers-character {
  position: absolute;
  left: -20%;
  bottom: -20%;
  width: clamp(700px, 32%, 400px);
  z-index: 200;
}
.offers-character-img {
  width: 100%;
  height: auto;
}

.offer-badges {
  position: absolute;
  inset: 0;
}
.offer-badge {
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(84px, 12vw, 170px);
  height: clamp(84px, 12vw, 170px);
  border-radius: 50%;
  background: linear-gradient(160deg, var(--orange), var(--red-deep));
  box-shadow: 0 14px 30px rgba(201, 13, 13, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  will-change: transform, opacity;
}


.offer-panels {
  position: absolute;
  left: 50%;
  top: 56%;
  transform: translateX(-50%);
  width: min(360px, 78%);
  text-align:start;
  z-index: 2;
}

.offer-panel {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;

  background: #fff;
  border-radius: 22px;
  padding: 28px 26px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.12);
}
.offer-panel.is-active {
  opacity: 1;
  pointer-events: auto;
  animation: offer-panel-float 5s ease-in-out infinite;
}

@keyframes offer-panel-float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-10px); }
}

.offer-panel h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin-bottom: 6px;
}
.offer-panel .offer-lead {
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 8px;
}
.offer-panel ul {
  list-style: none;
  margin-bottom: 8px;
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
}
.offer-panel li {
  font-size: 0.85rem;
  color: var(--text-body);
}
.offer-panel li::before {
  content: '— ';
  color: var(--red-primary);
}
.offer-panel .offer-close {
  font-size: 0.85rem;
  color: var(--text-body);
}

/* ---- Mobile fallback list: hidden on desktop ---- */
.offers-mobile-list {
  display: none;
}
.offers-heading-mobile {
  display: none;
}

.offer-card.static {
  background: #fff;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.10);
  text-align: center;
  opacity: 0;
  animation: none;
}
.offer-card.static.is-visible {
  animation-name: badge-enter, offer-card-float;
  animation-duration: 0.7s, 6s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1), ease-in-out;
  animation-iteration-count: 1, infinite;
  animation-fill-mode: forwards, none;
}
.offer-card.static:nth-child(3n+1) { animation-delay: 0s,   0s;   }
.offer-card.static:nth-child(3n+2) { animation-delay: .08s, 1s;   }
.offer-card.static:nth-child(3n)   { animation-delay: .16s, 2s;   }

@keyframes offer-card-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.offer-card.static .offer-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--orange), var(--red-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 10px 20px rgba(201, 13, 13, 0.3);
}
.offer-card.static h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.offer-card.static .offer-lead {
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 10px;
}
.offer-card.static ul {
  list-style: none;
  margin-bottom: 10px;
  text-align: left;
  display: inline-block;
}
.offer-card.static li {
  font-size: 0.88rem;
  color: var(--text-body);
  margin-bottom: 3px;
}
.offer-card.static li::before {
  content: '— ';
  color: var(--red-primary);
}
.offer-card.static .offer-close {
  font-size: 0.88rem;
  color: var(--text-body);
}

/* SECTION: WHY BUSINESSES CHOOSE Neotechnosys */
.why-section {
  padding: var(--section-gap) 0;
  background: transparent;
}

.why-grid-wrapper {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: start;
}

.why-copy h2 {
  margin-bottom: 16px;
}
.why-copy p {
  font-size: 1.05rem;
  max-width: 420px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 16px;
}

.benefit-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: 999px;
  padding: 14px 20px 14px 14px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.25s ease;
  opacity: 0;
  animation: none;
}

[data-reveal].is-visible .benefit-card {
  animation-name: badge-enter, badge-float;
  animation-duration: 0.7s, 5s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1), ease-in-out;
  animation-iteration-count: 1, infinite;
  animation-fill-mode: forwards, none;
}

@keyframes badge-enter {
  0%   { opacity: 0; transform: translateY(28px) scale(0.94); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes badge-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

.benefit-card:nth-child(1)  { animation-delay: 0s,    0s;   }
.benefit-card:nth-child(2)  { animation-delay: .08s,  .5s;  }
.benefit-card:nth-child(3)  { animation-delay: .16s,  1s;   }
.benefit-card:nth-child(4)  { animation-delay: .24s,  1.5s; }
.benefit-card:nth-child(5)  { animation-delay: .32s,  2s;   }
.benefit-card:nth-child(6)  { animation-delay: .40s,  2.5s; }
.benefit-card:nth-child(7)  { animation-delay: .48s,  3s;   }
.benefit-card:nth-child(8)  { animation-delay: .56s,  3.5s; }
.benefit-card:nth-child(9)  { animation-delay: .64s,  4s;   }
.benefit-card:nth-child(10) { animation-delay: .72s,  4.5s; }

.benefit-card:hover {
  animation-play-state: paused, paused;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.14);
}

.benefit-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--red-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(226, 59, 46, 0.30);
}
.benefit-icon svg {
  width: 18px;
  height: 18px;
}

.benefit-card p {
  font-size: 0.92rem;
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.3;
}

@media (max-width: 900px) {
  .why-grid-wrapper { grid-template-columns: 1fr; }
  .why-copy p { max-width: none; }
}
@media (max-width: 560px) {
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-card { border-radius: 20px; }
}

/* SECTION: HOW IT WORKS */
.video-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.play-btn {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--red-primary);
  border: none;
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(201, 13, 13, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.play-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(201, 13, 13, 0.45);
}

.progress-track {
  flex: 1;
  height: 6px;
  background: #e2dede;
  position: relative;
  border-radius: 3px;
}
.progress-fill {
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  width: 20%;
  background: var(--red-primary);
  border-radius: 3px;
}
.progress-fill::after {
  content: '';
  position: absolute;
  right: -7px; top: 50%;
  width: 16px; height: 16px;
  background: var(--text-dark);
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  transform: translateY(-50%);
}
.video-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 50px;
  margin-bottom: 24px;
}

.how-it-works-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .video-placeholder {
    border-radius: 25px;
  }
}
/* =====================================================
   SECTION: CONTACT
   ===================================================== */
.contact-section {
  background: var(--red-deep);
  border-radius: 24px;
  max-width: var(--container-width);
  margin: var(--section-gap) auto;
  padding: 60px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  padding: 0;
  max-width: none;
  width: 100%;
}
.contact-copy h2 { color: #fff; font-size: 1.8rem; margin-bottom: 12px; }
.contact-copy p { color: rgba(255,255,255,0.9); margin-bottom: 28px; }
.contact-detail {
  margin-bottom: 18px;
}
.contact-label {
  display: block;
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.contact-detail a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.05rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form-row { display: flex; gap: 14px; }
.contact-form input,
.contact-form textarea {
  border: none;
  border-radius: 10px;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  resize: none;
  width: 100%;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--text-dark);
}

/* PREMIUM FOOTER */

.site-footer{
    position:relative;
    overflow:hidden;
    background:#C90D0D;
    color:#fff;
    padding:90px 0 0;
    margin-top:120px;
}

.footer-content{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:120px;
    position:relative;
    z-index:2;
}

.footer-left{
    max-width:520px;
}

.footer-left h2{
    font-size:3rem;
    line-height:1.15;
    margin-bottom:28px;
    color:#fff;
}

.footer-left p{
    font-size:1.05rem;
    line-height:1.8;
    color:rgba(255,255,255,.85);
}

.footer-right{
    display:flex;
    gap:100px;
}

.footer-column{
    display:flex;
    flex-direction:column;
    gap:16px;
}

.footer-column h4{
    font-size:1rem;
    margin-bottom:12px;
    color:#fff;
}

.footer-column a{
    color:rgba(255,255,255,.85);
    text-decoration:none;
    transition:.3s;
}

.footer-column span{
    color:rgba(255,255,255,.85);
}

.footer-column a:hover{
    color:#FFE3D7;
}

/* HUGE BACKGROUND WORD */

.footer-brand-word{
    margin-top:120px;
    font-size:18vw;
    font-weight:900;
    line-height:.8;
    white-space:nowrap;
    user-select:none;
    pointer-events:none;
    text-align:center;
    letter-spacing:-10px;
    background:linear-gradient(
        to bottom,
        rgba(255,255,255,.95),
        rgba(255,255,255,.15),
        rgba(255,255,255,0)
    );
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
}

/* RESPONSIVE */

@media(max-width:900px){
    .footer-content{
        flex-direction:column;
        gap:50px;
    }
    .footer-right{
        flex-direction:column;
        gap:40px;
    }
    .footer-left h2{
        font-size:2.3rem;
    }
    .footer-brand-word{
        margin-top:60px;
        font-size:30vw;
        text-align:left;
    }
    .footer-copyright{
        position:static;
        padding:30px 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
  .offers-scroll-track { height: auto; }
  .offers-sticky { position: static; height: auto; }
  .offers-arc-stage { display: none; }
  .offers-mobile-list { display: grid !important; }
  .offers-heading-mobile { display: block !important; }
  .circle-item { animation: none; }
  .icon-circle { animation: none; }
  .benefit-card { animation: none !important; opacity: 1; transform: none; }
  .offer-card.static { animation: none !important; opacity: 1; transform: none; }
  .offer-panel.is-active { animation: none !important; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .icon-strip { flex-direction: column; }
  .icon-connector { width: 2px; height: 40px; max-width: none; margin: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-section { padding: 30px 30px; }
}

@media (max-width: 768px) {
  .contact-section{margin: 20px;}
  .offers-scroll-track { display: none; }
  .offers-mobile-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 500px;
    margin: 40px auto 0;
    padding: 0 24px;
  }
  .offers-heading-mobile { display: block; margin-bottom: 20px; }
 .hero{
    min-height:100vh;
    padding:0;
}
  .site-header { padding: 20px 0; }
  .hero-copy h1 { font-size: 2rem; }
  .form-row { flex-direction: column; }
}

@media(max-width:900px){
    .hero-grid{
        grid-template-columns:1fr;
        text-align:center;
        padding-top: 90px;
    }
    .hero-art{
        order:-1;
        align-items: center;
    }
    .hero-illustration{
        width:100%;
        max-width:520px;
        margin:auto;
    }
    .hero-video{
        object-position:center center;
    }
}