/* ──────────────────────────────────────────
   PEERNOTES — Styles
   Font: Poppins  |  Colors: Purple / Pink / Gold
────────────────────────────────────────── */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Variables ── */
:root {
    --purple:       #7c3aed;
    --purple-mid:   #9d5cf5;
    --purple-light: #ede9fe;
    --purple-dark:  #5b21b6;
    --pink:         #ec4899;
    --pink-light:   #fce7f3;
    --gold:         #f59e0b;
    --gold-light:   #fef3c7;
    --green:        #10b981;
    --dark:         #0f0f1f;
    --dark-2:       #1c1c38;
    --text:         #374151;
    --muted:        #6b7280;
    --border:       #e5e7eb;
    --bg:           #ffffff;
    --bg-soft:      #f8f7ff;
    --radius:       16px;
    --radius-sm:    10px;
    --shadow:       0 8px 32px rgba(124,58,237,0.13);
    --shadow-sm:    0 2px 16px rgba(0,0,0,0.07);
}

/* ── Base ── */
html { scroll-behavior: smooth; }
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
img { max-width: 100%; display: block; }
a { text-decoration: none; }

/* ── Typography ── */
h1 {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.1;
    color: white;
    letter-spacing: -0.02em;
}
h2 {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
    letter-spacing: -0.01em;
}
h3 { font-size: 1.05rem; font-weight: 600; color: var(--dark); }
p { color: var(--muted); line-height: 1.75; }

/* ── Gradient text ── */
.text-gradient {
    background: linear-gradient(90deg, #a78bfa, #f472b6, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Buttons ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--purple), var(--purple-mid));
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(124,58,237,0.35);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(124,58,237,0.45);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.85);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 4px;
    border-bottom: 2px solid rgba(255,255,255,0.3);
    transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: white; border-color: white; }

/* ── Labels ── */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--purple-light);
    color: var(--purple);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 14px;
}
.light-label { background: rgba(255,255,255,0.15); color: white; }
.dark-label  { background: var(--gold-light); color: #92400e; }

.section-header { margin-bottom: 48px; }
.section-header.light { color: white; }
.section-sub {
    font-size: 1rem;
    color: var(--muted);
    max-width: 560px;
    margin-top: 10px;
    line-height: 1.7;
}

/* ── Announce Bar ── */
.announce-bar {
    background: linear-gradient(90deg, var(--purple-dark), var(--purple));
    color: white;
    text-align: center;
    padding: 10px 48px;
    font-size: 0.85rem;
    font-weight: 500;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.announce-bar a {
    color: var(--gold-light);
    font-weight: 700;
    border-bottom: 1px solid rgba(255,255,220,0.5);
}
.announce-bar a:hover { color: white; }
.announce-close {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    padding: 4px;
    transition: color 0.2s;
}
.announce-close:hover { color: white; }

/* ── Navigation ── */
nav {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.08); }
.nav-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.01em;
}
.logo-note { color: var(--purple); }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a {
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--purple); }
.btn-nav-outline {
    border: 2px solid var(--purple);
    color: var(--purple) !important;
    padding: 7px 18px;
    border-radius: 50px;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    transition: background 0.2s, color 0.2s !important;
}
.btn-nav-outline:hover { background: var(--purple); color: white !important; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: all 0.2s;
}
.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 12px 24px 20px;
    border-top: 1px solid var(--border);
    gap: 2px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
    color: var(--text);
    font-size: 1rem;
    font-weight: 500;
    padding: 11px 0;
    border-bottom: 1px solid var(--border);
    transition: color 0.2s;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--purple); }

/* ── Hero ── */
#hero {
    position: relative;
    background: linear-gradient(135deg, #0f0f1f 0%, #1e0a3c 55%, #0c1a3a 100%);
    padding: 80px 0 0;
    overflow: hidden;
}

/* Floating notes */
.floating-notes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.floating-notes span {
    position: absolute;
    left: var(--x);
    bottom: 30%;
    font-size: var(--size);
    color: rgba(167, 139, 250, 0.3);
    animation: floatNote 5s ease-in-out infinite;
    animation-delay: var(--delay);
    user-select: none;
}
@keyframes floatNote {
    0%, 100% { transform: translateY(0) rotate(-5deg); opacity: 0.25; }
    50%       { transform: translateY(-28px) rotate(10deg); opacity: 0.7; }
}

/* Hero layout */
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding-bottom: 60px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(124,58,237,0.25);
    border: 1px solid rgba(167,139,250,0.4);
    color: #c4b5fd;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
}

#hero h1 { margin-bottom: 20px; }

