/* ============================================
   GeckoSend - Colourful & Friendly Design
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6c5ce7;
    --primary-dark: #5a4bd1;
    --primary-light: #a29bfe;
    --secondary: #00cec9;
    --accent-orange: #f39c12;
    --accent-pink: #e84393;
    --accent-teal: #00b894;
    --accent-purple: #6c5ce7;
    --accent-blue: #0984e3;
    --text: #2d3436;
    --text-light: #636e72;
    --text-muted: #b2bec3;
    --bg: #ffffff;
    --bg-soft: #f8f9ff;
    --bg-muted: #f1f2f6;
    --border: #dfe6e9;
    --border-light: #eef1f5;
    --shadow-sm: 0 2px 8px rgba(108, 92, 231, 0.08);
    --shadow-md: 0 8px 30px rgba(108, 92, 231, 0.12);
    --shadow-lg: 0 20px 60px rgba(108, 92, 231, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo-img {
    height: 34px;
    width: auto;
}

.nav-logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.nav-link:hover {
    color: var(--primary);
    background: var(--bg-soft);
}

.nav-link-cta {
    background: var(--primary);
    color: #fff !important;
    padding: 8px 20px;
}

.nav-link-cta:hover {
    background: var(--primary-dark) !important;
    color: #fff !important;
}

.nav-link-cta-outline {
    background: transparent !important;
    color: var(--primary) !important;
    border: 2px solid var(--primary);
}

.nav-link-cta-outline:hover {
    background: var(--primary) !important;
    color: #fff !important;
}

/* --- Upload Gate Logo --- */
.upload-gate-logo {
    height: 48px;
    width: auto;
    margin: 8px auto 4px;
    display: block;
}

/* --- Upload Auth Gate (sign-in / subscription prompt) --- */
.upload-auth-gate {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
}

.upload-auth-gate .upload-zone-icon {
    color: var(--primary);
    margin-bottom: 4px;
}

.upload-auth-gate h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 10px 0 2px;
}

.upload-auth-gate p {
    color: var(--text-secondary, #636e72);
    max-width: 420px;
    margin: 0 auto 6px;
    line-height: 1.6;
}

.upload-auth-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin: 14px 0 4px;
}

.upload-free-note {
    font-size: 0.88rem;
    color: var(--accent-teal);
    font-weight: 600;
    margin-top: 10px;
}

@media (max-width: 600px) {
    .upload-auth-buttons {
        flex-direction: column;
        width: 100%;
    }

    .upload-auth-buttons .btn {
        width: 100%;
    }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 24px;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
    line-height: 1.4;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent-pink));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
}

.btn-block {
    width: 100%;
}

/* --- Hero Section --- */
.hero {
    padding: 140px 24px 80px;
    text-align: center;
    background: linear-gradient(180deg, #f8f5ff 0%, #fff0f6 40%, #e8f8ff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -20%;
    width: 50%;
    height: 80%;
    background: radial-gradient(circle, rgba(232, 67, 147, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(232, 67, 147, 0.1));
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 24px;
    border: 1px solid rgba(108, 92, 231, 0.15);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent-pink), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.trust-item svg {
    color: var(--accent-teal);
    flex-shrink: 0;
}

/* --- Payment Icons --- */
.payment-icons {
    margin-top: 40px;
    text-align: center;
}

.payment-icons-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.payment-icons-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.payment-icon-img {
    height: 34px;
    width: auto;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.payment-icon-img:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.payment-icons-compact {
    margin-top: 24px;
}

.payment-icons-compact .payment-icons-row {
    gap: 10px;
}

.payment-icons-compact .payment-icon-img {
    height: 30px;
}

/* --- Section Shared --- */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(0, 206, 201, 0.1));
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 5px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto;
}

/* --- Features Section --- */
.features {
    padding: 100px 0;
    background: var(--bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}

.feature-card p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Feature card colour variants */
.feature-card-purple .feature-icon {
    background: rgba(108, 92, 231, 0.1);
    color: var(--accent-purple);
}
.feature-card-purple:hover {
    border-color: rgba(108, 92, 231, 0.3);
}

.feature-card-orange .feature-icon {
    background: rgba(243, 156, 18, 0.1);
    color: var(--accent-orange);
}
.feature-card-orange:hover {
    border-color: rgba(243, 156, 18, 0.3);
}

.feature-card-teal .feature-icon {
    background: rgba(0, 184, 148, 0.1);
    color: var(--accent-teal);
}
.feature-card-teal:hover {
    border-color: rgba(0, 184, 148, 0.3);
}

.feature-card-pink .feature-icon {
    background: rgba(232, 67, 147, 0.1);
    color: var(--accent-pink);
}
.feature-card-pink:hover {
    border-color: rgba(232, 67, 147, 0.3);
}

/* --- How It Works Section --- */
.how-it-works {
    padding: 100px 0 80px;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}

.steps-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 0 12px;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent-pink));
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
    flex-shrink: 0;
}

