/* ============================
   VETALIO PREMIUM DESIGN SYSTEM
   ============================ */

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

:root {
  /* Colors */
  --primary: #167172; /* Vetalio Teal */
  --primary-light: #22a7a8;
  --primary-dark: #0e4f50;
  --secondary: #0a2330; /* Aliosphere Midnight Blue */
  --accent: #d42e2e; /* Emergency Red */
  --success: #2e8b57; /* Success Green */
  
  --bg-main: #F8FAFB;
  --bg-card: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.4);
  
  --text-main: #1a1a2e;
  --text-muted: #5e5e7a;
  --text-white: #ffffff;
  --white: #ffffff;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing & Shadows */
  --shadow-sm: 0 4px 12px rgba(10, 35, 48, 0.05);
  --shadow-md: 0 12px 32px rgba(10, 35, 48, 0.08);
  --shadow-lg: 0 24px 64px rgba(10, 35, 48, 0.12);
  --shadow-glow: 0 8px 30px rgba(22, 113, 114, 0.25);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --max-width: 1200px;
  --header-height: 80px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--bg-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--secondary);
}

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

ul { list-style: none; }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--font-body);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--text-white);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(22, 113, 114, 0.35);
}

.btn-secondary {
  background: var(--white);
  color: var(--secondary);
  border: 1px solid var(--secondary);
}

.btn-secondary:hover {
  background: var(--secondary);
  color: var(--text-white);
}

/* Header */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: rgba(248, 250, 251, 0.8);
  backdrop-filter: blur(20px);
  z-index: 1000;
  border-bottom: 1px solid var(--glass-border);
}

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

.logo-img {
  height: 60px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
}

/* Section Common */
.section { padding: 100px 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 12px; height: 12px;
  background: var(--primary);
  border-radius: 2px;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 24px;
  max-width: 800px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 700px;
  margin-bottom: 48px;
}

/* Glass Cards */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

/* Hero Section */
.hero {
  padding-top: calc(var(--header-height) + 80px);
  padding-bottom: 100px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 10% 20%, rgba(22, 113, 114, 0.05) 0%, transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-title span {
  display: block;
  color: var(--primary);
}

.hero-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Persona Section */
.persona-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 60px;
}

.persona-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.persona-image {
  height: 300px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.persona-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ROI Section */
.roi-box {
  background: var(--secondary);
  color: var(--text-white);
  border-radius: var(--radius-lg);
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.roi-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.stat-item h4 {
  color: var(--primary-light);
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.stat-item p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Footer */
.footer {
  background: var(--secondary);
  color: var(--text-white);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo img { height: 70px; }

.footer h4 {
  color: var(--text-white);
  margin-bottom: 24px;
  font-size: 1.1rem;
}

.footer-links a {
  display: block;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-links a:hover { color: var(--primary-light); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  animation: fadeInUp 0.8s ease forwards;
}

/* Mobile Responsiveness & Hamburger Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 30px;
  height: 3px;
  background: var(--primary);
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 992px) {
  .section { padding: 60px 0; }
  .section-title { font-size: 2.2rem; }
  .section-subtitle { font-size: 1.1rem; margin-bottom: 32px; }
  
  .header .container { padding: 0 20px; }
  .logo-img { height: 50px; }
  
  .header-actions { display: none; } /* Hide the button in header on mobile */
  
  .menu-toggle { 
    display: flex; 
    position: relative;
    z-index: 1002;
  }
  
  .nav-desktop {
    position: fixed;
    top: 0; right: -100%;
    width: 80%; height: 100vh;
    background: var(--white);
    padding: 100px 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    z-index: 1000;
    display: flex; /* Ensure it shows up as a flex container for the links */
  }
  
  .nav-desktop.active { right: 0; }
  
  .nav-links {
    flex-direction: column;
    gap: 32px;
  }
  
  .nav-links a { font-size: 1.2rem; }

  .hero { padding-top: 120px; text-align: center; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .hero-visual img { max-width: 90%; margin: 0 auto; }
  
  .persona-grid { grid-template-columns: 1fr; gap: 32px; }
  .persona-image { height: 250px; }
  
  .roi-box { padding: 32px 24px; gap: 32px; }
  .roi-stats { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .footer-logo img { margin: 0 auto 20px; }
  .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}

@media (max-width: 480px) {
  .section-title { font-size: 1.8rem; }
  .btn-large { width: 100%; }
  .glass-card { padding: 24px; }
}