.hero-text > p {
    color: rgba(255,255,255,0.65);
    font-size: 1.05rem;
    max-width: 480px;
    margin-bottom: 32px;
}

.hero-btns { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-bottom: 40px; }

.hero-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 24px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    max-width: 360px;
}
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-size: 1.2rem; font-weight: 800; color: white; }
.hero-stat span { font-size: 0.75rem; color: rgba(255,255,255,0.5); font-weight: 500; }
.hero-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.15); }

/* Hero photo placeholder */
.hero-visual { position: relative; display: flex; flex-direction: column; align-items: center; }

.hero-photo-placeholder {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, rgba(124,58,237,0.4), rgba(236,72,153,0.3));
    border: 2px dashed rgba(167,139,250,0.4);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
/* When replaced with a real <img class="hero-photo"> */
img.hero-photo {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 24px;
    border: 3px solid rgba(167,139,250,0.5);
    box-shadow: 0 20px 60px rgba(124,58,237,0.4);
}

.photo-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(124,58,237,0.6), transparent 70%);
    border-radius: 50%;
}
.photo-emoji { font-size: 5rem; position: relative; z-index: 1; }
.photo-hint {
    margin-top: 12px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.35);
    position: relative;
    z-index: 1;
}

/* Equalizer */
.equalizer {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 44px;
    margin-top: 20px;
}
.equalizer span {
    display: block;
    width: 7px;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(to top, var(--purple), var(--pink));
    animation: eq 1.2s ease-in-out infinite alternate;
}
.equalizer span:nth-child(1)  { animation-duration: 0.9s; }
.equalizer span:nth-child(2)  { animation-duration: 1.3s; animation-delay: 0.1s; }
.equalizer span:nth-child(3)  { animation-duration: 0.8s; animation-delay: 0.2s; }
.equalizer span:nth-child(4)  { animation-duration: 1.1s; animation-delay: 0.05s; }
.equalizer span:nth-child(5)  { animation-duration: 1.4s; animation-delay: 0.3s; }
.equalizer span:nth-child(6)  { animation-duration: 0.75s; animation-delay: 0.15s; }
.equalizer span:nth-child(7)  { animation-duration: 1.2s; animation-delay: 0.25s; }
.equalizer span:nth-child(8)  { animation-duration: 0.95s; animation-delay: 0.1s; }
.equalizer span:nth-child(9)  { animation-duration: 1.3s; animation-delay: 0.4s; }
.equalizer span:nth-child(10) { animation-duration: 0.85s; animation-delay: 0.2s; }
.equalizer span:nth-child(11) { animation-duration: 1.0s; animation-delay: 0.35s; }
.equalizer span:nth-child(12) { animation-duration: 1.5s; animation-delay: 0.05s; }
.equalizer span:nth-child(13) { animation-duration: 0.7s;  animation-delay: 0.3s; }
.equalizer span:nth-child(14) { animation-duration: 1.2s; animation-delay: 0.1s; }
.equalizer span:nth-child(15) { animation-duration: 0.9s; animation-delay: 0.45s; }
.equalizer span:nth-child(16) { animation-duration: 1.1s; animation-delay: 0.2s; }
@keyframes eq {
    from { height: 4px; }
    to   { height: 40px; }
}

/* Wave divider */
.hero-wave { line-height: 0; margin-top: -2px; }
.hero-wave svg { width: 100%; display: block; }

/* ── How It Works ── */
#about {
    padding: 96px 0;
    background: var(--bg);
    /* Subtle dot grid texture */
    background-image: radial-gradient(circle, var(--border) 1px, transparent 1px);
    background-size: 28px 28px;
}

.steps {
    display: flex;
    gap: 0;
    align-items: flex-start;
    margin-bottom: 64px;
}
.step {
    flex: 1;
    background: white;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.step-icon {
    width: 52px;
    height: 52px;
    background: var(--clr-light);
    color: var(--clr);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
}
.step-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--border);
    margin-bottom: 10px;
    line-height: 1;
}
.step h3 { margin-bottom: 8px; }

