* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  :root {
    --primary: #f06449;
    --secondary: #112330;
    --white: #ffffff;
    --dauphin: #0ea5e9;
    --lion: #f59e0b;
    --ours: #22c55e;
    --loup: #8b5cf6;
    --non: #6b7280;
  }
  body {
    font-family: "Outfit", sans-serif;
    min-height: 100vh;
    background: linear-gradient(
      135deg,
      var(--secondary) 0%,
      #1a3a4a 50%,
      var(--secondary) 100%
    );
    color: var(--white);
    overflow-x: hidden;
  }
  .noise {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
  }
  .container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 100vh;
  }
  .header {
    text-align: center;
    margin-bottom: 40px;
  }
  .logo-container {
    display: inline-block;
    background: var(--white);
    padding: 15px 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }
  .logo-container.small {
    padding: 10px 20px;
  }
  .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
  }
  .logo-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary);
  }
  .logo-text strong {
    font-weight: 700;
  }
  .small .logo-text {
    font-size: 14px;
  }
  h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin: 0 0 10px 0;
    background: linear-gradient(
      135deg,
      var(--white) 0%,
      var(--primary) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
  }
  h1.small {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
  }
  .subtitle {
    font-size: 1.2rem;
    opacity: 0.8;
    font-weight: 300;
    line-height: 1.6;
  }
  .card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  }
  @media (max-width: 600px) {
    .card {
      padding: 25px 20px;
    }
  }
  .cta-section {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .profiles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 30px;
  }
  @media (max-width: 600px) {
    .profiles-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  .profile-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px 10px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
  }
  .profile-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.1);
  }
  .profile-card.dauphin { border-color: rgba(14, 165, 233, 0.3); }
  .profile-card.lion { border-color: rgba(245, 158, 11, 0.3); }
  .profile-card.ours { border-color: rgba(34, 197, 94, 0.3); }
  .profile-card.loup { border-color: rgba(139, 92, 246, 0.3); }
  
  .profile-icon {
    font-size: 2.5rem;
    margin-bottom: 8px;
  }
  .profile-name {
    font-weight: 600;
    font-size: 0.9rem;
  }
  .btn {
    background: linear-gradient(135deg, var(--primary) 0%, #e55a3f 100%);
    color: var(--white);
    border: none;
    padding: 18px 48px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px -10px var(--primary);
    font-family: inherit;
  }
  .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px -10px var(--primary);
  }
  .btn:disabled {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
  }
  .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
  }
  .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
  }
  .btn-next {
    margin-top: 20px;
    width: 100%;
    padding: 16px;
  }
  .input {
    width: 100%;
    padding: 18px 24px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: var(--white);
    outline: none;
    margin-bottom: 16px;
    font-family: inherit;
  }
  .input:focus {
    border-color: var(--primary);
  }
  .input::placeholder {
    color: rgba(255, 255, 255, 0.5);
  }
  .progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 30px;
  }
  .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, #ff8066 100%);
    transition: width 0.5s ease;
    border-radius: 3px;
  }
  .question-number {
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 600;
  }
  .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(240, 100, 73, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
    font-size: 0.95rem;
  }
  .question-text {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 30px;
  }
  @media (max-width: 600px) {
    .question-text {
      font-size: 1.15rem;
    }
  }
  .choices-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .choices-container.yesno {
    flex-direction: row;
    gap: 15px;
  }
  .choice-btn {
    width: 100%;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: var(--white);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 15px;
  }
  .choice-btn:hover {
    background: rgba(240, 100, 73, 0.2);
    border-color: var(--primary);
  }
  .choice-btn.selected {
    background: var(--primary);
    border-color: var(--primary);
  }
  .choices-container.yesno .choice-btn {
    flex: 1;
    justify-content: center;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
  }
  .choice-btn.yes.selected { background:#22C55E; border-color:#22C55E; }
  .choice-btn.no.selected { background:#EF4444; border-color:#EF4444; }

  .answer-letter {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
    transition: all 0.2s;
  }
  .choice-btn.selected .answer-letter { background: rgba(255, 255, 255, 0.3); }

  /* RESULTS STYLES */
  .result-header {
    text-align: center;
    padding: 30px;
    border-radius: 24px 24px 0 0;
  }
  @media (max-width: 600px) {
    .result-header {
      padding: 25px 20px;
    }
  }
  .result-header.dauphin { background: linear-gradient(135deg, var(--dauphin), #0284c7); }
  .result-header.lion { background: linear-gradient(135deg, var(--lion), #d97706); }
  .result-header.ours { background: linear-gradient(135deg, var(--ours), #16a34a); }
  .result-header.loup { background: linear-gradient(135deg, var(--loup), #7c3aed); }

  .result-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
  }
  .result-emoji { font-size: 5rem; margin-bottom: 15px; }
  .result-title { font-size: 2rem; font-weight: 800; margin-bottom: 8px; }
  .result-tagline { font-size: 1.1rem; opacity: 0.9; }
  .result-stat {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 20px;
    border-radius: 10px;
    margin-top: 15px;
    font-size: 0.95rem;
  }

  .profile-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 16px;
  }
  .section-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .section-title span { font-size: 1.4rem; }
  .profile-section p { opacity: 0.85; line-height: 1.7; margin-bottom: 12px; }
  .profile-section p:last-child { margin-bottom: 0; }
  .profile-section ul { list-style: none; padding: 0; }
  .profile-section li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .profile-section li:last-child { border-bottom: none; }
  .profile-section li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
  }

  .rhythm-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  @media (max-width: 500px) { .rhythm-grid { grid-template-columns: 1fr; } }
  .rhythm-item {
    background: rgba(255,255,255,0.08);
    padding: 16px;
    border-radius: 12px;
    text-align: center;
  }
  .rhythm-label { font-size: 0.85rem; opacity: 0.7; margin-bottom: 6px; }
  .rhythm-value { font-weight: 700; font-size: 1.05rem; }
  .rhythm-item.green { border-left: 4px solid #22c55e; }
  .rhythm-item.red { border-left: 4px solid #ef4444; }
  .rhythm-item.orange { border-left: 4px solid #f59e0b; }
  .rhythm-item.blue { border-left: 4px solid #0ea5e9; }
  .rhythm-item.purple { border-left: 4px solid #8b5cf6; }
  .rhythm-item.pink { border-left: 4px solid #ec4899; }

  .quote-box { padding: 24px; border-radius: 16px; text-align: center; margin-top: 20px; }
  .quote-box.dauphin { background: rgba(14, 165, 233, 0.15); }
  .quote-box.lion { background: rgba(245, 158, 11, 0.15); }
  .quote-box.ours { background: rgba(34, 197, 94, 0.15); }
  .quote-box.loup { background: rgba(139, 92, 246, 0.15); }
  .quote-icon { font-size: 2.5rem; margin-bottom: 12px; }
  .quote-text { font-size: 1.15rem; font-style: italic; line-height: 1.6; }

  .cta-box {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    margin-top: 30px;
  }
  .cta-box h3 { font-size: 1.5rem; margin-bottom: 16px; }
  .cta-box p { opacity: 0.8; margin-bottom: 24px; line-height: 1.7; }
  .cta-box .btn { width: 100%; }
  .signature { color: var(--primary); font-weight: 600; }

  .footer {
    text-align: center;
    margin-top: 40px;
    opacity: 0.6;
    font-size: 0.9rem;
  }
  .footer span {
    color: var(--primary);
  }
  .text-center {
    text-align: center;
  }
  .mt-20 {
    margin-top: 20px;
  }
  .mt-40 {
    margin-top: 40px;
  }
  .mb-30 {
    margin-bottom: 30px;
  }
  .hidden {
    display: none !important;
  }
  .info-text {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 20px;
  }
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .fade-in {
    animation: fadeIn 0.5s ease forwards;
  }
  @keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
  .pulse { animation: pulse 2s ease infinite; }
  .loading { text-align: center; padding: 60px 20px; }
  .spinner { width: 80px; height: 80px; margin: 0 auto 30px; position: relative; }
  .spinner div { position: absolute; width:100%; height:100%; border:4px solid transparent; border-top-color:var(--primary); border-radius:50%; animation:spin 1s linear infinite; }
  .spinner div:nth-child(2) { width:70%; height:70%; top:15%; left:15%; border-top-color:#ff8066; animation-duration:0.8s; animation-direction:reverse; }
  @keyframes spin { to { transform: rotate(360deg); } }
