/* Base */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #e11d48;
  --text: #1e293b;
  --text-light: #64748b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius: 8px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.7;
  color: var(--text);
  margin: 0;
  padding: 0;
  background-color: var(--bg-light);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header et navigation */
header {
  padding: 40px 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.logo-container {
  background-color: transparent;
  margin-bottom: 16px;
  position: relative;
  width: 120px;
  height: 120px;
}

.logo {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin: 10px 0 5px;
  color: var(--text);
  letter-spacing: -0.03em;
}

.tagline {
  font-size: 1.3rem;
  color: var(--text-light);
  margin-top: 0;
  margin-bottom: 16px;
  font-weight: 500;
}

/* CTA et boutons */
.app-links {
  text-align: center;
  margin: 48px 0;
}

.app-store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: white;
  text-decoration: none;
  padding: 16px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.app-store-button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Fonctionnalités */
.features {
  margin: 64px 0;
}

.features h2 {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 48px;
  color: var(--text);
  letter-spacing: -0.02em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.feature {
  background-color: var(--bg-white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  color: var(--primary);
}

.feature h3 {
  color: var(--text);
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.3rem;
  font-weight: 600;
}

.feature p {
  color: var(--text-light);
  margin: 0;
  font-size: 1.05rem;
}

/* Content pages */
.content {
  background-color: var(--bg-white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 64px;
}

.content h2 {
  font-size: 1.8rem;
  color: var(--text);
  margin-top: 0;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.content h3 {
  font-size: 1.4rem;
  color: var(--text);
  margin: 32px 0 16px;
  font-weight: 600;
}

.content ul {
  padding-left: 24px;
}

.content ul li {
  margin-bottom: 8px;
}

.content p {
  margin-bottom: 16px;
}

/* Footer */
footer {
  margin-top: 64px;
  padding: 40px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  text-align: center;
  background-color: var(--bg-white);
}

footer nav {
  margin-bottom: 24px;
}

footer nav a {
  margin: 0 16px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

footer nav a:hover {
  color: var(--primary-dark);
}

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

/* Responsive */
@media (max-width: 768px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  .content {
    padding: 30px 24px;
  }
}

/* Style pour le logo CSS */
.notebook {
    position: absolute;
    width: 80px;
    height: 100px;
    background: #fff;
    border: 2px solid var(--text);
    border-radius: 5px;
    box-shadow: var(--shadow);
    transform: perspective(300px) rotateY(10deg);
    z-index: 1;
    left: 20px;
    top: 10px;
}

.notebook:before {
    content: '';
    position: absolute;
    width: 80px;
    height: 100px;
    background: #f8f8f8;
    border: 2px solid var(--text);
    border-radius: 5px;
    transform: perspective(300px) rotateY(-15deg);
    left: 10px;
    z-index: -1;
}

.notebook-lines {
    position: absolute;
    width: 60px;
    height: 80px;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.line {
    width: 100%;
    height: 1px;
    background: #aaa;
    margin-top: 15px;
}

.plus-symbol {
    position: absolute;
    top: 40px;
    left: 70px;
    width: 30px;
    height: 30px;
    z-index: 3;
}

.plus-horizontal, .plus-vertical {
    position: absolute;
    background: var(--accent);
    border-radius: 3px;
}

.plus-horizontal {
    width: 30px;
    height: 8px;
    top: 11px;
}

.plus-vertical {
    width: 8px;
    height: 30px;
    left: 11px;
}

/* Styles pour la page de support */
.faq-container {
    margin: 30px 0;
}

.faq-item {
    margin-bottom: 16px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.faq-question {
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text);
    font-weight: 600;
}

.faq-toggle {
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 1000px;
    opacity: 1;
}

/* Formulaire de contact */
.support-form {
    background: rgba(255, 255, 255, 0.7);
    padding: 25px;
    border-radius: var(--radius);
    margin: 30px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    background: white;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.submit-button {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

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

/* Email de support */
.support-email {
    display: inline-flex;
    align-items: center;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius);
    margin: 5px 0 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.support-email svg {
    margin-right: 10px;
    color: var(--primary);
}

/* Guide de signalement des problèmes */
.report-steps {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.report-step {
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    align-items: flex-start;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.report-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.step-icon {
    background: var(--primary-light, #3b82f6);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.step-content h4 {
    margin: 0 0 8px;
    font-size: 1.1rem;
}

.step-content p {
    margin: 0;
    color: var(--text-light);
}

/* Boîte d'information */
.info-box {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    background: rgba(37, 99, 235, 0.1);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 30px 0;
}

.info-icon {
    color: var(--primary);
    margin-right: 15px;
    flex-shrink: 0;
}

.info-content h4 {
    margin: 0 0 10px;
    font-size: 1.1rem;
}

.info-content p {
    margin: 0;
}

/* Style pour la note d'information dans les FAQ */
.info-note {
    display: flex;
    align-items: flex-start;
    margin-top: 15px;
    padding: 12px;
    background: rgba(var(--primary-rgb, 37, 99, 235), 0.08);
    border-radius: var(--radius, 8px);
}

.info-note svg {
    color: var(--primary, #2563eb);
    margin-right: 10px;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.info-note p {
    margin: 0;
    font-size: 0.95rem;
}

/* Effets 3D supplémentaires pour la cohérence avec le design */
.faq-item, .support-form, .report-step, .info-box {
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.3s ease;
}

.faq-question h4, .step-content h4, .info-content h4 {
    position: relative;
    transform: translateZ(5px);
}