/* Adobe Typekit - Aktiv Grotesk Extended */
@import url('https://use.typekit.net/gom4uqy.css');

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

:root {
    --color-background: #0D0D0D;
    --color-text: #FFFFFF;
    --color-text-muted: rgba(255, 255, 255, 0.7);
    --font-family: aktiv-grotesk-extended, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --header-height: 80px;
    --content-padding: 64px;
    --color-section-bg: #121316;
    --color-footer-bg: #272727;
    --color-accent: #ec0855;
    --color-text-primary: #f4f4f4;
    --color-text-muted-section: #959697;
    --color-text-secondary: #909192;
    --color-card-bg: #1d1d1d;
    --color-text-heading-light: #e0e0e1;
    --color-text-heading-muted: #c6c6c7;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-section-bg);
    color: var(--color-text);
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
}

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

img {
    display: block;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px var(--content-padding);
    height: var(--header-height);
    max-width: 1600px;
    margin: 0 auto;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: rgba(13, 13, 13, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: -1;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo {
    height: 33px;
    width: auto;
}

.nav {
    display: flex;
    gap: 48px;
}

.nav-link {
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.01em;
    transition: opacity 0.2s ease;
}

.nav-link:hover {
    opacity: 0.7;
}

/* Hero Wrapper */
.hero-wrapper {
    position: relative;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background-color: var(--color-background);
    background-image: url('../images/frisky_bg.jpg');
    background-image: image-set(
        url('../images/frisky_bg.webp') type('image/webp'),
        url('../images/frisky_bg.jpg') type('image/jpeg')
    );
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(to bottom, transparent 0%, #000 100%);
    z-index: 7;
    pointer-events: none;
}

/* Hero entrance animations */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeSlideUpPhoneMobile {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%);
    }
}

/* Hero - Two column layout */
.hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    padding: var(--header-height) var(--content-padding) 0;
    overflow: visible;
    max-width: 1600px;
    margin: 0 auto;
}

/* Left column - Text content */
.hero-content {
    position: relative;
    z-index: 10;
    max-width: 600px;
    padding-top: 14vh;
}

