/* ============================================================
   SMARTNIC — MASTER STYLESHEET
   Sections:
   01. CSS Variables & Reset
   02. Global Utilities
   03. Buttons
   04. Animations & Keyframes
   05. Navigation
   06. Hero
   07. Trust Bar
   08. Installation Section
      08a. Tabs
      08b. Model Gallery (article cards)
   09. No Maintenance & Easy Payments
   10. Complete Customer Support
   11. Mid CTA
   12. Gallery
   13. Contact / Qualify
   14. Footer
   15. Responsive — 900px
   16. Responsive — 560px
   ============================================================ */


/* ============================================================
   01. CSS VARIABLES & RESET
   ============================================================ */
:root {
  --bg:       #03030a;
  --bg2:      #07071a;
  --bg3:      #0c0c24;
  --cyan:     #00e5ff;
  --magenta:  #d400ff;
  --green:    #00ff88;
  --white:    #f2f2ff;
  --muted:    #7878a0;
  --border:   rgba(0, 229, 255, .15);
  --r:        6px;
  --t:        .28s ease;
  --ff:       'Barlow Condensed', sans-serif;
  --fb:       'Barlow', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--fb);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}


/* ============================================================
   02. GLOBAL UTILITIES
   ============================================================ */
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

.sec { padding: 96px 0; }

.label {
  font-family: var(--ff);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--cyan);
  display: block;
  margin-bottom: 14px;
}

h2.big {
  font-family: var(--ff);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

h2.big em {
  font-style: normal;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sub {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 540px;
}

.rule {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  margin: 18px 0;
}

.rule.c { margin: 18px auto; }

/* Fade-up scroll reveal */
.fu {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .65s ease, transform .65s ease;
}

.fu.on {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   03. BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--ff);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: 16px 34px;
  border-radius: var(--r);
  cursor: pointer;
  border: none;
  transition: var(--t);
  white-space: nowrap;
}

.btn-c {
  background: linear-gradient(135deg, var(--cyan), #0090ff);
  color: #000;
  box-shadow: 0 0 26px rgba(0, 229, 255, .45);
}

.btn-c:hover {
  box-shadow: 0 0 50px rgba(0, 229, 255, .85);
  transform: translateY(-2px);
}

.btn-o {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, .22);
}

.btn-o:hover {
  border-color: var(--magenta);
  color: var(--magenta);
  box-shadow: 0 0 20px rgba(212, 0, 255, .25);
  transform: translateY(-2px);
}


/* ============================================================
   04. ANIMATIONS & KEYFRAMES
   ============================================================ */
@keyframes gMove {
  0%   { transform: translateY(0); }
  100% { transform: translateY(56px); }
}

@keyframes dot {
  0%, 100% { opacity: 1;  transform: scale(1); }
  50%       { opacity: .4; transform: scale(1.6); }
}

@keyframes pf {
  0%, 100% { opacity: .3; transform: translate(0, 0); }
  33%       { opacity: .8; transform: translate(8px, -18px); }
  66%       { opacity: .2; transform: translate(-6px, 10px); }
}


/* ============================================================
   05. NAVIGATION
   ============================================================ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 900;
  padding: 16px 0;
  transition: background .4s, backdrop-filter .4s;
}

nav.s {
  background: rgba(3, 3, 10, .9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-family: var(--ff);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.logo span { color: var(--cyan); }

.nav-r {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-links { display: flex; gap: 28px; }

.nav-links a {
  font-family: var(--ff);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--t);
}

.nav-links a:hover { color: var(--cyan); }

.nav-ph {
  font-family: var(--ff);
  font-size: .82rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: .05em;
}


/* ============================================================
   06. HERO
   ============================================================ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 140px 0 90px;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0, 229, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, .03) 1px, transparent 1px);
  background-size: 56px 56px;
  animation: gMove 18s linear infinite;
}

.glow-tr {
  position: absolute;
  top: -180px;
  right: -80px;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(212, 0, 255, .14) 0%, transparent 65%);
  pointer-events: none;
}

.glow-bl {
  position: absolute;
  bottom: -180px;
  left: -80px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(0, 229, 255, .11) 0%, transparent 65%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 229, 255, .08);
  border: 1px solid rgba(0, 229, 255, .3);
  border-radius: 100px;
  padding: 7px 20px;
  font-family: var(--ff);
  font-size: .68rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 26px;
}

.pill::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: dot 2s ease-in-out infinite;
}

h1 {
  font-family: var(--ff);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 900;
  line-height: .95;
  text-transform: uppercase;
  margin-bottom: 28px;
}

h1 .acc {
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 420px;
  margin-bottom: 20px;
}

.hero-checks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
}

.hcheck {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--white);
}

.hcheck::before { content: '✅'; font-size: 1rem; }

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero image */
.hero-img-wrap { position: relative; }

.img-frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow:
    0 0 50px rgba(0, 229, 255, .12),
    0 0 100px rgba(212, 0, 255, .08);
}

