/* ===================================
   ENSURE VET - CSS Design System
   Modern Pharma-Corporate Aesthetic
   =================================== */

/* ========== CSS Variables ========== */
:root {
  /* Primary Color Palette */
  --primary-blue: #0066CC;
  --primary-blue-dark: #004A99;
  --primary-blue-light: #3385D6;
  --secondary-green: #00B74A;
  --secondary-green-dark: #008C38;
  --accent-teal: #00A8A8;

  /* Neutral Palette */
  --white: #FFFFFF;
  --gray-50: #F8FAFB;
  --gray-100: #F1F4F6;
  --gray-200: #E4E9ED;
  --gray-300: #CBD5E0;
  --gray-400: #A0AEC0;
  --gray-600: #4A5568;
  --gray-800: #2D3748;
  --gray-900: #1A202C;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0066CC 0%, #00A8A8 100%);
  --gradient-hero: linear-gradient(135deg, rgba(0, 102, 204, 0.95) 0%, rgba(0, 168, 168, 0.9) 100%);
  --gradient-success: linear-gradient(135deg, #00B74A 0%, #00E676 100%);
  --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 24px rgba(0, 102, 204, 0.3);

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2.5rem;
  --spacing-xl: 4rem;
  --spacing-2xl: 6rem;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ========== Global Resets ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--gray-800);
  background-color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ========== Typography ========== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
  margin-bottom: 1rem;
  font-size: 1.0625rem;
  color: var(--gray-600);
}

a {
  text-decoration: none;
  color: var(--primary-blue);
  transition: var(--transition-fast);
}

a:hover {
  color: var(--primary-blue-dark);
}

/* ========== Container & Layout ========== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.container-wide {
  max-width: 1400px;
}

.section {
  padding: var(--spacing-2xl) 0;
  position: relative;
}

.section-gray {
  background-color: var(--gray-50);
}

/* ========== Navigation ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem var(--spacing-md);
  max-width: 1400px;
  margin: 0 auto;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
}

.navbar-logo span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  color: var(--gray-800);
  font-weight: 500;
  font-size: 0.9375rem;
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-blue);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 28px;
  height: 3px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: var(--transition-base);
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition-base);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
  background: var(--primary-blue);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--primary-blue);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ========== Hero Section ========== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0066CC 0%, #00A8A8 100%);
  overflow: hidden;
  margin-top: 70px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="white" stroke-width="1" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 700px;
  animation: fadeInUp 1s ease;
}

.hero-title {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.hero-subtitle {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2.5rem;
  font-weight: 300;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  max-width: 600px;
  opacity: 0.15;
  animation: float 6s ease-in-out infinite;
}

/* ========== Cards ========== */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
  border: 1px solid var(--gray-200);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-blue-light);
}

.card-icon {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-md);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
  font-size: 2rem;
}

.card-title {
  font-size: 1.375rem;
  margin-bottom: 0.75rem;
  color: var(--gray-900);
}

.card-text {
  color: var(--gray-600);
  line-height: 1.7;
}

/* ========== Grid System ========== */
.grid {
  display: grid;
  gap: var(--spacing-lg);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ========== Section Headers ========== */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--spacing-xl);
}

.section-tag {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(0, 102, 204, 0.1);
  color: var(--primary-blue);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.125rem;
  color: var(--gray-600);
}

/* ========== Feature Boxes ========== */
.feature-box {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: var(--white);
  transition: var(--transition-base);
}

.feature-box:hover {
  background: var(--gray-50);
  transform: translateX(8px);
}

.feature-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
}

/* ========== Product Display ========== */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-base);
}

.product-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-xl);
}

.product-image {
  width: 100%;
  height: 350px;
  object-fit: cover;
  background: var(--gray-100);
}

.product-content {
  padding: var(--spacing-lg);
}

.product-title {
  font-size: 1.75rem;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.product-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  background: var(--gradient-success);
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ========== Team Member Card ========== */
.team-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  border: 5px solid var(--gray-100);
  box-shadow: var(--shadow-md);
}

.team-name {
  font-size: 1.5rem;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--primary-blue);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ========== Footer ========== */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.footer-title {
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: 1.25rem;
}

.footer-link {
  color: var(--gray-400);
  display: block;
  margin-bottom: 0.75rem;
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--white);
  padding-left: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-md);
  text-align: center;
  color: var(--gray-400);
}

/* ========== Animations ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(-50%) translateX(0);
  }

  50% {
    transform: translateY(-50%) translateX(-20px);
  }
}

.fade-in {
  animation: fadeInUp 0.8s ease forwards;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ========== Utilities ========== */
.text-center {
  text-align: center;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: var(--spacing-sm);
}

.mb-2 {
  margin-bottom: var(--spacing-md);
}

.mb-3 {
  margin-bottom: var(--spacing-lg);
}