.step-connector {
    position: absolute;
    top: 24px;
    left: calc(50% + 24px);
    width: calc(100% - 48px);
    height: 3px;
    background: linear-gradient(90deg, var(--primary-light), var(--accent-pink));
    opacity: 0.3;
    z-index: 1;
}

.step-item:last-child .step-connector {
    display: none;
}

.step-card {
    text-align: center;
    padding: 28px 16px 20px;
    margin-top: 20px;
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: all 0.3s;
    width: 100%;
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.step-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.step-icon-purple {
    background: rgba(108, 92, 231, 0.1);
    color: var(--accent-purple);
}

.step-icon-orange {
    background: rgba(243, 156, 18, 0.1);
    color: var(--accent-orange);
}

.step-icon-teal {
    background: rgba(0, 184, 148, 0.1);
    color: var(--accent-teal);
}

.step-icon-pink {
    background: rgba(232, 67, 147, 0.1);
    color: var(--accent-pink);
}

.step-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.step-card p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* --- Pricing Section --- */
.pricing {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-soft) 0%, #fff0f6 50%, #e8f8ff 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Feature list grows to fill space so the Get Started buttons line up */
.pricing-card .pricing-features {
    flex: 1 1 auto;
}

.pricing-card > .btn {
    margin-top: auto;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.pricing-card-popular {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-md);
    transform: scale(1.04);
    overflow: hidden; /* clip the corner ribbon */
}

.pricing-card-popular:hover {
    transform: scale(1.04) translateY(-6px);
}

/* Diagonal corner ribbon on the most popular plan */
.pricing-popular-badge {
    position: absolute;
    top: 24px;
    right: -38px;
    transform: rotate(45deg);
    width: 160px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary), var(--accent-pink));
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 7px 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 3px 10px rgba(108, 92, 231, 0.4);
    pointer-events: none;
}

.pricing-card-header {
    text-align: center;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border-light);
}

.pricing-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin-bottom: 8px;
}

.pricing-currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
}

.pricing-amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
}

.pricing-period {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

.pricing-desc {
    font-size: 0.9rem;
    color: var(--text-light);
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.92rem;
    color: var(--text);
}

.pricing-features li svg {
    color: var(--accent-teal);
    flex-shrink: 0;
}

.stripe-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 48px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.stripe-notice svg {
    color: var(--accent-teal);
    flex-shrink: 0;
}

.stripe-notice span {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* --- Upload Section --- */
.upload-section {
    padding: 100px 0;
    background: var(--bg);
}

.upload-card {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-md);
}

.upload-zone {
    border: 2px dashed var(--primary-light);
    border-radius: var(--radius-lg);
    padding: 50px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 28px;
    background: var(--bg-soft);
}

.upload-zone:hover,
.upload-zone.dragover {
    border-color: var(--primary);
    background: rgba(108, 92, 231, 0.05);
    transform: scale(1.01);
}

.upload-zone-icon {
    color: var(--primary-light);
    margin-bottom: 16px;
    transition: color 0.3s;
}

.upload-zone:hover .upload-zone-icon {
    color: var(--primary);
}

.upload-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.upload-browse {
    color: var(--primary);
    text-decoration: underline;
    cursor: pointer;
}

.upload-subtext {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.file-input {
    display: none;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.06), rgba(0, 206, 201, 0.06));
    border: 1px solid rgba(108, 92, 231, 0.15);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    margin-bottom: 24px;
}

.file-info-icon {
    color: var(--primary);
    flex-shrink: 0;
}

.file-info-details {
    flex: 1;
    min-width: 0;
}

.file-info-name {
    display: block;
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-info-size {
    font-size: 0.82rem;
    color: var(--text-light);
}

.file-info-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: all 0.2s;
    flex-shrink: 0;
}

