/*
 * Vortiqo custom stylesheet
 *
 * This file defines a handful of bespoke styles to complement
 * the utility‑first classes provided by Tailwind CSS. It does not
 * rely on Tailwind's build process; therefore all declarations use
 * standard CSS rather than the `@apply` directive. Colours have
 * been chosen from a restricted palette of black, white, grey and
 * purple to maintain a cohesive brand identity.
 */

/* Root colour palette */
:root {
  --bg-dark: #0c0b10;
  --text-light: #e5e7eb;
  --text-muted: #9ca3af;
  --purple: #6b21a8;
  --purple-light: #8b5cf6;
  --gray-dark: #1f2937;
  --gray-medium: #374151;
  --gray-light: #f3f4f6;
  --white: #ffffff;
}

/* Base styles */
body {
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: 'Segoe UI Light', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--purple-light);
}

/* Section padding helper */
.section-padding {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .section-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

/* Buttons */
.btn-primary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  background-color: var(--purple);
  color: var(--white);
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--purple-light);
}

.btn-secondary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  background-color: var(--gray-light);
  color: var(--bg-dark);
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn-secondary:hover {
  background-color: #e5e7eb;
}

.btn-outline {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  border: 2px solid var(--purple);
  color: var(--purple);
  font-weight: 500;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-outline:hover {
  background-color: var(--purple);
  color: var(--white);
}

/* Card component */
.card {
  background: linear-gradient(135deg, rgba(31, 41, 55, 0.2) 0%, rgba(55, 65, 81, 0.15) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  height: 100%;
}

.card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(139, 92, 246, 0.3);
  transform: translateY(-2px);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: var(--purple-light);
}

.card p {
  margin-bottom: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Solution Cards with Interactive Glow Effect */
.solution-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.solution-card .glow-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(300px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
              rgba(139, 92, 246, 0.15) 0%, 
              rgba(139, 92, 246, 0.05) 40%, 
              transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: 0.75rem;
}

.solution-card:hover .glow-effect {
  opacity: 1;
}

.solution-card .card-content {
  position: relative;
  z-index: 1;
}

/* Enhanced hover effect for solution cards */
.solution-card:hover {
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-3px);
}

/* Statistics */
.stats-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
}

.stat-item .value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--purple-light);
  margin-bottom: 0.5rem;
}

.stat-item .label {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100vh;
  background-image: url('../images/hero-bg.png');
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, rgba(12, 11, 16, 0.15) 0%, rgba(31, 41, 55, 0.1) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  z-index: 50;
  transition: all 0.3s ease;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
}

.navbar .logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--purple-light);
}

.nav-links {
  display: none;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
    gap: 2rem;
  }
}

.nav-link {
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
}

.nav-link:hover {
  color: var(--purple-light);
}

.nav-link.active {
  color: var(--purple-light);
}

.mobile-toggle {
  display: block;
  cursor: pointer;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .mobile-toggle {
    display: none;
  }
}

/* Mobile menu */
.mobile-menu {
  display: none;
  background: linear-gradient(135deg, rgba(12, 11, 16, 0.95) 0%, rgba(31, 41, 55, 0.9) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 40;
  transition: all 0.3s ease;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0 1.5rem;
}

.mobile-menu li {
  margin-bottom: 1rem;
  padding: 0.5rem;
  border-radius: 0.375rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.mobile-menu li:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(139, 92, 246, 0.3);
}

.mobile-menu a {
  color: var(--text-light);
  font-weight: 500;
  display: block;
  padding: 0.25rem;
}

.mobile-menu a:hover {
  color: var(--purple-light);
}

/* Form */
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--gray-medium);
  border: 1px solid var(--gray-dark);
  color: var(--text-light);
  border-radius: 0.375rem;
  outline: none;
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: var(--purple);
}

/* Footer */
footer {
  background-color: var(--gray-dark);
  color: var(--text-muted);
}

footer .footer-container {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  footer .footer-container {
    grid-template-columns: repeat(4, 1fr);
  }
}

footer h3 {
  margin-bottom: 0.75rem;
  color: var(--purple-light);
}

footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

footer li {
  margin-bottom: 0.5rem;
}

footer a:hover {
  color: var(--purple-light);
}

/* Coming soon page */
.coming-soon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: var(--bg-dark);
  color: var(--text-light);
  text-align: center;
  padding: 2rem;
}