/* ============================================
   AICP-CUSTOM.CSS — Brand Overrides & CTA Pulse
   ============================================ */

/* ——————— CTA PULSE ANIMATION ——————— */
.cta-btn {
    position: relative;
    overflow: hidden;
}

.cta-btn::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: rgba(199, 165, 74, 0.9);
    border-radius: 999px;
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: ctaPulse 2.6s infinite;
}

@keyframes ctaPulse {
    0% {
        opacity: .6;
        width: 8px;
        height: 8px;
    }

    70% {
        opacity: 0;
        width: 280px;
        height: 280px;
    }

    100% {
        opacity: 0;
        width: 280px;
        height: 280px;
    }
}

/* ——————— BRAND LOGO STYLES ——————— */
.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 200px;
    /* Scaled up to 200px as requested */
    width: auto;
    display: block;
    transition: height 0.4s var(--ease-out);
}

.main-nav.shrink .nav-logo-img {
    height: 150px;
}

.footer-logo-img {
    height: 100px;
    width: auto;
    margin-bottom: var(--space-md);
    display: block;
}

/* ——————— PARALLAX BACKGROUNDS ——————— */
.parallax1 {
    background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1920&q=80');
}

.parallax2 {
    background-image: url('https://images.unsplash.com/photo-1620712943543-bcc4688e7485?w=1920&q=80');
}

.parallax3 {
    background-image: url('https://images.unsplash.com/photo-1535223289827-42f1e9919769?w=1920&q=80');
}

/* ——————— COMMUNITY SECTION ——————— */
.community-section {
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.community-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(199, 165, 74, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.community-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.community-feature {
    text-align: center;
    padding: var(--space-xl);
}

.community-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    display: block;
}

.community-feature h4 {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.community-feature p {
    font-size: 0.9375rem;
    color: var(--gray-300);
}

@media (max-width: 768px) {
    .community-features {
        grid-template-columns: 1fr;
    }
}

/* ——————— TIER SECTIONS ——————— */
.tier-section {
    position: relative;
}

.tiers-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl);
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .tiers-wrapper {
        grid-template-columns: 1fr;
    }
}

/* ——————— GPT ITEM ——————— */
.gpt-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: rgba(199, 165, 74, 0.04);
    border: 1px solid rgba(199, 165, 74, 0.08);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    transition: all 0.3s var(--ease-out);
}

.gpt-item:hover {
    border-color: rgba(199, 165, 74, 0.2);
    background: rgba(199, 165, 74, 0.08);
}

.gpt-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.gpt-name {
    font-weight: 600;
    color: var(--white);
    font-size: 0.9375rem;
}

.gpt-desc {
    font-size: 0.8125rem;
    color: var(--gray-300);
    margin-bottom: 0;
}

/* ——————— GOOGLE REVIEWS ——————— */
.google-reviews-section {
    background: var(--black-soft);
}

.reviews-card {
    background: var(--black-card);
    border: 1px solid rgba(199, 165, 74, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.reviews-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.google-logo {
    font-size: 2rem;
    margin-bottom: var(--space-md);
}

.review-mini-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-2xl);
}

.review-mini {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    text-align: left;
}

.review-mini-stars {
    color: #FFC107;
    font-size: 0.75rem;
    margin-bottom: var(--space-xs);
}

.review-mini-text {
    color: var(--gray-200);
    font-size: 0.8125rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review-mini-author {
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-top: var(--space-sm);
}

@media (max-width: 768px) {
    .review-mini-cards {
        grid-template-columns: 1fr;
    }
}

/* ——————— AUTHORITY / PROOF SECTION ——————— */
.authority-section {
    background: linear-gradient(180deg, var(--black) 0%, #0d0d12 50%, var(--black) 100%);
    position: relative;
    overflow: hidden;
}

.authority-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(199, 165, 74, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.authority-section .lead {
    max-width: 680px;
    margin: var(--space-md) auto 0;
    color: var(--gray-300);
    font-size: 1.0625rem;
    line-height: 1.7;
    text-align: center;
}

/* Hero Image — Cinematic Showcase */
.authority-hero-image {
    position: relative;
    width: 100%;
    max-width: 960px;
    margin: var(--space-3xl) auto var(--space-2xl);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(199, 165, 74, 0.15),
        0 24px 80px rgba(0, 0, 0, 0.6),
        0 0 120px rgba(199, 165, 74, 0.06);
}

.authority-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 560px;
}

.authority-image-badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(199, 165, 74, 0.3);
    color: var(--gold);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.02em;
}

/* Authority Credentials Grid */
.authority-credentials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    max-width: 960px;
    margin: 0 auto var(--space-3xl);
}

.credential-item {
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(199, 165, 74, 0.08);
    transition: all 0.4s var(--ease-out);
}

.credential-item:hover {
    border-color: rgba(199, 165, 74, 0.25);
    background: rgba(199, 165, 74, 0.04);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.credential-icon {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: var(--space-md);
}

.credential-item h4 {
    font-family: var(--font-primary);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.credential-item p {
    font-size: 0.9375rem;
    color: var(--gray-300);
    line-height: 1.6;
    margin: 0;
}

/* Impact Quote */
.authority-quote {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    padding: var(--space-2xl) 0;
    position: relative;
}

.authority-quote::before {
    content: '\201C';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 6rem;
    color: rgba(199, 165, 74, 0.12);
    font-family: var(--font-display);
    line-height: 1;
    pointer-events: none;
}

.authority-quote blockquote {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.5vw, 1.625rem);
    color: var(--white);
    line-height: 1.6;
    font-style: italic;
    font-weight: 400;
    margin: 0;
    padding: 0;
    border: none;
}

.authority-quote-author {
    margin-top: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.authority-quote-author strong {
    color: var(--gold);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.authority-quote-author span {
    color: var(--gray-400);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .authority-credentials {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .authority-hero-image {
        margin: var(--space-2xl) auto var(--space-xl);
        border-radius: var(--radius-lg);
    }

    .authority-hero-image img {
        max-height: 320px;
    }

    .authority-section .lead {
        font-size: 0.9375rem;
    }

    .authority-quote blockquote {
        font-size: 1.125rem;
    }
}

/* ——————— FINAL CTA ——————— */
.final-cta-section {
    text-align: center;
}

.final-cta-section .section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

/* ——————— PRELOADER ——————— */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s, visibility 0.6s;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(199, 165, 74, 0.1);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: rotate 0.8s linear infinite;
}

/* ——————— SCROLL INDICATOR ——————— */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: var(--z-content);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--gray-300);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    animation: float 2.5s ease-in-out infinite;
}

.scroll-indicator .mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--gray-400);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator .mouse::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    width: 4px;
    height: 8px;
    background: var(--gold);
    border-radius: var(--radius-pill);
    transform: translateX(-50%);
    animation: scrollWheel 1.8s ease-in-out infinite;
}

@keyframes scrollWheel {

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

    50% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
}

/* ——————— MISC OVERRIDES ——————— */
.gold-line {
    width: 60px;
    height: 3px;
    background: var(--gradient-gold);
    border-radius: var(--radius-pill);
}

.section-dark {
    background: var(--black);
}

.section-darker {
    background: var(--black-soft);
}

/* Smooth scroll anchor offset */
section[id] {
    scroll-margin-top: 80px;
}

/* Selection on dark */
::selection {
    background: var(--gold);
    color: var(--black);
}