* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #C2304C;
    --accent: #FF6B8A;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

html, body {
    background: #C2304C;
    min-height: 100%;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    color: white;
}

/* Animated Background */
.bg-shapes { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; }
.shape { position: absolute; background: rgba(255,255,255,0.05); border-radius: 50%; animation: float 15s infinite ease-in-out; will-change: transform; }
.shape:nth-child(1) { width: 80px; height: 80px; top: 10%; left: 10%; animation-delay: 0s; animation-duration: 12s; background: rgba(255,255,255,0.06); }
.shape:nth-child(2) { width: 120px; height: 120px; top: 20%; right: 10%; animation-delay: 3s; animation-duration: 18s; background: rgba(255,255,255,0.04); }
.shape:nth-child(3) { width: 60px; height: 60px; bottom: 20%; left: 20%; animation-delay: 6s; animation-duration: 14s; background: rgba(255,255,255,0.07); }
.shape:nth-child(4) { width: 100px; height: 100px; bottom: 10%; right: 20%; animation-delay: 9s; animation-duration: 16s; background: rgba(255,255,255,0.05); }
.shape:nth-child(5) { width: 90px; height: 90px; top: 50%; left: 5%; animation-delay: 2s; animation-duration: 20s; background: rgba(255,255,255,0.045); }
.shape:nth-child(6) { width: 70px; height: 70px; top: 70%; right: 15%; animation-delay: 8s; animation-duration: 13s; background: rgba(255,255,255,0.055); }

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0) scale(1); }
    25% { transform: translateY(-40px) translateX(20px) scale(1.05); }
    50% { transform: translateY(20px) translateX(-30px) scale(0.95); }
    75% { transform: translateY(-25px) translateX(15px) scale(1.02); }
}

/* Layout */
.page {
    max-width: 1120px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Header */
.header {
    padding: 0.5rem 0 2rem;
}
.logo-long { height: 26px; width: auto; display: block; }

/* Hero */
.hero-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 10rem);
}
.hero {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.section-label {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.68);
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(2.9rem, 6vw, 5.4rem);
    font-weight: 800;
    line-height: 1.03;
    padding-top: 0.08em;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.28rem;
    font-weight: 400;
    color: rgba(255,255,255,0.8);
    line-height: 1.55;
    margin: 0 auto 1.5rem;
    max-width: 720px;
}

.hero-card {
    max-width: 640px;
    margin: 0 auto;
    padding: 1.35rem;
    background: rgba(255,255,255,0.13);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 28px;
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 60px rgba(99, 11, 30, 0.16), 0 0 80px rgba(255,255,255,0.04);
}

.signal-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1rem;
}
.signal-pill {
    padding: 0.72rem 0.95rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 999px;
    font-size: 0.94rem;
    color: rgba(255,255,255,0.84);
    backdrop-filter: blur(16px);
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.primary-link-btn,
.secondary-link-btn,
.store-button,
.sticky-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border-radius: 14px;
    padding: 0.9rem 1.35rem;
    font-size: 0.98rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.primary-link-btn,
.store-button {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 12px 30px rgba(88, 12, 27, 0.22);
}

.primary-link-btn:hover,
.secondary-link-btn:hover,
.store-button:hover,
.sticky-cta-btn:hover {
    transform: translateY(-2px);
}

.secondary-link-btn,
.store-button-secondary,
.sticky-cta-btn {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 10px 24px rgba(88, 12, 27, 0.12);
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 1.6rem;
    text-align: center;
}

.section-heading h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 0.8rem;
    letter-spacing: -0.03em;
}

.section-heading p {
    color: rgba(255,255,255,0.76);
    line-height: 1.65;
    font-size: 1rem;
}

.artifact-section,
.examples-section,
.flow-section,
.download-section {
    margin: 4rem 0 0;
}

.artifact-grid,
.flow-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.example-grid {
    display: grid;
    gap: 1rem;
    align-items: start;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.artifact-card,
.example-card,
.step-card,
.download-card {
    background: rgba(255,255,255,0.09);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 24px;
    padding: 1.3rem;
    backdrop-filter: blur(18px);
    box-shadow: 0 20px 50px rgba(88, 12, 27, 0.08);
}

.artifact-eyebrow,
.example-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.72rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.82);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}

.artifact-card h3,
.example-card h3,
.step-card h3,
.download-card h2 {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.55rem;
}

.artifact-card p,
.example-card p,
.step-card p,
.download-card p {
    color: rgba(255,255,255,0.76);
    line-height: 1.6;
    font-size: 0.94rem;
}
