/* ==========================
   Root & Layout
========================== */
:root {
  --primary: #0f172a;        /* Dark navy */
  --primary-light: #1e293b;  /* Lighter navy */
  --accent: #6366f1;         /* Violet */
  --neon: #22d3ee;           /* Neon cyan */
  --muted: #64748b;          /* Muted gray */
  --background: #f8fafc;     /* Light background */
  --card-bg: #ffffff;         /* Card background */
  --text-primary: #111827;   /* Dark text */
  --text-muted: #6b7280;     /* Muted text */
  --shadow: 0 4px 20px rgba(0,0,0,0.1);
}

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  color: var(--neon);
}

/* ==========================
   Root Container
========================== */
#root {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

/* ==========================
   Logo
========================== */
.logo {
  height: 6em;
  padding: 1.5em;
  will-change: filter;
  transition: filter 300ms;
}
.logo:hover {
  filter: drop-shadow(0 0 2em var(--accent));
}
.logo.react:hover {
  filter: drop-shadow(0 0 2em #61dafbaa);
}
@keyframes logo-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: no-preference) {
  a:nth-of-type(2) .logo {
    animation: logo-spin infinite 20s linear;
  }
}

/* ==========================
   Sections & Layout
========================== */
section {
  padding: 4rem 2rem;
}

.bg-primary {
  background-color: var(--primary);
  color: #fff;
}
.bg-accent {
  background-color: var(--accent);
  color: #fff;
}
.bg-muted {
  background-color: var(--muted);
  color: #fff;
}
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--muted); }

h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
}

/* ==========================
   Cards
========================== */
.card {
  background-color: var(--card-bg);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

/* ==========================
   Buttons
========================== */
.button, button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}
.button-primary, .bg-primary {
  background: var(--primary);
  color: #fff;
}
.button-accent, .bg-accent {
  background: var(--accent);
  color: #fff;
}
.button-outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}
.button:hover, .button-primary:hover, .button-accent:hover, .button-outline:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

/* ==========================
   Badges
========================== */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
  text-transform: uppercase;
  font-size: 0.75rem;
}

