/* ==================== BASE & VARIABLES ==================== */
:root {
    --bg: #09090b;
    --surface: #18181b;
    --surface-2: #27272a;
    --border: #3f3f46;
    --text: #fafafa;
    --text-dim: #a1a1aa;
    --accent: #a855f7;
    --accent-2: #ec4899;
    --accent-3: #f97316;
    --green: #22c55e;
    --red: #ef4444;
    --gradient: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 50%, var(--accent-3) 100%);
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 4px 24px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    padding-top: 52px;
}

img {
    display: block;
    max-width: 100%;
}

strong {
    font-weight: 700;
    color: var(--text);
}

/* ==================== PROMO STICKY ==================== */
.promo-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--gradient);
    padding: 14px 16px;
    text-align: center;
}

.promo-pill {
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    letter-spacing: -0.01em;
}

.promo-pill strong {
    color: white;
    background: rgba(255,255,255,0.2);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 800;
}

/* ==================== COMMON ==================== */
.tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    padding: 6px 12px;
    border-radius: 100px;
    margin-bottom: 12px;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

section {
    padding: 0 20px;
}

/* ==================== HERO ==================== */
.hero {
    min-height: calc(100svh - 52px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 40px;
}

.hero-inner {
    max-width: 400px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-dim);
    margin-bottom: 20px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.9); }
}

.hero-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.hero-desc {
    font-size: 1rem;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 32px;
}

.scroll-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 14px 24px;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.2s;
    animation: float 3s ease-in-out infinite;
}

.scroll-btn svg {
    width: 18px;
    height: 18px;
}

.scroll-btn:active {
    transform: scale(0.96);
}

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

/* ==================== TRANSFORM SECTION ==================== */
.transform-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.transform-header {
    text-align: center;
    margin-bottom: 32px;
}

.transform-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.transform-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 320px;
    margin: 0 auto;
}

.showcase-item {
    width: 100%;
}

.item-badge {
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 10px;
    padding-left: 4px;
}

.item-frame {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
}

.item-frame.glow {
    border: 2px solid var(--accent);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.25);
}

.item-frame img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.before .item-frame {
    opacity: 0.7;
}

.transform-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.indicator-line {
    width: 40px;
    height: 2px;
    background: var(--border);
    border-radius: 2px;
}

.indicator-icon {
    font-size: 1.25rem;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(10deg); }
}

/* ==================== POST SECTION ==================== */
.post-section {
    padding-top: 40px;
    padding-bottom: 60px;
}

.post-header {
    text-align: center;
    margin-bottom: 24px;
}

.post-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.instagram-mock {
    max-width: 320px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.mock-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
}

.mock-avatar {
    width: 32px;
    height: 32px;
    background: var(--gradient);
    border-radius: 50%;
    flex-shrink: 0;
}

.mock-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.mock-name {
    font-size: 0.8125rem;
    font-weight: 700;
}

.mock-loc {
    font-size: 0.6875rem;
    color: var(--text-dim);
}

.mock-more {
    font-size: 1rem;
    color: var(--text-dim);
    letter-spacing: 1px;
}

.mock-image {
    aspect-ratio: 1;
    overflow: hidden;
}

.mock-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mock-actions {
    display: flex;
    justify-content: space-between;
    padding: 12px 14px;
}

.mock-icons {
    display: flex;
    gap: 16px;
}

.mock-actions svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: var(--text);
    stroke-width: 1.5;
}

.mock-likes {
    padding: 0 14px 14px;
    font-size: 0.8125rem;
}

/* ==================== HOW SECTION ==================== */
.how-section {
    padding-top: 40px;
    padding-bottom: 60px;
}

.how-header {
    text-align: center;
    margin-bottom: 24px;
}

.how-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 360px;
    margin: 0 auto;
}

.step-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    transition: border-color 0.2s;
}

.step-card:active {
    border-color: var(--accent);
}

.step-num {
    width: 36px;
    height: 36px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9375rem;
    font-weight: 800;
    flex-shrink: 0;
}

.step-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.step-text strong {
    font-size: 0.9375rem;
}

.step-text span {
    font-size: 0.875rem;
    color: var(--text-dim);
}

/* ==================== PROMO SECTION ==================== */
.promo-section {
    padding-top: 20px;
    padding-bottom: 60px;
}

.promo-card {
    max-width: 340px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(168,85,247,0.1) 0%, rgba(236,72,153,0.1) 100%);
    border: 2px solid rgba(168,85,247,0.3);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.promo-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(168,85,247,0.1) 0%, transparent 60%);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.promo-spark {
    font-size: 2.5rem;
    margin-bottom: 12px;
    position: relative;
}

.promo-card h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 4px;
    position: relative;
}

.promo-card > p {
    font-size: 0.9375rem;
    color: var(--text-dim);
    margin-bottom: 20px;
    position: relative;
}

