/* ======== CSS Ultra Moderne pour Page Contact OptiPlay ======== */

/* Variables CSS */
:root {
  --primary-color: #0038ff;
  --primary-dark: #001c99;
  --secondary-color: #00d4ff;
  --accent-color: #ff0080;
  --success-color: #28a745;
  --bg-dark: #0a0a0f;
  --bg-darker: #070709;
  --bg-card: #141419;
  --bg-input: #1a1a1f;
  --text-primary: #ffffff;
  --text-secondary: #b3b3b3;
  --text-muted: #666666;
  --gradient-primary: linear-gradient(135deg, #0038ff, #00d4ff);
  --gradient-secondary: linear-gradient(135deg, #ff0080, #ff4081);
  --gradient-success: linear-gradient(135deg, #28a745, #20c997);
  --shadow-primary: 0 10px 40px rgba(0, 56, 255, 0.3);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 30px rgba(0, 56, 255, 0.5);
  --border-radius: 12px;
  --border-radius-lg: 20px;
}

/* Reset et base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

main {
  padding-top: 0;
  margin-top: 0;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 56, 255, 0.5); }
  50% { box-shadow: 0 0 30px rgba(0, 56, 255, 0.8); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

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

.animate-in {
  animation: fadeInUp 0.8s ease-out;
}

/* ======== Header ======== */
header {
  background: rgba(7, 7, 9, 0.95);
  backdrop-filter: blur(20px);
  padding: 15px 0;
  border-bottom: 1px solid rgba(0, 56, 255, 0.2);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

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

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

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

.logo {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-color);
  box-shadow: 0 0 20px rgba(0, 56, 255, 0.4);
}

.logo-text {
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  font-size: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: rgba(0, 56, 255, 0.1);
  transform: translateY(-2px);
}

.nav-link i {
  font-size: 0.9rem;
}

/* ======== Hero Section ======== */
.page-hero {
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at center, rgba(0, 56, 255, 0.1) 0%, transparent 70%);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 0, 128, 0.1) 0%, transparent 50%);
  animation: float 6s ease-in-out infinite;
}

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

.page-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  line-height: 1.2;
}

.contact-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.contact-line i {
  color: var(--primary-color);
  margin-right: 15px;
}

.contact-white {
  color: var(--text-primary);
  font-weight: 900;
}

.partenariats-line {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ======== Sections communes ======== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-family: 'Orbitron', monospace;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.section-line {
  width: 80px;
  height: 3px;
  background: var(--gradient-primary);
  margin: 0 auto;
  border-radius: 2px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-top: 20px;
}

/* ======== Contact Section ======== */
.contact-section {
  padding: 80px 0;
  background: var(--bg-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}

/* ======== Contact Info ======== */
.contact-info .section-header {
  text-align: left;
  margin-bottom: 50px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 60px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 30px;
  background: var(--bg-card);
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(0, 56, 255, 0.2);
  transition: all 0.3s ease;
  animation: slideIn 0.6s ease-out;
  position: relative;
  overflow: hidden;
}

.contact-method::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 56, 255, 0.03), rgba(0, 212, 255, 0.03));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-method:hover::before {
  opacity: 1;
}

.contact-method:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  border-color: var(--primary-color);
}

.method-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.method-content {
  position: relative;
  z-index: 2;
}

.method-content h3 {
  font-family: 'Orbitron', monospace;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.method-content p {
  color: var(--secondary-color);
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.method-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.benefits {
  background: var(--bg-card);
  padding: 40px;
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(0, 56, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.benefits::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 56, 255, 0.03), rgba(0, 212, 255, 0.03));
  z-index: 1;
}

.benefits h3 {
  font-family: 'Orbitron', monospace;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 25px;
  color: var(--text-primary);
  position: relative;
  z-index: 2;
}

.benefits ul {
  list-style: none;
  position: relative;
  z-index: 2;
}

.benefits li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  color: var(--text-secondary);
  font-size: 1rem;
}

.benefits li i {
  color: var(--success-color);
  font-size: 1.2rem;
}

/* ======== Formulaire Contact ======== */
.contact-form-container {
  background: var(--bg-card);
  padding: 40px;
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(0, 56, 255, 0.2);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.contact-form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 56, 255, 0.03), rgba(0, 212, 255, 0.03));
  z-index: 1;
}