.mb-4 {
  margin-bottom: var(--spacing-xl);
}

.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: var(--spacing-sm);
}

.mt-2 {
  margin-top: var(--spacing-md);
}

.mt-3 {
  margin-top: var(--spacing-lg);
}

.mt-4 {
  margin-top: var(--spacing-xl);
}

/* ========== Contact Form ========== */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--gray-800);
  font-weight: 600;
  font-size: 0.9375rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: var(--transition-fast);
  background: var(--white);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 150px;
}

/* ========== Responsive Design ========== */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--white);
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: left 0.3s ease;
    gap: 1rem;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    min-height: 70vh;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .section {
    padding: var(--spacing-xl) 0;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
}

/* ========== SPLASH SCREEN ANIMATIONS ========== */
.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, #0066CC 0%, #00A8A8 100%);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.splash-screen.fade-out {
  opacity: 0;
  visibility: hidden;
}

.splash-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 2rem;
  max-width: 900px;
  width: 100%;
}

/* Floating Background Icons */
.splash-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.floating-icon {
  position: absolute;
  font-size: clamp(2rem, 5vw, 4rem);
  opacity: 0;
  animation: floatIn 1s ease forwards, floatAround 8s ease-in-out infinite;
  animation-delay: var(--delay);
  left: var(--x, 50%);
  top: var(--y, 50%);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

@keyframes floatIn {
  0% {
    opacity: 0;
    transform: scale(0) rotate(0deg);
  }

  100% {
    opacity: 0.6;
    transform: scale(1) rotate(360deg);
  }
}

@keyframes floatAround {

  0%,
  100% {
    transform: translateY(0) translateX(0) rotate(0deg);
  }

  25% {
    transform: translateY(-30px) translateX(20px) rotate(90deg);
  }

  50% {
    transform: translateY(-15px) translateX(-20px) rotate(180deg);
  }

  75% {
    transform: translateY(-25px) translateX(15px) rotate(270deg);
  }
}

/* Logo Container */
.splash-logo-container {
  animation: fadeInScale 1s ease forwards;
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Logo with Glow Effect */
.splash-logo-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}

.splash-logo {
  height: clamp(80px, 15vw, 150px);
  width: auto;
  filter: drop-shadow(0 8px 24px rgba(255, 255, 255, 0.3));
  animation: logoFloat 3s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

@keyframes logoFloat {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-15px) scale(1.05);
  }
}

.logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
  animation: pulse 2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1.2);
  }
}

/* Animated Title */
.splash-title {
  color: white;
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  font-family: var(--font-heading);
}

.splash-title .letter {
  display: inline-block;
  opacity: 0;
  animation: letterDrop 0.5s ease forwards;
  animation-delay: calc(var(--i, 0) * 0.1s);
}

.splash-title .letter:nth-child(1) {
  --i: 0;
}

.splash-title .letter:nth-child(2) {
  --i: 1;
}

.splash-title .letter:nth-child(3) {
  --i: 2;
}

.splash-title .letter:nth-child(4) {
  --i: 3;
}

.splash-title .letter:nth-child(5) {
  --i: 4;
}

.splash-title .letter:nth-child(6) {
  --i: 5;
}

.splash-title .letter:nth-child(7) {
  --i: 6;
}

.splash-title .letter:nth-child(8) {
  --i: 7;
}

.splash-title .letter:nth-child(9) {
  --i: 8;
}

.splash-title .letter:nth-child(10) {
  --i: 9;
}