.step-connector {
    padding: 0 12px;
    padding-top: 60px;
    color: var(--border);
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* Story card */
.story-card {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 48px;
    align-items: center;
    background: var(--bg-soft);
    border-radius: 24px;
    padding: 48px;
    border: 1.5px solid var(--purple-light);
}
.story-text p {
    margin-bottom: 14px;
    line-height: 1.8;
}
.story-text p:last-child { margin-bottom: 0; }
.story-text .section-label { margin-bottom: 12px; }
.story-text h3 { font-size: 1.4rem; margin-bottom: 16px; }

.story-photo-placeholder {
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--purple-light), var(--pink-light));
    border-radius: 20px;
    border: 2px dashed rgba(124,58,237,0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
/* When replaced with: <img src="..." class="story-photo"> */
img.story-photo {
    aspect-ratio: 4/5;
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.story-notes { position: absolute; inset: 0; pointer-events: none; }
.sn {
    position: absolute;
    font-size: 1.5rem;
    color: rgba(124,58,237,0.2);
    animation: floatNote 4s ease-in-out infinite;
}
.sn1 { top: 12%; left: 10%; animation-delay: 0s; }
.sn2 { top: 20%; right: 12%; animation-delay: 1s; }
.sn3 { bottom: 18%; left: 14%; animation-delay: 0.5s; }
.sn4 { bottom: 12%; right: 10%; animation-delay: 1.5s; }
.story-emoji { font-size: 4rem; position: relative; z-index: 1; }
.story-label {
    margin-top: 10px;
    font-size: 0.72rem;
    color: var(--muted);
    position: relative;
    z-index: 1;
}

/* ── Instruments ── */
#instruments {
    padding: 96px 0;
    background: white;
}
.instrument-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
    margin-top: 44px;
}
.instr-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: default;
}
.instr-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }

.instr-card.active {
    border-color: var(--purple);
    background: var(--bg-soft);
    box-shadow: 0 0 0 4px var(--purple-light);
}
.instr-card.active:hover { box-shadow: 0 0 0 4px var(--purple-light), var(--shadow); }

.instr-card.soon { opacity: 0.65; }
.instr-card.open-instr { border-style: dashed; border-color: var(--gold); }

.instr-glow {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(124,58,237,0.2), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.instr-icon { font-size: 2.4rem; margin-bottom: 12px; }
.instr-card h3 { font-size: 0.95rem; margin-bottom: 4px; }
.instr-card p { font-size: 0.78rem; margin-bottom: 12px; }

.instr-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 11px;
    border-radius: 50px;
}
.instr-badge.available { background: #dcfce7; color: #166534; }
.instr-badge.coming    { background: var(--border); color: var(--muted); }
.instr-badge.teach     { background: var(--gold-light); color: #92400e; cursor: pointer; }
.instr-badge.teach:hover { background: var(--gold); color: white; }

/* ── Instructors ── */
#instructors {
    padding: 96px 0;
    background: linear-gradient(135deg, var(--dark) 0%, #1e0a3c 100%);
    position: relative;
    overflow: hidden;
}
#instructors::before {
    content: '♩ ♪ ♫ ♬ ♩ ♪ ♫ ♬ ♩ ♪ ♫ ♬';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    font-size: 6rem;
    color: rgba(255,255,255,0.02);
    overflow: hidden;
    white-space: nowrap;
    letter-spacing: 1rem;
    pointer-events: none;
}
.instructor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 44px;
}
.instructor-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: transform 0.2s, box-shadow 0.2s;
}
.instructor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.open-card { border-style: dashed; border-color: rgba(255,255,255,0.2); }

.instructor-banner {
    background: var(--g);
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.open-banner {
    background: linear-gradient(135deg, #374151, #4b5563) !important;
}
.banner-deco {
    position: absolute;
    font-size: 1.2rem;
    color: rgba(255,255,255,0.12);
    letter-spacing: 1rem;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    text-align: center;
    user-select: none;
}
.instructor-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    border: 3px solid rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    color: white;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.open-av { font-size: 1.8rem; font-weight: 300; }

.instructor-body { padding: 24px; }
.instructor-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.instructor-name-row h3 { color: white; margin: 0; }
.grade-pill {
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.7);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 50px;
}
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.tag-pill {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
}
.tag-pill.purple { background: rgba(124,58,237,0.35); color: #c4b5fd; }
.tag-pill.pink   { background: rgba(236,72,153,0.3);  color: #f9a8d4; }
.tag-pill.gray   { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.7); }

.instructor-body > p { color: rgba(255,255,255,0.6); font-size: 0.88rem; line-height: 1.7; }

.instructor-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}
.instructor-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.45);
    font-weight: 500;
}
.instructor-meta i { color: var(--purple-mid); }

/* ── Book ── */
#book {
    padding: 96px 0;
    background: var(--bg-soft);
}
.book-card {
    background: linear-gradient(135deg, var(--dark) 0%, #1a0d35 100%);
    border-radius: 28px;
    padding: 56px 48px;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 48px;
    align-items: center;
    overflow: hidden;
    position: relative;
}
.book-card::before {
    content: '';
    position: absolute;
    top: -60px;
    right: 200px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(124,58,237,0.3), transparent 70%);
    pointer-events: none;
}
.book-text .dark-label { margin-bottom: 16px; }
.book-text h2 { color: white; margin-bottom: 24px; line-height: 1.3; }

