/* ==========================================================================
   DomainVision — Official Stylesheet
   Website: domainvision.co.za
   Clean, modern, responsive landing page for small business digital solutions
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Brand Color Palette - DomainVision */
  --brand-cyan: #16c2d4;
  --brand-cyan-light: #52e5f5;
  --brand-cyan-glow: rgba(22, 194, 212, 0.35);
  --brand-purple: #833698;
  --brand-purple-light: #ab47bc;
  --brand-purple-glow: rgba(131, 54, 152, 0.4);
  --brand-teal: #04576f;
  --brand-teal-dark: #022e3b;

  /* Neutrals & Dark Theme Surface System */
  --bg-deep: #060913;
  --bg-surface: #0c1222;
  --bg-card: rgba(15, 23, 42, 0.72);
  --bg-card-hover: rgba(23, 34, 61, 0.85);
  --bg-glass: rgba(12, 18, 34, 0.65);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-brand: rgba(22, 194, 212, 0.22);
  --border-hover: rgba(22, 194, 212, 0.5);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* Gradients */
  --grad-brand: linear-gradient(135deg, var(--brand-cyan) 0%, var(--brand-purple) 100%);
  --grad-card: linear-gradient(180deg, rgba(22, 194, 212, 0.04) 0%, rgba(131, 54, 152, 0.02) 100%);

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout & Spacing */
  --max-width: 1140px;
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 45px rgba(0, 0, 0, 0.45);
  --shadow-cyan: 0 8px 28px rgba(22, 194, 212, 0.28);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

/* Ambient Background Lights */
.ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-blob-1 {
  position: absolute;
  top: -10%;
  left: 15%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(22, 194, 212, 0.12) 0%, transparent 70%);
  filter: blur(80px);
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.ambient-blob-2 {
  position: absolute;
  top: 40%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(131, 54, 152, 0.14) 0%, transparent 70%);
  filter: blur(90px);
  animation: floatOrb2 22s ease-in-out infinite alternate;
}

.ambient-blob-3 {
  position: absolute;
  bottom: 0%;
  left: 10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(4, 87, 111, 0.16) 0%, transparent 70%);
  filter: blur(80px);
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, 60px) scale(1.1); }
}

@keyframes floatOrb2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-60px, -50px) scale(1.1); }
}

/* Typography Helpers */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 1;
}

/* Gradient Text */
.text-gradient {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-cyan {
  color: var(--brand-cyan);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(22, 194, 212, 0.1);
  color: var(--brand-cyan);
  border: 1px solid rgba(22, 194, 212, 0.25);
  box-shadow: 0 0 15px rgba(22, 194, 212, 0.15);
}

.badge-pill-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-cyan);
  box-shadow: 0 0 8px var(--brand-cyan);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.975rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-normal);
  text-align: center;
  user-select: none;
}

