/* ============================================
   TEXTOS LEGALS EN CATALÀ - ESTILS
   ============================================ */

/* Reset i Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #0f172a;
  color: #e2e8f0;
  line-height: 1.6;
}

/* Focus states */
input:focus,
textarea:focus,
select:focus {
  border-color: #10b981 !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Button hover/active */
button:hover:not(:disabled) {
  transform: translateY(-1px);
}

button:active:not(:disabled) {
  transform: translateY(0);
}

/* Scrollbar personalitzat */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ============================================
   ANIMACIONS
   ============================================ */

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

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.animate-fade-in {
  animation: fadeIn 0.4s ease-out;
}

.animate-slide-in {
  animation: slideIn 0.3s ease-out;
}

.animate-slide-up {
  animation: slideUp 0.4s ease-out;
}

/* ============================================
   FONS DECORATIU
   ============================================ */

.background-pattern {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ============================================
   HEADER
   ============================================ */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  background-color: rgba(15, 23, 42, 0.8);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
}

.logo-icon {
  color: #10b981;
  display: flex;
  align-items: center;
}

.logo-text {
  font-size: 18px;
  font-weight: 600;
  color: #f8fafc;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  gap: 28px;
}

.nav-item {
  font-size: 14px;
  color: #94a3b8;
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: none;
}

.nav-item:hover {
  color: #e2e8f0;
}

.nav-item.active {
  color: #10b981;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background-color: rgba(0, 0, 0, 0.2);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: start;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #f8fafc;
}

.footer-text {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  max-width: 400px;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 4px;
}

.footer-link {
  font-size: 13px;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: #10b981;
}

.footer-right {
  text-align: right;
}

.footer-copyright {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

/* ============================================
   COOKIE BANNER
   ============================================ */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(30, 41, 59, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  padding: 20px 24px;
  animation: slideUp 0.4s ease-out;
}

.cookie-banner.hidden {
  display: none;
}

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

.cookie-text {
  flex: 1;
  min-width: 300px;
}

.cookie-title {
  font-size: 15px;
  font-weight: 600;
  color: #f8fafc;
  margin: 0 0 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-description {
  font-size: 13px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.5;
}

.cookie-description a {
  color: #10b981;
  text-decoration: none;
}

.cookie-description a:hover {
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  font-family: inherit;
}

.cookie-btn-accept {
  background-color: #10b981;
  color: #0f172a;
}

.cookie-btn-accept:hover {
  background-color: #059669;
}

.cookie-btn-reject {
  background-color: transparent;
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-btn-reject:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
}

.cookie-btn-config {
  background-color: transparent;
  color: #94a3b8;
  padding: 10px 16px;
}

.cookie-btn-config:hover {
  color: #e2e8f0;
}

/* ============================================
   HOME PAGE - HERO
   ============================================ */

.home-page {
  position: relative;
  z-index: 10;
}

.hero-section {
  position: relative;
  padding: 80px 24px 60px;
  text-align: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.05) 0%, transparent 100%);
}

.hero-content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 13px;
  color: #10b981;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 20px 0;
}

.hero-title-accent {
  background: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0 0 32px 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.hero-primary-btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  background-color: #10b981;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.hero-primary-btn:hover {
  background-color: #059669;
}

/* ============================================
   HOME PAGE - FEATURES
   ============================================ */

