/* Reset and Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
  --primary-gold: #D4AF37;
  --secondary-gold: #F4E4BC;
  --accent-gold: #FFD700;
  --dark-bg: #0A0A0A;
  --darker-bg: #050505;
  --text-light: #F5F5F5;
  --text-muted: #B8B8B8;
  --gradient-primary: linear-gradient(135deg, #D4AF37 0%, #FFD700 50%, #F4E4BC 100%);
  --gradient-dark: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 50%, #2A2A2A 100%);
  --shadow-gold: 0 8px 32px rgba(212, 175, 55, 0.3);
  --shadow-dark: 0 8px 32px rgba(0, 0, 0, 0.5);
}

body {
  font-family: "Raleway", sans-serif;
  line-height: 1.6;
  background: var(--dark-bg);
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Animated Background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(244, 228, 188, 0.05) 0%, transparent 50%);
  z-index: -1;
  animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 1rem;
  transition: transform 0.3s ease;
}

.logo-link:hover {
  transform: scale(1.05);
}

.nav-brand h1 {
  font-family: "Raleway", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--dark-bg);
  background-color: var(--text-light);
  font-weight: 500;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  border-radius: 50px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.nav-link:hover::before {
  opacity: 0.1;
}

.nav-link:hover {
  color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.nav-link.active {
  color: var(--accent-gold);
  background: rgba(212, 175, 55, 0.1);
  box-shadow: var(--shadow-gold);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--gradient-primary);
  transition: 0.3s;
  border-radius: 2px;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: linear-gradient(135deg, rgba(15, 15, 35, 0.8) 0%, rgba(26, 26, 46, 0.8) 50%, rgba(22, 33, 62, 0.8) 100%),
              url('../images/avance-hero.jpg') center/cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 70%, rgba(212, 175, 55, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 70% 30%, rgba(255, 215, 0, 0.1) 0%, transparent 60%);
  animation: heroGlow 15s ease-in-out infinite;
}

@keyframes heroGlow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.hero h2 {
  font-family: "Raleway", sans-serif;
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 2rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 50px rgba(212, 175, 55, 0.5);
  line-height: 1.1;
  animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.2); }
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 3rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.8;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  background: var(--gradient-primary);
  color: var(--dark-bg);
  padding: 20px 50px;
  border: none;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 2px;
  box-shadow: var(--shadow-gold);
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

/* Section Styles */
.section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.section:nth-child(even) {
  background: rgba(26, 26, 26, 0.5);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section h2 {
  font-family: "Raleway", sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section > .container > p {
  text-align: center;
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.testimonial-card {
  background: rgba(26, 26, 26, 0.8);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  position: relative;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 30px;
  font-size: 6rem;
  color: var(--primary-gold);
  font-family: "Raleway", sans-serif;
  opacity: 0.3;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-gold);
  border-color: var(--primary-gold);
}

.testimonial-card p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: var(--text-light);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.testimonial-author strong {
  color: var(--accent-gold);
  font-size: 1.1rem;
  font-weight: 600;
}

.testimonial-author span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.skill-card {
  background: rgba(26, 26, 26, 0.8);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.skill-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.skill-card:hover::before {
  transform: scaleX(1);
}

.skill-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-gold);
  border-color: var(--primary-gold);
}

.skill-card h3 {
  font-family: "Raleway", sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--accent-gold);
}

.skill-card p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1rem;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.feature-card {
  background: rgba(26, 26, 26, 0.8);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  backdrop-filter: blur(10px);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-gold);
  border-color: var(--primary-gold);
}

.feature-card h3 {
  font-family: "Raleway", sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--accent-gold);
}

.feature-card p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1rem;
}

/* Steps Container */
.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.step {
  text-align: center;
  padding: 2rem;
  position: relative;
}

.step-number {
  background: var(--gradient-primary);
  color: var(--dark-bg);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  margin: 0 auto 2rem;
  box-shadow: var(--shadow-gold);
  position: relative;
  z-index: 2;
}

.step::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 50%;
  width: 2px;
  height: 100px;
  background: var(--gradient-primary);
  opacity: 0.3;
  transform: translateX(-50%);
}

.step:last-child::before {
  display: none;
}

.step h3 {
  font-family: "Raleway", sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.step p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1rem;
}

/* Control Features */
.control-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.control-card {
  background: rgba(26, 26, 26, 0.8);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  backdrop-filter: blur(10px);
}

