@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300;400;500;600;700&family=Open+Sans:wght@300;400;500;600;700&display=swap');
/* ============================================================
   FIXYOURTITLE — CREATOR SAAS THEME
   Inspired by YouTube Studio, TikTok Promote, and CapCut
============================================================ */

/* ------------------------------------------------------------
   GLOBAL RESET
------------------------------------------------------------ */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Open Sans", -apple-system, BlinkMacSystemFont, sans-serif;
    background: #F6F7FB;
    color: #111;
    line-height: 1.55;
}

.page-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 24px;
}

.page-wrapper.narrow {
    max-width: 640px;
}


/* ------------------------------------------------------------
   BRAND COLORS + GRADIENTS
------------------------------------------------------------ */
:root {
    --yt-red: #FF0033;
    --tk-blue: #00F2EA;
    --brand-blue: #2979FF;
    --dark: #111;
    --gray-border: #E3E6ED;
    --card-bg: #FFFFFF;

    --gradient-brand: linear-gradient(135deg, #2979FF, #00F2EA);
    --gradient-premium: linear-gradient(135deg, #FF0033, #FF5F73);
}


/* ------------------------------------------------------------
   HEADERS + TYPOGRAPHY
------------------------------------------------------------ */
h1, h2, h3 {
    font-family: "Open Sans", sans-serif;
    font-weight: 500;
    margin: 0 0 12px;
    letter-spacing: -0.4px;
}

.subhead-small {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    opacity: 0.75;
    margin-bottom: 10px;
}


/* ------------------------------------------------------------
   SITE HEADER
------------------------------------------------------------ */
.site-header {
    padding: 12px 0;
    border-bottom: 1px solid #e9e9e9;
    background: #fff;
    position: relative;
    z-index: 9999;
}

/* LOGO WRAPPER */
.site-logo {
    font-family: "Fredoka", sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 600;
    text-decoration: none;
    color: #222;
    letter-spacing: .5px;
}

/* ICON ITSELF */
.site-logo .logo-icon {
    width: 56px;
    height: 56px;
    display: block;
}

/* HOVER EFFECT */
.site-logo:hover {
    color: var(--dark);
}

.site-logo:hover .logo-icon {
    filter: brightness(1.15);
}


/* -----------------------
   NAVIGATION
------------------------ */
.nav-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;

    display: flex;
    justify-content: left;
    align-items: center;
    position: relative;
}

/* Right-side menu container */
.nav-menu {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* Menu button */
.menu-button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 15px;
    color: #222;
    font-weight: 500;
    font-family: "Open Sans", sans-serif;
}

.menu-button:hover {
    opacity: 0.75;
}

/* Dropdown */
.menu-dropdown {
    position: absolute;
    top: 32px;
    right: 0;

    background: white;
    border-radius: 6px;
    border: 1px solid #ddd;
    display: none;
    flex-direction: column;

    min-width: 150px;
    padding: 8px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    z-index: 20;
}

.menu-dropdown a {
    padding: 10px 14px;
    display: block;
    font-size: 15px;
    font-family: "Open Sans", sans-serif;
    color: #333;
    text-decoration: none;
}

.menu-dropdown a:hover {
    background: #f3f5f8;
}

/* WHY UPGRADE PAGE STYLES */

.upgrade-title {
    text-align: center;
    margin-bottom: 10px;
}

.center {
    text-align: center;
}

.highlight-box {
    border-left: 4px solid var(--brand-blue);
}

.special-box {
    background: #f7faff;
    border: 1px solid #dce9ff;
}

.bad-list li,
.why-list li,
.value-list li {
    margin-bottom: 6px;
    font-size: 15px;
}

.testimonial-box {
    background: #fffdf7;
    border: 1px solid #ffe9a9;
}

.testimonial {
    margin-bottom: 22px;
}

.testimonial .quote {
    font-style: italic;
    font-size: 16px;
    color: #555;
}

.testimonial .author {
    font-weight: 600;
    margin-top: 4px;
    color: #333;
}

.cta-box {
    text-align: center;
}

.max-260 {
    max-width: 260px;
    margin: 0 auto;
}

.cta-note {
    margin-top: 10px;
    opacity: 0.6;
    font-size: 14px;
}


/* ============================================
   TESTIMONIAL CARDS
============================================ */

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 20px;
}

