@import url('https://api.fontshare.com/v2/css?f[]=cabinet-grotesk@800,700&f[]=satoshi@400,500&display=swap');

/* =============================================
   SIZEIFY — Complete Dark Glassmorphism Theme
   ============================================= */

/* ---- CSS Variables ---- */
:root {
    --bg: #0A0A0F;
    --bg-surface: rgba(255, 255, 255, 0.04);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --accent: #7C3AED;
    --accent-pink: #EC4899;
    --text-primary: #FFFFFF;
    --text-secondary: #9CA3AF;
    --text-muted: #6B7280;
    --success: #10B981;
    --error: #f87171;
    --error-bg: rgba(248, 113, 113, 0.08);
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-pill: 9999px;
    --blur: blur(12px);
    --transition: 150ms ease;
    --font-heading: 'Cabinet Grotesk', sans-serif;
    --font-body: 'Satoshi', sans-serif;
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: var(--bg);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    opacity: 0;
    animation: fadeInPage 400ms ease forwards;
}

@keyframes fadeInPage {
    to {
        opacity: 1;
    }
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    opacity: 0.035;
    pointer-events: none;
    z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- Custom Scrollbar ---- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: #3D1F7A;
    border-radius: 3px;
}

/* Navigation Bar */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    padding: 0 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 100;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
}

.nav-logo {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    flex-shrink: 0;
}

.nav-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 20px;
    line-height: 1;
    color: white;
    position: relative;
    top: 2px;
}

.nav::after {
    content: "Made for founders ✦";
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 13px;
    line-height: 1;
    color: var(--text-muted);
}

/* Background gradient blobs */
.main-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 60px);
}

.main-content::before,
.main-content::after {
    content: '';
    position: fixed;
    z-index: -1;
    pointer-events: none;
}

.main-content::before {
    top: 20%;
    left: 20%;
    transform: translate(-50%, -50%);
    width: 1200px;
    height: 1200px;
    background: radial-gradient(600px circle at center, rgba(124, 58, 237, 0.12), transparent);
}

.main-content::after {
    bottom: 20%;
    right: 20%;
    transform: translate(50%, 50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(500px circle at center, rgba(236, 72, 153, 0.10), transparent);
}

/* Layout - Option A Split */
.split-layout {
    display: flex;
    min-height: 100vh;
    padding: 60px 48px 0;
    /* account for nav */
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.split-left {
    flex: 1;
    padding-right: 48px;
    max-width: 50%;
}

.split-right {
    flex: 1;
    max-width: 50%;
    padding-left: 24px;
    padding-right: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Left Column Styling */
.trust-badge {
    display: inline-block;
    border: 1px solid rgba(124, 58, 237, 0.4);
    background: rgba(124, 58, 237, 0.1);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 15px;
    color: #A78BFA;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 24px;
}

.hero-headline {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 64px;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.hero-headline span.gradient-text {
    background: linear-gradient(90deg, var(--accent), var(--accent-pink));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtext {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 420px;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* Error Alert */
.error-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    margin-bottom: 24px;
    background: var(--error-bg);
    border: 1px solid rgba(248, 113, 113, 0.2);
    border-radius: var(--radius-md);
    color: var(--error);
    font-size: 14px;
    font-weight: 500;
}

/* Platform Strip */
.platform-strip-label {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.platform-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.platform-tag {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 15px;
    color: #D1D5DB;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 5px 12px;
    border-radius: var(--radius-pill);
}

/* Right Column Styling */
#uploadForm {
    width: 100%;
}

.upload-zone {
    width: 100%;
    min-height: 280px;
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px dashed rgba(124, 58, 237, 0.4);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 200ms ease;
    text-align: center;
    padding: 24px;
}

.upload-zone:hover {
    border-color: var(--accent);
    background: rgba(124, 58, 237, 0.06);
    box-shadow: 0 0 24px rgba(124, 58, 237, 0.15);
}

.upload-zone.dragging {
    border-color: var(--accent-pink);
    background: rgba(236, 72, 153, 0.06);
    box-shadow: 0 0 32px rgba(236, 72, 153, 0.2);
}

.upload-zone-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.upload-icon {
    margin-bottom: 4px;
}

.upload-label {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 18px;
    color: #E5E7EB;
}

.upload-sublabel {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 15px;
    color: #6B7280;
}

.upload-zone-selected {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.selected-filename {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 18px;
    color: #E5E7EB;
    word-break: break-all;
}

.selected-filesize {
    font-weight: 400;
    font-size: 13px;
    color: #6B7280;
}

.btn-primary {
    padding: 16px 32px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-pink) 100%);
    border-radius: var(--radius-pill);
    color: white;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 150ms ease;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover:not(:disabled) {
    transform: scale(1.02);
    box-shadow: 0 8px 32px rgba(124, 58, 237, 0.4);
}

.btn-primary:active:not(:disabled) {
    transform: scale(0.98);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Consent text — used below upload button and below pay button */
.consent-text {
    font-size: 11px;
    color: #6b7280;
    text-align: center;
    margin: 8px 0 0;
    line-height: 1.4;
}

.sticky-bar-right .consent-text {
    text-align: right;
}

.consent-text a {
    color: #9ca3af;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.consent-text a:hover {
    color: #7c3aed;
}

/* Wrapper so the pay button + its consent line stack together */
.pay-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-20deg);
}

.btn-primary:hover:not(:disabled)::before {
    animation: shimmerSweep 0.5s ease-in-out;
}

@keyframes shimmerSweep {
    0% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

.btn-upload {
    width: 100%;
    margin-top: 16px;
}

/* Loading State for Upload */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 40px 0;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(124, 58, 237, 0.15);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.loading-text {
    font-size: 15px;
    color: var(--text-secondary);
    font-weight: 500;
}


/* ================================================
   PREVIEW PAGE
   ================================================ */

.preview-page {
    padding: 100px 24px 120px;
    max-width: 1100px;
    margin: 0 auto;
}

.preview-header {
    text-align: center;
    margin-bottom: 48px;
}

.preview-headline {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(28px, 5vw, 42px);
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.preview-subtext {
    font-size: 16px;
    color: var(--text-secondary);
}

.preview-subtext strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Preview Grid Layouts */
.profiles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 1024px) {
    .profiles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .profiles-grid {
        grid-template-columns: 1fr;
    }
}

.icons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 1024px) {
    .icons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .icons-grid {
        grid-template-columns: 1fr;
    }
}

/* Section Divider */
.section-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 40px 0 20px;
}

.section-divider h2 {
    font-family: 'Cabinet Grotesk', sans-serif;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6B7280;
    white-space: nowrap;
}

.section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
}

.preview-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    backdrop-filter: var(--blur);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.preview-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.12);
}

