/* Collab Hawaii Referral Landing Page */

/* Hero */
.ref-hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 7rem 0 4rem;
    position: relative;
    z-index: 1;
}

.ref-hero h1 {
    font-family: 'Satoshi', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.ref-hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 650px;
    margin: 0 auto 2rem;
}

.ref-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.ref-badge svg {
    width: 20px;
    height: 20px;
    opacity: 0.8;
}

.cta-group {
    margin-top: 2rem;
}

.btn-large {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-large:hover {
    background: #fff;
    transform: translateY(-2px);
}

.cta-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Hero animations */
.ref-hero .ref-badge,
.ref-hero h1,
.ref-hero .partner-video-wrapper,
.ref-hero > .container > p,
.ref-hero .cta-group {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeIn 0.8s ease-out forwards;
}
.ref-hero .ref-badge { animation-delay: 0.1s; }
.ref-hero h1 { animation-delay: 0.2s; }
.ref-hero .partner-video-wrapper { animation-delay: 0.3s; }
.ref-hero > .container > p { animation-delay: 0.4s; }
.ref-hero .cta-group { animation-delay: 0.5s; }

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

/* Sections */
.ref-section {
    padding: 5rem 0;
    position: relative;
    z-index: 1;
}

.ref-section-title {
    font-family: 'Satoshi', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.benefit-card {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.2s ease;
}

.benefit-card:hover {
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-4px);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.85);
}

.benefit-icon svg {
    width: 32px;
    height: 32px;
}

.benefit-card h3 {
    font-family: 'Satoshi', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.benefit-card p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.step-item {
    text-align: center;
}

.step-number {
    font-family: 'Satoshi', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 0.75rem;
    line-height: 1;
}

.step-item h3 {
    font-family: 'Satoshi', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step-item p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Testimonial */
.testimonial-section {
    padding: 5rem 0;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    max-width: 750px;
    margin: 0 auto;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
}

.testimonial-quote {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-quote::before {
    content: '\201C';
    display: block;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.15);
    font-style: normal;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.testimonial-author {
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
}

.testimonial-role {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.25rem;
}

/* Partner Video (in hero) */
.partner-video-wrapper {
    position: relative;
    max-width: 760px;
    margin: 0 auto 2rem;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.04);
    background: #000;
}

.partner-video-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 115%;
    height: 130%;
    background: radial-gradient(ellipse at center, rgba(80,70,229,0.12) 0%, transparent 65%);
    pointer-events: none;
    z-index: -1;
}

.partner-video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Final CTA */
.ref-cta {
    padding: 5rem 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.ref-cta h2 {
    font-family: 'Satoshi', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.ref-cta p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

/* AOS pointer fix */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

/* Mobile */
@media (max-width: 768px) {
    .desktop-only { display: none !important; }
    .ref-hero { padding: 6rem 0 3rem; min-height: 0; }
    .benefits-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .ref-section { padding: 3.5rem 0; }
    .testimonial-card { padding: 1.75rem; }
    .testimonial-quote { font-size: 1rem; }
    .ref-cta h2 { font-size: 1.75rem; }
    .partner-video-wrapper { border-radius: 8px; margin-bottom: 1.5rem; }
}