.file-info-remove:hover {
    color: var(--accent-pink);
    background: rgba(232, 67, 147, 0.1);
}

/* --- Form Elements --- */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 4px;
}

.form-group label {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
}

.form-group label svg {
    color: var(--primary-light);
}

.label-optional {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="datetime-local"],
.form-group input[type="email"],
.form-group select {
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.25s;
    background: var(--bg);
    color: var(--text);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23636e72' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-group small {
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-top: 6px;
}

/* --- TOS Agreement Checkbox --- */
.tos-agreement {
    margin: 20px 0 16px;
    padding: 14px 18px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.04), rgba(0, 206, 201, 0.04));
    border: 1px solid rgba(108, 92, 231, 0.15);
    border-radius: var(--radius-sm);
}

.tos-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--text);
    line-height: 1.5;
    font-weight: 500;
}

.tos-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--primary);
    cursor: pointer;
}

.tos-checkbox-label a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.tos-checkbox-label a:hover {
    text-decoration: underline;
}

/* --- Progress --- */
.progress-container {
    background: var(--bg-soft);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 20px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.progress-label {
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
}

.progress-percent {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.95rem;
}

.progress-bar {
    height: 10px;
    background: var(--bg-muted);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent-pink));
    border-radius: 10px;
    transition: width 0.3s;
}

.progress-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.progress-bytes {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.cancel-btn {
    background: none;
    border: none;
    color: var(--accent-pink);
    font-weight: 600;
    cursor: pointer;
    font-size: 0.85rem;
    font-family: inherit;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.cancel-btn:hover {
    background: rgba(232, 67, 147, 0.1);
}

.resume-info {
    margin-top: 12px;
    font-size: 0.82rem;
    color: var(--text-muted);
    font-style: italic;
}

/* --- Success --- */
.success-container {
    background: linear-gradient(135deg, rgba(0, 184, 148, 0.06), rgba(0, 206, 201, 0.06));
    border: 2px solid rgba(0, 184, 148, 0.2);
    border-radius: var(--radius-md);
    padding: 36px;
    text-align: center;
    margin-bottom: 20px;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent-teal), var(--secondary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.success-container h3 {
    color: var(--text);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.success-container p {
    color: var(--text-light);
    margin-bottom: 24px;
}

/* --- Security Key Box --- */
.security-key-box {
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.06), rgba(232, 67, 147, 0.04));
    border: 2px dashed var(--primary-light);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 20px;
    text-align: left;
}

.security-key-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--primary);
    font-size: 0.95rem;
}

.security-key-note {
    font-size: 0.82rem;
    color: var(--accent-pink);
    font-weight: 600;
    margin-bottom: 14px !important;
    line-height: 1.5;
}

.security-key-display {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
}

.security-key-display code {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
    word-break: break-all;
    user-select: all;
}

.security-key-display .btn {
    flex-shrink: 0;
    padding: 8px 14px;
    font-size: 0.82rem;
}

.share-link-container {
    background: var(--bg);
    padding: 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    text-align: left;
}

.share-link-container label {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 500;
}

.share-link-row {
    display: flex;
    gap: 8px;
}

.share-link-row input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'Courier New', monospace;
    font-size: 0.88rem;
    color: var(--text);
    background: var(--bg-soft);
}

.share-link-row .btn {
    flex-shrink: 0;
    padding: 10px 18px;
    font-size: 0.88rem;
}

/* --- Download Page --- */
.download-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.download-page .navbar {
    position: relative;
}

.download-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    background: linear-gradient(180deg, #f8f5ff 0%, #fff0f6 40%, #e8f8ff 100%);
}