.standard-card {
    position: relative;
}

.standard-card::after {
    content: '';
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.preview-thumb {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow: hidden;
}

.preview-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Checkered Transparency Background */
.checkered-bg {
    background-image:
        linear-gradient(45deg, #1a1a24 25%, transparent 25%),
        linear-gradient(-45deg, #1a1a24 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #1a1a24 75%),
        linear-gradient(-45deg, transparent 75%, #1a1a24 75%);
    background-size: 16px 16px;
    background-position: 0 0, 0 8px, 8px -8px, -8px 0px;
    background-color: #12121c;
}

/* Banner-sized thumbnails (non-square) */
.banner-thumb {
    aspect-ratio: auto;
    min-height: 120px;
    max-height: 200px;
}

/* Circle mask for circle-safe cards */
.circle-mask {
    border-radius: 0;
    position: relative;
}

.circle-mask img.preview-image {
    border-radius: 50%;
    overflow: hidden;
}

.preview-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 16px;
    border-radius: 50%;
    border: 2px dashed rgba(124, 58, 237, 0.5);
    pointer-events: none;
}

/* Card Prominence */
.card.circle-safe,
.circle-safe {
    border-color: rgba(124, 58, 237, 0.25);
}

.card.standard,
.standard {
    opacity: 0.85;
    border-color: rgba(255, 255, 255, 0.06);
}

.card.standard:hover,
.standard:hover {
    opacity: 1;
    transition: opacity 150ms ease;
    border-color: rgba(255, 255, 255, 0.2);
}

.preview-info {
    padding: 14px 16px 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.preview-platform {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14px;
    width: 100%;
    margin-bottom: 2px;
}

.preview-dims {
    font-size: 12px;
    color: var(--text-muted);
    width: 100%;
    margin-bottom: 4px;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.badge-social {
    background: rgba(124, 58, 237, 0.15);
    color: #a78bfa;
}

.badge-banner {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

.badge-icon {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
}

.badge-variant {
    background: rgba(156, 163, 175, 0.12);
    color: var(--text-secondary);
}

.badge-circle-safe {
    background: rgba(124, 58, 237, 0.2);
    border: 1px solid rgba(124, 58, 237, 0.5);
    color: #a78bfa;
}

/* Favicon Warning */
.favicon-warning {
    font-family: 'Satoshi', sans-serif;
    font-size: 11px;
    color: #F59E0B;
    margin-top: 6px;
    display: block;
    width: 100%;
}

/* Tooltip */
.tooltip-container {
    position: relative;
    display: inline-block;
}

.tooltip-text {
    visibility: hidden;
    background-color: #1a1a24;
    color: #d1d5db;
    text-align: center;
    padding: 6px 12px;
    border-radius: 6px;
    position: absolute;
    z-index: 100;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    white-space: normal;
    width: max-content;
    max-width: 250px;
    opacity: 0;
    transition: opacity 0.2s;
    font-family: var(--font-body);
    font-size: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

.tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #1a1a24 transparent transparent transparent;
}

.tooltip-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* ── Sticky Bar ── */
.sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 100;
}

.sticky-bar-inner {
    max-width: 1100px;
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 16px;
    padding-bottom: 16px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.sticky-bar-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sizes-ready {
    font-family: 'Cabinet Grotesk', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: #FFFFFF;
}

.sizes-breakdown {
    font-family: 'Satoshi', sans-serif;
    font-size: 12px;
    color: #6B7280;
}

.sticky-bar-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.sticky-bar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-ghost {
    font-family: 'Cabinet Grotesk', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.06em;
    color: #E5E7EB;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 9999px;
    padding: 12px 24px;
    cursor: pointer;
    transition: all 150ms ease;
    white-space: nowrap;
}

.btn-ghost:hover {
    border-color: #7C3AED;
    color: #A78BFA;
    box-shadow: 0 0 16px rgba(124, 58, 237, 0.15);
    transform: scale(1.02);
}

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

.btn-ghost:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-primary {
    font-family: 'Cabinet Grotesk', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.06em;
    color: #FFFFFF;
    background: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
    border: none;
    border-radius: 9999px;
    padding: 12px 28px;
    cursor: pointer;
    transition: all 150ms ease;
    white-space: nowrap;
}

.btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 32px rgba(124, 58, 237, 0.4);
}

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

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ---- Email modal ---- */
.email-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease;
}

.email-modal-overlay.is-open {
    opacity: 1;
    pointer-events: all;
}

.email-modal-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: #16161f;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: 36px 32px 28px;
    text-align: center;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
    transform: translateY(16px) scale(0.97);
    transition: transform 220ms ease, opacity 220ms ease;
}

.email-modal-overlay.is-open .email-modal-card {
    transform: translateY(0) scale(1);
}

.email-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 16px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: color var(--transition);
    line-height: 1;
}

.email-modal-close:hover {
    color: var(--text-primary);
}

.email-modal-icon {
    font-size: 28px;
    margin-bottom: 14px;
    line-height: 1;
}

.email-modal-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.email-modal-sub {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.5;
}

.email-modal-form {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.email-modal-input {
    flex: 1;
    min-width: 0;
    height: 42px;
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-pill);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.email-modal-input::placeholder {
    color: var(--text-muted);
}

.email-modal-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}

.email-modal-send-btn {
    height: 42px;
    padding: 0 20px;
    background: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
    border: none;
    border-radius: var(--radius-pill);
    color: #fff;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: opacity var(--transition), transform var(--transition);
}

.email-modal-send-btn:hover:not(:disabled) {
    opacity: 0.9;
    transform: scale(1.02);
}

.email-modal-send-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.email-modal-status {
    display: block;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--text-muted);
    min-height: 18px;
    margin-bottom: 16px;
}

.email-modal-status.is-ok {
    color: var(--success);
}

.email-modal-status.is-error {
    color: var(--error);
}

.email-modal-skip {
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 13px;
    cursor: pointer;
    padding: 4px;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--transition);
}