.btn-primary {
  background: var(--grad-brand);
  color: #ffffff;
  box-shadow: var(--shadow-cyan);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(22, 194, 212, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-color: var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--brand-cyan);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline-cyan {
  background: transparent;
  color: var(--brand-cyan);
  border-color: rgba(22, 194, 212, 0.4);
}

.btn-outline-cyan:hover {
  background: rgba(22, 194, 212, 0.12);
  border-color: var(--brand-cyan);
  box-shadow: 0 0 20px rgba(22, 194, 212, 0.25);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Header & Typographic Branding (No Logo Image)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  transition: all var(--transition-normal);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(6, 9, 19, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border-subtle);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.1;
}

.brand-name span {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-tld {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* Desktop Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--grad-brand);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Coming Soon Badge */
.nav-badge-soon {
  font-size: 0.65rem;
  background: rgba(131, 54, 152, 0.2);
  color: var(--brand-purple-light);
  border: 1px solid rgba(131, 54, 152, 0.4);
  padding: 2px 7px;
  border-radius: var(--radius-full);
  margin-left: 6px;
  vertical-align: middle;
  font-weight: 700;
  text-transform: uppercase;
}

/* Hamburger & Off-Canvas Menu */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 9px 8px;
  cursor: pointer;
  z-index: 110;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background: rgba(10, 15, 29, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 105;
  padding: 80px 24px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid var(--border-subtle);
  transition: right var(--transition-normal);
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-link {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav-link:hover {
  color: var(--brand-cyan);
}

.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 102;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.mobile-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 40px;
  position: relative;
  text-align: center;
}

.hero-content {
  max-width: 860px;
  margin: 0 auto;
}

.hero-badge-wrap {
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 34px;
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Compact Services Overview (The 4 Core Business Solutions)
   ========================================================================== */
.section-services-compact {
  padding: 50px 0 80px;
  position: relative;
  z-index: 1;
}

.compact-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.compact-service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-brand);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

.compact-service-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-cyan);
  background: var(--bg-card-hover);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(22, 194, 212, 0.15);
}

.compact-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(22, 194, 212, 0.12);
  border: 1px solid rgba(22, 194, 212, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--brand-cyan);
  font-size: 1.25rem;
  box-shadow: 0 0 15px rgba(22, 194, 212, 0.2);
}

.compact-service-card:nth-child(2) .compact-icon-wrap,
.compact-service-card:nth-child(4) .compact-icon-wrap {
  background: rgba(131, 54, 152, 0.15);
  border-color: rgba(131, 54, 152, 0.4);
  color: var(--brand-purple-light);
  box-shadow: 0 0 15px rgba(131, 54, 152, 0.2);
}

.compact-service-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.compact-service-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Space for Future Development Card */
.future-dev-card {
  background: linear-gradient(135deg, rgba(131, 54, 152, 0.1) 0%, rgba(22, 194, 212, 0.08) 100%);
  border: 1px dashed rgba(22, 194, 212, 0.35);
  border-radius: var(--radius-lg);
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  backdrop-filter: blur(12px);
}

.future-dev-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.future-badge {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-cyan);
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.future-dev-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer-compact {
  margin-top: auto;
  background: #04060c;
  border-top: 1px solid var(--border-subtle);
  padding: 30px 0;
  position: relative;
  z-index: 1;
}

.footer-compact-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand-info .brand-name {
  font-size: 1.15rem;
}

.footer-dot {
  color: var(--text-muted);
}

.footer-domain-link {
  font-size: 0.88rem;
  color: var(--brand-cyan);
  font-weight: 600;
}

.footer-domain-link:hover {
  text-decoration: underline;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-contact-link a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.footer-contact-link a:hover {
  color: var(--brand-cyan);
}

/* ==========================================================================
   Modals & Toasts
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 7, 16, 0.85);
  backdrop-filter: blur(10px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-brand);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 34px 28px;
  position: relative;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(131, 54, 152, 0.25);
  transform: scale(0.95);
  transition: transform var(--transition-normal);
}

.modal-backdrop.active .modal-box {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: var(--text-secondary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
}

.modal-icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(131, 54, 152, 0.15);
  border: 1px solid rgba(131, 54, 152, 0.35);
  color: var(--brand-purple-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 18px;
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.modal-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 22px;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  background: rgba(7, 10, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 11px 14px;
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-input:focus {
  border-color: var(--brand-cyan);
  box-shadow: 0 0 0 3px rgba(22, 194, 212, 0.2);
}

/* Toast Notice */
.toast-notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(12, 18, 36, 0.95);
  border: 1px solid var(--brand-cyan);
  color: var(--text-primary);
  padding: 12px 22px;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(22, 194, 212, 0.3);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-normal);
}

.toast-notice.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .compact-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .main-nav,
  .header-cta-btn {
    display: none;
  }

  .hamburger-btn {
    display: flex;
  }

  .compact-services-grid {
    grid-template-columns: 1fr;
  }

  .future-dev-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-compact-container {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }
}