.testimonial-grid h2 {
    grid-column: 1 / -1;
    margin-bottom: 12px;
}

.testimonial-card {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    padding: 18px 20px;
    border-radius: 10px;
    box-shadow: 0px 2px 6px rgba(0,0,0,0.05);
    transition: transform .15s ease, box-shadow .15s ease;
}

.testimonial-card:hover {
    transform: translateY(-2px);
    box-shadow: 0px 4px 10px rgba(0,0,0,0.08);
}

.testimonial-card .quote {
    font-size: 15px;
    line-height: 1.55;
    color: #444;
    margin-bottom: 8px;
}

.testimonial-card .author {
    font-weight: 600;
    color: #222;
    font-size: 14px;
    opacity: .75;
}

/* Mobile fallback */
@media (max-width: 640px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

.faq-section .faq-item {
    margin-bottom: 24px;
}

.faq-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 700;
}

.faq-item p,
.faq-item ul {
    font-size: 15px;
    line-height: 1.6;
}

.faq-item ul {
    margin: 8px 0 8px 20px;
}




/* ------------------------------------------------------------
   CARDS
------------------------------------------------------------ */
.results-box,
.card {
    background: var(--card-bg);
    padding: 24px;
    border-radius: 14px;
    border: 1px solid var(--gray-border);
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    margin: 28px 0;
}


/* ------------------------------------------------------------
   HOME HERO
------------------------------------------------------------ */
.home-hero {
    text-align: center;
    padding: 24px 0 20px;
}

.home-hero h1 {
    font-size: 30px;
    font-weight: 600;
    letter-spacing: -0.8px;
}

.subhead {
    font-family: "Open Sans", sans-serif;
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.6;
    font-size: 18px;
    opacity: 0.9;
}

/* ============================
   SOCIAL PROOF — PREMIUM GLOW
=============================== */
.social-proof.glow {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    padding: 20px 30px;
    margin: 0px auto 16px;
    max-width: 760px;

    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e1e7ff;
    box-shadow: 0 4px 22px rgba(41,121,255,0.08);
}

.proof-item {
    text-align: center;
}

.proof-number {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: var(--brand-blue);
}

.proof-label {
    font-size: 13px;
    opacity: 0.65;
}

.proof-divider {
    width: 1px;
    height: 38px;
    background: #e3e9ff;
}

/* Stronger micro-nudge */
.strong-nudge, .micro-nudge {
    font-size: 15px;
    margin-top: 6px;
    opacity: 0.9;
    text-align: center;
}
.strong-nudge strong {
    color: var(--brand-blue);
}



/* ------------------------------------------------------------
   INPUT FORMS
------------------------------------------------------------ */
input[type="text"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #D3D7E3;
    background: white;
    font-size: 16px;
    font-family: "Open Sans", sans-serif;
    margin-bottom: 18px;
    transition: border-color .2s ease;
}

textarea {
    min-height: 130px;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--brand-blue);
    outline: none;
}


/* ------------------------------------------------------------
   PLATFORM CHOICE TILES
------------------------------------------------------------ */

.platform-select {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 10px;
}

.platform-option {
    display: block;
    width: 100%;
    cursor: pointer;
}

.platform-option input {
    display: none;
}

.platform-box {
    width: 100%;
    padding: 20px 18px;
    border-radius: 12px;
    background: #ffffff;
    border: 2px solid #E5E7EB;
    display: flex;
    align-items: center;
    gap: 18px;
    transition: all 0.25s ease;
    box-shadow: 0 3px 6px rgba(0,0,0,0.06);
}

