/* Snap page hero */
.snap-hero {
    padding: 5rem 0 2rem;
    text-align: center;
}

.snap-hero h1 {
    font-size: 2.625rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1rem;
    color: #1a1a1a;
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.6;
    transition: opacity 0.3s;
}

.hero-subtitle strong {
    color: #0a0a0a;
    font-weight: 600;
}

.hero-subtitle.hidden,
.hero-badges.hidden {
    display: none;
}

.snap-hero p {
    font-size: 1rem;
    color: #1a1a1a;
    max-width: 480px;
    margin: 0 auto;
    transition: opacity 0.3s, height 0.3s, margin 0.3s;
}

.snap-hero p.hidden {
    display: none;
}

.snap-hero p strong {
    color: #0a0a0a;
    font-weight: 600;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.875rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #333;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 1.25rem;
}

.hero-badge i {
    font-size: 0.6875rem;
    color: #555;
}

/* Snap form */
.spy-form {
    padding: 0 0 5rem;
    transition: opacity 0.3s;
}

.spy-form .container {
    max-width: 560px;
}

.spy-form .glass {
    padding: 32px;
}

/* Info & FAQ section */
.info-section {
    padding: 0 0 5rem;
}

.info-section .container {
    max-width: 560px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-card,
.faq-card {
    padding: 1.5rem;
    text-align: left;
}

.info-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #0a0a0a;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-title i {
    font-size: 0.875rem;
    color: #555;
}

.info-text {
    font-size: 0.8125rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 0.625rem;
}

.info-text strong {
    color: #222;
}

.info-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.875rem;
}

.info-feature {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.8125rem;
    color: #444;
    padding: 0.5rem 0.75rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 0.5rem;
}

.info-feature i {
    font-size: 0.75rem;
    color: #777;
    width: 1rem;
    text-align: center;
}

.faq-item {
    border-top: 1px solid #eee;
    padding: 0.75rem 0;
}

.faq-item:last-child {
    padding-bottom: 0;
}

.faq-item summary {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #222;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-item summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.625rem;
    color: #aaa;
    transition: transform 0.2s;
}

.faq-item[open] summary::after {
    transform: rotate(180deg);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    font-size: 0.8125rem;
    color: #666;
    line-height: 1.6;
    margin-top: 0.5rem;
}



/* Loading state (inline, replaces form) */
.loading-section {
    display: none;
    padding: 0 0 5rem;
    text-align: center;
}

.loading-section.active {
    display: block;
}

.loading-section .container {
    max-width: 560px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.loading-section .bitmoji {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s;
}

.loading-section .bitmoji.loaded {
    opacity: 1;
}

.loading-section .spinner {
    width: 2.5rem;
    height: 2.5rem;
    border: 3px solid transparent;
    border-top-color: #222;
    border-radius: 50%;
    animation: spinIrregular 1.2s cubic-bezier(0.6, 0, 0.3, 1) infinite;
}

@keyframes spinIrregular {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-section .loading-title {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #1a1a1a;
}

.loading-section {
    transition: opacity 0.5s ease;
}

body.is-loading footer { display: none; }

.loading-section.fade-out {
    opacity: 0;
}

.animation-section {
    animation: fadeInSection 0.5s ease;
}

@keyframes fadeInSection {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
    .snap-hero { padding: 4rem 0 2.5rem; }
    .snap-hero h1 { font-size: 2rem; }
    .spy-form .glass { padding: 1.5rem; }
}

/* Animation section */
.animation-section {
    display: none;
    padding: 0 0 5rem;
    text-align: center;
}

.animation-section.active {
    display: block;
}

.animation-section .container {
    max-width: 560px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.animation-card {
    padding: 1.5rem;
    width: 100%;
}

.animation-card-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.animation-card-title i {
    margin-right: 2px;
}


.animation-section .relation-graph-container {
    width: 100%;
}

.animation-section .relation-graph {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    border: none;
    border-radius: 8px;
    box-shadow: none;
    background: transparent;
}

.animation-section .graph-console {
    width: 100%;
    background: transparent;
    color: #0a0a0a;
    border: none;
    border-radius: 10px;
    margin-top: 16px;
    text-align: left;
}

.btn-results {
    display: none;
    animation: fadeIn 0.5s ease;
}

.btn-results.visible {
    display: flex;
}

.btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Results section */
.results-section {
    display: none;
    padding: 0 0 5rem;
    text-align: center;
}

.results-section.active {
    display: block;
}

.results-section .container {
    max-width: 560px;
}

.results-glass {
    padding: 2rem;
}

.screenshots-row {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.screenshot-placeholder {
    width: 140px;
    height: 250px;
    background: #d1d1d1;
    border-radius: 16px;
}

img.screenshot-placeholder {
    object-fit: cover;
}

.conversation-screenshot {
    position: relative;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    background: #d1d1d1;
}

.conversation-screenshot > img:last-child {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.conversation-bitmoji {
    position: absolute;
    top: 1.4%;
    left: 12.5%;
    width: 8%;
    background-color: rgba(0, 0, 0, 0.03);
    border-radius: 50%;
    filter: blur(0.9px);
    z-index: 1;
}

.conversation-username {
    position: absolute;
    top: 0.8%;
    left: 23.5%;
    max-width: 45%;
    color: #000;
    font-family: Inter, sans-serif;
    font-size: 0.625rem;
    font-weight: 700;
    filter: blur(1.3px);
    z-index: 1;
}

.results-count {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.results-verify-text {
    font-size: 0.875rem;
    color: #555;
    margin-bottom: 1.5rem;
}

#btn-verify {
    width: 100%;
}

/* Offers section */
.offers-section {
    display: none;
    padding: 0 0 5rem;
    text-align: center;
    animation: fadeInSection 0.5s ease;
}

.offers-section.active {
    display: block;
}

.offers-section .container {
    max-width: 560px;
}

.offers-glass {
    padding: 2rem;
}

.offers-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0a0a0a;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.offers-subtitle {
    font-size: 0.875rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.offers-help-card {
    padding: 1.5rem;
    text-align: left;
    margin-top: 1rem;
}

.offers-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.offers-loading {
    display: flex;
    justify-content: center;
    padding: 1.5rem 0;
}

.offer-card {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem;
    background: rgba(250, 250, 250, 0.8);
    border: 1px solid #e5e5e5;
    border-radius: 0.75rem;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s;
    text-decoration: none;
    color: inherit;
}

.offer-card:hover {
    border-color: #ccc;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.offer-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    object-fit: cover;
    flex-shrink: 0;
}

.offer-info {
    flex: 1;
    min-width: 0;
}

.offer-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0a0a0a;
    margin-bottom: 0.125rem;
}

.offer-instructions {
    font-size: 0.75rem;
    color: #777;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.offer-arrow {
    font-size: 0.8125rem;
    color: #aaa;
    flex-shrink: 0;
}