.hero-title {
    font-size: clamp(48px, 5.5vw, 72px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.02em;
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.hero-subhead {
    font-size: clamp(18px, 1.8vw, 22px);
    font-weight: 400;
    color: var(--color-text-muted);
    line-height: 1.4;
    margin-bottom: 0;
    opacity: 0;
    animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.app-store-link {
    display: none; /* Hidden on desktop per reference */
    opacity: 0;
    animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.app-store-badge {
    height: 54px;
    width: auto;
}

/* Right column - Phone */
.phone-container {
    height: 100%;
    overflow: visible;
}

.hero-phone {
    position: absolute;
    height: 900px;
    width: auto;
    bottom: -5vh;
    left: 50%;
    z-index: 5;
    opacity: 0;
    animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

/* Sand layer */
.sand-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 6;
    pointer-events: none;
    overflow: hidden;
}

.sand-image {
    display: block;
    width: 120%;
    min-width: 1600px;
    height: auto;
    margin-left: -10%;
}


/* ===================================
   SHARED SECTION STYLES
   =================================== */

.gradient-text {
    background: linear-gradient(178deg, rgba(255, 0, 68, 0.2) 7%, rgba(255, 126, 6, 0.2) 61%),
                var(--color-text-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--color-text-primary); /* fallback */
}

.section {
    background-color: var(--color-section-bg);
    padding: 0 var(--content-padding);
}

.section-heading {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.2;
}

.section-body {
    font-size: clamp(18px, 3vw, 32px);
    font-weight: 300;
    line-height: 1.6;
}


/* ===================================
   SECTION 1: INDUSTRY CRED
   =================================== */

.section-cred {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 680px;
}

.section-cred-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.section-cred-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.section-cred-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1051px;
    padding: 60px 0;
}

.section-cred-content .section-heading {
    margin-bottom: 24px;
}


/* ===================================
   SECTION 2: LISTEN THE WAY YOU WANT
   =================================== */

.section-listen,
.section-quality {
    min-height: 893px;
    display: flex;
    align-items: center;
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

.section-listen-image img {
    width: 100%;
    max-width: 868px;
    height: auto;
}

.section-listen-text,
.section-quality-text {
    text-align: center;
}

.phone-mockup {
    border-radius: 60px;
    width: 325px;
    height: auto;
    display: block;
    margin: 0 auto;
}


/* ===================================
   SECTION 4: INDEPENDENT
   =================================== */

.section-independent {
    min-height: 490px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 40px;
    padding-bottom: 40px;
}

.section-independent-content {
    text-align: center;
    max-width: 1843px;
    width: 100%;
    margin: 0 auto;
    border: 3px solid #8d8e8f;
    border-radius: 15px;
    padding: 60px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 406px;
}


/* ===================================
   SECTION 5: PRICING
   =================================== */

.section-pricing {
    min-height: 863px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    padding-bottom: 80px;
}

.section-pricing-heading {
    text-align: center;
    margin-bottom: 48px;
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 24px;
    width: 100%;
    margin-bottom: 40px;
}

.pricing-card {
    border: 3px solid var(--color-accent);
    border-radius: 10px;
    padding: 48px 34px;
    position: relative;
    background: var(--color-section-bg);
    width: 540px;
    max-width: 100%;
    height: 400px;
    display: flex;
    flex-direction: column;
}

.pricing-badge {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: #f9b6cd;
    font-size: 17px;
    font-weight: 700;
    padding: 8px 28px;
    border-radius: 18px;
    white-space: nowrap;
}

.pricing-card-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text-heading-light);
    margin-bottom: 12px;
}

.pricing-card-price {
    font-size: 24px;
    font-weight: 400;
    color: #cdcece;
    margin-bottom: 4px;
}

.pricing-card-billing {
    font-size: 18px;
    font-weight: 400;
    color: #868b8e;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}

.pricing-features li {
    font-size: 20px;
    font-weight: 400;
    color: #8c8c8e;
    line-height: 1.3;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 344px;
    width: 100%;
    padding: 16px 32px;
    background: #fff;
    color: var(--color-section-bg);
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 600;
    border-radius: 16px;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
    margin-bottom: 16px;
}

.cta-button:hover {
    opacity: 0.9;
}

.pricing-disclaimer {
    font-size: 16px;
    font-weight: 400;
    color: #909192;
    text-align: center;
    line-height: 31px;
}


/* ===================================
   SECTION: TESTIMONIALS
   =================================== */

.section-testimonials {
    padding: 80px var(--content-padding);
}

.section-testimonials-heading {
    text-align: center;
    margin-bottom: 48px;
}

.testimonials-subheading {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 24px;
}

/* Artist testimonials */
.testimonials-artists {
    display: flex;
    gap: 24px;
    margin-bottom: 48px;
}

.testimonial-artist {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.testimonial-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.testimonial-artist-text {
    min-width: 0;
}

.testimonial-quote {
    font-size: 16px;
    line-height: 1.9;
    color: var(--color-text-secondary);
}

.testimonial-attribution {
    font-size: 16px;
    line-height: 1.9;
    color: var(--color-text-primary);
    margin-top: 4px;
}

.testimonial-attribution strong {
    font-weight: 700;
}

/* Listener review cards */
.testimonials-listeners {
    display: flex;
    gap: 14px;
}

.testimonial-card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-text-secondary);
    border-radius: 10px;
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-card-attribution {
    font-size: 16px;
    line-height: 1.9;
    color: var(--color-text-secondary);
    margin-top: 8px;
}


/* ===================================
   FAQ SECTION (in footer)
   =================================== */

.faq-section {
    max-width: 1600px;
    margin: 0 auto 80px;
    padding-bottom: 80px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-toggle {
    background: none;
    border: none;
    color: var(--color-text-heading-muted);
    font-family: var(--font-family);
    font-size: 24px;
    font-weight: 400;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: opacity 0.2s ease;
}

.faq-toggle::after {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--color-text-heading-muted);
    border-bottom: 2px solid var(--color-text-heading-muted);
    transform: rotate(-45deg);
    transition: transform 0.2s ease;
    margin-top: -2px;
}

.faq-toggle[aria-expanded="true"]::after {
    transform: rotate(45deg);
    margin-top: -4px;
}

.faq-toggle:hover {
    opacity: 0.7;
}

.faq-content {
    display: none;
    margin-top: 32px;
}

.faq-content.is-open {
    display: block;
}

.faq-item {
    margin-bottom: 24px;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-question {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text-heading-light);
    margin-bottom: 8px;
}

.faq-answer {
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text-secondary);
    line-height: 1.6;
}


/* ===================================
   SITE FOOTER
   =================================== */

.site-footer {
    background: var(--color-footer-bg);
    padding: 120px var(--content-padding) 80px;
}

.footer-columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 48px;
    max-width: 1600px;
    margin: 0 auto 80px;
}

.footer-column-heading {
    font-size: 24px;
    font-weight: 400;
    color: var(--color-text-heading-muted);
    margin-bottom: 20px;
}

.footer-column-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 27px;
}

.footer-column-links a {
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text-muted-section);
    transition: opacity 0.2s ease;
}

.footer-column-links a:hover {
    opacity: 0.7;
}

.footer-bottom {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.footer-brand-name {
    font-size: 40px;
    font-weight: 900;
    color: #e9e9e9;
    margin-bottom: 12px;
}

.footer-brand-tagline {
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text-muted-section);
    line-height: 31px;
    max-width: 910px;
}

