:root {
  /* Color Palette */
  --primary: #00b894; /* Energizing Green */
  --primary-dark: #00997a;
  --primary-light: rgba(0, 184, 148, 0.1);
  
  --secondary: #0984e3; /* Trustworthy Blue */
  --secondary-dark: #076aba;

  --dark: #2d3436;
  --gray-dark: #636e72;
  --gray: #b2bec3;
  --gray-light: #dfe6e9;
  --light: #f5f6fa;
  --white: #ffffff;
  
  --danger: #d63031;
  --success: #00b894;

  /* Typography */
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Shadows & Radius */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --shadow-glow: 0 0 20px rgba(0, 184, 148, 0.3);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography Elements */
h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 1rem;
  color: var(--dark);
}

h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

p {
  font-size: 1.125rem;
  color: var(--gray-dark);
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hidden {
  display: none !important;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--gray-light);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-block {
  width: 100%;
  padding: 1rem;
  font-size: 1.125rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--gray-light);
  padding: 1rem 0;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--primary);
}

.brand-icon {
  width: 28px;
  height: 28px;
  stroke-width: 2.5;
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--dark);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: calc(100vh - 80px); /* Leave room for header/footer */
  display: flex;
  align-items: center;
  padding-top: 8rem;
  padding-bottom: 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, var(--primary-light), transparent 50%),
              radial-gradient(circle at bottom left, rgba(9, 132, 227, 0.05), transparent 50%);
  z-index: -1;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  animation: float 10s ease-in-out infinite alternate;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-30px, 30px) scale(1.05); }
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.75rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.benefits {
  list-style: none;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.benefits li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark);
}

.benefits i {
  color: var(--primary);
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-light);
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--gray-dark);
  margin-top: 0.25rem;
}

/* Glass Card Form */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
}

.card-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.card-header p {
  font-size: 1rem;
  margin-bottom: 0;
}

/* Form Styles */
.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.input-wrapper i {
  color: var(--gray);
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: var(--transition);
}

.input-wrapper input {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.8);
}

.input-wrapper input:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px var(--primary-light);
}

.input-wrapper:focus-within i {
  color: var(--primary);
}

/* File Drop Area */
.file-drop-area {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border: 2px dashed var(--gray);
  border-radius: var(--radius-sm);
  background: var(--light);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.file-drop-area:hover, .file-drop-area.dragover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.file-drop-area .upload-icon {
  width: 40px;
  height: 40px;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.file-drop-area .file-msg {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-dark);
}

.file-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

/* File Preview */
.file-preview {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-sm);
  margin-top: 0.5rem;
}

.file-preview i {
  color: var(--secondary);
}

.file-name {
  flex-grow: 1;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.remove-file {
  background: transparent;
  border: none;
  color: var(--gray);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: var(--transition);
}

.remove-file:hover {
  background: rgba(214, 48, 49, 0.1);
  color: var(--danger);
}

/* RGPD Consent Section */
.rgpd-section {
  margin-top: 1rem;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--dark);
  cursor: pointer;
  margin-bottom: 0.75rem;
}

.checkbox-container input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}

.rgpd-basic-info {
  background: rgba(0, 0, 0, 0.03);
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  color: var(--gray-dark);
  line-height: 1.4;
  border: 1px solid var(--gray-light);
}

.rgpd-basic-info p {
  font-size: 0.7rem;
  margin-bottom: 0.25rem;
}
.rgpd-basic-info p:last-child {
  margin-bottom: 0;
}

/* Success Message */
.success-message {
  text-align: center;
  padding: 2rem 0;
  animation: fadeIn 0.5s ease-out forwards;
}

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

.success-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-light);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 1.5rem;
}

.success-icon i {
  width: 40px;
  height: 40px;
  color: var(--primary);
}

/* Footer */
.footer {
  background: var(--white);
  padding: 2rem 0;
  border-top: 1px solid var(--gray-light);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--dark);
}

.footer-brand i {
  color: var(--primary);
  width: 20px;
  height: 20px;
}

.footer p {
  font-size: 0.875rem;
  margin: 0;
}

/* Responsive */
@media (max-width: 968px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero {
    padding-top: 6rem;
    text-align: center;
  }
  
  .hero-bg::before {
    right: 50%;
    transform: translateX(50%);
  }
  
  .benefits {
    align-items: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .glass-card {
    padding: 1.5rem;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-stats {
    gap: 1rem;
  }
  
  .stat-value {
    font-size: 1.5rem;
  }
}

@media (max-width: 600px) {
  .brand-name { font-size: 1.15rem; }
  .navbar .btn-outline { padding: 0.4rem 0.8rem; font-size: 0.8rem; }
  .hero { padding-top: 7rem; }
}
