/* ==========================================================================
   POINT CYBER — Stylesheet
   Design tokens live in :root. Signature motif = "signal bars" (connectivity)
   ========================================================================== */

:root{
  /* -------- Colour tokens -------- */
  --navy-900: #0A1F3D;   /* Dark Blue — primary brand */
  --navy-800: #123A63;   /* secondary dark blue */
  --sky:      #2FA8E0;   /* Sky Blue — accent */
  --sky-soft: #E4F3FC;   /* tinted background */
  --green:    #22C55E;   /* small green accents */
  --white:    #FFFFFF;
  --paper:    #F7FAFC;   /* page background */
  --ink:      #0F172A;   /* body text */
  --ink-soft: #4B5A6E;   /* secondary text */
  --line:     #DCE6F0;   /* hairline borders */

  /* -------- Type -------- */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  /* -------- Layout -------- */
  --container: 1160px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --nav-h: 76px;

  /* -------- Motion -------- */
  --ease: cubic-bezier(.25,.8,.25,1);
}

/* ============ RESET ============ */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
h1, h2, h3{ font-family: var(--font-display); margin: 0; color: var(--navy-900); }
p{ margin: 0; line-height: 1.65; color: var(--ink-soft); }
button{ font-family: inherit; cursor: pointer; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

:focus-visible{ outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }

.container{ max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section{ padding: 96px 0; }
.center{ text-align: center; margin-left: auto; margin-right: auto; }

.section-label{
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--sky);
  text-transform: uppercase;
  margin: 0 0 12px;
}
.section-sub{
  max-width: 560px;
  margin-top: 12px;
}
h2{ font-size: clamp(28px, 4vw, 40px); line-height: 1.15; letter-spacing: -0.01em; }

.text-accent{ color: var(--sky); }

/* ============ BUTTONS ============ */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.btn-primary{
  background: var(--sky);
  color: var(--navy-900);
  box-shadow: 0 8px 20px -8px rgba(47,168,224,.6);
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 12px 26px -8px rgba(47,168,224,.7); }
.btn-outline{
  border-color: rgba(255,255,255,.5);
  color: var(--white);
}
.btn-outline:hover{ background: rgba(255,255,255,.12); transform: translateY(-2px); }
.btn-full{ width: 100%; }

/* ============ LOADER ============ */
#loader{
  position: fixed; inset: 0; z-index: 9999;
  background: var(--navy-900);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  transition: opacity .5s var(--ease), visibility .5s var(--ease);
}
#loader.loaded{ opacity: 0; visibility: hidden; }
.loader-bars{ display: flex; align-items: flex-end; gap: 6px; height: 40px; }
.loader-bars span{
  width: 7px; background: var(--sky); border-radius: 3px;
  animation: loaderBar 1s ease-in-out infinite;
}
.loader-bars span:nth-child(1){ height: 35%; animation-delay: 0s; }
.loader-bars span:nth-child(2){ height: 60%; animation-delay: .12s; }
.loader-bars span:nth-child(3){ height: 85%; animation-delay: .24s; }
.loader-bars span:nth-child(4){ height: 100%; animation-delay: .36s; }
@keyframes loaderBar{ 0%,100%{ transform: scaleY(.4); } 50%{ transform: scaleY(1); } }
.loader-text{ font-family: var(--font-mono); color: var(--white); letter-spacing: .18em; font-size: 13px; }

