/* ==============================================
   GhostTunes Landing Page — Dark & Urban Minimal
   ============================================== */

/* --- Full-bleed: neutralise MudContainer wrapper --- */
.mud-main-content .mud-container:has(> .landing-page) {
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
}

/* --- Page wrapper --- */
.landing-page {
    width: 100%;
    background: transparent;
    position: relative;
    overflow-x: clip;
}

/* --- Hero Entrance Animation --- */
.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

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

/* --- Section Shared --- */
.landing-section {
    padding: 6rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gt-text);
    text-align: center;
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    margin: 0 0 0.75rem;
}

.section-accent {
    width: 40px;
    height: 3px;
    margin: 0 auto 3.5rem;
}

/* =========================
   HERO
   ========================= */
.hero {
    position: relative;
    padding: 80px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 1.5rem;
}

.hero-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gt-text);
    font-size: clamp(2.5rem, 8vw, 6rem);
    margin: 0 0 1rem;
    line-height: 1.1;
}

.hero-tagline {
    color: var(--gt-text-secondary);
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin: 0 0 2.5rem;
    font-weight: 300;
}

.hero-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

.hero-fade {
    height: 120px;
    background: linear-gradient(transparent, var(--gt-bg));
}

.hero-line {
    height: 1px;
    background: var(--gt-border);
}

/* =========================
   HOW IT WORKS
   ========================= */
.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.step {
    flex: 1;
    text-align: center;
    padding: 0 2rem;
}

.step-number {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: clamp(3rem, 6vw, 5rem);
    opacity: 0.3;
    display: block;
    line-height: 1;
    margin-bottom: 1rem;
}

.step-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gt-text);
    font-size: 1.125rem;
    margin: 1rem 0 0.5rem;
}

.step-desc {
    color: var(--gt-text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.step-divider {
    width: 1px;
    align-self: stretch;
    background: var(--gt-border);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .steps { flex-direction: column; gap: 2.5rem; }
    .step { padding: 0 1rem; }
    .step-divider { display: none; }
}

/* =========================
   PACKAGES
   ========================= */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 960px) {
    .packages-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .packages-grid { grid-template-columns: 1fr; }
}

.gt-card {
    background: var(--gt-surface);
    border: 1px solid var(--gt-border);
    border-radius: 4px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.gt-card:hover {
    border-color: color-mix(in srgb, var(--gt-primary) 30%, transparent);
    box-shadow: 0 0 20px color-mix(in srgb, var(--gt-primary) 5%, transparent);
}

.gt-card-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gt-text);
    font-size: 1.25rem;
    margin: 0 0 0.5rem;
}

.gt-card-price {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 1rem;
}

.gt-card-desc {
    color: var(--gt-text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 0 0.75rem;
    flex: 1;
}

.gt-card-detail {
    color: var(--gt-text-secondary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 1.5rem;
}

.gt-card-cta .mud-button-root.mud-button-outlined:hover {
    background-color: var(--gt-primary) !important;
    color: #fff !important;
    border-color: var(--gt-primary) !important;
}

/* =========================
   ABOUT
   ========================= */
.about-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    padding: 0 2rem;
}

.about-content::before,
.about-content::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--gt-border);
}

.about-content::before { left: 0; }
.about-content::after  { right: 0; }

.about-text {
    color: var(--gt-text-secondary);
    font-size: 1.125rem;
    line-height: 1.8;
    white-space: pre-line;
    margin: 0;
}

/* =========================
   PORTFOLIO
   ========================= */
.portfolio-section {
    position: relative;
}

.portfolio-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    opacity: 0.03;
    filter: blur(100px);
    z-index: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 960px) {
    .portfolio-grid { grid-template-columns: 1fr; }
}

.audio-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gt-text-secondary);
    margin: 0 0 0.25rem;
}

.audio-separator {
    height: 1px;
    background: var(--gt-divider-faint);
    margin: 0.75rem 0;
}

.landing-page audio {
    width: 100%;
    height: 36px;
    color-scheme: dark;
}

