/* ================================================================
   REVAZONIX — Premium Landing Page
   Pure HTML + CSS + JS (no frameworks)
   ================================================================ */

/* -----------------------------
   1. Design Tokens
------------------------------*/
:root {
  --c-primary: #06B6D4;      /* Cyan */
  --c-electric: #4F46E5;     /* Electric Purple */
  --c-violet: #8B5CF6;       /* Violet */
  --c-bg: #0B0F1A;           /* Dark bg */
  --c-bg-2: #0F1524;
  --c-bg-3: #131A2C;
  --c-white: #F8FAFC;
  --c-muted: #94A3B8;
  --c-border: rgba(255,255,255,.08);
  --c-glass: rgba(255,255,255,.04);

  --grad-primary: linear-gradient(135deg, var(--c-primary) 0%, var(--c-electric) 55%, var(--c-violet) 100%);
  --grad-soft: linear-gradient(135deg, rgba(6,182,212,.18), rgba(139,92,246,.18));

  --shadow-glow: 0 20px 60px -20px rgba(79,70,229,.55);
  --shadow-card: 0 25px 50px -25px rgba(0,0,0,.7);

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;

  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;

  --container: 1240px;
  --header-h: 78px;
}

/* -----------------------------
   2. Base / Reset
------------------------------*/
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--c-white);
  background: var(--c-bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s ease; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1,h2,h3,h4,h5 { font-family: var(--font-display); font-weight: 700; margin: 0; line-height: 1.15; letter-spacing: -.02em; }
p { margin: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* -----------------------------
   3. Background Orbs / Ambient
------------------------------*/
.bg-orbs {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.orb {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5;
  animation: float 18s ease-in-out infinite;
}
.orb-1 { width: 520px; height: 520px; background: var(--c-primary);  top: -160px; left: -160px; }
.orb-2 { width: 480px; height: 480px; background: var(--c-violet);   top: 40%; right: -180px; animation-delay: -6s; }
.orb-3 { width: 440px; height: 440px; background: var(--c-electric); bottom: -180px; left: 30%; animation-delay: -12s; }

@keyframes float {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(40px,-30px) scale(1.05); }
  66%     { transform: translate(-30px,40px) scale(.95); }
}

/* -----------------------------
   4. Buttons
------------------------------*/
.btn {
  --pad-y: 14px; --pad-x: 28px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  font-weight: 600; font-size: 15px;
  transition: transform .25s ease, box-shadow .3s ease, background .3s ease;
  position: relative; isolation: isolate;
  white-space: nowrap;
}
.btn--sm { --pad-y: 10px; --pad-x: 20px; font-size: 14px; }
.btn--block { display: flex; width: 100%; }

.btn--primary {
  background: var(--grad-primary);
  color: var(--c-white);
  box-shadow: 0 10px 30px -8px rgba(6,182,212,.55), 0 10px 30px -12px rgba(139,92,246,.55);
}
.btn--primary::after {
  content: ""; position: absolute; inset: -2px; border-radius: inherit;
  background: var(--grad-primary); filter: blur(18px); opacity: .55; z-index: -1; transition: opacity .3s;
}
.btn--primary:hover { transform: translateY(-3px); }
.btn--primary:hover::after { opacity: .9; }

.btn--ghost {
  background: rgba(255,255,255,.06);
  color: var(--c-white);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover { background: rgba(255,255,255,.12); transform: translateY(-3px); }

/* -----------------------------
   5. Header / Nav
------------------------------*/
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s ease, backdrop-filter .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(11,15,26,.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--c-border);
}
.header__inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
}

.brand{
    display:flex;
    align-items:center;
    gap:0;
    white-space:nowrap;
}


.brand__logo { height: 46px; width: auto; }


.brand__text{
    margin-left: 5px;   /* Adjust to -8px or -10px if needed */
    padding: 0;
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 1px;
    background: linear-gradient(90deg,#ffffff,#8B5CF6,#06B6D4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
@media (max-width:768px){
    .brand__logo{
        height:40px;
    }

    .brand__text{
        font-size:22px;
        letter-spacing:1px;
    }
}


.whatsapp-icon{
    color:#25D366;   /* Official WhatsApp Green */
    font-size:24px;
}
.whatsapp-green{
    color:#25D366;
    font-size:20px;
    margin-right:8px;
}

.btn i{
    margin-right:8px;
}

.btn .fa-phone-alt{
    color:#ffffff;
}


.nav { display: flex; align-items: center; gap: 40px; }
.nav__list { display: flex; gap: 34px; }
.nav__link {
  font-size: 15px; font-weight: 500; color: var(--c-white); opacity: .85;
  position: relative; padding: 6px 0;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
  background: var(--grad-primary); transform: scaleX(0); transform-origin: right;
  transition: transform .35s ease;
}
.nav__link:hover, .nav__link.is-active { opacity: 1; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(255,255,255,.06); border: 1px solid var(--c-border);
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--c-white); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* -----------------------------
   6. Hero Slider
------------------------------*/
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  z-index: 1;
}
.hero__slider { position: absolute; inset: 0; }
.slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  display: flex; align-items: center;
  opacity: 0; transform: scale(1.06);
  transition: opacity 1.2s ease, transform 6s ease;
  pointer-events: none;
}
.slide.is-active { opacity: 1; transform: scale(1); pointer-events: auto; }
.slide__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(120deg, rgba(11,15,26,.92) 0%, rgba(11,15,26,.55) 50%, rgba(11,15,26,.75) 100%),
    radial-gradient(60% 60% at 20% 30%, rgba(79,70,229,.35), transparent 60%),
    radial-gradient(50% 50% at 80% 70%, rgba(6,182,212,.30), transparent 60%);
}
.slide__content {
  position: relative; z-index: 2; max-width: 820px;
  padding-top: var(--header-h);
}
.eyebrow {
  display: inline-block;
  font-size: 12px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--c-white); opacity: .8;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid var(--c-border);
  backdrop-filter: blur(8px);
  margin-bottom: 24px;
}
.slide__title {
  font-size: clamp(2.2rem, 5.4vw, 4.6rem);
  font-weight: 800;
  margin-bottom: 22px;
  animation: fadeUp .9s .1s both;
}
.slide__desc {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: rgba(248,250,252,.82);
  max-width: 640px; margin-bottom: 34px;
  animation: fadeUp .9s .25s both;
}
.slide__cta { display: flex; gap: 14px; flex-wrap: wrap; animation: fadeUp .9s .4s both; }
.grad-text {
  background: var(--grad-primary);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero__dots {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 5;
}
.hero__dots button {
  width: 34px; height: 4px; border-radius: 4px;
  background: rgba(255,255,255,.25); transition: background .3s, width .3s;
}
.hero__dots button.is-active { background: var(--grad-primary); width: 52px; }

.hero__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.06); border: 1px solid var(--c-border);
  color: #fff; font-size: 28px; line-height: 1;
  backdrop-filter: blur(10px);
  z-index: 5; transition: background .25s, transform .25s;
}
.hero__arrow:hover { background: rgba(255,255,255,.15); transform: translateY(-50%) scale(1.08); }
.hero__arrow--prev { left: 24px; }
.hero__arrow--next { right: 24px; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.35);
  border-radius: 20px; z-index: 5;
}
.hero__scroll span {
  display: block; width: 4px; height: 8px; margin: 6px auto 0;
  background: var(--c-primary); border-radius: 2px;
  animation: scrollDot 1.6s infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* -----------------------------
   7. Sections
------------------------------*/
.section {
  position: relative;
  padding: clamp(72px, 10vw, 130px) 0;
  z-index: 2;
}
.section--dark { background: linear-gradient(180deg, transparent, rgba(0,0,0,.35)); }

.section__head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.section__title {
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  font-weight: 800;
  margin: 14px 0 16px;
}
.section__desc {
  color: var(--c-muted); font-size: 1.05rem;
}

.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }

/* -----------------------------
   8. About
------------------------------*/
.about {
  display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center;
}
.about__media { position: relative; }
.about__media img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-card);
}
.about__glow {
  position: absolute; inset: -30px; border-radius: var(--radius-lg);
  background: var(--grad-primary); filter: blur(70px); opacity: .35; z-index: -1;
}
.counters {
  margin-top: 40px;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 20px;
}
.counter {
  padding: 22px 14px; border-radius: var(--radius);
  background: var(--c-glass); border: 1px solid var(--c-border);
  backdrop-filter: blur(14px); text-align: center;
  transition: transform .3s, border-color .3s;
}
.counter:hover { transform: translateY(-6px); border-color: rgba(139,92,246,.4); }
.counter__num {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.2rem); font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.counter__label { color: var(--c-muted); font-size: .9rem; margin-top: 4px; }

/* -----------------------------
   9. Product Cards
------------------------------*/
.card {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid var(--c-border);
  overflow: hidden;
  backdrop-filter: blur(14px);
  transition: transform .4s ease, border-color .3s, box-shadow .3s;
}
.card::before {
  content: ""; position: absolute; inset: 0; padding: 1px; border-radius: inherit;
  background: var(--grad-primary);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s;
  pointer-events: none;
}
.card:hover { transform: translateY(-10px); box-shadow: var(--shadow-glow); }
.card:hover::before { opacity: 1; }

