/* ============================================
   Spotify Design System - Faithful Recreation
   ============================================ */

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
    font-family: SpotifyMixUI, CircularSp, CircularSp-Arab, CircularSp-Hebr, CircularSp-Cyrl, CircularSp-Grek, CircularSp-Deva, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #000;
    color: #fff;
    line-height: 1.5;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== NAVIGATION ===== */
.main-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(0,0,0,.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; color: #fff; }
.spotify-logo-svg { height: 24px; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 700;
    color: #b3b3b3;
    transition: color .2s;
    white-space: nowrap;
}

.nav-link:hover { color: #fff; }

.nav-divider {
    width: 1px;
    height: 16px;
    background: rgba(255,255,255,.2);
    margin: 0 8px;
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-block;
    background: #1ed760;
    color: #000;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 500px;
    border: none;
    cursor: pointer;
    transition: all .15s;
    text-align: center;
    letter-spacing: -.2px;
}

.btn-primary:hover {
    background: #1fdf64;
    transform: scale(1.04);
}

.btn-primary:active { transform: scale(.98); }

.btn-outline {
    display: inline-block;
    background: transparent;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 12px 32px;
    border-radius: 500px;
    border: 1px solid #727272;
    cursor: pointer;
    transition: all .15s;
    text-align: center;
}

.btn-outline:hover {
    border-color: #fff;
    transform: scale(1.04);
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(180deg, #1a0a2e 0%, #0d1117 40%, #000 100%);
    padding: 120px 32px 80px;
    text-align: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(30,215,96,.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 16px;
}

.hero-sub {
    font-size: 18px;
    color: #b3b3b3;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-terms {
    font-size: 12px;
    color: #6a6a6a;
    margin-top: 24px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-terms a {
    color: #6a6a6a;
    text-decoration: underline;
}

.hero-terms a:hover { color: #b3b3b3; }

/* ===== FEATURES ===== */
.features {
    background: #000;
    padding: 100px 32px;
    border-top: 1px solid rgba(255,255,255,.06);
}

.features-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.features-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.features-badge.small { font-size: 12px; }

.features-header { margin-bottom: 8px; }

.features-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    letter-spacing: -1.5px;
    margin-bottom: 64px;
    line-height: 1.1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: left;
    margin-bottom: 48px;
}

.feature-item { padding: 0 8px; }

.feature-item svg { margin-bottom: 20px; }

.feature-item h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.feature-item p {
    font-size: 14px;
    color: #b3b3b3;
    line-height: 1.5;
}

.features-cta { margin-bottom: 16px; }

.features-terms {
    font-size: 11px;
    color: #6a6a6a;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.features-terms a {
    color: #6a6a6a;
    text-decoration: underline;
}

/* ===== CLAIM SECTION ===== */
.claim-section {
    background: #121212;
    padding: 80px 32px;
}

.claim-inner {
    max-width: 480px;
    margin: 0 auto;
}

.claim-header {
    text-align: center;
    margin-bottom: 40px;
}

.claim-header h2 {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -.5px;
    margin-bottom: 8px;
}

.claim-sub {
    font-size: 14px;
    color: #b3b3b3;
}

/* Form Styles */
.claim-form { display: flex; flex-direction: column; gap: 20px; }

.form-block { display: flex; flex-direction: column; gap: 8px; }

.form-block label {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.form-block input,
.form-block select {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    font-family: inherit;
    color: #fff;
    background: #242424;
    border: 1px solid #727272;
    border-radius: 4px;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
    -webkit-appearance: none;
    appearance: none;
}

.form-block input::placeholder { color: #6a6a6a; }

.form-block input:focus,
.form-block select:focus {
    border-color: #fff;
    box-shadow: 0 0 0 1px #fff;
}

.form-block input.valid { border-color: #1ed760; }
.form-block input.invalid { border-color: #f15e6c; }

.form-block 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='%23b3b3b3' d='M6 8.825L.35 3.175l.7-.7L6 7.425l4.95-4.95.7.7z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-block select option {
    background: #242424;
    color: #fff;
}

.input-icon-wrap {
    position: relative;
}

.input-icon-wrap input { padding-right: 90px; }

.card-icons {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 4px;
    pointer-events: none;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-row-3 {
    display: grid;
    grid-template-columns: 1fr 100px 100px;
    gap: 16px;
}

.field-error {
    font-size: 12px;
    color: #f15e6c;
    min-height: 0;
    transition: all .2s;
}

/* Summary Box */
.form-summary {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 16px 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    padding: 4px 0;
}

.summary-row span:last-child { font-weight: 700; color: #1ed760; }

.summary-after {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #333;
}

.summary-after span:last-child { color: #b3b3b3; font-weight: 400; }

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 16px;
    background: #1ed760;
    color: #000;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    border: none;
    border-radius: 500px;
    cursor: pointer;
    transition: all .15s;
    position: relative;
    overflow: hidden;
}

.btn-submit:hover { background: #1fdf64; transform: scale(1.02); }
.btn-submit:active { transform: scale(.98); }

.btn-submit.loading {
    pointer-events: none;
    color: transparent;
}

.btn-submit.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 3px solid #000;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin .6s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.form-legal {
    font-size: 11px;
    color: #6a6a6a;
    line-height: 1.6;
    text-align: center;
}

.form-legal a {
    color: #1ed760;
    text-decoration: underline;
}

.form-legal a:hover { color: #1fdf64; }

/* ===== PLANS SECTION ===== */
.plans-section {
    background: #000;
    padding: 100px 32px;
    border-top: 1px solid rgba(255,255,255,.06);
}

.plans-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.plans-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 900;
    text-align: center;
    margin-bottom: 48px;
    letter-spacing: -1px;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.plan-card {
    background: #1a1a1a;
    border-radius: 8px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.plan-highlight { border: 1px solid #1ed760; }

.plan-badge {
    display: inline-block;
    background: #1ed760;
    color: #000;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 16px;
    align-self: flex-start;
}

.plan-head { margin-bottom: 24px; }

.plan-head h3 {
    font-size: 28px;
    font-weight: 900;
    margin-top: 8px;
    margin-bottom: 8px;
}

.plan-price {
    font-size: 16px;
    margin-bottom: 4px;
}

.plan-after {
    font-size: 14px;
    color: #b3b3b3;
}

.plan-features {
    flex: 1;
    margin-bottom: 24px;
}

.plan-features li {
    font-size: 14px;
    color: #b3b3b3;
    padding: 6px 0;
    padding-left: 24px;
    position: relative;
}

.plan-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 12px;
    height: 12px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231ed760'%3E%3Cpath d='M13.985 2.383L5.127 12.754 1.388 8.375l-.658.77 4.397 5.149 9.523-11.15z'/%3E%3C/svg%3E") no-repeat center / contain;
}

.plan-cta { align-self: flex-start; margin-top: auto; }

/* ===== FOOTER ===== */
.site-footer {
    background: #000;
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 48px 32px;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    gap: 80px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    margin-bottom: 32px;
}

.footer-logo { flex-shrink: 0; }

.footer-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    flex: 1;
}

.footer-col h4 {
    font-size: 12px;
    font-weight: 700;
    color: #b3b3b3;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: #b3b3b3;
    padding: 4px 0;
    transition: color .15s;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-legal-links a {
    font-size: 12px;
    color: #6a6a6a;
    transition: color .15s;
}

.footer-legal-links a:hover { color: #b3b3b3; }

.footer-copy {
    font-size: 12px;
    color: #6a6a6a;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
    .plans-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .footer-top { flex-direction: column; gap: 40px; }
    .footer-cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-inner { padding: 0 16px; }
    .nav-links { display: none; }
    .hero { padding: 80px 20px 60px; min-height: auto; }
    .hero h1 { font-size: 40px; letter-spacing: -1px; }
    .hero-sub { font-size: 16px; }
    .features { padding: 60px 20px; }
    .features-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
    .claim-section { padding: 60px 20px; }
    .form-row-3 { grid-template-columns: 1fr; }
    .plans-section { padding: 60px 20px; }
    .site-footer { padding: 32px 20px; }
    .footer-cols { grid-template-columns: repeat(2, 1fr); }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .hero { padding: 60px 16px 48px; }
    .hero h1 { font-size: 32px; }
    .features-grid { grid-template-columns: 1fr; }
    .form-row-2 { grid-template-columns: 1fr; }
    .form-row-3 { grid-template-columns: 1fr; }
    .footer-cols { grid-template-columns: 1fr; }
}
