/* Base styles - Mobile First */
:root {
  --dutivo-orange: #ff6b35;
  --dutivo-cyan: #008b8b;
  --dutivo-dark: #2d3748;
  --dutivo-light: #f7fafc;
  --dutivo-gray: #718096;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  min-height: 100%;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--dutivo-dark);
  background: #f7fafc;
  background-image: 
    linear-gradient(rgba(247, 250, 252, 0.92), rgba(237, 242, 247, 0.92)),
    url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=1600&auto=format&fit=crop&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
}

main {
  width: 100%;
  flex: 1 0 auto;
}

/* Hero Section */
.hero-section {
  padding: 2rem 0 4rem 0;
  display: flex;
  align-items: center;
}

/* Under Construction Badge */
.under-construction-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--dutivo-orange), #ff8c42);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Brand Title */
.brand-title {
  font-family: 'Poppins', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  margin: 1rem 0;
  line-height: 1.2;
}

.brand-du,
.brand-vo {
  color: var(--dutivo-dark);
}

.brand-i {
  color: var(--dutivo-orange);
}

.brand-dotnet {
  color: var(--dutivo-cyan);
  font-weight: 700;
}

.tagline {
  font-size: 2rem;
  font-weight: 600;
  color: var(--dutivo-gray);
  margin-bottom: 1.5rem;
}

.lead-text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--dutivo-gray);
  max-width: 700px;
  margin: 0 auto 3rem;
}

/* Hero Image */
.hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 1rem;
  transition: transform 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.hero-image:hover {
  transform: scale(1.02);
}

/* Feature List */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--dutivo-dark);
}

.feature-item svg {
  color: var(--dutivo-orange);
  flex-shrink: 0;
}

/* Feedback Section */
.feedback-section {
  margin-top: 4rem;
  padding: 2rem 0 4rem 0;
}

.feedback-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.feedback-card h3 {
  color: var(--dutivo-dark);
  font-weight: 700;
  font-size: 1.75rem;
}

.form-label {
  font-weight: 600;
  color: var(--dutivo-dark);
  margin-bottom: 0.5rem;
}

.form-control {
  border: 2px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--dutivo-orange);
  box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

.btn-primary {
  background: linear-gradient(135deg, var(--dutivo-orange), #ff8c42);
  border: none;
  padding: 1rem 2rem;
  font-weight: 600;
  font-size: 1.125rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
  background: linear-gradient(135deg, #ff8c42, var(--dutivo-orange));
}

.btn-primary:active {
  transform: translateY(0);
}

/* Turnstile widget */
.cf-turnstile {
  margin: 1rem 0;
}

/* Footer */
.footer {
  flex-shrink: 0;
  background: rgba(45, 55, 72, 0.95);
  backdrop-filter: blur(10px);
  color: white;
  padding: 1.5rem 0;
  margin-top: auto;
}

.footer p {
  color: rgba(255, 255, 255, 0.8);
}

/* Alerts */
.alert {
  border-radius: 0.5rem;
  border: none;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
}

/* Validation */
.text-danger {
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: block;
}

.consent-box {
  background: rgba(247, 250, 252, 0.85);
  border: 1px solid rgba(113, 128, 150, 0.2);
  border-radius: 0.75rem;
  padding: 1rem;
}

.form-check-input {
  margin-top: 0.3rem;
}

.form-check-label {
  color: var(--dutivo-dark);
}

.footer-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.footer-link:hover {
  color: white;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 767px) {
  .brand-title {
    font-size: 2.5rem;
  }

  .tagline {
    font-size: 1.5rem;
  }

  .lead-text {
    font-size: 1rem;
  }

  .feedback-card {
    padding: 1.5rem;
  }

  .feature-list {
    padding: 1rem 0;
  }

  .under-construction-badge {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }

  .under-construction-badge svg {
    width: 32px;
    height: 32px;
  }
}

@media (min-width: 768px) {
  html {
    font-size: 18px;
  }

  .hero-section {
    padding: 3rem 0;
  }

  .feedback-card {
    padding: 3rem;
  }
}

@media (min-width: 992px) {
  .brand-title {
    font-size: 5rem;
  }

  .tagline {
    font-size: 2.5rem;
  }

  .lead-text {
    font-size: 1.25rem;
  }
}

/* Legacy Bootstrap overrides */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}