.download-card {
    max-width: 520px;
    width: 100%;
    background: var(--bg);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.error-box,
.password-box,
.download-box {
    text-align: center;
}

.error-box h2 {
    color: var(--accent-pink);
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.error-box p {
    color: var(--text-light);
    font-size: 1rem;
}

.error-box .error-icon {
    width: 64px;
    height: 64px;
    background: rgba(232, 67, 147, 0.1);
    color: var(--accent-pink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.password-box h2 {
    color: var(--text);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.password-box p {
    color: var(--text-light);
    margin-bottom: 24px;
}

.password-box .lock-icon {
    width: 64px;
    height: 64px;
    background: rgba(243, 156, 18, 0.1);
    color: var(--accent-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.password-box form {
    max-width: 320px;
    margin: 0 auto;
}

.password-box input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.25s;
}

.password-box input[type="password"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.1);
}

.password-box button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    font-family: inherit;
    background: linear-gradient(135deg, var(--primary), var(--accent-pink));
    color: #fff;
    transition: all 0.25s;
}

.password-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.download-box h2 {
    color: var(--text);
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.download-box .file-ready-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(0, 206, 201, 0.1));
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.file-details {
    background: var(--bg-soft);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 28px;
    text-align: left;
}

.file-details p {
    margin-bottom: 10px;
    color: var(--text);
    font-size: 0.92rem;
    display: flex;
    justify-content: space-between;
}

.file-details p:last-child {
    margin-bottom: 0;
}

.file-details p strong {
    color: var(--text-light);
    font-weight: 500;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary), var(--accent-pink));
    color: white;
    padding: 16px 36px;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.25s;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
}

/* --- Checkout Page --- */
.checkout-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    background: linear-gradient(180deg, #f8f5ff 0%, #fff0f6 40%, #e8f8ff 100%);
}

.checkout-card {
    max-width: 480px;
    width: 100%;
    background: var(--bg);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.checkout-card h2 {
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 8px;
}

.checkout-card .plan-summary {
    color: var(--text-light);
    margin-bottom: 32px;
}

.checkout-plan-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--accent-pink));
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 4px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.checkout-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 8px;
}

.checkout-price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
}

.checkout-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.checkout-security svg {
    color: var(--accent-teal);
}

/* --- Success Page (Checkout) --- */
.success-page-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-teal), var(--secondary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

/* --- Footer --- */
.footer {
    padding: 48px 24px;
    background: var(--bg-soft);
    border-top: 1px solid var(--border-light);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-logo-img {
    height: 26px;
    width: auto;
}

.footer-brand-name {
    font-size: 1.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.footer-disclaimer {
    background: var(--bg-muted);
    border: 1px solid rgba(243, 156, 18, 0.45);
    border-left: 4px solid #f39c12;
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin-bottom: 20px;
}

.footer-disclaimer p {
    font-size: 0.9rem;
    color: inherit;
    line-height: 1.7;
    margin: 0;
}

/* --- Site-wide dismissible disclaimer bar (dismissal stored in a cookie) --- */
.disclaimer-bar {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fff8ec;
    border-bottom: 1px solid rgba(243, 156, 18, 0.45);
    border-left: 5px solid #f39c12;
    padding: 12px 20px;
    font-size: 0.92rem;
    line-height: 1.6;
    color: #5d4a1f;
}

.disclaimer-bar strong {
    color: #b06d00;
}

.disclaimer-bar-icon {
    flex-shrink: 0;
    color: #f39c12;
    margin-top: 2px;
}

.disclaimer-bar-text {
    flex: 1;
}

.disclaimer-bar-close {
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: #b06d00;
    font-size: 1.1rem;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 6px;
}

.disclaimer-bar-close:hover {
    background: rgba(243, 156, 18, 0.15);
}

/* --- Verification Check Callout (How it Works section) --- */
.verify-callout {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    max-width: 860px;
    margin: 48px auto 0;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.06), rgba(0, 184, 148, 0.06));
    border: 1px solid rgba(108, 92, 231, 0.25);
    border-radius: var(--radius-xl);
    padding: 28px 32px;
}

.verify-callout-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 184, 148, 0.12);
    color: var(--accent-teal);
    border-radius: 50%;
}