.control-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.control-card:hover::before {
  transform: scaleX(1);
}

.control-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-gold);
  border-color: var(--primary-gold);
}

.control-card h3 {
  font-family: "Raleway", sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--accent-gold);
}

.control-card p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1rem;
}

/* Registration Form */
.registration-form {
  max-width: 700px;
  margin: 3rem auto;
  background: rgba(26, 26, 26, 0.8);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 600;
  color: var(--accent-gold);
  font-size: 1.1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid rgba(212, 175, 55, 0.3);
  border-radius: 10px;
  font-size: 1rem;
  background: rgba(10, 10, 10, 0.8);
  color: var(--text-light);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-gold);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.form-group input.error,
.form-group select.error {
  border-color: #ff6b6b;
}

.error-message {
  color: #ff6b6b;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  display: block;
}

.submit-btn {
  background: var(--gradient-primary);
  color: var(--dark-bg);
  padding: 18px 40px;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--shadow-gold);
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* FAQ Section */
.faq-container {
  max-width: 900px;
  margin: 0 auto;
  margin-top: 3rem;
}

.faq-item {
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 15px;
  margin-bottom: 1.5rem;
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.faq-item:hover {
  box-shadow: var(--shadow-gold);
  border-color: var(--primary-gold);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: rgba(212, 175, 55, 0.05);
}

.faq-question h3 {
  font-family: "Raleway", sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-light);
  margin: 0;
}

.faq-toggle {
  font-size: 2rem;
  color: var(--accent-gold);
  font-weight: bold;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 2rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 2rem 2rem;
  max-height: 500px;
}

.faq-answer p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1rem;
}

/* Contact */
/* Inscription Section */
.inscription-section {
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.inscription-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(138, 43, 226, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.inscription-container {
  position: relative;
  z-index: 2;
}

.inscription-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.inscription-info h3 {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.inscription-info p {
  color: var(--text-light);
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-gold);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.benefit-icon {
  font-size: 2rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-purple));
  border-radius: 50%;
  flex-shrink: 0;
}

.benefit-text h4 {
  color: var(--text-light);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.benefit-text p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
  opacity: 0.8;
}

.inscription-form-container {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-header h3 {
  color: var(--text-light);
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-header p {
  color: var(--text-light);
  opacity: 0.8;
  font-size: 1rem;
}

.registration-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  font-size: 1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

.form-group select {
  cursor: pointer;
}

.form-group select option {
  background: var(--dark-bg);
  color: var(--text-light);
}

.form-footer {
  text-align: center;
  margin-top: 1rem;
}

.submit-btn {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-purple));
  color: var(--dark-bg);
  border: none;
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
}

.btn-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon {
  transform: translateX(5px);
}

.form-note {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  margin: 0;
}

.error-message {
  color: #ff6b6b;
  font-size: 0.85rem;
  margin-top: 0.25rem;
  display: none;
}

.error-message.show {
  display: block;
}

.contact-info {
  text-align: center;
  margin-top: 2rem;
}

.contact-item {
  margin-bottom: 2rem;
}

.contact-item h3 {
  color: var(--accent-gold);
  margin-bottom: 1rem;
  font-family: "Raleway", sans-serif;
  font-size: 1.5rem;
}

.contact-item a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--accent-gold);
}

/* Main Content Pages */
.main-content {
  min-height: calc(100vh - 140px);
  padding: 2rem 0;
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
  position: relative;
}

.main-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(138, 43, 226, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.cookie-content-page,
.terms-content,
.policy-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 6rem 2rem 3rem 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-gold);
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 2rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--accent-gold);
  border-radius: 25px;
  transition: all 0.3s ease;
  background: rgba(255, 215, 0, 0.1);
}

.back-link:hover {
  background: var(--accent-gold);
  color: var(--dark-bg);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.back-link::before {
  content: '←';
  font-size: 1.2rem;
}

.cookie-content-page h1,
.terms-content h1,
.policy-content h1 {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
  font-family: "Raleway", sans-serif;
}

.last-updated {
  text-align: center;
  margin-bottom: 3rem;
  padding: 1rem;
  background: rgba(255, 215, 0, 0.1);
  border-radius: 10px;
  border-left: 4px solid var(--accent-gold);
}

.last-updated strong {
  color: var(--accent-gold);
}

.cookie-content-page h2,
.terms-content h2,
.policy-content h2 {
  color: var(--text-light);
  font-size: 2rem;
  font-weight: 600;
  margin: 3rem 0 1.5rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent-gold);
  font-family: "Raleway", sans-serif;
}

