/* ===== VITALIT SOLUTIONS - PROFESSIONAL LIGHT THEME ===== */

/* CSS Custom Properties */
:root {
  --primary-blue: rgb(11, 24, 41);
  --light-blue: rgb(195, 230, 253);
  --text-dark: #2c3e50;
  --text-light: #5a6c7d;
  --white: #ffffff;
  --light-grey: #f8f9fa;
  --border-light: rgba(11, 24, 41, 0.1);
  --blue-glow: 0 0 20px rgba(11, 24, 41, 0.2);
  --subtle-shadow: 0 2px 10px rgba(11, 24, 41, 0.1);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--light-grey);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: var(--light-blue);
  border-radius: 4px;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-blue);
}

/* Firefox scrollbar */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--light-blue) var(--light-grey);
}

/* Notification System */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--white);
  border: 2px solid var(--light-blue);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  box-shadow: var(--subtle-shadow);
  z-index: 10000;
  max-width: calc(100vw - 40px);
  width: 400px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  line-height: 1.4;
  box-sizing: border-box;
}

.notification.show {
  transform: translateX(0);
}

.notification-success {
  border-color: #51cf66;
  background: rgba(81, 207, 102, 0.1);
  color: #2b8a3e;
}

.notification-error {
  border-color: #ff6b6b;
  background: rgba(255, 107, 107, 0.1);
  color: #c92a2a;
}

.notification-info {
  border-color: var(--light-blue);
  background: rgba(195, 230, 253, 0.1);
  color: var(--primary-blue);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: var(--primary-blue);
  text-shadow: none;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 4rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.4rem, 4vw, 2rem);
  margin-bottom: 1rem;
}

p {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  max-width: 65ch;
  margin-left: auto;
  margin-right: auto;
}

/* Logo */
.logo-image {
  width: 80px;
  height: auto;
  margin-bottom: 1rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.logo {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-blue);
  text-decoration: none;
  display: inline-block;
  text-align: center;
  line-height: 1.4;
}

.logo .c {
  color: var(--primary-blue);
  font-weight: 800;
}

.logo .s {
  color: var(--primary-blue);
  text-decoration: underline;
  text-decoration-color: var(--primary-blue);
  text-underline-offset: 4px;
  font-weight: 800;
}

/* Sections */
.section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  text-align: center;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
  position: relative;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--white) 0%, var(--light-grey) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(195, 230, 253, 0.3) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.cursor {
  display: inline-block;
  width: 2px;
  height: 1.2em;
  background-color: var(--primary-blue);
  animation: blink 1s infinite;
  margin-left: 0.2em;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.typewriter {
  max-width: 80%;
  margin: 0 auto;
  text-align: center;
  word-wrap: break-word;
  line-height: 1.2;
  position: relative;
  hyphens: none;
  word-break: keep-all;
}

.typewriter::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 1.2em;
  background-color: var(--primary-blue);
  margin-left: 2px;
  animation: blink 1s infinite;
  vertical-align: text-bottom;
}

.scroll-indicator {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--primary-blue);
  font-size: 2rem;
  animation: bounce 2s infinite;
  z-index: 10;
  margin-bottom: 1rem;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* Interactive Terminal */
.terminal {
  background: var(--white);
  border: 2px solid var(--light-blue);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  max-width: 800px;
  box-shadow: var(--subtle-shadow);
  backdrop-filter: none;
}