.form-header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.form-header h3 {
  font-family: 'Orbitron', monospace;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.form-header p {
  color: var(--text-secondary);
}

.contact-form {
  position: relative;
  z-index: 2;
}

.form-group {
  margin-bottom: 30px;
  position: relative;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.form-group.focused label {
  color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  background: var(--bg-input);
  border: 2px solid transparent;
  border-radius: var(--border-radius);
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.input-border {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
  z-index: 3;
}

.form-group.focused .input-border {
  width: 100%;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  cursor: pointer;
}

/* ======== Bouton Submit ======== */
.btn-submit {
  width: 100%;
  padding: 18px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: var(--shadow-primary);
}

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

.btn-submit:active {
  transform: translateY(-1px);
}

.btn-submit:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.btn-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-submit:hover .btn-glow {
  left: 100%;
}

.form-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
  justify-content: center;
}

.form-note i {
  color: var(--success-color);
}

/* ======== Section Calendly ======== */
.calendly-section {
  padding: 80px 0;
  background: var(--bg-darker);
}

.calendly-container {
  max-width: none;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.calendly-wrapper {
  background: var(--bg-card);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  border: 1px solid rgba(0, 56, 255, 0.2);
  box-shadow: var(--shadow-card);
  min-height: 600px;
  width: 100%;
  max-width: none;
}

.calendly-wrapper iframe {
  border-radius: var(--border-radius);
  width: 100%;
  height: 600px;
  border: none;
}

/* ======== FAQ Section ======== */
.faq-section {
  padding: 100px 0;
  background: var(--bg-dark);
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(0, 56, 255, 0.2);
  margin-bottom: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

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

.faq-question {
  padding: 25px;
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.faq-question:hover {
  background: rgba(0, 56, 255, 0.05);
}

.faq-question i:first-child {
  color: var(--secondary-color);
  font-size: 1.2rem;
}

.faq-question span {
  flex: 1;
  font-weight: 600;
  color: var(--text-primary);
}

.faq-question i:last-child {
  color: var(--text-secondary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i:last-child {
  transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 25px 25px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ======== Footer ======== */
footer {
  background: var(--bg-darker);
  border-top: 1px solid rgba(0, 56, 255, 0.2);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  padding: 60px 0;
}

.footer-section h4 {
  font-family: 'Orbitron', monospace;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.footer-section p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 15px;
}

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

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.discord-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.discord-link:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(0, 56, 255, 0.1);
  border: 1px solid rgba(0, 56, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px 0;
  text-align: center;
  color: var(--text-muted);
}



@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons,
  .cta-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}


/* ======== Responsive ======== */
@media (max-width: 768px) {
  .page-hero {
    min-height: 35vh;
    padding: 30px 0;
  }

  .page-title {
    font-size: 2.5rem;
    gap: 10px;
  }

  .contact-line i {
    font-size: 2.2rem;
  }

  .contact-line {
    gap: 15px;
  }

  .page-subtitle {
    font-size: 1.1rem;
    padding: 0 20px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-info .section-header {
    text-align: center;
  }

  .contact-form-container {
    padding: 30px 20px;
  }

  .container {
    width: 95%;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
  }

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

  .contact-method {
    flex-direction: column;
    text-align: center;
  }

  .benefits {
    margin-top: 30px;
  }

  .calendly-section {
    padding: 60px 0;
  }

  .calendly-container {
    padding: 0 15px;
  }

  .calendly-wrapper {
    padding: 20px;
    min-height: 500px;
  }

  .calendly-wrapper iframe {
    height: 500px;
  }
}

@media (max-width: 480px) {
  .page-hero {
    min-height: 30vh;
    padding: 25px 0;
  }

  .page-title {
    font-size: 2rem;
    gap: 8px;
  }

  .contact-line i {
    font-size: 1.8rem;
  }

  .contact-line {
    gap: 12px;
  }

  .page-subtitle {
    font-size: 1rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 12px 15px;
  }

  .btn-submit {
    padding: 15px;
    font-size: 1rem;
  }

  .calendly-section {
    padding: 40px 0;
  }

  .calendly-container {
    padding: 0 10px;
  }

  .calendly-wrapper {
    padding: 15px;
    min-height: 450px;
  }

  .calendly-wrapper iframe {
    height: 450px;
  }

  .contact-form-container {
    padding: 20px 15px;
  }
}