/* ============ NAVBAR ============ */
.navbar{
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: var(--nav-h);
  background: rgba(10,31,61,0);
  transition: background .35s var(--ease), box-shadow .35s var(--ease), height .3s var(--ease);
}
.navbar.scrolled{
  background: rgba(10,31,61,.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px -12px rgba(10,31,61,.5);
  height: 66px;
}
.nav-inner{
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand{
  font-family: var(--font-display); font-weight: 700; font-size: 20px;
  color: var(--white); display: flex; align-items: center; gap: 10px; letter-spacing: .01em;
}
.brand-accent{ color: var(--sky); }
.brand-bars{ display: inline-flex; align-items: flex-end; gap: 3px; height: 16px; }
.brand-bars i{ width: 4px; background: var(--green); border-radius: 2px; display: block; }
.brand-bars i:nth-child(1){ height: 40%; }
.brand-bars i:nth-child(2){ height: 70%; }
.brand-bars i:nth-child(3){ height: 100%; }

.nav-links{ display: flex; align-items: center; gap: 32px; }
.nav-link{
  font-size: 14.5px; font-weight: 500; color: rgba(255,255,255,.8);
  position: relative; padding: 6px 0; transition: color .2s;
}
.nav-link::after{
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--sky); transition: width .25s var(--ease);
}
.nav-link:hover, .nav-link.active-link{ color: var(--white); }
.nav-link:hover::after, .nav-link.active-link::after{ width: 100%; }

.nav-cta{
  background: var(--sky); color: var(--navy-900); font-weight: 600; font-size: 14px;
  padding: 10px 20px; border-radius: 999px; white-space: nowrap;
  transition: transform .2s var(--ease);
}
.nav-cta:hover{ transform: translateY(-2px); }

.hamburger{
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 34px; height: 34px; background: none; border: none; padding: 0;
}
.hamburger span{ width: 100%; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.hamburger.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2){ opacity: 0; }
.hamburger.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero{
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background:
    radial-gradient(1100px 600px at 50% -10%, #163C68 0%, var(--navy-900) 55%),
    linear-gradient(180deg, var(--navy-900), #081934);
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero-grid{
  position: absolute; inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,.09) 1px, transparent 1.4px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 40%, transparent 90%);
  opacity: .7;
}
.hero-signal{
  position: absolute; right: 6%; bottom: 12%;
  display: none;
}
.signal-bars{ display: flex; align-items: flex-end; gap: 10px; height: 120px; }
.signal-bars span{
  width: 16px; border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--sky), rgba(47,168,224,.25));
  height: var(--h);
  animation: signalPulse 2.6s ease-in-out infinite;
}
.signal-bars span:nth-child(2){ animation-delay: .15s; }
.signal-bars span:nth-child(3){ animation-delay: .3s; }
.signal-bars span:nth-child(4){ animation-delay: .45s; }
.signal-bars span:nth-child(5){ animation-delay: .6s; }
@keyframes signalPulse{ 0%,100%{ opacity: .55; } 50%{ opacity: 1; } }
.signal-bars.small{ height: 56px; gap: 6px; }
.signal-bars.small span{ width: 9px; }
.signal-bars.tiny{ height: 20px; gap: 3px; display: inline-flex; margin-right: 10px; vertical-align: middle; }
.signal-bars.tiny span{ width: 4px; background: var(--green); }

.hero-content{ position: relative; z-index: 2; max-width: 780px; padding: 0 24px; }
.eyebrow{
  font-family: var(--font-mono); color: var(--sky); letter-spacing: .12em;
  text-transform: uppercase; font-size: 13px; margin-bottom: 18px;
}
.hero h1{
  color: var(--white); font-size: clamp(46px, 9vw, 92px); line-height: 0.98;
  letter-spacing: -0.02em; font-weight: 700;
}
.hero-slogan{
  color: rgba(255,255,255,.82); font-size: clamp(16px, 2.2vw, 20px);
  margin: 22px auto 34px; max-width: 480px;
}
.hero-actions{ display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.fade-up{
  opacity: 0; transform: translateY(22px);
  animation: fadeUp .8s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes fadeUp{ to{ opacity: 1; transform: translateY(0); } }

.scroll-cue{
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.45); border-radius: 20px;
  z-index: 2;
}
.scroll-cue span{
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; background: var(--sky); border-radius: 2px;
  animation: scrollCue 1.6s ease-in-out infinite;
}
@keyframes scrollCue{ 0%{ opacity: 1; top: 8px; } 100%{ opacity: 0; top: 22px; } }

/* ============ ABOUT ============ */
.about{ background: var(--white); }
.about-grid{
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center;
}
.about-lead{ font-size: 18px; color: var(--ink); margin: 18px 0 16px; }
.about-text > p + p{ margin-top: 14px; }
.about-stats{ display: flex; gap: 36px; margin-top: 40px; flex-wrap: wrap; }
.stat{ display: flex; flex-direction: column; gap: 4px; }
.stat-num{ font-family: var(--font-display); font-size: 32px; font-weight: 700; color: var(--navy-900); }
.stat-label{ font-size: 13px; color: var(--ink-soft); }

.about-visual{ display: flex; justify-content: center; }
.about-card{
  background: linear-gradient(160deg, var(--navy-900), var(--navy-800));
  border-radius: var(--radius-lg);
  padding: 44px 32px;
  width: 100%; max-width: 340px;
  display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center;
  box-shadow: 0 24px 48px -20px rgba(10,31,61,.5);
}
.about-card p{ color: rgba(255,255,255,.85); font-size: 15px; }

/* ============ SERVICES ============ */
.services{ background: var(--sky-soft); }
.service-grid{
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px; margin-top: 48px;
}
.service-card{
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 26px 22px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.service-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 20px 34px -18px rgba(10,31,61,.35);
  border-color: var(--sky);
}
.service-icon{
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--sky-soft); color: var(--sky);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 16px;
  transition: background .3s, color .3s;
}
.service-card:hover .service-icon{ background: var(--sky); color: var(--white); }
.service-card h3{ font-size: 16.5px; margin-bottom: 6px; }
.service-card p{ font-size: 13.5px; }

