  @import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Jost:wght@300;400;500&display=swap');

  :root {
    --gold: #C9A84C;
    --gold-light: #F0D98A;
    --gold-pale: #FDF8EC;
    --ink: #1A1510;
    --ink-soft: #4A3F2F;
    --ink-muted: #8A7A65;
    --cream: #FAF6EE;
    --rose: #D4856A;
    --sage: #7A9E87;
  }

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

  .page {
    min-height: 100vh;
    background: var(--cream);
    font-family: 'Jost', sans-serif;
    position: relative;
    overflow-x: hidden;
    padding: 2rem 1rem 3rem;
  }

  .bg-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.18;
    animation: float 8s ease-in-out infinite;
  }
  .bg-orb.a { width: 320px; height: 320px; background: radial-gradient(circle, var(--gold-light), transparent); top: -80px; right: -60px; animation: float 12s ease-in-out infinite; }
  .bg-orb.b { width: 250px; height: 250px; background: radial-gradient(circle, var(--rose), transparent); bottom: 50px; left: -80px; animation: float 15s ease-in-out infinite reverse; }
  .bg-orb.c { width: 180px; height: 180px; background: radial-gradient(circle, var(--sage), transparent); top: 35%; right: -60px; animation: float 10s ease-in-out infinite 2s; }

  @keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.1); }
    66% { transform: translate(-20px, 30px) scale(0.95); }
  }

  .confetti-container {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 100;
  }

  .petal {
    position: absolute;
    width: 6px; height: 6px;
    border-radius: 50% 0;
    animation: fall linear infinite;
    opacity: 0;
  }

  @keyframes fountain {
    0% { transform: translate(0, 0) rotate(0deg) scale(0); opacity: 0; }
    15% { opacity: 1; transform: scale(1); }
    35% { transform: translate(var(--mx), var(--my)) rotate(180deg) scale(1.1); }
    100% { transform: translate(var(--ex), var(--ey)) rotate(var(--rot)) scale(0.5); opacity: 0; }
  }

  .container {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
  }

  .header {
    text-align: center;
    margin-bottom: 2.5rem;
    animation: fadeSlideUp 0.8s ease both;
  }

  .header .badge {
    display: inline-block;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 13px;
    color: var(--gold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: 0.5px solid var(--gold-light);
    padding: 5px 22px;
    border-radius: 20px;
    margin-bottom: 1.2rem;
    background: linear-gradient(90deg, 
      rgba(201,168,76,0.06) 0%, 
      rgba(201,168,76,0.12) 50%, 
      rgba(201,168,76,0.06) 100%);
    background-size: 200% 100%;
    animation: shimmer 3s infinite linear;
    position: relative;
    overflow: hidden;
  }

  @keyframes shimmer {
    0% { background-position: -100% 0; }
    100% { background-position: 100% 0; }
  }

  .header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 6vw, 3.2rem);
    font-weight: 300;
    color: var(--ink);
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
  }

  .header h1 em {
    font-style: italic;
    color: var(--gold);
  }

  .header p {
    font-size: 14px;
    color: var(--ink-muted);
    font-weight: 300;
    letter-spacing: 0.03em;
    line-height: 1.7;
  }

  .divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 1.5rem auto;
    max-width: 220px;
    justify-content: center;
  }
  .divider-line { 
    flex: 1; 
    height: 0.5px; 
    background: var(--gold-light); 
    transform-origin: center;
    animation: drawLine 1s ease-out forwards;
  }
  @keyframes drawLine {
    from { transform: scaleX(0); opacity: 0; }
    to { transform: scaleX(1); opacity: 1; }
  }
  .divider-gem {
    width: 8px; height: 8px;
    background: var(--gold);
    transform: rotate(45deg);
    flex-shrink: 0;
  }

  .card {
    background: white;
    border: 0.5px solid rgba(201,168,76,0.15);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 40px rgba(201,168,76,0.06), 0 1px 8px rgba(0,0,0,0.02);
    animation: fadeSlideUp 0.9s ease 0.15s both;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  }

  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 60px rgba(201,168,76,0.12), 0 4px 12px rgba(0,0,0,0.04);
    border-color: rgba(201,168,76,0.3);
  }

  .section-label {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .section-label::after {
    content: '';
    flex: 1;
    height: 0.5px;
    background: rgba(201,168,76,0.2);
  }

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

  .field { 
    margin-bottom: 24px; 
    position: relative;
  }

  .validation-tooltip {
    position: absolute;
    top: -10px;
    left: 10px;
    background: var(--gold);
    color: var(--ink);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    z-index: 200;
    pointer-events: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    animation: tooltipPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
    white-space: nowrap;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.2);
  }

  .validation-tooltip::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 15px;
    border: 6px solid transparent;
    border-top-color: var(--gold);
  }

  @keyframes tooltipPop {
    0% { transform: translateY(10px) scale(0.9); opacity: 0; }
    100% { transform: translateY(0) scale(1); opacity: 1; }
  }

  @keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
  }

  .input-error {
    border-color: var(--gold) !important;
    background: rgba(201, 168, 76, 0.08) !important;
  }

  label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 6px;
  }

  input, select, textarea {
    width: 100%;
    padding: 11px 14px;
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: var(--ink);
    background: var(--gold-pale);
    border: 0.5px solid rgba(201,168,76,0.3);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
    -webkit-appearance: none;
  }

  input::placeholder, textarea::placeholder {
    color: var(--ink-muted);
    font-style: italic;
    font-weight: 300;
  }

  input:focus, select:focus, textarea:focus {
    border-color: var(--gold);
    background: white;
    box-shadow: 0 8px 24px rgba(201,168,76,0.08), 0 0 0 4px rgba(201,168,76,0.08);
    transform: translateY(-2px);
  }

  select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C9A84C' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
  }

  textarea { resize: vertical; min-height: 90px; line-height: 1.7; }

  .event-types {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
  }

  .event-chip {
    padding: 7px 14px;
    border: 0.5px solid rgba(201,168,76,0.3);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 400;
    color: var(--ink-soft);
    background: var(--gold-pale);
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
    letter-spacing: 0.04em;
  }

  .event-chip:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: white;
  }

  .event-chip.selected {
    background: var(--gold);
    border-color: var(--gold);
    color: white;
  }

  .budget-slider-wrap { margin-bottom: 14px; }
  .budget-display {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
  }
  .budget-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--gold);
  }
  .budget-label { font-size: 11px; color: var(--ink-muted); letter-spacing: 0.08em; }

  input[type="range"] {
    padding: 0;
    height: 4px;
    background: linear-gradient(to right, var(--gold) 0%, var(--gold) var(--val, 40%), rgba(201,168,76,0.2) var(--val, 40%));
    border: none;
    border-radius: 4px;
    box-shadow: none;
    cursor: pointer;
  }

  input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--gold);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(201,168,76,0.3);
  }

  .timeline-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
  }

  .checkbox-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
  .checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 10px 14px;
    border: 0.5px solid rgba(201,168,76,0.2);
    border-radius: 8px;
    background: var(--gold-pale);
    transition: all 0.2s;
  }
  .checkbox-item:hover { border-color: var(--gold); background: white; }
  .checkbox-item input[type="checkbox"] {
    width: 16px; height: 16px;
    min-width: 16px;
    border-radius: 4px;
    cursor: pointer;
    accent-color: var(--gold);
    padding: 0;
    background: none;
    box-shadow: none;
  }
  .checkbox-item span {
    font-size: 13px;
    font-weight: 400;
    color: var(--ink-soft);
    letter-spacing: 0.02em;
  }

  .submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--ink);
    color: white;
    border: none;
    border-radius: 10px;
    font-family: 'Jost', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    margin-top: 0.5rem;
  }

  .submit-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gold) 0%, var(--rose) 100%);
    opacity: 0;
    transition: opacity 0.4s;
  }
  .submit-btn span { position: relative; z-index: 1; }
  .submit-btn:hover::before { opacity: 1; }
  .submit-btn:hover { 
    transform: translateY(-3px) scale(1.02); 
    box-shadow: 0 12px 32px rgba(201,168,76,0.4); 
  }
  .submit-btn:active { transform: scale(0.98); }
  .submit-btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
    transform: none !important;
    box-shadow: none !important;
  }

  .privacy-note {
    text-align: center;
    font-size: 11px;
    color: var(--ink-muted);
    margin-top: 1rem;
    letter-spacing: 0.04em;
    font-style: italic;
  }

  .success-screen {
    display: none;
    text-align: center;
    padding: 2rem 0;
  }

  .success-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    animation: pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  }

  @keyframes pop {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
  }

  .success-screen h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 300;
    color: var(--ink);
    margin-bottom: 0.75rem;
    font-style: italic;
  }

  .success-screen p {
    font-size: 13px;
    color: var(--ink-muted);
    line-height: 1.8;
    max-width: 320px;
    margin: 0 auto;
  }

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

  .sparkle {
    position: absolute;
    pointer-events: none;
    animation: sparkle-fade 1s ease forwards;
    font-size: 14px;
    z-index: 100;
  }
  @keyframes sparkle-fade {
    0% { opacity: 1; transform: scale(0.5) translateY(0); }
    100% { opacity: 0; transform: scale(1.2) translateY(-30px); }
  }
  /* THEMED DROPDOWN */
  select#mood {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* Elegant: Pure Gold Background, White Serif Text */
  select#mood.theme-elegant {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: white;
    border: 1.5px solid rgba(255,255,255,0.4);
    background-color: var(--gold);
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(201, 168, 76, 0.3);
  }

  /* Playful: Vibrant Bright Yellow, Bold White Text */
  select#mood.theme-playful {
    font-family: 'Jost', sans-serif;
    font-weight: 800;
    color: white;
    background-color: #FFB347; /* More vibrant playful orange-yellow */
    border: 2px dashed rgba(255,255,255,0.8);
    border-radius: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.15);
  }

  /* Bold: Heavy, Sharp, Solid, Dark BG */
  select#mood.theme-bold {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 2px solid var(--ink);
    color: white;
    background-color: var(--ink);
  }

  /* Romantic: Soft Pink, White Text */
  select#mood.theme-romantic {
    font-family: 'Cormorant Garamond', serif;
    color: white;
    border: 1.5px solid rgba(255,255,255,0.3);
    background-color: #F8BBD0; /* Soft Pink */
    box-shadow: 0 4px 15px rgba(248, 187, 208, 0.4);
  }

  /* Cinematic: Dark & Gold, Ink BG */
  select#mood.theme-cinematic {
    background-color: #1A1510;
    color: var(--gold-light);
    border: 1px solid var(--gold);
    box-shadow: inset 0 0 10px rgba(201,168,76,0.3);
  }

  /* Minimal: Clean Hairline, Pure White BG */
  select#mood.theme-minimal {
    font-weight: 300;
    font-family: 'Jost', sans-serif;
    letter-spacing: 0.15em;
    border: 0.5px solid #E0E0E0;
    background-color: white;
    color: var(--ink);
    border-radius: 2px;
  }

  @media (max-width: 480px) {
    .field-row, .timeline-grid { grid-template-columns: 1fr; }
    .card { padding: 1.75rem 1.25rem; }
  }

