/* ==============================================
   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: var(--gt-bg);
    position: relative;
    overflow-x: hidden;
}

/* --- Grain Overlay --- */
.landing-page::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 100;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* --- Scroll Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- 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-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.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-cta .mud-button-root {
    box-shadow: 0 0 30px color-mix(in srgb, var(--gt-primary) 15%, transparent);
}

.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, opacity 0.8s ease, transform 0.8s 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;
}