.img-frame img { height: 680px; object-fit: cover; object-position: center top;}

.float-card {
  position: absolute;
  bottom: 22px;
  left: 22px;
  background: rgba(3, 3, 10, .88);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.float-card .n {
  font-family: var(--ff);
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
  text-shadow: 0 0 20px rgba(0, 255, 136, .5);
}

.float-card .l {
  font-size: .72rem;
  color: var(--muted);
  line-height: 1.5;
}


/* ============================================================
   07. TRUST BAR
   ============================================================ */
#trust {
  padding: 22px 0;
  background: rgba(0, 229, 255, .02);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.ti {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff);
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--muted);
}


/* ============================================================
   08. INSTALLATION SECTION
   ============================================================ */
#installation {
  background: var(--bg2);
  position: relative;
  overflow: hidden;
}

#installation::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

.install-inner { text-align: center; }

.install-inner .sub { margin: 10px auto 52px; }


/* -------- 08a. Tabs -------- */
.install-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 52px;
  flex-wrap: wrap;
}

.itab {
  padding: 12px 28px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 100px;
  font-family: var(--ff);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: default;
  transition: var(--t);
}

.itab:hover,
.itab.active {
  background: rgba(0, 229, 255, .07);
  border-color: rgba(0, 229, 255, .4);
  color: var(--cyan);
}


/* -------- 08b. Model Gallery (article cards) -------- */
.model-gallery {
  display: flex;
  gap: 14px;
  text-align: left;
}

.mcard {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .02);
  transition: var(--t);
}

.mcard:hover {
  border-color: rgba(0, 229, 255, .35);
  transform: translateY(-4px);
  box-shadow: 0 0 32px rgba(0, 229, 255, .1);
}

.mcard-img {
  position: relative;
  overflow: hidden;
  background: #000;
}

.mcard-img img {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  display: block;
  transition: transform .6s ease;
}

.mcard:hover .mcard-img img { transform: scale(1.06); }

.mcard-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(3, 3, 10, .82);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  font-family: var(--ff);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cyan);
}

.mcard-body { padding: 20px 22px; }

.mcard-body h3 {
  font-family: var(--ff);
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 8px;
}

.mcard-body p {
  font-size: .83rem;
  color: var(--muted);
  line-height: 1.65;
}
.install-inner .model-gallery {
  text-align: left;
}


/* ============================================================
   09. NO MAINTENANCE & EASY PAYMENTS
   ============================================================ */
#nomaint {
  position: relative;
  overflow: hidden;
}

.feat2-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.f2card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 26px 22px;
  background: var(--bg2);
  border: 1px solid rgba(255, 255, 255, .05);
  border-radius: 10px;
  transition: var(--t);
}

.f2card:hover {
  border-color: rgba(0, 229, 255, .2);
  background: rgba(0, 229, 255, .03);
}