.footer-social {
    display: flex;
    gap: 18px;
    align-items: center;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.footer-social a:hover {
    opacity: 0.7;
}

.footer-social img {
    width: 40px;
    height: 40px;
}


/* ===================================
   RESPONSIVE: Standard Desktop (≤1600px)
   =================================== */

@media (max-width: 1600px) {
    :root {
        --content-padding: 48px;
    }

    .hero-content {
        padding-top: 10vh;
        max-width: 500px;
    }

    .hero-phone {
        height: 800px;
        left: 45%;
    }

    .sand-layer {
        bottom: 0;
    }

    .section-cred {
        min-height: 525px;
    }

    .section-listen,
    .section-quality {
        min-height: 700px;
    }
}


/* ===================================
   RESPONSIVE: Tablet (≤1200px)
   =================================== */

@media (max-width: 1200px) {
    .hero-phone {
        height: 750px;
    }

    .sand-layer {
        bottom: 0;
    }

    .section-cred {
        min-height: 450px;
    }

    .section-listen,
    .section-quality {
        min-height: 600px;
    }

    .phone-mockup {
        width: 280px;
    }
}


/* ===================================
   RESPONSIVE: Small Tablet (≤1023px)
   =================================== */

@media (max-width: 1023px) {
    :root {
        --content-padding: 32px;
    }

    .nav {
        gap: 32px;
    }

    .hero-title {
        font-size: 48px;
    }

    .section-grid {
        gap: 32px;
    }

    .pricing-cards {
        gap: 16px;
    }

    .pricing-card {
        padding: 32px;
    }

    .phone-mockup {
        width: 240px;
    }

    .footer-columns {
        gap: 32px;
    }
}


/* ===================================
   RESPONSIVE: Mobile (≤767px)
   =================================== */

@media (max-width: 767px) {
    :root {
        --content-padding: 24px;
        --header-height: 64px;
    }

    .header {
        justify-content: flex-start;
        padding: 20px var(--content-padding);
    }

    .header::before {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(13, 13, 13, 0.95);
    }

    .logo {
        height: 26px;
    }

    .nav {
        display: none;
    }

    /* Hero mobile */
    .hero {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        align-items: start;
        padding-top: calc(var(--header-height) + 16px);
        min-height: 100vh;
        min-height: 100dvh;
    }

    .hero-content {
        padding-top: 10vh;
        padding-bottom: 24px;
        max-width: 100%;
    }

    .hero-title {
        font-size: 36px;
        margin-bottom: 16px;
    }

    .hero-subhead {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .app-store-link {
        display: inline-block;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .app-store-link:hover {
        opacity: 0.9;
        transform: scale(1.02);
    }

    .app-store-badge {
        height: 60px;
    }

    .phone-container {
        overflow: visible;
        min-height: 50vh;
    }

    .hero-phone {
        height: clamp(350px, 55vh, 500px);
        bottom: 10vh;
        left: 50%;
        transform: translateX(-50%);
        animation-name: fadeSlideUpPhoneMobile;
    }

    .sand-layer {
        bottom: 0;
    }

    .sand-image {
        width: 180%;
        min-width: 900px;
        margin-left: -40%;
    }

    .gradient-text {
        background: none;
        -webkit-background-clip: unset;
        background-clip: unset;
        -webkit-text-fill-color: unset;
        color: var(--color-text-primary);
    }

    /* Section 1: Industry Cred mobile */
    .section-cred {
        min-height: 375px;
    }

    /* Section 2: Listen mobile */
    .section-listen {
        min-height: auto;
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .section-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .section-listen-image img {
        max-width: 100%;
    }

    /* Section 3: Quality mobile */
    .section-quality {
        min-height: auto;
        padding-top: 48px;
        padding-bottom: 48px;
    }


    .section-quality-image {
        order: -1;
    }

    .phone-mockup {
        width: 260px;
        border-radius: 40px;
    }

    /* Section 4: Independent mobile */
    .section-independent {
        min-height: auto;
        padding-top: 48px;
        padding-bottom: 48px;
    }


    /* Section 5: Pricing mobile */
    .section-pricing {
        min-height: auto;
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        padding: 32px 24px;
        width: 100%;
        height: auto;
    }

    .pricing-features {
        margin-top: 24px;
    }

    /* Testimonials mobile */
    .testimonials-artists {
        flex-direction: column;
        gap: 32px;
    }

    .testimonial-avatar {
        width: 80px;
        height: 80px;
    }

    .testimonials-listeners {
        flex-direction: column;
    }

    /* Footer mobile */
    .site-footer {
        padding: 60px var(--content-padding) 48px;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 48px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }

    .footer-brand-name {
        font-size: 32px;
    }

    .footer-social {
        align-self: flex-end;
    }

    .footer-social img {
        width: 32px;
        height: 32px;
    }
}


/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
