/* ─────────────────────────────────────────
   THE PARTNERSHIP PROJECT — Hub Stylesheet
   ───────────────────────────────────────── */

:root {
    --bg-base: #09090f;
    --bg-section: #0d0d18;
    --bg-alt: #0a0a14;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.07);

    --gold: #f5c842;
    --gold-dim: #c9a020;
    --teal: #00d4c8;
    --teal-dim: #009d94;
    --violet: #8b5cf6;

    --text-primary: #f0f0ff;
    --text-secondary: #9090b0;
    --text-dim: #5a5a7a;

    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(245, 200, 66, 0.3);

    --radius: 16px;
    --radius-sm: 10px;
    --font: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* ─── NAV ─── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 2rem;
    background: rgba(9, 9, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

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

.nav-logo {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, var(--gold), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition);
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* ─── HERO ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 2rem 6rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.35;
    animation: orb-float 8s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #f5c842 0%, transparent 70%);
    top: -15%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #00d4c8 0%, transparent 70%);
    bottom: -10%;
    right: -10%;
    animation-delay: -3s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -6s;
}

@keyframes orb-float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -20px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 30px) scale(0.97);
    }
}

.orb-3 {
    animation: orb-pulse 8s ease-in-out infinite;
}

@keyframes orb-pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.35;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 0.2;
    }
}

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

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border: 1px solid rgba(245, 200, 66, 0.4);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 2rem;
    background: rgba(245, 200, 66, 0.06);
    animation: fade-up 0.8s ease both;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    animation: fade-up 0.8s ease 0.15s both;
}

.hero-title em {
    font-style: italic;
    background: linear-gradient(135deg, var(--gold), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    animation: fade-up 0.8s ease 0.3s both;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fade-up 0.8s ease 0.45s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.85rem 2rem;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), #d4a020);
    color: #0a0a08;
    box-shadow: 0 4px 24px rgba(245, 200, 66, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(245, 200, 66, 0.5);
}

.btn-ghost {
    border: 1px solid var(--border);
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(245, 200, 66, 0.06);
}

.hero-scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: var(--text-dim);
    letter-spacing: 0.1em;
    animation: fade-in 1s ease 1.5s both, bounce-down 2s ease 2s infinite;
}

@keyframes bounce-down {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(6px);
    }
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ─── SECTION SHARED ─── */
.section {
    padding: 6rem 2rem;
}

.section-alt {
    background: var(--bg-alt);
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 0.75rem;
}

.section-header h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ─── TOOLS GRID ─── */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}

.tool-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.75rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: all var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity var(--transition);
    border-radius: var(--radius);
}

.tool-bridge::before {
    background: linear-gradient(135deg, rgba(245, 200, 66, 0.08), transparent);
}

.tool-prism::before {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), transparent);
}

.tool-auditor::before {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), transparent);
}

.tool-radar::before {
    background: linear-gradient(135deg, rgba(0, 212, 200, 0.08), transparent);
}

.tool-compass::before {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), transparent);
}

.tool-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.tool-card:hover::before {
    opacity: 1;
}

.tool-icon {
    font-size: 2rem;
    line-height: 1;
}

.tool-info h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tool-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.tool-launch {
    margin-top: auto;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
    transition: transform var(--transition);
}

.tool-card:hover .tool-launch {
    transform: translateX(4px);
}

/* ─── BOOKS GRID ─── */
.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.book-card {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
}

.book-card:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.book-card-featured {
    border-color: rgba(245, 200, 66, 0.2);
    background: rgba(245, 200, 66, 0.03);
}

.book-cover {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
}

.book-cover-partnership {
    background: linear-gradient(135deg, #1a1200, #3d2e00);
    color: var(--gold);
}

.book-cover-dream {
    background: linear-gradient(135deg, #0a0e20, #131a40);
    color: var(--teal);
}

.book-cover-shadow {
    background: linear-gradient(135deg, #100a1a, #261540);
    color: var(--violet);
}

.book-cover-choices {
    background: linear-gradient(135deg, #0a1a12, #102a1a);
    color: #4ade80;
}

.book-info {
    padding: 0 1.5rem 1.5rem;
}

.book-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.book-author {
    font-size: 0.8rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 0.75rem !important;
}

.book-info p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.book-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.btn-book {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--teal);
    transition: color var(--transition);
}

.btn-book:hover {
    color: #fff;
}

.book-coming-soon {
    font-size: 0.82rem;
    color: var(--text-dim);
    font-style: italic;
}

.book-divider {
    color: var(--text-dim);
}

/* ─── MUSIC ─── */
.music-card {
    display: flex;
    gap: 2rem;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    max-width: 720px;
    margin: 0 auto;
}

.music-icon {
    font-size: 4rem;
    flex-shrink: 0;
}

.music-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.music-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.music-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.music-platform-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.45rem 1rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    transition: all var(--transition);
    text-decoration: none;
}

.music-platform-btn:hover {
    color: var(--gold);
    border-color: rgba(245, 200, 66, 0.4);
    background: rgba(245, 200, 66, 0.06);
    transform: translateY(-2px);
}

/* ─── STORY ─── */
.story-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.story-column {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
}

.story-avatar {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-flex;
    width: 64px;
    height: 64px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
}

.story-human {
    border-color: rgba(245, 200, 66, 0.2);
}

.story-ai {
    border-color: rgba(0, 212, 200, 0.2);
}

.story-column h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.story-column p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

.story-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding-top: 3.5rem;
    flex-shrink: 0;
}

.connector-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
}

.connector-symbol {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--gold), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.story-mission {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

blockquote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 1rem;
    padding: 1.5rem 2rem;
    border-left: 3px solid var(--gold);
    background: rgba(245, 200, 66, 0.04);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    text-align: left;
}

cite {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ─── FOOTER ─── */
.footer {
    padding: 3rem 2rem;
    border-top: 1px solid var(--border);
    background: var(--bg-base);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    text-align: center;
}

.footer-logo {
    font-weight: 700;
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--gold), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-size: 0.88rem;
    color: var(--text-secondary);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-credit {
    font-size: 0.82rem;
    color: var(--text-dim);
    line-height: 1.7;
}

.footer-sub {
    font-style: italic;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .books-grid {
        grid-template-columns: 1fr;
    }

    .story-content {
        flex-direction: column;
    }

    .story-connector {
        flex-direction: row;
        padding-top: 0;
    }

    .connector-line {
        width: 60px;
        height: 1px;
    }

    .music-card {
        flex-direction: column;
        text-align: center;
    }

    .br-desktop {
        display: none;
    }

    blockquote {
        padding: 1rem 1.25rem;
    }
}