/* Landing Page — Tyga.Social */
/* impeccable.style: tinted neutrals (never pure #000/#fff) */

/* Force dark on entire landing page — tinted near-black */
.landing-page {
    background: var(--imp-dark, #0a0a0a) !important;
    color: var(--imp-gray-100, #fafafa);
}

.landing-page .site-footer {
    background: var(--imp-dark, #0a0a0a) !important;
    border-top-color: rgba(251, 191, 36, 0.15) !important;
    margin-top: 0 !important;
}

.landing-page .site-footer-logo img {
    filter: brightness(0) saturate(100%) invert(78%) sepia(60%) saturate(600%) hue-rotate(360deg) brightness(105%) contrast(97%);
}

.landing-page .site-footer-nav a {
    color: var(--imp-gray-400, #888888) !important;
    opacity: 0.8 !important;
}

.landing-page .site-footer-nav a:hover {
    color: var(--imp-accent, #FACC15) !important;
    opacity: 1 !important;
}

.landing-page .site-footer-bottom p {
    color: var(--imp-gray-500, #555555) !important;
    opacity: 0.6 !important;
}

.landing-page .site-footer-sep {
    color: var(--imp-gray-500, #555555) !important;
}

.landing-page .site-footer-bottom {
    border-top-color: rgba(251, 191, 36, 0.1) !important;
}

/* ===== NAVBAR ON LANDING ===== */
/* impeccable.style: tinted near-black, no pure black/white */
body > .navbar {
    background: rgba(13, 11, 7, 0.85) !important;
    backdrop-filter: blur(8px);
    box-shadow: none !important;
}
body > .navbar .navbar-brand span {
    color: var(--imp-white, #fafafa) !important;
}
body > .navbar .nav-link {
    color: var(--imp-white, #fafafa) !important;
}

/* ===== TOP-LEFT LOGO ===== */
.landing-logo {
    position: fixed;
    top: 1.25rem;
    left: 1.5rem;
    z-index: 100;
}

.landing-logo img {
    height: 28px;
    width: auto;
    filter: brightness(0) saturate(100%) invert(78%) sepia(60%) saturate(600%) hue-rotate(360deg) brightness(105%) contrast(97%);
}

/* ===== HERO BUBBLE ANIMATION ===== */
.hero-bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
}

.hero-bubble {
    position: absolute;
    border-radius: 50%;
    overflow: hidden;
    opacity: 0;
    transform: scale(0);
    /* impeccable.style: ease-out-quart (bounce/elastic BANNED) */
    animation: bubblePop 0.5s var(--ease-enter, cubic-bezier(0.16, 1, 0.3, 1)) forwards;
    border: 3px solid #FACC15;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.2);
}

/* Multi-color bot bubble borders — matches SVG icon accent colors */
.hero-bubble:nth-child(8n+1) { border-color: #FACC15; box-shadow: 0 0 18px rgba(250, 204, 21, 0.25); }
.hero-bubble:nth-child(8n+2) { border-color: #3B82F6; box-shadow: 0 0 18px rgba(59, 130, 246, 0.25); }
.hero-bubble:nth-child(8n+3) { border-color: #10B981; box-shadow: 0 0 18px rgba(16, 185, 129, 0.25); }
.hero-bubble:nth-child(8n+4) { border-color: #A855F7; box-shadow: 0 0 18px rgba(168, 85, 247, 0.25); }
.hero-bubble:nth-child(8n+5) { border-color: #EF4444; box-shadow: 0 0 18px rgba(239, 68, 68, 0.2); }
.hero-bubble:nth-child(8n+6) { border-color: #06B6D4; box-shadow: 0 0 18px rgba(6, 182, 212, 0.25); }
.hero-bubble:nth-child(8n+7) { border-color: #EC4899; box-shadow: 0 0 18px rgba(236, 72, 153, 0.2); }
.hero-bubble:nth-child(8n+8) { border-color: #F97316; box-shadow: 0 0 18px rgba(249, 115, 22, 0.25); }

.hero-bubble img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.hero-bubble.dissolve {
    animation: bubbleDissolve 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-bubble.float {
    animation: bubbleFloat 3s ease-in-out infinite;
}

/* impeccable.style: no overshoot/bounce — clean entrance only */
@keyframes bubblePop {
    0% { opacity: 0; transform: scale(0); }
    100% { opacity: 0.85; transform: scale(1); }
}

@keyframes bubbleDissolve {
    0% { opacity: 0.85; transform: scale(1); filter: blur(0); }
    40% { opacity: 0.6; transform: scale(1.05); filter: blur(1px); }
    100% { opacity: 0; transform: scale(0.3); filter: blur(8px); }
}

@keyframes bubbleFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.02); }
}

/* Hero content hidden initially, revealed after bubbles */
/* impeccable.style: entrance timing */
.hero-content-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity var(--duration-entrance, 600ms) var(--ease-enter),
                transform var(--duration-entrance, 600ms) var(--ease-enter);
    z-index: 3;
    position: relative;
}

.hero-content-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== HERO — split layout ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--imp-dark, #0a0a0a);
    padding: 2rem;
    gap: 4rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 0 1 480px;
    color: var(--imp-white, #fafafa);
}

.hero-tagline {
    /* impeccable.style: fluid type scale */
    font-size: var(--text-4xl, clamp(2.25rem, 5vw + 0.5rem, 4.209rem));
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
    color: var(--imp-white, #fafafa);
}

.hero-tagline .gold {
    color: #FACC15;
}

.hero-tagline .hero-safely {
    color: var(--imp-gray-400, #888888);
}

.hero-sub {
    font-size: var(--text-lg, 1.15rem);
    color: var(--imp-gray-400, #888888);
    margin-bottom: 2rem;
    line-height: 1.55;
    max-width: 65ch;
}

.hero-ctas {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.hero-footnote {
    margin-top: 1.25rem;
    font-size: var(--text-sm, 0.8rem);
    color: var(--imp-gray-600, #333333);
    font-style: italic;
    letter-spacing: 0.01em;
}

/* Primary CTA — impeccable.style: motion vars, tinted text */
.btn-primary-cta {
    display: inline-block;
    background: var(--imp-accent, #FACC15);
    color: var(--imp-dark, #0a0a0a);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: var(--text-base, 1rem);
    text-decoration: none;
    transition: background var(--duration-state, 250ms) var(--ease-default);
    min-height: 44px;
}

.btn-primary-cta:hover {
    background: var(--imp-accent-hover, #EAB308);
    color: var(--imp-dark, #0a0a0a);
    text-decoration: none;
}

/* Outline CTA — impeccable.style: motion vars */
.btn-outline-cta {
    display: inline-block;
    background: transparent;
    color: var(--imp-accent, #FACC15);
    border: 1px solid rgba(251, 191, 36, 0.5);
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: var(--text-base, 1rem);
    text-decoration: none;
    transition: all var(--duration-state, 250ms) var(--ease-default);
    min-height: 44px;
}

.btn-outline-cta:hover {
    background: var(--imp-accent-bg, rgba(251, 191, 36, 0.1));
    border-color: var(--imp-accent, #FACC15);
    color: var(--imp-accent, #FACC15);
    text-decoration: none;
}

/* ===== MOCK FEED (right side of hero) ===== */
.hero-feature {
    flex: 0 1 440px;
}

/* Tool grid — dark card, matching theme */
.mock-feed {
    background: #161616;
    border: 1px solid #1e1e1e;
    border-radius: 16px;
    overflow: hidden;
}

.mock-tweet {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--imp-gray-200, #e6e3d9);
}

.mock-tweet:last-child {
    border-bottom: none;
}

.mock-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--imp-gray-200, #e6e3d9);
    flex-shrink: 0;
    object-fit: cover;
}

.mock-body {
    flex: 1;
    min-width: 0;
}

.mock-name {
    font-weight: 700;
    color: var(--imp-gray-900, #111111);
    font-size: var(--text-sm, 0.9rem);
    margin-bottom: 0.25rem;
}

.mock-name span {
    font-weight: 400;
    color: var(--imp-gray-500, #555555);
}

.mock-text {
    color: var(--imp-gray-900, #111111);
    font-size: var(--text-sm, 0.9rem);
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.mock-actions {
    display: flex;
    gap: 1.5rem;
    color: var(--imp-gray-500, #555555);
    font-size: 0.8rem;
}

.mock-actions span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.mock-actions ion-icon {
    font-size: 1rem;
}

/* ===== PILLARS ===== */
/* impeccable.style: tinted gradients, no pure black */
.pillars-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--imp-dark, #0a0a0a) 0%, var(--imp-dark-light, #161309) 100%);
}

.section-title {
    font-size: var(--text-2xl, 2rem);
    font-weight: 800;
    color: var(--imp-gray-100, #fafafa);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.pillar-card {
    background: var(--imp-gray-800, #161616);
    border: 1px solid var(--imp-gray-700, #1e1e1e);
    border-radius: 16px;
    padding: 2rem 1.75rem;
    height: 100%;
    transition: border-color var(--duration-state, 250ms) var(--ease-default);
}

.pillar-card:hover {
    border-color: var(--imp-accent, #FACC15);
}

.pillar-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(251,191,36,0.15);
    color: #FACC15;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.4rem;
}

.pillar-card h4 {
    font-size: var(--text-lg, 1.2rem);
    font-weight: 700;
    color: var(--imp-gray-100, #fafafa);
    margin-bottom: 0.5rem;
}

.pillar-card p {
    color: var(--imp-gray-400, #888888);
    font-size: var(--text-base, 0.95rem);
    line-height: 1.55;
    margin-bottom: 0;
}

/* ===== FEATURES ===== */
.features-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--imp-dark-light, #161309) 0%, var(--imp-gray-800, #161616) 100%);
}

.feature-title {
    font-size: var(--text-2xl, 2rem);
    font-weight: 800;
    color: var(--imp-gray-100, #fafafa);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.feature-desc {
    color: var(--imp-gray-400, #888888);
    font-size: var(--text-base, 1.05rem);
    line-height: 1.55;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0;
    color: var(--imp-gray-100, #fafafa);
    font-size: var(--text-base, 0.95rem);
}

.feature-list li ion-icon {
    color: #FACC15;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Feature graphic cards */
.feature-graphic {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.fg-card {
    background: var(--imp-dark, #0a0a0a);
    border: 1px solid var(--imp-gray-700, #1e1e1e);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.fg-icon {
    font-size: 1.5rem;
    color: #FACC15;
    flex-shrink: 0;
}

.fg-card strong {
    display: block;
    color: var(--imp-gray-100, #fafafa);
    font-size: var(--text-base, 0.95rem);
}

.fg-card span {
    color: var(--imp-gray-400, #888888);
    font-size: var(--text-sm, 0.85rem);
}

/* ===== COMPARISON TABLE ===== */
.comparison-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--imp-gray-800, #161616) 0%, var(--imp-dark-light, #161309) 50%, var(--imp-dark, #0a0a0a) 100%);
}

.comparison-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    border-collapse: separate;
    border-spacing: 0;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--imp-gray-700, #1e1e1e);
}

.comparison-table thead th {
    font-size: var(--text-sm, 0.85rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--imp-gray-400, #888888);
    border-bottom: 2px solid var(--imp-gray-700, #1e1e1e);
}

.comparison-table thead th.us {
    color: #FACC15;
}

.comparison-table .row-label {
    font-weight: 700;
    color: var(--imp-gray-100, #fafafa);
    font-size: var(--text-base, 0.95rem);
    white-space: nowrap;
}

.comparison-table td.competitor {
    color: var(--imp-gray-400, #888888);
    font-size: var(--text-base, 0.95rem);
}

.comparison-table td.us {
    color: var(--imp-gray-100, #fafafa);
    font-size: var(--text-base, 0.95rem);
    font-weight: 600;
}

.comparison-table td.us ion-icon {
    color: #FACC15;
    font-size: 1rem;
    vertical-align: middle;
    margin-right: 0.35rem;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

/* ===== FINAL CTA ===== */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--imp-dark, #0a0a0a) 0%, var(--imp-dark-light, #161309) 50%, var(--imp-dark, #0a0a0a) 100%);
    text-align: center;
    border-top: none;
}

.cta-section h2 {
    font-size: var(--text-2xl, 2rem);
    font-weight: 800;
    color: var(--imp-gray-100, #fafafa);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.cta-section p {
    color: var(--imp-gray-400, #888888);
    font-size: var(--text-lg, 1.1rem);
    margin: 0 auto 2rem;
    max-width: 420px;
}

.cta-section .hero-ctas {
    justify-content: center;
}

/* ===== SCROLL FADE-IN ===== */
/* impeccable.style: entrance duration 600ms, ease-out-quart */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity var(--duration-entrance, 600ms) var(--ease-enter),
                transform var(--duration-entrance, 600ms) var(--ease-enter);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        gap: 2.5rem;
        padding: 6rem 1.5rem 3rem;
        min-height: auto;
    }

    .hero-content {
        text-align: center;
        flex: none;
        width: 100%;
    }

    .hero-logo-wrap {
        justify-content: center;
        display: flex;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-feature {
        flex: none;
        width: 100%;
        max-width: 440px;
    }

    /* impeccable.style: fluid type scale handles responsive sizing via clamp() */
    .hero-tagline {
        font-size: var(--text-3xl);
    }

    .pillars-section,
    .features-section,
    .comparison-section,
    .cta-section {
        padding: 3.5rem 0;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.75rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 5rem 1rem 2rem;
    }

    /* impeccable.style: fluid type scale handles this via clamp() */
    .hero-tagline {
        font-size: var(--text-2xl);
    }

    .pillars-section,
    .features-section,
    .comparison-section,
    .cta-section {
        padding: 2.5rem 0;
    }

    .btn-primary-cta,
    .btn-outline-cta {
        padding: 0.65rem 1.5rem;
        font-size: 0.9rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.6rem 0.5rem;
        font-size: 0.8rem;
    }
}
