/* =====================================
   PROJECT URKRAFT - STYLES
   ===================================== */

:root {
  --blood-red: #8B0000;
  --blood-red-light: #A52A2A;
  --blood-red-dark: #660000;
  --bg-dark: #0a0a0a;
  --bg-light: #f8f9fa;
  --text-dark: #1a1a1a;
  --text-light: #6b7280;
  --border-color: #e5e7eb;
  --white: #ffffff;
  --success-green: #10b981;
  --error-red: #ef4444;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

#animated-bg {
  width: 100%;
  height: 100%;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 0;
}

.logo-container {
  margin-bottom: 3rem;
}

.logo {
  max-width: 200px;
  height: auto;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.highlight {
  color: var(--blood-red);
  position: relative;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: #d1d5db;
  max-width: 800px;
  margin: 0 auto 3rem auto;
  line-height: 1.6;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--blood-red);
  color: var(--white);
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(139, 0, 0, 0.3);
}

.cta-button:hover {
  background: var(--blood-red-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 48px rgba(139, 0, 0, 0.4);
}

.arrow-icon {
  width: 20px;
  height: 20px;
}

/* Waitlist Section */
.waitlist-section {
  padding: 5rem 0;
  background: var(--bg-light);
}

.waitlist-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  line-height: 1.6;
}

.waitlist-form {
  margin-top: 2rem;
}

.form-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.email-input {
  flex: 1;
  min-width: 280px;
  padding: 1rem 1.5rem;
  font-size: 1.1rem;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.3s ease;
}

.email-input:focus {
  border-color: var(--blood-red);
}

.submit-button {
  padding: 1rem 2rem;
  background: var(--blood-red);
  color: var(--white);
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.submit-button:hover:not(:disabled) {
  background: var(--blood-red-light);
  transform: translateY(-1px);
}

.submit-button:disabled {
  background: #9ca3af;
  cursor: not-allowed;
  transform: none;
}

.error-message {
  color: var(--error-red);
  font-size: 0.9rem;
  text-align: left;
  margin-bottom: 1rem;
}

.gdpr-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  text-align: left;
  margin-top: 1.5rem;
}

.gdpr-checkbox input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 16px;
  height: 16px;
  accent-color: var(--blood-red);
}

.gdpr-checkbox label {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
  cursor: pointer;
}

.legal-link {
  color: var(--blood-red);
  background: none;
  border: none;
  text-decoration: underline;
  cursor: pointer;
  font-size: inherit;
}

.legal-link:hover {
  color: var(--blood-red-light);
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: var(--white);
  padding: 2rem 0;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  color: #d1d5db;
  background: none;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--white);
}

.copyright {
  color: #9ca3af;
  font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--border-color);
  padding: 1.5rem;
  z-index: 1000;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.1);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-text h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.cookie-text p {
  color: var(--text-light);
  font-size: 0.9rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-buttons button {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-accept-all {
  background: var(--blood-red);
  color: var(--white);
}

.btn-accept-all:hover {
  background: var(--blood-red-light);
}

.btn-accept-necessary {
  background: #6b7280;
  color: var(--white);
}

.btn-accept-necessary:hover {
  background: #4b5563;
}

.btn-settings {
  background: transparent;
  color: var(--blood-red);
  border: 1px solid var(--blood-red);
}

.btn-settings:hover {
  background: var(--blood-red);
  color: var(--white);
}

/* Modals */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1rem;
}

.modal-content {
  background: var(--white);
  border-radius: 12px;
  max-width: 500px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.modal-content.large {
  max-width: 800px;
}

.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
  padding: 0.25rem;
}

.close-btn:hover {
  color: var(--text-dark);
}

.modal-body {
  padding: 1.5rem;
}

.modal-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-color);
  text-align: right;
}

.btn-save {
  background: var(--blood-red);
  color: var(--white);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-save:hover {
  background: var(--blood-red-light);
}

/* Cookie Settings */
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

.cookie-category h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--text-dark);
}

.cookie-category p {
  font-size: 0.9rem;
  color: var(--text-light);
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--blood-red);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

input:disabled + .slider {
  background-color: #9ca3af;
  cursor: not-allowed;
}

/* Utility Classes */
.hidden {
  display: none !important;
}

.text-center {
  text-align: center;
}

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero {
    min-height: 90vh;
  }
  
  .hero-content {
    padding: 1rem 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .form-group {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .email-input {
    min-width: 100%;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-buttons {
    justify-content: center;
  }
  
  .footer-links {
    gap: 1rem;
  }
  
  .modal-content {
    margin: 1rem;
    max-height: 90vh;
  }
  
  .cookie-category {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .waitlist-section {
    padding: 3rem 0;
  }
  
  .modal-header,
  .modal-body,
  .modal-footer {
    padding: 1rem;
  }
}