.verify-callout-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.verify-callout-content p {
    color: var(--text-secondary, #636e72);
    line-height: 1.7;
    margin-bottom: 18px;
}

.verify-callout-content a:not(.btn) {
    color: var(--primary);
    font-weight: 600;
}

@media (max-width: 600px) {
    .verify-callout {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px 20px;
    }
}

/* --- Cookie Consent Banner (consent stored in a cookie) --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #2d3436;
    color: #f5f6fa;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.25);
}

.cookie-banner-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.cookie-banner-icon {
    flex-shrink: 0;
    color: var(--accent-orange);
}

.cookie-banner-text {
    flex: 1;
}

.cookie-banner-text a {
    color: #74b9ff;
    text-decoration: underline;
}

.cookie-banner-accept {
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary), var(--accent-pink));
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 28px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
}

.cookie-banner-accept:hover {
    opacity: 0.9;
}

@media (max-width: 600px) {
    .cookie-banner-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .cookie-banner-accept {
        width: 100%;
    }
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 0.85rem;
}

.footer-links a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.footer-links-divider {
    color: var(--text-muted);
    opacity: 0.4;
}

.footer-trust-seal {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.footer-trust-seal a {
    display: inline-block;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.85;
}

.footer-trust-seal a:hover {
    transform: translateY(-2px);
    opacity: 1;
}

.footer-trust-seal img {
    height: 52px;
    width: auto;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* --- Notice Banners --- */
.notice-section {
    padding: 0;
}

.notice-section .section-container {
    padding-top: 40px;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.notice-banner {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    border-radius: var(--radius-md);
    border: none;
    border-left: 4px solid;
}

.notice-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.04);
}

.notice-content h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.notice-content p {
    font-size: 0.92rem;
    color: var(--text);
    line-height: 1.6;
    margin: 0;
}

/* --- Download Warning --- */
.download-warning {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 24px;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.06), rgba(243, 156, 18, 0.02));
    border: 1px solid rgba(243, 156, 18, 0.2);
    border-radius: var(--radius-sm);
    text-align: left;
}

.download-warning svg {
    color: var(--accent-orange);
    flex-shrink: 0;
    margin-top: 2px;
}

.download-warning span {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-track {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 0;
    }

    .step-connector {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-trust {
        flex-direction: column;
        gap: 12px;
    }

    .payment-icons {
        margin-top: 28px;
    }

    .payment-icons-row {
        gap: 8px;
    }

    .payment-icon-img {
        height: 28px;
    }

    .payment-icons-compact .payment-icon-img {
        height: 24px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps-track {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin: 0 auto;
        gap: 32px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .how-it-works {
        padding: 60px 0 40px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .pricing-card-popular {
        transform: none;
    }

    .pricing-card-popular:hover {
        transform: translateY(-6px);
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .upload-card {
        padding: 28px;
    }

    .download-card {
        padding: 32px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .nav-links {
        gap: 4px;
    }

    .nav-link:not(.nav-link-cta) {
        display: none;
    }

    .hero {
        padding: 120px 24px 60px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .upload-card {
        padding: 20px;
    }

    .upload-zone {
        padding: 36px 16px;
    }
}

/* --- Content Pages (Privacy, Contact) --- */
.page-content {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 60px 24px;
    background: linear-gradient(180deg, #f8f5ff 0%, #fff0f6 40%, #e8f8ff 100%);
}

.page-card {
    max-width: 800px;
    width: 100%;
    background: var(--bg);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.page-body {
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 0.95rem;
}

.page-body h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
    margin: 0 0 20px 0;
}

.page-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin: 28px 0 10px 0;
}

.page-body p {
    margin: 8px 0;
    color: var(--text-secondary);
}

.page-body a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.page-body a:hover {
    text-decoration: underline;
}

.page-body ul, .page-body ol {
    margin: 12px 0;
    padding-left: 24px;
    color: var(--text-secondary);
}

.page-body li {
    margin: 6px 0;
}

/* --- Contact Form --- */
.contact-form {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 2px solid var(--border-light);
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form-group {
    margin-bottom: 18px;
}

.contact-form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.contact-form-group input,
.contact-form-group textarea,
.contact-form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    color: var(--text-primary);
    background: var(--bg);
    transition: border-color 0.25s, box-shadow 0.25s;
    box-sizing: border-box;
}

.contact-form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23636e72' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
}

.contact-form-group input:focus,
.contact-form-group textarea:focus,
.contact-form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.1);
}

.contact-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary), #a29bfe);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
}

.contact-success {
    margin-top: 32px;
    padding: 32px;
    text-align: center;
    background: rgba(0, 184, 148, 0.06);
    border: 1px solid rgba(0, 184, 148, 0.2);
    border-radius: var(--radius-sm);
    color: #00b894;
}

.contact-success h3 {
    margin: 12px 0 8px;
    font-size: 1.2rem;
    color: #00b894;
}

.contact-success p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.92rem;
}

.contact-error {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 12px 16px;
    background: rgba(232, 67, 147, 0.06);
    border: 1px solid rgba(232, 67, 147, 0.2);
    border-radius: var(--radius-sm);
    color: var(--accent-pink);
    font-size: 0.88rem;
    font-weight: 600;
}

/* --- Marketing Preferences (Contact Form) --- */
.contact-marketing-group {
    margin-top: 8px;
    padding-top: 18px;
    border-top: 1px solid var(--border-light);
}

.marketing-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.marketing-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--text-primary);
    line-height: 1.5;
    font-weight: 400;
}

