@charset "UTF-8";
/*
  Klik Innovations Sdn Bhd — Modern site theme
  Color system inspired by POCO's product site: matte black surfaces,
  crisp white type, and the signature POCO digital-lime accent.
*/

:root {
  --accent: #d7ff3e;
  --accent-light: #e9ff8c;
  --accent-dark: #a3cc1f;
  --on-accent: #0a0a0a;

  --bg: #0a0a0a;
  --bg-alt: #101010;
  --panel: #161616;
  --panel-2: #1c1c1c;
  --border: rgba(255, 255, 255, 0.1);

  --text: #f5f5f5;
  --muted: #9a9a9a;
  --white: #ffffff;

  --font-head: "Raleway", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: "Lora", Georgia, "Times New Roman", serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.55);

  --container: 1180px;
  --nav-h: 84px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

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

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--white);
  margin: 0 0 0.5em;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  margin-bottom: 18px;
}

.section-intro {
  max-width: 680px;
}

.section-intro.center { margin-left: auto; margin-right: auto; text-align: center; }

section { position: relative; }

.section-pad { padding: 110px 0; }

@media (max-width: 768px) {
  .section-pad { padding: 72px 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 0.95rem;
  padding: 15px 32px;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(215, 255, 62, 0.35); background: var(--accent-light); }

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}

.btn-dark {
  background: var(--panel-2);
  color: var(--text);
  border-color: var(--border);
}
.btn-dark:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* ---------- Nav ---------- */
#site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease, height 0.35s ease;
}

#site-nav.scrolled {
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid var(--border);
  height: 72px;
}

#site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--white);
  text-transform: uppercase;
}

.nav-brand img { height: 40px; width: auto; border-radius: 8px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.75);
  padding: 10px 16px;
  border-radius: 6px;
  transition: color 0.3s ease, background 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(215, 255, 62, 0.1);
  color: var(--accent);
}

.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: background 0.3s ease;
}

@media (max-width: 960px) {
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 24px;
    box-shadow: var(--shadow-md);
    transform: translateY(-140%);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; }
  .nav-links a { color: var(--text); padding: 14px 10px; }
  .nav-toggle { display: flex; }
  .nav-cta .btn-outline { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(160deg, rgba(0, 0, 0, 0.88), rgba(10, 10, 10, 0.82)), url("../assets/img/bg.jpg") center/cover no-repeat;
  color: var(--white);
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 20%, rgba(215, 255, 62, 0.16), transparent 55%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: 22px;
  text-transform: uppercase;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-quote {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--accent-light);
  margin-bottom: 14px;
}

.hero p.lead {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
  max-width: 540px;
  margin-bottom: 34px;
}

@media (max-width: 900px) {
  .hero p.lead { margin-left: auto; margin-right: auto; }
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 900px) { .hero-actions { justify-content: center; } }

.hero-visual {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; filter: grayscale(0.15) contrast(1.05); }

.hero-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  color: var(--text);
  font-family: var(--font-head);
}
.hero-badge strong { display: block; font-size: 1.1rem; color: var(--accent); }
.hero-badge span { font-size: 0.8rem; color: var(--muted); }

.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--font-head);
}
.scroll-cue .dot {
  width: 22px;
  height: 36px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  position: relative;
}
.scroll-cue .dot::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
  animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot {
  0% { opacity: 1; top: 6px; }
  70% { opacity: 0; top: 18px; }
  100% { opacity: 0; top: 6px; }
}

/* ---------- Mission strip ---------- */
.mission-strip {
  background: var(--panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--text);
  padding: 64px 0;
}
.mission-strip .container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.mission-strip .mission-text { flex: 1; min-width: 280px; }
.mission-strip h3 { color: var(--accent); margin-bottom: 10px; text-transform: uppercase; }
.mission-strip p { color: var(--muted); margin: 0; max-width: 640px; }
.mission-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.mission-stats .stat { text-align: center; }
.mission-stats .stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2.2rem;
  color: var(--accent);
}
.mission-stats .stat span { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }

/* ---------- About ---------- */
.about-section { background: var(--bg); }

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

.about-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.about-image img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.2) contrast(1.05); }

.about-image .ribbon {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 6px;
}

.about-copy p { color: var(--muted); }
.about-copy .reg { font-size: 0.85rem; color: var(--accent); font-family: var(--font-head); font-weight: 600; letter-spacing: 0.03em; margin-bottom: 18px; }

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 34px;
}
@media (max-width: 560px) { .about-cards { grid-template-columns: 1fr; } }

.about-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--accent);
}
.about-card h4 { font-size: 1.05rem; margin-bottom: 8px; }
.about-card p { margin: 0; font-size: 0.92rem; color: var(--muted); }

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 30px;
}
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }

.team-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.team-card img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); }
.team-card h5 { margin: 0 0 2px; font-size: 0.98rem; color: var(--white); }
.team-card span { font-size: 0.8rem; color: var(--accent); font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.04em; }

/* ---------- Products ---------- */
.products-section { background: var(--bg-alt); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}
@media (max-width: 960px) { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--accent); }

.product-card .thumb {
  aspect-ratio: 16/11;
  overflow: hidden;
  background: var(--bg);
}
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; filter: grayscale(0.15) contrast(1.05); }
.product-card:hover .thumb img { transform: scale(1.06); }

.product-card .body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.product-card .tag {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.product-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.product-card p { color: var(--muted); font-size: 0.93rem; margin: 0; flex: 1; }

.product-category {
  text-align: center;
  max-width: 640px;
  margin: 80px auto 0;
  padding-top: 56px;
  border-top: 1px solid var(--border);
}
.category-title { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 10px; text-transform: uppercase; }
.category-desc { color: var(--muted); margin: 0; }

.agent-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 700px) { .agent-grid { grid-template-columns: 1fr; } }

.agent-card {
  background: linear-gradient(160deg, var(--panel-2), var(--bg));
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
  overflow: hidden;
}
.agent-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% -10%, rgba(215, 255, 62, 0.18), transparent 55%);
  pointer-events: none;
}
.agent-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--accent); }

.agent-icon {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
  overflow: hidden;
}

.agent-icon-img {
  background: var(--white);
  padding: 0;
}
.agent-icon-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.agent-card .tag { color: var(--accent); }
.agent-card h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 12px; text-transform: uppercase; }
.agent-card p { color: var(--muted); font-size: 0.93rem; margin: 0; position: relative; z-index: 1; }

/* ---------- Contact ---------- */
.contact-section { background: var(--panel); border-top: 1px solid var(--border); }
.contact-section .section-title,
.contact-section h3 { color: var(--white); }
.contact-section .eyebrow { color: var(--accent); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}

.hours-list { list-style: none; margin: 0; padding: 0; }
.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-head);
  font-size: 0.92rem;
}
.hours-list li:last-child { border-bottom: none; }
.hours-list li span:first-child { color: var(--text); }
.hours-list li span:last-child { color: var(--accent); font-weight: 600; }

.contact-details p { margin: 0 0 18px; color: var(--muted); }
.contact-details strong { color: var(--white); display: block; margin-bottom: 4px; font-family: var(--font-head); }

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #25d366;
  color: #063d1e;
  font-family: var(--font-head);
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 6px;
  margin-top: 8px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.whatsapp-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35); }
.whatsapp-btn img { width: 22px; height: 22px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  color: var(--muted);
  padding: 32px 0;
  text-align: center;
  font-size: 0.85rem;
}
.site-footer strong { color: var(--accent); }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* back to top */
#back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 900;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
}
#back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