.email-modal-skip:hover {
    color: var(--text-secondary);
}

@media (max-width: 640px) {
    .sticky-bar {
        padding: 0;
    }

    .sticky-bar-inner {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .sticky-bar-left {
        flex-direction: row;
        align-items: center;
        gap: 8px;
        justify-content: center;
    }

    .sticky-bar-right {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .sticky-bar-right .consent-text {
        text-align: center;
    }

    .sticky-bar-actions {
        width: 100%;
        flex-direction: column;
    }

    .btn-ghost,
    .btn-primary {
        width: 100%;
        text-align: center;
    }

    .email-modal-form {
        flex-direction: column;
    }

    .email-modal-send-btn {
        width: 100%;
    }
}

/* ================================================
   SUCCESS PAGE
   ================================================ */

.success-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 24px 60px;
}

.success-card {
    text-align: center;
    max-width: 480px;
    width: 100%;
}

/* Animated Checkmark */
.success-checkmark {
    margin-bottom: 32px;
}

.checkmark-svg {
    width: 80px;
    height: 80px;
}

.checkmark-circle {
    fill: none;
    stroke-dasharray: 226;
    stroke-dashoffset: 226;
    animation: drawCircle 600ms ease-out 200ms forwards;
}

.checkmark-path {
    fill: none;
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
    animation: drawCheck 400ms ease-out 700ms forwards;
}

@keyframes drawCircle {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes drawCheck {
    to {
        stroke-dashoffset: 0;
    }
}

.success-headline {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(28px, 5vw, 40px);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.success-subtext {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.btn-download-success {
    padding: 16px 40px;
    font-size: 15px;
    margin-bottom: 20px;
}

.success-unpaid {
    padding: 16px 24px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius-md);
    color: #fbbf24;
    font-size: 14px;
    margin-bottom: 20px;
}

.success-expire {
    font-size: 13px;
    color: var(--text-muted);
}

/* Confetti Canvas */
.confetti-canvas {
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
}

/* ================================================
   RESPONSIVE
   ================================================ */

@media (max-width: 900px) {
    .preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .preview-pair {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .split-layout {
        flex-direction: column;
        padding: 100px 24px 60px;
    }

    .split-left {
        max-width: 100%;
        padding-right: 0;
        margin-bottom: 48px;
    }

    .split-right {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }

    .hero-headline {
        font-size: 36px;
    }

    .nav {
        padding: 0 24px;
    }

    .landing-footer {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 24px;
    }

    .footer-left,
    .footer-links {
        align-items: center;
    }
}

@media (max-width: 600px) {
    .nav {
        padding: 14px 20px;
    }

    .hero-subtext {
        font-size: 16px;
        margin-bottom: 28px;
    }

    .upload-zone {
        height: 180px;
    }

    .preview-page {
        padding: 80px 16px 140px;
    }

    .sticky-bar-inner {
        padding-left: 16px;
        padding-right: 16px;
    }

    .preview-grid {
        grid-template-columns: 1fr;
    }

    .preview-pair {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .success-page {
        padding: 80px 16px 40px;
    }

    .platform-icons {
        gap: 6px;
    }

    .platform-tag {
        padding: 4px 10px;
        font-size: 11px;
    }
}

@media (max-width: 375px) {
    .hero-headline {
        font-size: 30px;
    }

    .upload-zone {
        height: 160px;
        max-width: 100%;
    }

    .btn-upload {
        max-width: 100%;
    }
}

/* ================================================
   PRIVACY PAGE
   ================================================ */

.privacy-wrapper {
    max-width: 860px;
    margin: 0 auto;
    padding: 100px 24px 80px;
}

#termly-policy-content {
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.8;
}

#termly-policy-content h1,
#termly-policy-content h2,
#termly-policy-content h3 {
    color: var(--text-primary);
    font-family: var(--font-heading);
    margin-top: 32px;
    margin-bottom: 12px;
}

#termly-policy-content a {
    color: #A78BFA;
    text-decoration: underline;
    text-underline-offset: 2px;
}

#termly-policy-content a:hover {
    color: #C4B5FD;
}

#termly-policy-content ul,
#termly-policy-content ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

#termly-policy-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}

#termly-policy-content th,
#termly-policy-content td {
    border: 1px solid var(--border-subtle);
    padding: 10px 14px;
    text-align: left;
    font-size: 14px;
}