/* ==========================
   Grid
========================== */
.grid {
  display: grid;
  gap: 1.5rem;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ==========================
   Chat Support Widget
========================== */
.chat-support {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  transition: all 0.3s;
}
.chat-support:hover {
  background: var(--neon);
  transform: translateY(-3px);
}

/* ==========================
   Footer
========================== */
 .footer {
      background-color: #111827;
      color: #9ca3af;
      padding: 3rem 1rem;
    }

    .footer a {
      transition: color 0.3s ease;
    }

    .footer a:hover {
      color: #ffffff;
    }

    .footer h3 {
      color: #ffffff;
      font-size: 1.125rem;
      font-weight: 600;
      margin-bottom: 1.5rem;
    }

    .footer ul {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: repeat(1, 1fr);
      gap: 2rem;
      max-width: 80rem;
      margin: 0 auto;
    }

    @media (min-width: 768px) {
      .footer-grid {
        grid-template-columns: repeat(4, 1fr);
      }
    }

    .footer-social {
      display: flex;
      gap: 1rem;
    }

    .footer-social a {
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .footer-divider {
      border-top: 1px solid #4f6076;
      margin-top: 2rem;
      padding-top: 2rem;
      text-align: center;
    }

    .footer-contact-item {
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

/* ==========================
   Misc
========================== */
.text-gradient {
  background: linear-gradient(90deg, var(--accent), var(--neon));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.transition-smooth {
  transition: all 0.3s ease-in-out;
}

/* Navbar */


@media (max-width: 768px) {
  .nav-container {
    flex-wrap: wrap;
  }

  .menu-icon {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
    background: #222;
  }

  #menu-toggle:checked + .menu-icon + .nav-links {
    display: flex;
  }

  .nav-links li ul {
    position: static;
  }
}

/* Active link */
.nav-links li a.active {
  color: #ffcc00;
  font-weight: bold;
  border-bottom: 2px solid #ffcc00;
}

    @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
    
    body {
      font-family: 'Inter', sans-serif;
      background-color: #f8fafc;
      color: #1e293b;
    }
    
    .gradient-text {
      background: linear-gradient(90deg, #3b82f6, #8b5cf6);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }
    
    .pricing-card {
      transition: all 0.3s ease;
      border: 1px solid #e2e8f0;
    }
    
    .pricing-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    }
    
    .popular-badge {
      position: absolute;
      top: -12px;
      right: 20px;
      background: linear-gradient(90deg, #3b82f6, #8b5cf6);
      color: white;
      padding: 0.25rem 1rem;
      border-radius: 9999px;
      font-size: 0.75rem;
      font-weight: 600;
    }
    
    .feature-item {
      position: relative;
      padding-left: 1.5rem;
    }
    
    .feature-item:before {
      content: '';
      position: absolute;
      left: 0;
      top: 0.375rem;
      width: 1rem;
      height: 1rem;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%233b82f6'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd' /%3E%3C/svg%3E");
      background-repeat: no-repeat;
    }
    
    .chat-bubble {
      position: fixed;
      bottom: 2rem;
      right: 2rem;
      width: 3.5rem;
      height: 3.5rem;
      border-radius: 9999px;
      background: linear-gradient(90deg, #3b82f6, #8b5cf6);
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
      cursor: pointer;
      z-index: 50;
      transition: all 0.3s ease;
    }
    
    .chat-bubble:hover {
      transform: scale(1.1);
    }
    
    .chat-window {
      position: fixed;
      bottom: 6rem;
      right: 2rem;
      width: 24rem;
      max-width: 90vw;
      background: white;
      border-radius: 1rem;
      box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
      overflow: hidden;
      z-index: 50;
      transform: translateY(20px);
      opacity: 0;
      pointer-events: none;
      transition: all 0.3s ease;
    }
    
    .chat-window.active {
      transform: translateY(0);
      opacity: 1;
      pointer-events: auto;
    }
    
  /* ===========================================
   MOBILE FIXES FOR TECHQHO.CO.ZA
   =========================================== */

@media (max-width: 768px) {

  /* Root container */
  #root {
    padding: 1rem;
    text-align: left;
  }

  /* Make all images responsive */
  img {
    width: 100%;
    height: auto;
  }

  /* Reduce section padding */
  section {
    padding: 2rem 1rem;
  }

  /* Fix grid layout collapsing */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr !important;
  }

  /* Fix pricing cards wrapping */
  .pricing-card {
    margin-bottom: 1.5rem;
  }

  /* Navbar tweaks */
  .navbar {
    padding: 15px 20px;
  }

  .nav-links li a {
    padding: 10px 0;
  }

  /* Fix large logo */
  .logo {
    height: 3.5em;
    padding: 0.5em;
  }

  /* Chat bubble smaller */
  .chat-bubble {
    width: 3rem;
    height: 3rem;
    bottom: 1.5rem;
    right: 1.5rem;
  }

  /* Chat window better fit */
  .chat-window {
    width: 90%;
    right: 5%;
  }

  /* Footer grid mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}


/* =========================================================
   ANIMATED BURGER MENU (MOBILE ONLY)
   ========================================================= */
@media (max-width: 768px) {

  /* Hide desktop layout */
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #111827;
    margin-top: 15px;
    padding: 15px 0;
    border-radius: 10px;
    overflow: hidden;
    animation: slideDown 0.35s ease forwards;
  }

  /* Slide down animation */
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* SHOW MENU when toggle is checked */
  #menu-toggle:checked ~ .nav-links {
    display: flex;
  }

  /* =============================
     Hamburger Icon (animated)
     ============================= */
  .menu-icon {
    width: 34px;
    height: 30px;
    position: relative;
    cursor: pointer;
    display: inline-block;
  }

  .menu-icon .bar {
    position: absolute;
    height: 4px;
    width: 100%;
    background: white;
    border-radius: 5px;
    transition: 0.4s ease;
  }

  .menu-icon .bar:nth-child(1) {
    top: 0;
  }
  .menu-icon .bar:nth-child(2) {
    top: 11px;
  }
  .menu-icon .bar:nth-child(3) {
    top: 22px;
  }

  /* Animate to "X" */
  #menu-toggle:checked + .menu-icon .bar:nth-child(1) {
    transform: rotate(45deg);
    top: 11px;
  }

  #menu-toggle:checked + .menu-icon .bar:nth-child(2) {
    opacity: 0;
  }

  #menu-toggle:checked + .menu-icon .bar:nth-child(3) {
    transform: rotate(-45deg);
    top: 11px;
  }

  /* Mobile nav link styles */
  .nav-links li {
    padding: 10px 20px;
    text-align: left;
  }

  .nav-links li a {
    padding: 10px 0;
    color: #c7d2fe;
    display: block;
    font-size: 17px;
  }

  .nav-links li ul {
    position: static;
    background: none;
    padding-left: 20px;
  }

  .nav-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }
}

.rotate-45 {
  transform: rotate(45deg);
}
.-rotate-45 {
  transform: rotate(-45deg);
}
.opacity-0 {
  opacity: 0;
}