.marketing-option input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--primary);
    cursor: pointer;
}

.marketing-disclaimer {
    margin-top: 14px;
    padding: 12px 16px;
    background: rgba(108, 92, 231, 0.04);
    border: 1px solid rgba(108, 92, 231, 0.12);
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Marketing Preferences Page --- */
.mkt-pref-header {
    text-align: center;
    margin-bottom: 32px;
}

.mkt-pref-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.mkt-pref-header p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.mkt-pref-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(162, 155, 254, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--primary);
}

.mkt-pref-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mkt-pref-msg {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    text-align: center;
    display: none;
    margin-top: 16px;
}

.mkt-pref-msg.success {
    display: block;
    background: rgba(0, 184, 148, 0.08);
    color: #00b894;
    border: 1px solid rgba(0, 184, 148, 0.2);
}

.mkt-pref-msg.error {
    display: block;
    background: rgba(232, 67, 147, 0.08);
    color: #e84393;
    border: 1px solid rgba(232, 67, 147, 0.2);
}

/* --- Verification Key Box --- */
.verification-key-box {
    margin-top: 20px;
    padding: 20px;
    background: rgba(108, 92, 231, 0.04);
    border: 2px dashed rgba(108, 92, 231, 0.3);
    border-radius: var(--radius-sm);
    text-align: center;
}

.verification-key-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.verification-key-value {
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
    word-break: break-all;
    padding: 10px;
    background: rgba(108, 92, 231, 0.06);
    border-radius: 6px;
    border: 1px solid rgba(108, 92, 231, 0.15);
    margin-bottom: 8px;
    user-select: all;
}

.verification-key-hint {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

/* --- Confirmation Page --- */
.confirm-result {
    text-align: center;
    padding: 20px 0;
}

.confirm-result h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.confirm-result p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.confirm-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.confirm-details {
    margin: 24px auto;
    max-width: 400px;
    background: var(--bg-soft);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    text-align: left;
}

.confirm-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
}

.confirm-detail-row:last-child {
    border-bottom: none;
}

.confirm-label {
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.88rem;
}

.confirm-value {
    color: var(--text);
    font-size: 0.88rem;
    text-align: right;
    max-width: 240px;
}

/* --- Validate Invalid Key (Red Danger) --- */
.validate-invalid-box {
    background: #c0392b;
    color: #fff;
    padding: 48px 36px;
    border-radius: var(--radius-lg);
    text-align: center;
}

.validate-invalid-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    margin-bottom: 20px;
}

.validate-invalid-box h2 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 12px 0;
}

.validate-invalid-box > p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 24px 0;
}

.validate-invalid-warning {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-sm);
    padding: 16px 18px;
    margin-bottom: 28px;
}

.validate-invalid-warning svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: #fff;
}

.validate-invalid-warning span {
    font-size: 0.88rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
}

.validate-invalid-warning strong {
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.validate-invalid-btn {
    display: inline-block;
    padding: 12px 32px;
    background: #fff;
    color: #c0392b;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.validate-invalid-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .page-card {
        padding: 28px;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
    }

    .validate-invalid-box {
        padding: 32px 24px;
    }
}

/* ============================================
   Auth Pages (Login, Register, 2FA)
   ============================================ */

.auth-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    min-height: calc(100vh - 72px);
    background: linear-gradient(180deg, #f8f5ff 0%, #fff0f6 40%, #e8f8ff 100%);
}

.auth-card {
    max-width: 460px;
    width: 100%;
    background: var(--bg);
    border-radius: var(--radius-xl);
    padding: 44px 40px;
    box-shadow: var(--shadow-lg);
}

.auth-card h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 6px;
    text-align: center;
}

.auth-card > p {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 28px;
}

.auth-card-wide {
    max-width: 560px;
}

/* --- Auth Header (icon + title + subtitle) --- */
.auth-header {
    text-align: center;
    margin-bottom: 24px;
}

.auth-header svg {
    margin-bottom: 12px;
}