.code-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--bg);
    border: 2px dashed var(--accent);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin-bottom: 16px;
    position: relative;
}

.code-text {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.code-copy {
    width: 44px;
    height: 44px;
    background: var(--accent);
    border: none;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.code-copy:active {
    transform: scale(0.92);
}

.code-copy svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: white;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.code-copy .icon-check {
    display: none;
}

.code-copy.copied {
    background: var(--green);
}

.code-copy.copied .icon-copy {
    display: none;
}

.code-copy.copied .icon-check {
    display: block;
}

.promo-legal {
    font-size: 0.75rem;
    color: var(--text-dim);
    position: relative;
}

/* ==================== PRICING SECTION ==================== */
.pricing-section {
    padding-top: 20px;
    padding-bottom: 60px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 24px;
}

.pricing-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.pricing-header p {
    font-size: 1.0625rem;
    color: var(--text-dim);
}

.features-list {
    max-width: 320px;
    margin: 0 auto 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    font-size: 0.9375rem;
}

.feature-item svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--green);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.compare-box {
    max-width: 320px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.compare-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
}

.compare-row:first-child {
    border-bottom: 1px solid var(--border);
}

.compare-row.highlight {
    background: rgba(34, 197, 94, 0.05);
}

.compare-label {
    font-size: 0.875rem;
    color: var(--text-dim);
}

.compare-bad {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--red);
    text-decoration: line-through;
    opacity: 0.7;
}

.compare-good {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--green);
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    padding-top: 20px;
    padding-bottom: 80px;
}

.cta-inner {
    max-width: 340px;
    margin: 0 auto;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px 24px;
}

.cta-inner h2 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.cta-inner > p {
    font-size: 0.9375rem;
    color: var(--text-dim);
    margin-bottom: 20px;
}

.cta-code-reminder {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(168,85,247,0.1);
    border: 1px dashed rgba(168,85,247,0.4);
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 0.875rem;
    color: var(--text-dim);
    margin-bottom: 24px;
}

.cta-code-reminder strong {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    padding: 18px 24px;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(168,85,247,0.35);
    transition: all 0.2s;
}

.cta-btn svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.2s;
}

.cta-btn:active {
    transform: scale(0.98);
}

/* ==================== FOOTER ==================== */
.footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid var(--border);
}

.footer-brand {
    font-size: 1.25rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.footer-link {
    display: inline-block;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.875rem;
    margin-bottom: 8px;
    transition: color 0.2s;
}

.footer-link:active {
    color: var(--accent);
}

.footer-love {
    font-size: 0.8125rem;
    color: var(--text-dim);
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-inner > * {
    animation: fadeUp 0.6s ease-out backwards;
}

.hero-eyebrow { animation-delay: 0s; }
.hero-title { animation-delay: 0.1s; }
.hero-desc { animation-delay: 0.2s; }
.scroll-btn { animation-delay: 0.3s; }

/* ==================== TABLET + DESKTOP ==================== */
@media (min-width: 640px) {
    body {
        padding-top: 56px;
    }

    .promo-sticky {
        padding: 16px 24px;
    }

    .promo-pill {
        font-size: 0.9375rem;
    }

    section {
        padding-left: 32px;
        padding-right: 32px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-desc {
        font-size: 1.0625rem;
    }

    .transform-showcase {
        flex-direction: row;
        max-width: 600px;
        gap: 24px;
    }

    .showcase-item {
        flex: 1;
        max-width: 260px;
    }

    .transform-indicator {
        flex-direction: column;
        padding: 0 8px;
    }

    .indicator-line {
        width: 2px;
        height: 40px;
    }

    .transform-header h2,
    .post-header h2,
    .how-header h2,
    .pricing-header h2,
    .cta-inner h2 {
        font-size: 1.75rem;
    }

    .instagram-mock,
    .features-list,
    .compare-box {
        max-width: 380px;
    }

    .promo-card,
    .cta-inner {
        max-width: 400px;
        padding: 40px 32px;
    }

    .steps {
        max-width: 500px;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .scroll-btn:hover {
        border-color: var(--accent);
        background: var(--surface-2);
    }

    .step-card:hover {
        border-color: var(--accent);
    }

    .code-copy:hover {
        opacity: 0.9;
    }

    .cta-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 40px rgba(168,85,247,0.45);
    }

    .cta-btn:hover svg {
        transform: translateX(4px);
    }

    .footer-link:hover {
        color: var(--accent);
    }
}

/* ==================== SAFE AREA ==================== */
@supports (padding-top: env(safe-area-inset-top)) {
    .promo-sticky {
        padding-top: calc(14px + env(safe-area-inset-top));
    }

    body {
        padding-top: calc(52px + env(safe-area-inset-top));
    }

    .footer {
        padding-bottom: calc(40px + env(safe-area-inset-bottom));
    }
}

/* ==================== REDUCED MOTION ==================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