.book-list {
    list-style: none;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.book-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.75);
    font-size: 0.92rem;
    font-weight: 500;
}
.book-list li i { color: var(--green); font-size: 0.85rem; }

.book-note {
    margin-top: 16px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
}
.book-note strong { color: rgba(255,255,255,0.6); }

.book-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}
.book-note-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    text-align: center;
}
.book-note-grid span {
    font-size: 1.8rem;
    color: rgba(167,139,250,0.25);
    animation: floatNote 4s ease-in-out infinite;
}
.book-note-grid span:nth-child(2) { animation-delay: 0.5s; }
.book-note-grid span:nth-child(3) { animation-delay: 1s; }
.book-note-grid span:nth-child(4) { animation-delay: 1.5s; }
.book-note-grid span:nth-child(5) { animation-delay: 0.3s; }
.book-note-grid span:nth-child(6) { animation-delay: 0.8s; }
.book-note-grid span:nth-child(7) { animation-delay: 1.2s; }
.book-note-grid span:nth-child(8) { animation-delay: 0.6s; }
.book-note-grid span:nth-child(9) { animation-delay: 1.8s; }

.book-badge {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    padding: 16px 28px;
    text-align: center;
    color: white;
}
.book-badge i { font-size: 1.4rem; color: var(--gold); display: block; margin-bottom: 6px; }
.book-badge strong { font-size: 1.5rem; display: block; }
.book-badge small { color: rgba(255,255,255,0.5); font-size: 0.75rem; }

/* ── Join Us ── */
#join {
    padding: 96px 0;
    background: var(--bg);
}
.join-form {
    background: white;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    max-width: 700px;
    box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; margin-bottom: 20px; }
.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 7px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.form-group label i { color: var(--purple); font-size: 0.75rem; }
.form-group input,
.form-group textarea,
.form-group select {
    padding: 11px 15px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: var(--text);
    background: white;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
    -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(124,58,237,0.1);
}
.form-group textarea { resize: vertical; }
.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}
.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 1rem;
    margin-top: 4px;
}

/* ── Footer ── */
.footer-notes-banner {
    background: linear-gradient(90deg, var(--purple-dark), var(--purple), var(--pink));
    color: rgba(255,255,255,0.25);
    font-size: 1.4rem;
    letter-spacing: 0.5rem;
    padding: 10px 0;
    white-space: nowrap;
    overflow: hidden;
    user-select: none;
}
footer {
    background: var(--dark);
    padding: 56px 0 28px;
}
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}
.footer-logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    display: block;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.footer-brand p {
    color: rgba(255,255,255,0.4);
    font-size: 0.88rem;
    margin-bottom: 14px;
}
.footer-email {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #c4b5fd;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s;
}
.footer-email:hover { color: white; }
.footer-email i { font-size: 0.8rem; }

.footer-cols { display: flex; gap: 48px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: 4px;
}
.footer-col a {
    color: rgba(255,255,255,0.55);
    font-size: 0.88rem;
    transition: color 0.2s;
}
.footer-col a:hover { color: white; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom p { color: rgba(255,255,255,0.25); font-size: 0.78rem; }

/* ── Responsive ── */
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .story-card { grid-template-columns: 1fr; }
    .story-photo-placeholder { aspect-ratio: 16/9; max-width: 100%; }
    .book-card { grid-template-columns: 1fr; }
    .book-visual { display: none; }
    .steps { flex-direction: column; }
    .step-connector { padding: 8px 0; text-align: center; transform: rotate(90deg); }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }

    #about, #instruments, #instructors, #book, #join { padding: 72px 0; }

    .form-row { grid-template-columns: 1fr; }
    .join-form { padding: 28px 20px; }

    .footer-top { flex-direction: column; }
    .footer-cols { gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .hero-stats { max-width: 100%; }
    .story-card { padding: 32px 24px; }
}

@media (max-width: 480px) {
    .instrument-grid { grid-template-columns: repeat(2, 1fr); }
    .instructor-grid { grid-template-columns: 1fr; }
    .announce-bar { font-size: 0.78rem; padding: 10px 40px; }
    .book-card { padding: 36px 24px; }
    .hero-stats { flex-direction: column; gap: 12px; }
    .hero-divider { width: 80px; height: 1px; }
}