.terminal-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.terminal-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red { background-color: #ff6b6b; }
.dot.yellow { background-color: #ffd93d; }
.dot.green { background-color: #51cf66; }

.terminal-title {
  margin-left: 1rem;
  font-family: 'Inter', sans-serif;
  color: var(--primary-blue);
  font-size: 0.9rem;
  font-weight: 500;
}

.terminal-content {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.8;
}

.terminal-prompt {
  color: var(--primary-blue);
  margin-bottom: 1rem;
  font-weight: 500;
}

.terminal-options {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 2rem 0;
}

.terminal-option {
  background: var(--light-blue);
  border: 2px solid var(--light-blue);
  color: var(--primary-blue);
  padding: 1rem 1.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
}

.terminal-option:hover {
  background-color: var(--primary-blue);
  color: var(--white);
  box-shadow: var(--subtle-shadow);
  transform: translateY(-2px);
}

.terminal-response {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(195, 230, 253, 0.2);
  border-left: 4px solid var(--light-blue);
  border-radius: 8px;
  display: none;
}

.terminal-response .consultation-btn {
  background: var(--primary-blue);
  border: 2px solid var(--primary-blue);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  margin-top: 1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: slideUpFade 0.6s ease-out forwards;
}

.terminal-response .consultation-btn:hover {
  background: var(--white);
  color: var(--primary-blue);
  transform: translateY(-2px);
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.terminal-response.show {
  display: block;
  animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Buttons */
.btn-primary {
  background: var(--primary-blue);
  border: 2px solid var(--primary-blue);
  color: var(--white);
  padding: 1rem 2rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: var(--white);
  color: var(--primary-blue);
  transform: translateY(-2px);
}


/* Problem Section */
.problem-list {
  list-style: none;
  max-width: 600px;
  margin: 0 auto;
}

.problem-list li {
  padding: 1.5rem;
  margin: 1rem 0;
  border-left: 4px solid var(--light-blue);
  background: rgba(195, 230, 253, 0.1);
  border-radius: 0 12px 12px 0;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.problem-list li:hover {
  background: rgba(195, 230, 253, 0.2);
  transform: translateX(10px);
}

/* Proof Section */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
  max-width: 800px;
}

.stat {
  text-align: center;
  padding: 2rem;
  background: rgba(195, 230, 253, 0.1);
  border: 2px solid var(--light-blue);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.stat:hover {
  background: rgba(195, 230, 253, 0.2);
  transform: translateY(-5px);
  box-shadow: var(--subtle-shadow);
}

.stat-number {
  font-family: 'Inter', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-blue);
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Contact Form */
.contact-form {
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary-blue);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  background: rgba(195, 230, 253, 0.1);
  border: 2px solid var(--light-blue);
  border-radius: 8px;
  color: var(--text-dark);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  resize: vertical;
  min-height: 100px;
  max-height: 200px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: var(--subtle-shadow);
  background: rgba(195, 230, 253, 0.2);
}

.character-count {
  text-align: right;
  font-size: 0.875rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}

.character-count.over-limit {
  color: var(--primary-blue);
  font-weight: 600;
}

.character-count.over-limit::after {
  content: " - We're excited to speak with you too! 😊";
  color: var(--primary-blue);
  font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
  .section {
    padding: 1rem;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  .typewriter {
    max-width: 95%;
    margin: 0 auto;
  }
  
  .hero-content {
    padding: 0 1rem;
  }
  
  .logo-image {
    width: 60px;
  }
  
  .terminal {
    padding: 1rem;
    margin: 1rem 0;
  }
  
  .terminal-options {
    flex-direction: column;
    align-items: center;
  }
  
  .terminal-option {
    width: 100%;
    max-width: 300px;
  }
  
  .stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .stat {
    padding: 1.5rem;
  }
  
  .scroll-indicator {
    bottom: 1rem;
    font-size: 1.5rem;
  }
  
  .notification {
    right: 10px;
    left: 10px;
    max-width: calc(100vw - 20px);
    width: auto;
  }
}

/* Glitch Effect */
.glitch {
  position: relative;
  animation: glitch 0.3s infinite;
}

@keyframes glitch {
  0% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(-2px, -2px); }
  60% { transform: translate(2px, 2px); }
  80% { transform: translate(2px, -2px); }
  100% { transform: translate(0); }
}

/* Fade in animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Loading Animation */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}

.loading-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Prevent scroll during loading and typewriter animation */
body.loading {
  overflow: hidden;
  height: 100vh;
}

.loading-cursor {
  font-size: 2rem;
  color: var(--primary-blue);
  animation: blink 1s infinite;
}