/* =========================
   REFERENCE TRACKS
   ========================= */
.tracks-list {
    max-width: 700px;
    margin: 0 auto;
    list-style: none;
    padding: 0;
}

.track-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--gt-divider-faint);
}

.track-item:last-child {
    border-bottom: none;
}

.track-title {
    color: var(--gt-text);
    font-weight: 500;
}

.track-artist {
    color: var(--gt-text-secondary);
}

.track-link {
    margin-left: auto;
    color: var(--gt-text-secondary);
    transition: color 0.2s ease;
    flex-shrink: 0;
    display: flex;
}

.track-link:hover {
    color: var(--gt-primary);
}

/* =========================
   LOADING STATE
   ========================= */
.landing-loading {
    display: flex;
    justify-content: center;
    padding: 3rem 0;
}

/* ────────── Package detail page ────────── */
.package-detail-page {
    max-width: 1140px;
    margin: 32px auto 0;
    padding: 0 24px;
}

.package-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 48px;
    align-items: start;
}

.package-content { min-width: 0; }

.package-breadcrumb {
    color: var(--gt-text-secondary);
    font-size: 14px;
    margin-bottom: 16px;
}
.package-breadcrumb a { color: inherit; text-decoration: none; }
.package-breadcrumb a:hover { color: var(--gt-text); }

.package-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 0;
    line-height: 1.1;
    color: var(--gt-text);
}

.package-accent {
    width: 64px;
    height: 4px;
    margin: 16px 0;
    border-radius: 2px;
}

.package-tagline {
    font-size: 1.125rem;
    color: var(--gt-text-secondary);
    max-width: 60ch;
    margin: 0 0 32px;
}

.package-section-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 32px 0 16px;
    color: var(--gt-text);
}

.includes-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.includes-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 8px 0;
    color: var(--gt-text);
}

.specs-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    row-gap: 0;
}
.specs-grid .spec-row {
    display: contents;
}
.specs-grid .spec-label,
.specs-grid .spec-value {
    padding: 12px 0;
    border-bottom: 1px solid var(--gt-border);
}
.specs-grid .spec-label {
    color: var(--gt-text-secondary);
    font-size: 0.9rem;
}
.specs-grid .spec-value {
    color: var(--gt-text);
}

@media (max-width: 599px) {
    .specs-grid { grid-template-columns: 1fr 1fr; }
}

/* Cross-sell */
.cross-sell-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}
.cross-sell-card {
    display: block;
    padding: 16px;
    background: var(--gt-surface);
    border: 1px solid transparent;
    border-radius: 12px;
    text-decoration: none;
    color: var(--gt-text);
    transition: border-color 0.15s ease;
}
.cross-sell-card:hover { border-color: var(--mud-palette-primary, #fff); }
.cross-sell-card h3 { font-size: 1rem; margin: 0 0 4px; }
.cross-sell-price { font-weight: 600; margin: 0 0 4px; }
.cross-sell-meta { font-size: 0.85rem; color: var(--gt-text-secondary); margin: 0; }

/* Sticky purchase panel (desktop) */
.package-sticky-card {
    position: sticky;
    top: 88px;
    background: var(--gt-surface);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.package-sticky-card h2 {
    font-size: 1.1rem;
    margin: 0 0 8px;
    color: var(--gt-text);
}
.package-sticky-price {
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 700;
    margin: 0 0 16px;
}
.package-sticky-divider {
    height: 1px;
    background: var(--gt-border);
    margin: 16px 0;
}

/* Mobile bottom-bar */
.package-mobile-bar {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 1100;
    background: var(--gt-surface);
    border-top: 1px solid var(--gt-border);
    padding: 12px 16px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.package-mobile-bar .mobile-price {
    font-weight: 700;
    font-size: 1.1rem;
}

/* Responsive collapse */
@media (max-width: 959px) {
    .package-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .package-sticky-card {
        position: static;
    }
}

@media (max-width: 599px) {
    .package-sticky-card { display: none; }
    .package-mobile-bar { display: flex; }
    .package-detail-page { padding-bottom: 88px; }
}
