:root {
  /* Culori */
  --color-primary: #0077B6;
  --color-secondary: #90E0EF;
  --color-accent: #00B4D8;
  --color-background: #F0F8FF;
  --color-footer-bg: #023E8A;
  --color-text-dark: #001219;
  --color-text-light: #F0F8FF;
  --color-section-1: #E0FFFF;
  --color-section-2: #D4F1F4;
  --color-section-3: #BEE9E7;
  --color-section-4: #A5DFFE;

  /* Fonturi */
  --font-family-heading: 'Poppins', sans-serif;
  --font-family-body: 'Roboto', sans-serif;

  /* Spacing */
  --spacing-unit: 1rem; /* 16px */
  --spacing-xs: calc(0.25 * var(--spacing-unit)); /* 4px */
  --spacing-sm: calc(0.5 * var(--spacing-unit)); /* 8px */
  --spacing-md: var(--spacing-unit); /* 16px */
  --spacing-lg: calc(1.5 * var(--spacing-unit)); /* 24px */
  --spacing-xl: calc(2 * var(--spacing-unit)); /* 32px */
  --spacing-xxl: calc(3 * var(--spacing-unit)); /* 48px */

  /* Border Radius */
  --border-radius-sm: 0.25rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 0.75rem;

  /* Shadows */
  --shadow-neon-sm: 0 0 5px var(--color-accent), 0 0 10px var(--color-accent);
  --shadow-neon-md: 0 0 10px var(--color-accent), 0 0 20px var(--color-accent), 0 0 30px var(--color-accent);
  --shadow-neumorphic: 5px 5px 10px rgba(0, 0, 0, 0.1), -5px -5px 10px rgba(255, 255, 255, 0.7);
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&family=Roboto:wght@300;400;500&display=swap');

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-body);
  color: var(--color-text-dark);
  background-color: var(--color-background);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Tipografie */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-heading);
  color: var(--color-primary);
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  text-shadow: var(--shadow-neon-sm);
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

h3 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 600;
}

p {
  margin-bottom: var(--spacing-md);
  font-size: 1.125rem;
  font-weight: 300;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
  color: var(--color-accent);
  text-shadow: var(--shadow-neon-sm);
}

/* Layout și containere */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--spacing-md);
  padding-right: var(--spacing-md);
}

section {
  padding: var(--spacing-xxl) var(--spacing-md);
  margin-bottom: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  position: relative;
  overflow: hidden;
}

section:nth-of-type(odd) {
  background-color: var(--color-section-1);
}

section:nth-of-type(even) {
  background-color: var(--color-section-2);
}

section:nth-of-type(3n+1) {
  background-color: var(--color-section-3);
}

section:nth-of-type(4n+1) {
  background-color: var(--color-section-4);
}

/* Butoane */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-sm) var(--spacing-lg);
  border: none;
  border-radius: var(--border-radius-md);
  font-family: var(--font-family-heading);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-text-light);
  box-shadow: var(--shadow-neon-sm);
}

.btn-primary:hover {
  background-color: var(--color-primary);
  box-shadow: var(--shadow-neon-md);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  box-shadow: var(--shadow-neon-sm);
  transform: translateY(-2px);
}

/* Carduri */
.card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  position: relative;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease-out;
}

.card:hover::before {
  transform: scaleX(1);
}

/* Formular */
.form-group {
  margin-bottom: var(--spacing-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: 500;
  color: var(--color-primary);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group textarea {
  width: 100%;
  padding: var(--spacing-sm) var(--spacing-md);
  border: 1px solid var(--color-secondary);
  border-radius: var(--border-radius-md);
  font-family: var(--font-family-body);
  font-size: 1rem;
  background-color: white;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: var(--shadow-neon-sm);
}

textarea {
  resize: vertical;
  min-height: 80px;
}

/* Footer */
.footer {
  background-color: var(--color-footer-bg);
  color: var(--color-text-light);
  padding: var(--spacing-xl) var(--spacing-md);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top-left-radius: var(--border-radius-lg);
  border-top-right-radius: var(--border-radius-lg);
}

.footer p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer a {
  color: var(--color-secondary);
  font-weight: 500;
}

.footer a:hover {
  color: var(--color-accent);
  text-shadow: none;
}

/* Efecte geometrice abstracte */
.geometric-shape-1 {
  position: absolute;
  top: 10%;
  left: -5%;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, var(--color-secondary) 0%, transparent 70%);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  opacity: 0.3;
  filter: blur(20px);
  z-index: 0;
}

.geometric-shape-2 {
  position: absolute;
  bottom: 20%;
  right: -8%;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, var(--color-accent) 0%, transparent 70%);
  transform: rotate(45deg);
  opacity: 0.2;
  filter: blur(30px);
  z-index: 0;
}

/* Util pentru Alpine.js x-cloak */
[x-cloak] {
  display: none !important;
}

/* Stări de încărcare (schelete) */
.skeleton-box {
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: var(--border-radius-sm);
  animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
  0% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.6;
  }
}

/* Media Queries */
@media (max-width: 768px) {
  h1 {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }

  h2 {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
  }

  p {
    font-size: 1rem;
  }

  .btn {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 1rem;
  }

  section {
    padding: var(--spacing-xl) var(--spacing-md);
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: var(--spacing-sm);
    padding-right: var(--spacing-sm);
  }

  section {
    padding: var(--spacing-lg) var(--spacing-sm);
  }
}


/* Cookie Banner Additional Styles for Tailwind */
.cookie-banner-hover-effect:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

@media (prefers-reduced-motion: reduce) {
    .cookie-banner-hover-effect:hover {
        transform: none;
    }
}