#termly-policy-content th {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    font-weight: 600;
}

/* ── Footer ─────────────────────────── */
.site-footer {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 32px 48px;
    box-sizing: border-box;
    margin-top: auto;
}

.footer-inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.footer-line-1 {
    font-family: 'Cabinet Grotesk', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #E5E7EB;
    line-height: 1.2;
}

.footer-line-2 {
    font-family: 'Satoshi', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #4B5563;
    line-height: 1.2;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.footer-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.footer-links a {
    font-family: 'Satoshi', sans-serif;
    font-size: 15px;
    color: #6B7280;
    text-decoration: none;
    transition: color 150ms ease;
}

.footer-links a:hover {
    color: #FFFFFF;
}

.footer-dot {
    font-size: 14px;
    color: #4B5563;
}

.footer-socials {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    color: #4B5563;
    text-decoration: none;
    transition: all 150ms ease;
}

.footer-socials a:hover {
    color: #A78BFA;
    transform: translateY(-1px);
}

.footer-socials svg {
    width: 14px;
    height: 14px;
}

@media (max-width: 640px) {
    .site-footer {
        padding: 32px 24px;
    }

    .footer-inner {
        flex-direction: column !important;
        text-align: center;
        gap: 24px !important;
    }

    .footer-left,
    .footer-right {
        align-items: center !important;
    }

    .footer-links {
        justify-content: center;
    }

    .footer-socials {
        justify-content: center;
    }
}
/* ---- 404 Page ---- */
.not-found-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    text-align: center;
    padding: 60px 2rem 2rem;
    gap: 1rem;
}

.not-found-code {
    font-family: var(--font-heading);
    font-size: clamp(6rem, 20vw, 12rem);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.25;
    margin-bottom: -0.5rem;
}

.not-found-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-primary);
}

.not-found-sub {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 360px;
}

.not-found-btn {
    margin-top: 0.5rem;
    text-decoration: none;
    display: inline-flex;
}