.platform-box img {
    width: 42px;
    height: 42px;
}

.platform-box span {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
}

/* Hover */
.platform-option:hover .platform-box {
    border-color: #2979FF;
    background: #F3F7FF;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(41,121,255,0.12);
}

/* Selected */
.platform-option input:checked + .platform-box {
    border-color: #2979FF;
    background: #EAF1FF;
    box-shadow: 0 6px 14px rgba(41,121,255,0.18);
}


/* Placeholder rotator */
.placeholder-rotator {
    transition: opacity 0.6s ease;
    opacity: 1;
}

.placeholder-rotator.fade-out {
    opacity: 0;
}

.placeholder-rotator.fade-in {
    opacity: 1;
}

/* Wrapper for ghost placeholder */
.input-wrapper {
    position: relative;
}

.ghost-placeholder {
    position: absolute;
    top: 12px;
    left: 14px;
    color: #9aa1af;
    pointer-events: none;
    font-size: 16px;
    opacity: 1;
    transition: opacity .4s ease;
    font-family: "Open Sans", sans-serif;
}

.ghost-placeholder.fade-out {
    opacity: 0;
}

.ghost-placeholder.fade-in {
    opacity: 1;
}

textarea:focus + .ghost-placeholder,
textarea:not(:placeholder-shown) + .ghost-placeholder {
    opacity: 0;
}


/* Desktop — 3 columns */
@media (min-width: 700px) {
    .platform-select {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}


/* Form spacing */
.form-card .form-row {
    margin: 28px 0;
}

.form-card label {
    margin-bottom: 8px;
    display: block;
    font-weight: 600;
    color: #111;
    font-family: "Open Sans";
}


/* Mobile adjustments */
@media (max-width: 600px) {
    .platform-box {
        padding: 18px 14px;
        gap: 14px;
    }
    .platform-box img {
        width: 36px;
        height: 36px;
    }
    .platform-box span {
        font-size: 17px;
    }
}


/* ------------------------------------------------------------
   TITLES LIST
------------------------------------------------------------ */
.title-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.title-item {
    background: #F8F9FC;
    padding: 14px;
    border: 1px solid #E2E6EE;
    border-radius: 10px;
    font-family: "Open Sans";
    transition: background 0.2s ease, transform .15s ease;
}

.title-item.copyable:hover {
    background: #E9F0FF;
    cursor: pointer;
    transform: translateY(-1px);
}


/* ------------------------------------------------------------
   BUTTONS
------------------------------------------------------------ */
.btn-primary {
    padding: 14px 20px;
    background: var(--brand-blue);
    color: white;
    border-radius: 10px;
    font-family: "Open Sans";
    font-weight: 700;
    border: none;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s ease, transform 0.1s ease;
}

.btn-primary-full-width {width: 100%;}

.btn-primary:hover {
    background: #0F63F1;
    transform: translateY(-2px);
}

.btn-secondary {
    padding: 14px 20px;
    background: #fff;
    color: var(--brand-blue);
    border-radius: 10px;
    font-family: "Open Sans";
    border: 1px solid var(--brand-blue);
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: opacity 0.2s ease, transform 0.1s ease;
}

.btn-secondary:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}


/* ------------------------------------------------------------
   PREMIUM + SUCCESS MESSAGE
------------------------------------------------------------ */
.btn-success {
    background: #28C76F !important;
}

.notice-success {
    background: #D9FFE6;
    border: 1px solid #55C288;
    padding: 12px;
    border-radius: 10px;
    color: #0E6B3F;
    margin-top: 10px;
    font-weight: 600;
    font-family: "Open Sans";
    opacity: 0;
    transition: opacity .3s ease;
}

.notice-success.visible {
    opacity: 1;
}

.notice-error {
    background: #FFE6E6;
    border: 1px solid #E19999;
    padding: 12px;
    border-radius: 10px;
    color: #8A1F1F;
    font-weight: 600;
    font-family: "Open Sans";
}


