/* 
   Co-Vet Space - Main Stylesheet
   Theme: Futuristic MedTech Singapore
   Colors: Dark Navy, Teal, Cyan, Glass
*/

:root {
  /* Color Palette - Dark MedTech */
  --color-bg-dark: #0B0F19;
  /* Deep Navy/Black */
  --color-bg-card: rgba(255, 255, 255, 0.05);
  /* Glass */
  --color-primary: #00F0FF;
  /* Cyan Neon */
  --color-primary-dim: rgba(0, 240, 255, 0.1);
  --color-secondary: #7000FF;
  /* Electric Purple */
  --color-text-main: #F3F4F6;
  /* Off-white */
  --color-text-muted: #9CA3AF;
  /* Muted silver */
  --color-border: rgba(255, 255, 255, 0.1);
  --color-gradient-main: linear-gradient(135deg, #00F0FF 0%, #7000FF 100%);

  /* Typography */
  --font-family-sans: 'Outfit', 'Inter', sans-serif;
  /* More futuristic font stack */

  /* Spacing */
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 5rem;

  /* Layout */
  --container-width: 1200px;
  --header-height: 80px;

  /* Components */
  --radius-card: 24px;
  --radius-btn: 50px;
  /* Pill shape */
  --shadow-glow: 0 0 20px rgba(0, 240, 255, 0.2);
}

/* Import Font */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

/* Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-sans);
  background-color: var(--color-bg-dark);
  color: var(--color-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(112, 0, 255, 0.1) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(0, 240, 255, 0.1) 0%, transparent 20%);
  background-attachment: fixed;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-card);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.1;
  font-weight: 800;
  color: white;
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.02em;
}

h1 {
  font-size: 4rem;
  background: var(--color-gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.3));
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: var(--spacing-md);
  color: var(--color-text-muted);
}

.text-center {
  text-align: center;
}

.text-primary {
  color: var(--color-primary);
}

.text-gradient {
  background: var(--color-gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Layout Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-xl) 0;
}

.grid {
  display: grid;
  gap: var(--spacing-lg);
}

.grid-2 {
  grid-template-columns: 1fr 1fr;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.flex {
  display: flex;
  gap: var(--spacing-md);
}

.flex-column {
  flex-direction: column;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Header & Nav */
.site-header {
  height: var(--header-height);
  background-color: rgba(11, 15, 25, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: var(--spacing-lg);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.logo {
  font-weight: 800;
  font-size: 1.5rem;
  color: white;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Mobile Nav */
.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: white;
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  padding: 8rem 0;
}

.hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.4;
  mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: var(--radius-btn);
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--color-gradient-main);
  color: white;
  box-shadow: 0 0 20px rgba(112, 0, 255, 0.4);
  border: 1px solid transparent;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(112, 0, 255, 0.6);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary-dim);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.btn-full {
  width: 100%;
}

/* Glass Cards */
.card {
  background: var(--color-bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 2rem;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
  transform: translateY(-5px);
}

.stat-card {
  text-align: center;
  padding: 1.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
}

.stat-value {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Components */
.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
  font-size: 1.5rem;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.timeline-item {
  position: relative;
  border-left: 2px solid var(--color-border);
  padding-left: 3rem;
  padding-bottom: 3rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -9px;
  top: 0;
  width: 16px;
  height: 16px;
  background-color: var(--color-bg-dark);
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-primary);
}

/* Footer */
.site-footer {
  background-color: black;
  color: var(--color-text-muted);
  padding: var(--spacing-xl) 0;
  margin-top: var(--spacing-xl);
  border-top: 1px solid var(--color-border);
}

.footer-links a:hover {
  color: var(--color-primary);
}

.disclaimer {
  font-size: 0.8rem;
  opacity: 0.5;
  margin-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-md);
}

/* Forms */
.form-group {
  margin-bottom: var(--spacing-md);
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  color: var(--color-primary);
  /* Neon label */
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-btn);
  font-family: inherit;
  font-size: 1rem;
  color: white;
  transition: 0.3s;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
  background: rgba(0, 240, 255, 0.05);
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: var(--color-bg-dark);
    flex-direction: column;
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--color-border);
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }
}