.cookie-content-page h3,
.terms-content h3,
.policy-content h3 {
  color: var(--accent-gold);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2rem 0 1rem 0;
}

.cookie-content-page p,
.terms-content p,
.policy-content p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  opacity: 0.9;
}

.cookie-content-page ul,
.terms-content ul,
.policy-content ul {
  color: var(--text-light);
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.cookie-content-page li,
.terms-content li,
.policy-content li {
  margin-bottom: 0.8rem;
  line-height: 1.6;
  opacity: 0.9;
}

.cookie-content-page li::marker,
.terms-content li::marker,
.policy-content li::marker {
  color: var(--accent-gold);
}

.cookie-type-section {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 2rem;
  margin: 2rem 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  overflow: hidden;
}

.cookie-table thead {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-purple));
}

.cookie-table th {
  color: var(--dark-bg);
  font-weight: 600;
  padding: 1rem;
  text-align: left;
  font-size: 1rem;
}

.cookie-table td {
  color: var(--text-light);
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.9;
}

.cookie-table tr:hover {
  background: rgba(255, 255, 255, 0.05);
}

.contact-section {
  background: rgba(255, 215, 0, 0.1);
  border-radius: 15px;
  padding: 2rem;
  margin: 3rem 0;
  border: 1px solid var(--accent-gold);
  text-align: center;
}

.contact-section h3 {
  color: var(--accent-gold);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.contact-section p {
  margin-bottom: 0.5rem;
}

.contact-section a {
  color: var(--accent-gold);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-section a:hover {
  color: var(--text-light);
  text-decoration: underline;
}

/* Footer */
.footer {
  background: var(--darker-bg);
  color: var(--text-light);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
  max-width: 1400px;
  margin: 0 auto 3rem auto;
  padding: 0 20px;
}

.footer-section h3 {
  font-family: "Raleway", sans-serif;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section ul li a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 1rem;
}

.footer-section ul li a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--text-muted);
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: 500px;
  width: calc(100% - 40px);
  background: rgba(26, 26, 26, 0.95);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: var(--shadow-gold);
  z-index: 1000;
  display: none;
  backdrop-filter: blur(20px);
}

.cookie-popup.show {
  display: block;
}

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.cookie-link {
  color: var(--accent-gold);
  text-decoration: none;
  font-weight: 500;
}

.cookie-link:hover {
  text-decoration: underline;
}

.cookie-accept {
  background: var(--gradient-primary);
  color: var(--dark-bg);
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cookie-accept:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero h2 {
    font-size: 3.5rem;
  }
  
  .section h2 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: rgba(10, 10, 10, 0.98);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 1rem 0;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }

  .hero h2 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .section {
    padding: 60px 0;
  }

  .section h2 {
    font-size: 2.5rem;
  }

  .testimonials-grid,
  .skills-grid,
  .features-grid,
  .steps-container,
  .control-features {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .testimonial-card,
  .skill-card,
  .feature-card,
  .control-card {
    padding: 2rem;
  }

  .registration-form {
    padding: 2rem;
    margin: 2rem auto;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cookie-accept {
    width: 100%;
  }

  .inscription-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .inscription-info h3 {
    font-size: 2rem;
  }

  .inscription-form-container {
    padding: 1.5rem;
  }

  .main-content {
    padding: 1rem 0;
  }

  .cookie-content-page,
  .terms-content,
  .policy-content {
    padding: 2rem 1rem;
    margin: 0 1rem;
  }

  .cookie-content-page h1,
  .terms-content h1,
  .policy-content h1 {
    font-size: 2.5rem;
  }

  .cookie-content-page h2,
  .terms-content h2,
  .policy-content h2 {
    font-size: 1.8rem;
  }

  .cookie-table {
    font-size: 0.9rem;
  }

  .cookie-table th,
  .cookie-table td {
    padding: 0.8rem 0.5rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 120px 0 80px;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .section {
    padding: 40px 0;
  }

  .section h2 {
    font-size: 2rem;
  }

  .testimonial-card,
  .skill-card,
  .feature-card,
  .control-card {
    padding: 1.5rem;
  }

  .registration-form {
    padding: 1.5rem;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}