/* ============================================================
   VELZIQ TECHNOLOGY SOLUTIONS & INNOVATIONS
   Main Stylesheet — shared across all pages
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

/* =================== TOKENS =================== */
:root {
  --gold: #C9A84C;
  --gold-light: #E2C97E;
  --gold-pale: #F5E9C8;
  --gold-dark: #9A7A2E;
  --white: #FFFFFF;
  --off-white: #FAFAF8;
  --cream: #F5F0E8;
  --dark: #0D0D0D;
  --dark-2: #1A1A1A;
  --gray: #888880;
  --gray-light: #E8E6E0;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
  cursor: none;
}

/* =================== CUSTOM CURSOR =================== */
.cursor {
  width: 12px; height: 12px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 10000;
  transition: transform 0.15s ease, width 0.2s, height 0.2s;
  transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transition: transform 0.35s ease, opacity 0.2s;
  transform: translate(-50%, -50%);
  opacity: 0.6;
}
.cursor.hovered { width: 20px; height: 20px; background: var(--gold-light); }
.cursor-ring.hovered { width: 50px; height: 50px; opacity: 0.3; }

/* =================== NOISE OVERLAY =================== */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9998; opacity: 0.4;
}

/* =================== NAV =================== */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s, background 0.4s;
}
nav.scrolled {
  border-bottom-color: var(--gray-light);
  background: rgba(255,255,255,0.96);
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-mark {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 600;
  color: #fff; position: relative; overflow: hidden;
}
.nav-logo-mark::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, transparent 60%);
}
.nav-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 500;
  color: var(--dark); letter-spacing: 0.02em;
}
.nav-logo-text span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  text-decoration: none; font-size: 13px; font-weight: 400;
  color: var(--gray); letter-spacing: 0.04em; text-transform: uppercase;
  position: relative; transition: color 0.3s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1px; background: var(--gold); transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--dark); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--dark); }
.nav-cta {
  background: var(--gold);
  color: #fff !important; padding: 9px 22px !important;
  border-radius: 4px; font-size: 12px !important;
  letter-spacing: 0.08em !important;
  transition: background 0.3s, transform 0.2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-dark) !important; transform: translateY(-1px); }

/* Mobile menu toggle */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; width: 22px; height: 1px;
  background: var(--dark); transition: all 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =================== SECTION BASE =================== */
section { padding: 100px 5%; }
.section-header { margin-bottom: 64px; }
.section-eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.section-eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.section-eyebrow-text { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 64px); font-weight: 300;
  line-height: 1.1; color: var(--dark); letter-spacing: -0.01em;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-desc { font-size: 15px; color: var(--gray); line-height: 1.8; font-weight: 300; max-width: 500px; margin-top: 16px; }

/* =================== BUTTONS =================== */
.btn-primary {
  background: var(--gold); color: #fff;
  padding: 14px 36px; border: none; border-radius: 4px;
  font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase; cursor: none;
  text-decoration: none; display: inline-block;
  position: relative; overflow: hidden;
  transition: transform 0.2s, box-shadow 0.3s;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.btn-primary::after {
  content: ''; position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}
.btn-primary:hover::after { left: 100%; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(201,168,76,0.35); }

.btn-secondary {
  display: flex; align-items: center; gap: 8px;
  color: var(--dark); font-size: 13px; font-weight: 400;
  letter-spacing: 0.06em; text-decoration: none; cursor: none;
  transition: gap 0.3s;
}
.btn-secondary:hover { gap: 14px; }
.btn-secondary-arrow {
  width: 32px; height: 32px; border: 1px solid var(--gray-light);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 14px; transition: border-color 0.3s, background 0.3s;
}
.btn-secondary:hover .btn-secondary-arrow { border-color: var(--gold); background: var(--gold); color: #fff; }

/* =================== FORMS =================== */
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray); }
.form-label .required { color: var(--gold); }
.form-input, .form-textarea, .form-select {
  background: transparent; border: none;
  border-bottom: 1px solid var(--gray-light);
  padding: 12px 0; font-family: 'DM Sans', sans-serif;
  font-size: 14px; color: var(--dark); outline: none;
  transition: border-color 0.3s; width: 100%;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--gray); font-weight: 300; }