.card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s ease;
}
.card:hover .card__media img { transform: scale(1.08); }
.card__body { padding: 26px 26px 30px; }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--grad-soft); border: 1px solid var(--c-border);
  display: grid; place-items: center; font-size: 24px;
  margin: -50px 0 18px; position: relative;
  backdrop-filter: blur(10px);
}
.card__title { font-size: 1.25rem; margin-bottom: 10px; }
.card__desc { color: var(--c-muted); font-size: .96rem; margin-bottom: 18px; }
.card__link {
  font-weight: 600; font-size: .95rem;
  background: var(--grad-primary);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.card__link:hover { letter-spacing: .5px; }

/* -----------------------------
   10. Services
------------------------------*/
.service {
  padding: 34px 30px;
  border-radius: var(--radius-lg);
  background: var(--c-glass);
  border: 1px solid var(--c-border);
  backdrop-filter: blur(14px);
  transition: transform .35s, border-color .3s, background .3s;
}
.service:hover {
  transform: translateY(-8px);
  border-color: rgba(6,182,212,.4);
  background: linear-gradient(160deg, rgba(6,182,212,.08), rgba(139,92,246,.08));
}
.service__icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center; font-size: 26px;
  background: var(--grad-primary);
  box-shadow: 0 10px 30px -10px rgba(79,70,229,.6);
  margin-bottom: 18px;
}
.service h3 { font-size: 1.2rem; margin-bottom: 14px; }
.service ul li {
  padding: 8px 0; color: var(--c-muted); font-size: .95rem;
  border-bottom: 1px dashed rgba(255,255,255,.08);
}
.service ul li:last-child { border-bottom: 0; }

/* -----------------------------
   11. Why
------------------------------*/
.why__card {
  text-align: center;
  padding: 30px 20px;
  border-radius: var(--radius);
  background: var(--c-glass);
  border: 1px solid var(--c-border);
  backdrop-filter: blur(12px);
  transition: transform .3s, border-color .3s;
}
.why__card:hover { transform: translateY(-6px) scale(1.02); border-color: rgba(139,92,246,.4); }
.why__icon {
  width: 60px; height: 60px; margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--grad-soft); border: 1px solid var(--c-border);
  display: grid; place-items: center; font-size: 26px;
}
.why__card h4 { font-size: 1rem; }