.features-section {
  padding: 40px 24px 60px;
  max-width: 1000px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.feature-card {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 24px;
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.03);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-icon.green {
  background-color: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.feature-icon.blue {
  background-color: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.feature-icon.purple {
  background-color: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
}

.feature-title {
  font-size: 16px;
  font-weight: 600;
  color: #f8fafc;
  margin: 0 0 8px 0;
}

.feature-text {
  font-size: 14px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.5;
}

/* ============================================
   HOME PAGE - GENERATORS GRID
   ============================================ */

.generators-section {
  padding: 60px 24px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 16px;
  color: #94a3b8;
  margin: 0;
}

.generators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.generator-card {
  position: relative;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px;
  cursor: pointer;
  transition: all 0.3s;
}

.generator-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}

.generator-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}

.generator-title {
  font-size: 18px;
  font-weight: 600;
  color: #f8fafc;
  margin: 0 0 8px 0;
}

.generator-description {
  font-size: 14px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.5;
  padding-right: 24px;
}

.generator-arrow {
  position: absolute;
  top: 28px;
  right: 24px;
  color: #64748b;
  transition: all 0.3s;
}

.generator-card:hover .generator-arrow {
  color: #10b981;
  transform: translateX(4px);
}

/* ============================================
   HOME PAGE - CTA
   ============================================ */

.cta-section {
  padding: 60px 24px;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content {
  background-color: rgba(59, 130, 246, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
}

.cta-title {
  font-size: 22px;
  font-weight: 600;
  color: #f8fafc;
  margin: 0 0 12px 0;
}

.cta-text {
  font-size: 15px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.6;
}

/* ============================================
   GENERATOR PAGES
   ============================================ */

.generator-page {
  position: relative;
  z-index: 10;
  min-height: calc(100vh - 120px);
}

.generator-hero {
  padding: 32px 24px 24px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 14px;
  color: #94a3b8;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 20px;
  transition: all 0.2s;
  font-family: inherit;
}

.back-button:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
}

.generator-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 12px;
  color: #10b981;
  margin-bottom: 16px;
}

.generator-badge.blue {
  background-color: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
}

.generator-badge.yellow {
  background-color: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
}

.generator-badge.purple {
  background-color: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.2);
  color: #8b5cf6;
}

.generator-badge.cyan {
  background-color: rgba(6, 182, 212, 0.1);
  border-color: rgba(6, 182, 212, 0.2);
  color: #06b6d4;
}

.generator-badge.pink {
  background-color: rgba(236, 72, 153, 0.1);
  border-color: rgba(236, 72, 153, 0.2);
  color: #ec4899;
}

.generator-page-title {
  font-size: 36px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 10px 0;
  letter-spacing: -0.02em;
}

.generator-page-subtitle {
  font-size: 16px;
  color: #94a3b8;
  margin: 0;
}

/* ============================================
   PROGRESS BAR
   ============================================ */

.progress-container {
  max-width: 500px;
  margin: 0 auto 40px;
  padding: 0 24px;
}

.progress-bar {
  display: flex;
  align-items: center;
  justify-content: center;
}

.progress-step {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.3s;
}

.progress-step.active {
  background-color: rgba(16, 185, 129, 0.2);
  border-color: #10b981;
  color: #10b981;
}

.progress-step.current {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.progress-line {
  width: 50px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s;
}

.progress-line.active {
  background-color: #10b981;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  padding: 0 6px;
}

.progress-label {
  font-size: 11px;
  color: #64748b;
  width: 70px;
  text-align: center;
}

.progress-label.active {
  color: #10b981;
  font-weight: 600;
}

/* ============================================
   GENERATOR MAIN LAYOUT
   ============================================ */

.generator-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 60px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
}

@media (max-width: 900px) {
  .generator-main {
    grid-template-columns: 1fr;
  }
  
  .sidebar {
    order: -1;
  }
}

/* ============================================
   FORM CARD
   ============================================ */

.form-card {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 28px;
}

.step-header {
  margin-bottom: 28px;
}

.step-title {
  font-size: 22px;
  font-weight: 600;
  color: #f8fafc;
  margin: 0 0 6px 0;
  letter-spacing: -0.01em;
}

.step-description {
  font-size: 14px;
  color: #94a3b8;
  margin: 0;
}

/* ============================================
   FORM ELEMENTS
   ============================================ */

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #e2e8f0;
  margin-bottom: 6px;
}

.required {
  color: #ef4444;
  margin-left: 3px;
}

.input,
.textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #f8fafc;
  outline: none;
  transition: all 0.2s;
  font-family: inherit;
}

.textarea {
  resize: vertical;
  min-height: 100px;
}

.input::placeholder,
.textarea::placeholder {
  color: #64748b;
}

.hint {
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-top: 5px;
}

