/* ============================================
   CYCB Landing Page Styles
   ============================================ */

/* Pulse Animation for Beta Badge */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}

.status-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Watermark Styles (matching portfolio) */
.watermark-svg {
    width: 300px;
    height: 60px;
    opacity: 0;
    transform: rotate(-12deg) scale(0.9);
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.watermark-text {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
}

.watermark-stamp {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 24px;
    border: 3px solid var(--text-primary);
    border-radius: 2px;
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.watermark-stamp::before {
    content: '';
    position: absolute;
    inset: -3px;
    border: 1px solid var(--text-primary);
    border-radius: 2px;
    opacity: 0.3;
}

/* Hero Animations - Always visible, no hiding */
[data-animate-word],
[data-animate-fade],
.hero-word,
.hero-fade {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Underline Wavy */
.underline-wavy {
    position: relative;
    display: inline-block;
}

.underline-wavy svg {
    position: absolute;
    bottom: -20px;
    left: -5%;
    width: 110%;
    height: 20px;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
}

/* Feature Stamps (reusing portfolio stamp styles) */
.stamp-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

@media (min-width: 768px) {
    .stamp-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .stamp-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .stamp-list {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

.stamp {
    list-style: none;
    transform: rotate(var(--r, -2deg));
}

.stamp-inner {
    position: relative;
    padding: 18px 20px;
    border-radius: 999px;
    background: var(--glass-bg);
    border: 1px solid var(--border-dark);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 14px var(--shadow-light);
    transition: all 0.3s ease;
}

.stamp-ink {
    position: absolute;
    inset: -6px;
    border-radius: 999px;
    pointer-events: none;
}

.stamp-ink svg path {
    stroke: var(--text-primary);
    stroke-width: 1.5;
    fill: transparent;
    stroke-dasharray: 6 6;
    filter: drop-shadow(0 1px 0 var(--shadow-light));
    transition: stroke 0.3s ease;
}

.stamp-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--text-primary);
    color: var(--bg-primary);
    display: grid;
    place-items: center;
    box-shadow: 0 6px 16px var(--shadow-medium);
    transition: all 0.3s ease;
}

.stamp-icon svg {
    display: block;
    width: 70%;
    height: 70%;
}

.stamp-inner:hover {
    transform: translateY(-2px);
}

.stamp-inner:hover .stamp-icon {
    box-shadow: 0 0 0 4px rgba(217, 70, 239, 0.12);
}

.stamp-label {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--text-primary);
    font-size: 14px;
}

.stamp-sub {
    font-size: 11px;
    color: var(--text-secondary);
    margin-left: 4px;
}

.stamp:hover .stamp-ink svg path {
    stroke: var(--accent-primary);
    opacity: 0.9;
}

/* Floating Animation */
.float {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Glass Background */
.glass-bg {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .watermark-svg {
        width: 180px;
        top: 10%;
        right: 3%;
    }

    .watermark-stamp {
        padding: 10px 18px;
        font-size: 12px;
        left: 3%;
        bottom: 15%;
    }

    .stamp-list {
        gap: 12px;
    }

    .stamp-inner {
        padding: 14px 16px;
        gap: 10px;
    }

    .stamp-icon {
        width: 36px;
        height: 36px;
    }

    .stamp-label {
        font-size: 12px;
    }

    .stamp-sub {
        font-size: 10px;
    }
}

/* Reveal Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Download Button Glow */
.glow-on-hover:hover {
    box-shadow: 0 0 20px rgba(217, 70, 239, 0.5), 0 0 40px rgba(217, 70, 239, 0.3);
}

/* Inverted Section Theming */
.inverted-section {
    background-color: var(--text-primary);
}

.inverted-text {
    color: var(--bg-primary);
}

.inverted-text-secondary {
    color: var(--bg-primary);
    opacity: 0.7;
}

.inverted-text-muted {
    color: var(--bg-primary);
    opacity: 0.5;
}

/* Light theme specific */
:root .inverted-section {
    background-color: #1a1a1a;
}

:root .inverted-text {
    color: #F4F2EE;
}

:root .inverted-text-secondary {
    color: #F4F2EE;
    opacity: 0.7;
}

:root .inverted-text-muted {
    color: #F4F2EE;
    opacity: 0.5;
}

/* Dark theme specific */
[data-theme="dark"] .inverted-section {
    background-color: #f4f2ee;
}

[data-theme="dark"] .inverted-text {
    color: #0f0f0f;
}

[data-theme="dark"] .inverted-text-secondary {
    color: #0f0f0f;
    opacity: 0.7;
}

[data-theme="dark"] .inverted-text-muted {
    color: #0f0f0f;
    opacity: 0.5;
}