/* -----------------------------
   12. CTA Band
------------------------------*/
.cta-band {
  position: relative; padding: 100px 0;
  background: var(--grad-primary);
  overflow: hidden;
  isolation: isolate;
}
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5;
}
.cta-band::before { width: 400px; height: 400px; background: #fff; left: -100px; top: -100px; opacity: .15; }
.cta-band::after  { width: 500px; height: 500px; background: #0B0F1A; right: -150px; bottom: -180px; opacity: .35; }

.cta-band__inner { text-align: center; position: relative; z-index: 2; max-width: 820px; margin: 0 auto; }
.cta-band__title { font-size: clamp(2rem, 4vw, 3rem); color: #fff; margin-bottom: 18px; }
.cta-band__desc { color: rgba(255,255,255,.9); font-size: 1.15rem; margin-bottom: 34px; }
.cta-band__buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn--primary {
  background: #0B0F1A; box-shadow: 0 10px 30px -10px rgba(0,0,0,.6);
}
.cta-band .btn--primary::after { display: none; }
.cta-band .btn--ghost { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.35); }

/* -----------------------------
   13. Contact
------------------------------*/
.contact {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start;
}
.contact__list { margin-top: 30px; display: grid; gap: 18px; }
.contact__list li {
  display: flex; gap: 16px; align-items: center;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--c-glass); border: 1px solid var(--c-border);
  backdrop-filter: blur(10px);
  transition: transform .25s, border-color .3s;
}
.contact__list li:hover { transform: translateX(6px); border-color: rgba(6,182,212,.4); }
.contact__icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--grad-soft); border: 1px solid var(--c-border);
  display: grid; place-items: center; font-size: 20px;
}
.contact__list small { display: block; color: var(--c-muted); font-size: .8rem; margin-bottom: 2px; }
.contact__list a { font-weight: 600; }

.contact__form {
  padding: 36px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid var(--c-border);
  backdrop-filter: blur(18px);
  display: grid; gap: 18px;
}
.field { display: grid; gap: 8px; }
.field label { font-size: .85rem; color: var(--c-muted); font-weight: 500; }
.field input, .field textarea {
  width: 100%;
  padding: 14px 16px; border-radius: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--c-border);
  color: var(--c-white); font: inherit;
  transition: border-color .25s, background .25s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--c-primary);
  background: rgba(6,182,212,.06);
}
.field textarea { resize: vertical; min-height: 120px; }
.form__status { font-size: .9rem; color: var(--c-primary); min-height: 20px; text-align: center; }

/* -----------------------------
   14. Footer
------------------------------*/
.footer {
  background: #06090F;
  border-top: 1px solid var(--c-border);
  padding-top: 70px; margin-top: 40px;
  position: relative; z-index: 2;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px; padding-bottom: 50px;
}
.footer__brand img { height: 38px; margin-bottom: 18px; }
.footer__brand p { color: var(--c-muted); font-size: .95rem; max-width: 320px; }
.footer h5 { font-size: .95rem; margin-bottom: 18px; letter-spacing: .05em; text-transform: uppercase; color: #fff; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a { color: var(--c-muted); font-size: .95rem; }
.footer ul li a:hover { color: var(--c-primary); }

.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.05); border: 1px solid var(--c-border);
  display: grid; place-items: center; font-weight: 700;
  transition: background .25s, transform .25s, border-color .25s;
}
.socials a:hover {
  background: var(--grad-primary); border-color: transparent;
  transform: translateY(-3px);
}

.footer__bottom {
  border-top: 1px solid var(--c-border);
  padding: 22px 0;
}
.footer__bottom .container {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: var(--c-muted); font-size: .88rem;
}

/* -----------------------------
   15. Reveal Animation
------------------------------*/
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* -----------------------------
   16. Responsive
------------------------------*/
@media (max-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(3, 1fr); }
  .about { grid-template-columns: 1fr; gap: 50px; }
  .contact { grid-template-columns: 1fr; gap: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; top: var(--header-h); right: 0; left: 0;
    background: rgba(11,15,26,.95); backdrop-filter: blur(20px);
    flex-direction: column; align-items: stretch;
    padding: 28px 24px; gap: 20px;
    border-bottom: 1px solid var(--c-border);
    transform: translateY(-120%); transition: transform .4s ease;
  }
  .nav.is-open { transform: translateY(0); }
  .nav__list { flex-direction: column; gap: 6px; }
  .nav__link { padding: 12px 0; font-size: 17px; }
  .nav__cta { align-self: flex-start; }

  .hero { min-height: 100vh; }
  .hero__arrow { display: none; }
  .slide__cta { flex-direction: column; align-items: stretch; }
  .slide__cta .btn { justify-content: center; }

  .counters { grid-template-columns: repeat(2,1fr); }
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom .container { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .btn { padding: 12px 22px; font-size: 14px; }
  .contact__form { padding: 24px; }
}

/* -----------------------------
   17. Reduced Motion
------------------------------*/
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