@keyframes letterDrop {
  0% {
    opacity: 0;
    transform: translateY(-50px) rotateX(-90deg);
  }

  50% {
    opacity: 1;
    transform: translateY(5px) rotateX(5deg);
  }

  100% {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

/* Tagline */
.splash-tagline {
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(1rem, 3vw, 1.5rem);
  font-weight: 300;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeInUp 1s ease 0.8s forwards;
  letter-spacing: 0.02em;
  line-height: 1.8;
}

.splash-subtitle {
  display: inline-block;
  font-size: clamp(0.875rem, 2.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  margin-top: 0.75rem;
  opacity: 0;
  animation: fadeInUp 1s ease 1.2s forwards;
  letter-spacing: 0.05em;
}

/* Cow Mascots in Corners */
.cow-mascot {
  position: absolute;
  font-size: clamp(3rem, 8vw, 6rem);
  opacity: 0;
  z-index: 20;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
  animation: cowWalkIn 1.5s ease 0.5s forwards;
}

.cow-left {
  bottom: 10%;
  left: -10%;
  animation: cowWalkIn 1.5s ease 0.5s forwards, cowBounce 3s ease-in-out 2s infinite;
}

.cow-right {
  bottom: 10%;
  right: -10%;
  transform: scaleX(-1);
  animation: cowWalkIn 1.5s ease 0.8s forwards, cowBounce 3s ease-in-out 2.3s infinite;
}

@keyframes cowWalkIn {
  0% {
    opacity: 0;
    bottom: 10%;
  }

  100% {
    opacity: 0.8;
    bottom: 5%;
    left: 2%;
  }
}

.cow-right {
  animation-name: cowWalkInRight, cowBounce;
}

@keyframes cowWalkInRight {
  0% {
    opacity: 0;
    bottom: 10%;
  }

  100% {
    opacity: 0.8;
    bottom: 5%;
    right: 2%;
  }
}

@keyframes cowBounce {

  0%,
  100% {
    transform: translateY(0) scaleX(-1);
  }

  50% {
    transform: translateY(-15px) scaleX(-1);
  }
}

/* Product Showcase Icons */
.splash-product-showcase {
  display: flex;
  justify-content: center;
  gap: clamp(2rem, 5vw, 4rem);
  margin-bottom: 5rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 5;
  padding-bottom: 2rem;
}

.product-icon-wrapper {
  opacity: 0;
  animation: popIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
  text-align: center;
  min-width: 100px;
}

.product-icon-wrapper:nth-child(1) {
  animation-delay: 1.2s;
}

.product-icon-wrapper:nth-child(2) {
  animation-delay: 1.4s;
}

.product-icon-wrapper:nth-child(3) {
  animation-delay: 1.6s;
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0) rotate(-180deg);
  }

  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

.product-icon {
  width: clamp(50px, 10vw, 80px);
  height: clamp(50px, 10vw, 80px);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin: 0 auto 0.75rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.product-icon:hover {
  transform: translateY(-5px) scale(1.1);
  background: rgba(255, 255, 255, 0.25);
}

.product-icon-wrapper span {
  color: white;
  font-weight: 600;
  font-size: clamp(0.875rem, 2vw, 1.125rem);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Loading Bar */
.splash-loader {
  position: fixed;
  bottom: clamp(3rem, 10vh, 6rem);
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 400px;
  z-index: 15;
}

.loader-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.loader-bar::after {
  content: '';
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0.5) 0%,
      rgba(255, 255, 255, 1) 50%,
      rgba(255, 255, 255, 0.5) 100%);
  animation: loading 4s ease-in-out forwards;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

@keyframes loading {
  0% {
    width: 0%;
  }

  100% {
    width: 100%;
  }
}

.loader-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.875rem, 2vw, 1rem);
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeInUp 1s ease 0.5s forwards;
}

/* Particle Effects */
.splash-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: white;
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 4s ease-in-out infinite;
}

.particle:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
}

.particle:nth-child(2) {
  left: 20%;
  animation-delay: 0.5s;
}

.particle:nth-child(3) {
  left: 30%;
  animation-delay: 1s;
}

.particle:nth-child(4) {
  left: 40%;
  animation-delay: 1.5s;
}

.particle:nth-child(5) {
  left: 50%;
  animation-delay: 2s;
}

.particle:nth-child(6) {
  left: 60%;
  animation-delay: 2.5s;
}

.particle:nth-child(7) {
  left: 70%;
  animation-delay: 3s;
}

.particle:nth-child(8) {
  left: 80%;
  animation-delay: 3.5s;
}

.particle:nth-child(9) {
  left: 90%;
  animation-delay: 0.8s;
}

.particle:nth-child(10) {
  left: 95%;
  animation-delay: 1.8s;
}

@keyframes particleFloat {
  0% {
    bottom: -10%;
    opacity: 0;
    transform: translateX(0) scale(0);
  }

  10% {
    opacity: 1;
    transform: translateX(10px) scale(1);
  }

  90% {
    opacity: 1;
  }

  100% {
    bottom: 110%;
    opacity: 0;
    transform: translateX(-20px) scale(0.5);
  }
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  .splash-product-showcase {
    gap: 1.5rem;
    margin-bottom: 6rem;
  }

  .floating-icon {
    font-size: 2rem;
  }

  .splash-tagline {
    font-size: 1rem;
    padding: 0 1rem;
    margin-bottom: 4rem;
  }

  .splash-subtitle {
    font-size: 0.875rem;
  }

  .cow-mascot {
    font-size: 3rem;
  }

  .splash-loader {
    bottom: 2rem;
  }
}

@media (max-width: 480px) {
  .splash-logo {
    height: 80px;
  }

  .splash-title {
    font-size: 2rem;
  }

  .product-icon {
    width: 50px;
    height: 50px;
  }

  .product-icon-wrapper span {
    font-size: 0.75rem;
  }

  .cow-mascot {
    display: none;
  }

  .splash-product-showcase {
    margin-bottom: 7rem;
  }

  .splash-tagline {
    margin-bottom: 5rem;
  }
}