/* ============ PRICING (receipt) ============ */
.pricing{ background: var(--white); }
.receipt{
  max-width: 460px; margin: 48px auto 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  font-family: var(--font-mono);
  box-shadow: 0 24px 50px -30px rgba(10,31,61,.35);
  position: relative;
}
.receipt::before, .receipt::after{
  content: ""; position: absolute; left: 0; right: 0; height: 10px;
  background:
    linear-gradient(45deg, var(--paper) 25%, transparent 25%) 0 0/12px 12px,
    linear-gradient(-45deg, var(--paper) 25%, transparent 25%) 0 0/12px 12px;
  background-color: var(--white);
}
.receipt::before{ top: -1px; }
.receipt::after{ bottom: -1px; transform: scaleY(-1); }
.receipt-head{ display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.receipt-head p{ color: var(--navy-900); font-weight: 600; letter-spacing: .04em; font-size: 13px; }
.receipt-list li{
  display: flex; align-items: baseline; gap: 6px;
  font-size: 14px; color: var(--ink); padding: 9px 0;
  border-bottom: 1px dashed var(--line);
}
.receipt-list li .dots{ flex: 1; }
.receipt-list li .price{ color: var(--navy-900); font-weight: 600; }
.receipt-foot{ margin-top: 20px; text-align: center; }
.receipt-foot p{ font-size: 11.5px; color: var(--ink-soft); }

/* ============ GALLERY ============ */
.gallery{ background: var(--sky-soft); }
.gallery-grid{
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px; margin-top: 48px;
}
.gallery-item{
  aspect-ratio: 4/3; border-radius: var(--radius-md); overflow: hidden;
  position: relative; background: linear-gradient(135deg, var(--navy-800), var(--sky));
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.gallery-item span{
  color: rgba(255,255,255,.92); font-family: var(--font-mono); font-size: 12.5px;
  text-align: center; padding: 0 16px; letter-spacing: .02em;
}
.gallery-item::after{
  content: ""; position: absolute; inset: 0; background: rgba(10,31,61,0);
  transition: background .3s var(--ease);
}
.gallery-item:hover::after{ background: rgba(10,31,61,.15); }
.gallery-item:hover{ transform: scale(1.02); }
.gallery-item{ transition: transform .35s var(--ease); }

/* ============ OWNER ============ */
.owner{ background: var(--white); }
.owner-inner{
  display: flex; align-items: center; gap: 48px; flex-wrap: wrap; justify-content: center;
}
.owner-photo-placeholder{
  width: 176px; height: 176px; border-radius: 50%;
  background: linear-gradient(160deg, var(--navy-900), var(--sky));
  display: flex; align-items: center; justify-content: center; text-align: center;
  border: 4px solid var(--sky-soft);
}
.owner-photo-placeholder span{
  color: rgba(255,255,255,.9); font-family: var(--font-mono); font-size: 12px; line-height: 1.5;
}
.owner-poster{
  width: 260px; border-radius: var(--radius-lg);
  box-shadow: 0 24px 48px -20px rgba(10,31,61,.5);
  border: 4px solid var(--sky-soft);
}
.owner-text{ max-width: 460px; }
.owner-text h2{ margin-top: 4px; }
.owner-role{ color: var(--sky); font-weight: 600; margin: 6px 0 14px; }

/* ============ CONTACT ============ */
.contact{ background: var(--sky-soft); }
.contact-grid{
  display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; margin-top: 48px; align-items: start;
}
.contact-cards{ display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.contact-card{
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 22px 18px; display: flex; flex-direction: column; gap: 6px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
a.contact-card:hover{ transform: translateY(-4px); box-shadow: 0 16px 30px -18px rgba(10,31,61,.35); }
.contact-icon{ font-size: 20px; color: var(--sky); }
.contact-card-title{ font-size: 12.5px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .04em; }
.contact-card-detail{ font-weight: 600; color: var(--navy-900); font-size: 14.5px; }

.contact-form{
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; display: grid; gap: 18px;
}
.form-row{ display: flex; flex-direction: column; gap: 6px; }
.form-row label{ font-size: 13px; font-weight: 600; color: var(--navy-900); }
.form-row input, .form-row textarea{
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; font-family: var(--font-body); font-size: 14.5px; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
  resize: vertical;
}
.form-row input:focus, .form-row textarea:focus{
  border-color: var(--sky); box-shadow: 0 0 0 4px rgba(47,168,224,.15); outline: none;
}
.form-row.invalid input, .form-row.invalid textarea{ border-color: #E0473C; }
.field-error{ font-size: 12px; color: #E0473C; min-height: 14px; }
.form-status{ font-size: 13.5px; text-align: center; min-height: 18px; }
.form-status.success{ color: var(--green); font-weight: 600; }
.form-status.error{ color: #E0473C; font-weight: 600; }

/* ============ FOOTER ============ */
.footer{ background: var(--navy-900); color: rgba(255,255,255,.75); padding-top: 64px; }
.footer-grid{
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand-name{ color: var(--white); margin-bottom: 12px; }
.footer-brand p{ color: rgba(255,255,255,.65); font-size: 14px; }
.social-icons{ display: flex; gap: 10px; margin-top: 20px; }
.social-icon{
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center; font-size: 12px; text-transform: uppercase;
  transition: background .25s, border-color .25s, transform .25s;
}
.social-icon:hover{ background: var(--sky); border-color: var(--sky); color: var(--navy-900); transform: translateY(-3px); }
.footer-col h3{ color: var(--white); font-size: 14px; margin-bottom: 16px; letter-spacing: .03em; }
.footer-col{ display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-col a:hover{ color: var(--sky); }
.footer-bottom{ text-align: center; padding: 22px 0; font-size: 13px; color: rgba(255,255,255,.5); }

/* ============ FLOATING ELEMENTS ============ */
.whatsapp-float{
  position: fixed; right: 22px; bottom: 22px; z-index: 400;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--green); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; box-shadow: 0 14px 30px -10px rgba(34,197,94,.6);
  animation: floatPulse 2.6s ease-in-out infinite;
}
@keyframes floatPulse{ 0%,100%{ box-shadow: 0 14px 30px -10px rgba(34,197,94,.6); } 50%{ box-shadow: 0 14px 30px -6px rgba(34,197,94,.9); } }

.back-to-top{
  position: fixed; right: 22px; bottom: 90px; z-index: 400;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy-900); color: var(--white); border: none; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.back-to-top.visible{ opacity: 1; visibility: visible; transform: translateY(0); }

/* ============ SCROLL REVEAL ============ */
.reveal{ opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in-view{ opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (min-width: 900px){
  .hero-signal{ display: block; }
}

@media (max-width: 900px){
  .about-grid{ grid-template-columns: 1fr; }
  .about-visual{ order: -1; }
  .contact-grid{ grid-template-columns: 1fr; }
  .contact-cards{ grid-template-columns: 1fr 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px){
  .nav-links{
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: rgba(10,31,61,.98); backdrop-filter: blur(10px);
    flex-direction: column; align-items: flex-start; gap: 4px;
    padding: 12px 24px 28px;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .3s var(--ease), opacity .3s var(--ease), visibility .3s;
  }
  .nav-links.open{ transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-link{ width: 100%; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-cta{ display: none; }
  .hamburger{ display: flex; }

  .section{ padding: 72px 0; }
  .contact-cards{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; gap: 32px; }
  .owner-inner{ text-align: center; flex-direction: column; }
}

@media (max-width: 480px){
  .hero-actions{ flex-direction: column; width: 100%; }
  .btn{ width: 100%; }
  .receipt{ padding: 26px 18px; }
}