/* ------------------------------------------------------------
   LOCKED (PREMIUM PREVIEW)
------------------------------------------------------------ */
.locked-panel {
    position: relative;
}

.locked .title-item {
    filter: blur(7px);
    opacity: 0.45;
    pointer-events: none;
}

.locked-panel::after {
    content: "Upgrade to unlock premium";
    position: absolute;
    top: 66%;
    left: 50%;
    text-align: center;
    transform: translate(-50%, -50%);
    padding: 14px 22px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--brand-blue);
    font-family: "Open Sans";
    font-weight: 700;
    border-radius: 10px;
}

.error-msg {
    display: none;
    color: #d93025;
    font-size: 14px;
    margin-top: 6px;
    font-weight: 600;
    font-family: "Open Sans", sans-serif;
}

.error-field {
    border-color: #d93025 !important;
    background: #fff5f5 !important;
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 16px;
}

.results-column {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* Desktop two-column layout */
@media (min-width: 820px) {
    .results-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

.copy-btn {
    margin-top: 14px;
    font-size: 14px;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid var(--brand-blue);
    background: #ffffff;
    cursor: pointer;
    transition: all .2s ease;
    width: 100%;
    text-align: center;
    color: var(--brand-blue);
}

.copy-btn:hover {
    background: #f7f7f7;
}

.copy-btn.copied {
    background: var(--brand-blue);
    color: #fff;
    border-color: var(--brand-blue);
}

/* PREMIUM CARD */

.premium-card {
    border: 2px solid var(--brand-blue);
    box-shadow: 0 0 14px rgba(0, 120, 255, 0.15);
    background: linear-gradient(180deg, #ffffff, #f7faff);
    position: relative;
}

.premium-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.premium-header .lock-icon {
    font-size: 20px;
    opacity: 0.8;
}

.premium-benefits {
    margin: 12px 0 16px;
    padding-left: 18px;
    font-size: 14px;
    color: #333;
    line-height: 1.45;
}

.social-proof {
    margin-bottom: 14px;
    font-size: 13px;
    color: #0078ff;
    font-weight: 600;
    opacity: 0.9;
}

/* BLUR EFFECT */
.locked-blur-item {
    filter: blur(4px);
    opacity: 0.7;
    position: relative;
}

.locked-blur-item::after {
    content: "🔒 Locked";
    position: absolute;
    right: 10px;
    top: 6px;
    font-size: 12px;
    color: #0078ff;
    font-weight: 600;
}

/* UPGRADE BUTTON */
.btn-upgrade {
    display: block;
    text-align: center;
    padding: 14px;
    background: var(--gradient-brand);
    color: white !important;
    font-weight: 700;
    border-radius: 8px;
    margin-top: 16px;
    transition: 0.2s ease;
    text-decoration: none;
}

.btn-upgrade:hover {
    background: #005dd4;
    transform: translateY(-1px);
}

.btn-upgrade .sparkle {
    margin-left: 4px;
}

.tiny-note {
    margin-top: 6px;
    text-align: center;
    font-size: 12px;
    opacity: 0.7;
}


/* ------------------------------------------------------------
   FOOTER
------------------------------------------------------------ */
footer {
    text-align: center;
    padding: 40px 0 20px;
    opacity: 0.6;
    font-size: 14px;
    font-family: "Open Sans";
}


/* ============================================================
   GLOBAL LOADING OVERLAY
============================================================ */
.loading-screen {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
    z-index: 9999;
}

.loading-screen.visible {
    opacity: 1;
    pointer-events: auto;
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

/* Floating magic wand icon */
.loading-logo {
    width: 70px;
    height: 70px;
    animation: wandfloat 1.8s ease-in-out infinite;
    opacity: 0.9;
}

/* Rotating status text */
.loading-text {
    font-family: "Open Sans";
    font-size: 18px;
    color: #333;
    opacity: 0;
    animation: textfade 2.4s ease infinite;
    animation-fill-mode: both; /* prevents flickering */
}

/* Floating wand */
@keyframes wandfloat {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Text crossfade */
@keyframes textfade {
    0% { opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { opacity: 0; }
}

.page-fader {
    opacity: 0;
    transition: opacity .35s ease;
}

.page-fader.visible {
    opacity: 1;
}

/* Fade-out animation */
.loading-screen.fade-out {
    opacity: 0;
    transition: opacity .45s ease;
    pointer-events: none;
}

/* Page fade-in */
.page-fader { opacity: 0; transition: opacity .5s ease; }
.page-fader.visible { opacity: 1; }

/* Success hero banner */
.success-banner {
    background: #EAF3FF;
    border-left: 4px solid var(--brand-blue);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    gap: 16px;
    align-items: center;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity .4s ease, transform .4s ease;
}
.success-banner.visible {
    opacity: 1;
    transform: translateY(0);
}
.success-banner .success-icon {
    font-size: 28px;
}
.success-banner .success-text {
    font-weight: 600;
    font-size: 17px;
}

/* Confetti */
#confettiCanvas {
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9990;
}

.btn-row, .bottom-buttons {
    display: flex;
    gap: 16px;
    justify-content: flex-start; /* or space-between */
    align-items: center;
    margin: 20px 0;
}

.btn-row .btn-primary,
.btn-row .btn-secondary,
.btn-row button,
.btn-row a {
    flex: 0 0 auto;
    white-space: nowrap;
}

/* ============================================
   UPGRADE SOCIAL PROOF BADGE
============================================ */
.upgrade-social-proof {
    margin: 14px 0 18px;
    padding: 10px 14px;
    background: rgba(41,121,255,0.08); /* brand blue tint */
    border-left: 3px solid var(--brand-blue);
    border-radius: 6px;

    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}

.upgrade-social-proof #upgradeCount {
    color: var(--brand-blue);
    font-weight: 700;
}

/* ============================================
   LARGE SOCIAL PROOF BADGE (Why-Upgrade Page)
============================================ */
.upgrade-social-proof-large {
    margin: 24px auto 28px;
    padding: 14px 18px;

    background: rgba(41,121,255,0.10); /* brand blue tint */
    border-left: 4px solid var(--brand-blue);
    border-radius: 8px;

    font-size: 16px;
    font-weight: 600;
    text-align: center;
    color: #1a1a1a;
    max-width: 420px;

    animation: fadeIn 0.6s ease both;
}

.upgrade-social-proof-large #upgradeCountLarge {
    color: var(--brand-blue);
    font-weight: 700;
}

/* subtle fade-in */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   SEO Internal Linking Blocks
============================================ */
.seo-links-box {
    margin-top: 40px;
    padding: 24px;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    background: #fafafa;
}

.seo-links-box h2 {
    margin-top: 0;
    margin-bottom: 16px;
}

.seo-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.seo-links-list li {
    margin-bottom: 8px;
}

.seo-links-list a {
    text-decoration: none;
    color: var(--brand-blue);
    font-weight: 600;
}

.seo-links-list a:hover {
    text-decoration: underline;
}

/* SEO CTA block */
.seo-cta-block {
    margin-top: 40px;
    text-align: center;
    padding: 28px 20px;
    border-radius: 12px;
    background: #f0f6ff;
    border: 1px solid #d4e3ff;
}

.seo-cta-block h2 {
    margin-top: 0;
}

.seo-cta-block p {
    margin: 10px 0 20px;
}


/* ------------------------------------------------------------
   RESPONSIVE
------------------------------------------------------------ */
@media (max-width: 600px) {
    .btn-row,
    .premium-actions {
        flex-direction: column;
    }

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

    .home-hero h1 {
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .btn-row {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-row .btn-primary,
    .btn-row .btn-secondary {
        width: 100%;
    }
}