.f2card .ico {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.f2card h3 {
  font-family: var(--ff);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .05em;
  margin-bottom: 6px;
}

.f2card p {
  font-size: .83rem;
  color: var(--muted);
  line-height: 1.65;
}


/* ============================================================
   10. COMPLETE CUSTOMER SUPPORT
   ============================================================ */
#support {
  background: var(--bg2);
  position: relative;
  overflow: hidden;
}

#support::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--magenta), transparent);
}


/* ============================================================
   11. MID CTA
   ============================================================ */
#midcta {
  background: var(--bg3);
  position: relative;
  overflow: hidden;
  text-align: center;
}

#midcta::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle,
    rgba(0, 229, 255, .08) 0%,
    rgba(212, 0, 255, .04) 40%,
    transparent 70%
  );
  pointer-events: none;
}

.midcta-in { position: relative; z-index: 1; }

.midcta-in h2 { margin-bottom: 14px; }

.midcta-in p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.8;
}


/* ============================================================
   12. PHOTO GALLERY
   ============================================================ */
#gallery {
  position: relative;
  overflow: hidden;
}

.gallery-grid {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.gallery-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

img.gf {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--border);
  box-shadow: 0 0 20px rgba(0, 229, 255, .06);
  display: block;
  transition: transform .5s ease, box-shadow .3s ease;
}

img.gf:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 0 32px rgba(0, 229, 255, .18);
}
/* ============================================================
   13. CONTACT / QUALIFY
   ============================================================ */
#qualify {
  background: var(--bg2);
  position: relative;
  overflow: hidden;
  text-align: center;
}

#qualify::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--magenta), transparent);
}

.qualify-in {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.urg {
  display: inline-block;
  background: rgba(212, 0, 255, .1);
  border: 1px solid rgba(212, 0, 255, .32);
  border-radius: 100px;
  padding: 8px 24px;
  font-family: var(--ff);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 28px;
}

.qualify-in h2 { margin-bottom: 14px; }

.qualify-in .sub { margin: 0 auto 40px; }

.ct-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  margin-top: 36px;
}

.ct {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--ff);
  font-size: .85rem;
  font-weight: 600;
  color: var(--muted);
  transition: color var(--t);
}

.ct:hover { color: var(--cyan); }


/* ============================================================
   14. FOOTER
   ============================================================ */
footer {
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, .05);
}

.foot-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.fl {
  font-family: var(--ff);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.fl span { color: var(--cyan); }

.fc {
  font-size: .74rem;
  color: var(--muted);
  text-align: center;
}

.fls { display: flex; gap: 22px; }

.fls a {
  font-size: .78rem;
  color: var(--muted);
  transition: color var(--t);
}

.fls a:hover { color: var(--cyan); }


/* ============================================================
   15. RESPONSIVE — max-width: 900px
   ============================================================ */
@media (max-width: 900px) {
  .hero-grid       { grid-template-columns: 1fr; gap: 40px; }
  .hero-img-wrap   { order: -1; }
  .img-frame img   { height: 320px; }
  .nav-links,
  .nav-ph          { display: none; }
  .gallery-grid,
  .feat2-grid      { grid-template-columns: 1fr 1fr; }
  .model-gallery   { flex-direction:column; }
   .hero-btns       { flex-direction: column; align-items: stretch;}
  .hero-btns .btn {display: flex; justify-content: center; align-items: center; justify-content: center;}
}


/* ============================================================
   16. RESPONSIVE — max-width: 560px
   ============================================================ */
@media (max-width: 560px) {
  .sec             { padding: 68px 0; }
  .feat2-grid,
  .gallery-grid    { grid-template-columns: 1fr; }
  .model-gallery   { grid-template-columns: 1fr; }
  .mcard--large    { grid-row: span 1; }
  .mcard--large .mcard-img { min-height: 240px; }
  .hero-btns       { flex-direction: column; align-items: stretch;}
  .hero-btns .btn {display: flex; justify-content: center; align-items: center; justify-content: center;}
  .foot-in         { flex-direction: column; text-align: center; }
  .gf.tall         { grid-row: span 1; }
  .gf.tall img     { height: 240px; }
}