.form-input:focus, .form-textarea:focus, .form-select:focus { border-bottom-color: var(--gold); }
.form-textarea { resize: none; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-success {
  display: none; font-size: 13px; color: var(--gold);
  margin-top: 8px; letter-spacing: 0.05em;
}

/* =================== FLOATING BUTTONS =================== */
.float-stack {
  position: fixed; right: 24px; bottom: 32px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  z-index: 900;
}
.float-btn {
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  cursor: pointer; transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none; border: none;
}
.float-btn:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 8px 28px rgba(0,0,0,0.2); }
.float-wa { background: #25D366; }
.float-wa svg { width: 26px; height: 26px; fill: #fff; }
.float-enquiry {
  background: var(--gold);
  font-size: 22px; color: #fff;
  font-family: 'Cormorant Garamond', serif;
}

/* =================== ENQUIRY MODAL =================== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(13,13,13,0.6);
  backdrop-filter: blur(6px);
  z-index: 2000; display: none;
  align-items: center; justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--white); max-width: 520px; width: 100%;
  border-radius: 4px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.2);
  animation: modalIn 0.35s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.modal-header {
  background: var(--dark); padding: 28px 32px 24px;
  display: flex; justify-content: space-between; align-items: flex-start;
}
.modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 300; color: var(--white); line-height: 1.2;
}
.modal-title em { color: var(--gold); font-style: italic; }
.modal-close {
  background: none; border: 1px solid #333; color: #666;
  width: 32px; height: 32px; border-radius: 50%;
  font-size: 18px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, color 0.2s; flex-shrink: 0;
}
.modal-close:hover { border-color: var(--gold); color: var(--gold); }
.modal-body { padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.modal-submit {
  margin-top: 8px; width: 100%; padding: 14px;
  background: var(--gold); color: #fff; border: none; border-radius: 4px;
  font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}
.modal-submit:hover { background: var(--gold-dark); transform: translateY(-1px); }

/* =================== FOOTER =================== */
footer { background: var(--dark); padding: 60px 5% 40px; }
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding-bottom: 48px; border-bottom: 1px solid #222; margin-bottom: 32px;
}
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 500; color: var(--white); margin-bottom: 12px; }
.footer-logo span { color: var(--gold); }
.footer-tagline { font-size: 13px; color: #555; font-weight: 300; max-width: 260px; line-height: 1.7; }
.footer-links { display: grid; grid-template-columns: repeat(3, 120px); gap: 48px 32px; }
.footer-col-title { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: #555; margin-bottom: 16px; }
.footer-col-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col-links a { font-size: 13px; color: #444; text-decoration: none; font-weight: 300; transition: color 0.3s; }
.footer-col-links a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 12px; color: #333; font-weight: 300; }
.footer-copy span { color: var(--gold); }
.footer-social { display: flex; gap: 16px; }
.footer-social-link {
  width: 32px; height: 32px; border: 1px solid #222; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #444; font-size: 12px; text-decoration: none;
  transition: border-color 0.3s, color 0.3s;
}
.footer-social-link:hover { border-color: var(--gold); color: var(--gold); }

/* =================== SCROLL ANIMATIONS =================== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* =================== DIVIDER =================== */
.gold-divider { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }

/* =================== PAGE HERO (inner pages) =================== */
.page-hero {
  min-height: 52vh; padding: 140px 5% 80px;
  display: flex; flex-direction: column; justify-content: flex-end;
  position: relative; overflow: hidden;
  background: var(--white);
}
.page-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.page-hero-orb {
  position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none;
}
.page-hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.1) 0%, transparent 70%);
  top: -200px; right: -100px;
}
.page-hero-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(226,201,126,0.07) 0%, transparent 70%);
  bottom: -100px; left: -80px;
}
.page-hero-line {
  position: absolute; height: 1px; width: 100%;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.12), transparent);
  animation: lineSweep 9s ease-in-out infinite;
}
.page-hero-line:nth-child(3) { top: 35%; animation-delay: 0s; }
.page-hero-line:nth-child(4) { top: 65%; animation-delay: 3.5s; }
@keyframes lineSweep {
  0% { transform: translateX(-100%); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateX(100%); opacity: 0; }
}
.page-hero-content { position: relative; z-index: 1; max-width: 900px; }
.page-hero-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.page-hero-eyebrow-line { width: 40px; height: 1px; background: var(--gold); }
.page-hero-eyebrow-text { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.page-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 7vw, 96px); font-weight: 300;
  line-height: 0.97; letter-spacing: -0.02em; color: var(--dark);
}
.page-hero-title em { font-style: italic; color: var(--gold); }
.page-hero-desc {
  font-size: 15px; color: var(--gray); line-height: 1.8; font-weight: 300;
  max-width: 500px; margin-top: 28px;
}
.page-hero-corner {
  position: absolute; width: 60px; height: 60px; pointer-events: none;
}
.page-hero-corner-br { bottom: 32px; right: 5%; border-bottom: 1px solid var(--gold); border-right: 1px solid var(--gold); }

/* =================== MARQUEE =================== */
.marquee-section {
  padding: 24px 0; background: var(--dark); overflow: hidden;
  border-top: 1px solid #222; border-bottom: 1px solid #222;
}
.marquee-track {
  display: flex; animation: marquee 25s linear infinite;
  white-space: nowrap; width: max-content;
}
.marquee-item {
  display: flex; align-items: center; gap: 24px;
  padding: 0 36px; font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: #666; font-weight: 300;
}
.marquee-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* =================== MOBILE =================== */
@media (max-width: 768px) {
  .nav-links { 
    display: none; flex-direction: column; gap: 0;
    position: absolute; top: 72px; left: 0; right: 0;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-light); padding: 16px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 5%; font-size: 14px; }
  .nav-links a::after { display: none; }
  .nav-cta { margin: 8px 5%; display: block; text-align: center; }
  .nav-toggle { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; gap: 40px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .float-stack { right: 16px; bottom: 24px; }
  .float-btn { width: 48px; height: 48px; }
  .page-hero { min-height: 44vh; }
  .page-hero-title { font-size: 44px; }
  .modal-body { padding: 24px 20px; }
  .modal-header { padding: 24px 20px 20px; }
}

.nav-logo-img {
  height: 38px;
  width: auto;
  display: block;
}