.auth-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 6px;
}

.auth-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Auth Field --- */
.auth-field {
    margin-bottom: 18px;
}

.auth-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 6px;
}

.auth-field label svg {
    vertical-align: -2px;
    margin-right: 4px;
}

.auth-field input[type="text"],
.auth-field input[type="email"],
.auth-field input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.25s, box-shadow 0.25s;
    background: var(--bg);
    color: var(--text);
}

.auth-field input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.1);
}

/* --- Auth Checkbox --- */
.auth-checkbox {
    margin-bottom: 18px;
}

.auth-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--text);
    line-height: 1.5;
    font-weight: 500;
}

.auth-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--primary);
    cursor: pointer;
}

.auth-checkbox a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.auth-checkbox a:hover {
    text-decoration: underline;
}

/* --- Auth Button --- */
.auth-btn {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
    margin-top: 6px;
}

.auth-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
}

/* --- Auth Footer --- */
.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* --- Auth Warning --- */
.auth-warning {
    background: #fff8e1;
    color: #f39c12;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.88rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(243, 156, 18, 0.2);
}

/* --- Legacy form-group support --- */
.auth-form .form-group {
    margin-bottom: 18px;
}

.auth-form .form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 6px;
}

.auth-form .form-group label svg {
    vertical-align: -2px;
    margin-right: 4px;
}

.auth-form .form-group input[type="text"],
.auth-form .form-group input[type="email"],
.auth-form .form-group input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.25s, box-shadow 0.25s;
    background: var(--bg);
    color: var(--text);
}

.auth-form .form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.1);
}

.auth-form .btn-primary {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.auth-form .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
}

.auth-error {
    background: #fef0f4;
    color: var(--accent-pink);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.88rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(232, 67, 147, 0.2);
}

.auth-success {
    background: #e6fff9;
    color: var(--accent-teal);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.88rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(0, 184, 148, 0.2);
}

.auth-links {
    text-align: center;
    margin-top: 20px;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.auth-links a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.auth-links a:hover {
    text-decoration: underline;
}

/* --- Quick Verification Challenge --- */
.gs-challenge {
    margin: 16px 0;
}

.gs-challenge-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.gs-challenge-shield {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.gs-challenge-shield svg {
    width: 20px;
    height: 20px;
}

.gs-challenge-box {
    background: #f8f9fa;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: center;
}

.gs-challenge-question {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0 0 16px 0;
}

.gs-challenge-options {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.gs-ch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 12px;
    border: 2px solid var(--border);
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    color: var(--text-primary);
}

.gs-ch-btn svg {
    width: 32px;
    height: 32px;
}

.gs-ch-btn:hover {
    border-color: var(--primary);
    transform: scale(1.05);
}

.gs-ch-btn.gs-ch-selected {
    border-color: var(--primary);
    box-shadow: 0 3px 12px rgba(108,92,231,0.35);
    transform: scale(1.12);
}

.gs-ch-colour-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #dee2e6;
    box-shadow: inset 0 -2px 4px rgba(0,0,0,0.15);
}

.gs-ch-colour-btn:hover {
    border-color: #999;
}

.gs-ch-input-wrap {
    max-width: 180px;
    margin: 8px auto 0;
}

.gs-ch-text-input {
    width: 100%;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 4px;
    padding: 10px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    outline: none;
    transition: border-color 0.2s;
}

.gs-ch-text-input:focus {
    border-color: var(--primary);
}

.gs-ch-text-input::placeholder {
    color: #ccc;
}

.gs-ch-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.gs-ch-sequence {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.gs-challenge-status {
    min-height: 1.2em;
    margin-top: 8px;
    font-size: 0.85rem;
}

.gs-ch-status-ok {
    color: var(--accent-teal, #00b894);
    font-weight: 600;
}

/* --- TOTP Input --- */
.totp-input {
    text-align: center;
    font-size: 28px;
    letter-spacing: 10px;
    font-family: 'Courier New', Courier, monospace;
    font-weight: 700;
    padding: 16px 20px;
    width: 100%;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    transition: border-color 0.25s, box-shadow 0.25s;
}

.totp-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.1);
}

/* --- QR Code Container --- */
.qr-code-container {
    text-align: center;
    margin: 24px 0;
}

.qr-code-container img {
    width: 200px;
    height: 200px;
    border-radius: var(--radius-md);
    border: 2px solid var(--border);
}

.manual-key-box {
    background: var(--bg-soft);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin: 16px 0;
    text-align: center;
    border: 1px solid var(--border-light);
}

.manual-key-box code {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary);
    word-break: break-all;
}