/* Radio group */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.radio-label:hover {
  background-color: rgba(255, 255, 255, 0.04);
}

.radio {
  width: 16px;
  height: 16px;
  accent-color: #10b981;
}

.radio-text {
  font-size: 14px;
  color: #e2e8f0;
}

/* Checkbox */
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.checkbox-label:hover {
  background-color: rgba(255, 255, 255, 0.04);
}

.checkbox {
  width: 16px;
  height: 16px;
  accent-color: #10b981;
}

.checkbox-text {
  font-size: 14px;
  color: #e2e8f0;
}

/* ============================================
   BUTTONS
   ============================================ */

.button-group {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  justify-content: flex-end;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  background-color: #10b981;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.btn-primary:hover:not(:disabled) {
  background-color: #059669;
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  color: #94a3b8;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
}

/* ============================================
   SIDEBAR
   ============================================ */

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.summary-card {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 20px;
}

.summary-title {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #f8fafc;
  margin: 0 0 16px 0;
}

.summary-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.summary-label {
  font-size: 12px;
  color: #64748b;
  flex-shrink: 0;
}

.summary-value {
  font-size: 12px;
  color: #e2e8f0;
  text-align: right;
  word-break: break-word;
}

.summary-value.success {
  color: #10b981;
}

.summary-value.muted {
  color: #94a3b8;
}

/* Info card */
.info-card {
  background-color: rgba(59, 130, 246, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 14px;
  padding: 20px;
}

.info-icon {
  font-size: 22px;
  margin-bottom: 10px;
}

.info-title {
  font-size: 14px;
  font-weight: 600;
  color: #f8fafc;
  margin: 0 0 6px 0;
}

.info-text {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
}

/* ============================================
   MODAL
   ============================================ */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
}

.modal {
  background-color: #1e293b;
  border-radius: 16px;
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.modal-title {
  font-size: 18px;
  font-weight: 600;
  color: #f8fafc;
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.modal-close:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
}

.modal-actions {
  display: flex;
  gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background-color: rgba(0, 0, 0, 0.2);
}

.action-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #e2e8f0;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.action-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.action-button.success {
  background-color: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.3);
  color: #10b981;
}

/* ============================================
   DOCUMENT PREVIEW
   ============================================ */

.document-preview {
  flex: 1;
  overflow: auto;
  padding: 32px;
  background-color: #ffffff;
  color: #1e293b;
}

.document-content h1 {
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
  text-align: center;
  margin-bottom: 8px;
}

.document-content h2.doc-subtitle {
  font-size: 14px;
  color: #64748b;
  text-align: center;
  margin-bottom: 32px;
  font-weight: 400;
}

.document-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  margin: 28px 0 14px 0;
  padding-bottom: 6px;
  border-bottom: 2px solid #10b981;
}

.document-content h4 {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  margin: 20px 0 10px 0;
}

.document-content p {
  font-size: 13px;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 10px;
  text-align: justify;
}

.document-content ul {
  margin: 0 0 14px 0;
  padding-left: 20px;
  font-size: 13px;
  line-height: 1.7;
  color: #475569;
}

.document-content li {
  margin-bottom: 6px;
}

.document-content .doc-footer {
  font-size: 11px;
  color: #94a3b8;
  text-align: center;
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}

.document-content .highlight-box {
  background-color: #f1f5f9;
  padding: 12px;
  border-radius: 4px;
  white-space: pre-line;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .header-content {
    padding: 12px 16px;
  }
  
  .nav {
    gap: 16px;
  }
  
  .nav-item {
    font-size: 13px;
  }
  
  .hero-section {
    padding: 60px 16px 40px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .generators-section,
  .features-section {
    padding-left: 16px;
    padding-right: 16px;
  }
  
  .generator-hero {
    padding: 24px 16px 20px;
  }
  
  .generator-page-title {
    font-size: 28px;
  }
  
  .generator-main {
    padding: 0 16px 40px;
  }
  
  .form-card {
    padding: 20px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-right {
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-actions {
    width: 100%;
    justify-content: center;
  }
}