/* --- Backup Codes Grid --- */
.backup-code-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 20px 0;
}

.backup-code-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-soft);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
}

.backup-code-num {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    min-width: 20px;
}

.backup-code-value {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 1px;
}

/* --- Recovery Key Display --- */
.recovery-key-box {
    background: linear-gradient(135deg, #f4f0ff, #fef0f4);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 2px dashed var(--primary);
    text-align: center;
    margin: 20px 0;
}

.recovery-key-box code {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
    word-break: break-all;
    display: block;
    margin-top: 8px;
}

/* ============================================
   Account Dashboard
   ============================================ */

.account-content {
    flex: 1;
    max-width: 960px;
    margin: 0 auto;
    padding: 100px 24px 60px;
    width: 100%;
}

.account-header {
    margin-bottom: 28px;
}

.account-header h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 4px;
}

.account-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- Account Tabs --- */
.account-tabs {
    display: flex;
    gap: 4px;
    background: var(--bg-muted);
    padding: 4px;
    border-radius: var(--radius-md);
    margin-bottom: 28px;
}

.account-tab {
    flex: 1;
    text-align: center;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.25s;
}

.account-tab:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.6);
}

.account-tab.active {
    background: var(--bg);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

/* --- Account Stats --- */
.account-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.stat-card {
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.stat-card .stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 4px;
}

.stat-card .stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Account Section --- */
.account-section {
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.account-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
}

/* --- Account Details Table --- */
.account-details-table {
    width: 100%;
    border-collapse: collapse;
}

.account-details-table td {
    padding: 10px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-light);
}

.account-details-table td:first-child {
    font-weight: 600;
    color: var(--text-light);
    width: 140px;
}

.account-details-table td:last-child {
    color: var(--text);
}

/* --- File History Table --- */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.file-history-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.file-history-table thead th {
    text-align: left;
    padding: 10px 12px;
    font-weight: 700;
    color: var(--text-light);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--border);
    white-space: nowrap;
}

.file-history-table tbody td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text);
}

.file-history-table tbody tr:hover {
    background: var(--bg-soft);
}

/* --- Status Badges --- */
.status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-active {
    background: rgba(0, 184, 148, 0.1);
    color: #00b894;
}

.status-expired {
    background: rgba(232, 67, 147, 0.1);
    color: #e84393;
}

/* --- Subscription Info --- */
.subscription-info {
    text-align: center;
    padding: 20px 0;
}

.subscription-badge {
    display: inline-block;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.subscription-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* --- Empty State --- */
.empty-state {
    text-align: center;
    color: var(--text-muted);
    padding: 32px 0;
    font-size: 0.9rem;
}

.empty-state a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
}

/* --- Auth page responsive --- */
@media (max-width: 600px) {
    .auth-card {
        padding: 32px 24px;
    }

    .backup-code-grid {
        grid-template-columns: 1fr;
    }

    .account-tabs {
        flex-wrap: wrap;
    }

    .account-tab {
        flex: none;
        min-width: 48%;
    }

    .account-stats {
        grid-template-columns: 1fr 1fr;
    }
}

/* ─── Mobile display fixes ──────────────────────────────────────────── */

/* The fixed navbar (72px tall + 1px border) overlapped the top of the
   dismissible disclaimer bar, clipping its first lines. Offset the bar
   below the navbar. Download/contact pages use a relative navbar
   (.download-page), so they are excluded to avoid an unwanted gap. */
body:not(.download-page) .disclaimer-bar {
    margin-top: 73px;
}

/* The sign-in / subscription gate logo (48px tall, ~311px wide) overflowed
   its card on phones. Constrain its width on small screens while keeping
   the aspect ratio (height: auto). */
@media (max-width: 600px) {
    .upload-gate-logo {
        height: auto;
        width: 220px;
        max-width: 78%;
    }

    /* Stack the footer links vertically (one under the other) instead of a
       cramped wrapping row, and hide the "|" dividers. */
    .footer-links {
        flex-direction: column;
        gap: 14px;
    }

    .footer-links-divider {
        display: none;
    }
}
