/* =========================================================
   FREE ONLINE TEXT EDITOR — PRICING PAGE
========================================================= */

.fote-pricing-page {
    --fp-primary: #2563eb;
    --fp-secondary: #7c3aed;
    --fp-dark: #0f172a;
    --fp-text: #334155;
    --fp-muted: #64748b;
    --fp-border: #e2e8f0;
    --fp-light: #f8fafc;
    --fp-white: #ffffff;

    display: block !important;
    width: 100% !important;
    max-width: 1180px !important;
    margin: 0 auto !important;
    padding: 30px 18px 60px !important;
    box-sizing: border-box !important;
    font-family: Inter, Arial, sans-serif;
    color: var(--fp-dark);
}

.fote-pricing-page *,
.fote-pricing-page *::before,
.fote-pricing-page *::after {
    box-sizing: border-box;
}


/* HERO */

.fote-pricing-hero {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    padding: 54px 25px;
    text-align: center;
    color: #fff;
    background:
        radial-gradient(
            circle at top right,
            rgba(255,255,255,.17),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #1d4ed8,
            #4f46e5 55%,
            #7c3aed
        );
    border-radius: 26px;
    box-shadow: 0 20px 45px rgba(79,70,229,.18);
}

.fote-pricing-hero::before,
.fote-pricing-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.07);
    pointer-events: none;
}

.fote-pricing-hero::before {
    width: 220px;
    height: 220px;
    top: -110px;
    left: -80px;
}

.fote-pricing-hero::after {
    width: 170px;
    height: 170px;
    right: -45px;
    bottom: -80px;
}

.fote-pricing-badge {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin-bottom: 15px;
    padding: 7px 13px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
}

.fote-pricing-hero h1 {
    position: relative;
    z-index: 1;
    max-width: 850px;
    margin: 0 auto 14px;
    color: #fff;
    font-size: clamp(36px,5vw,56px);
    line-height: 1.12;
}

.fote-pricing-hero p {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    color: rgba(255,255,255,.9);
    font-size: 16px;
    line-height: 1.7;
}

.fote-hero-price-note {
    position: relative;
    z-index: 1;
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 24px;
    padding: 13px 22px;
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(255,255,255,.19);
    border-radius: 14px;
}

.fote-hero-price-note strong {
    color: #fff;
    font-size: 21px;
}

.fote-hero-price-note span {
    color: rgba(255,255,255,.78);
    font-size: 11px;
}


/* PRICING */

.fote-pricing-grid {
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    width: 100% !important;
    gap: 22px;
    margin-top: 30px;
}

.fote-price-card {
    position: relative;
    width: 100%;
    padding: 30px;
    background: #fff;
    border: 1px solid var(--fp-border);
    border-radius: 20px;
    box-shadow: 0 14px 35px rgba(15,23,42,.06);
}

.fote-pro-card {
    border: 2px solid #7c3aed;
    background:
        linear-gradient(
            180deg,
            rgba(124,58,237,.035),
            transparent 45%
        ),
        #fff;
    box-shadow: 0 18px 42px rgba(124,58,237,.11);
}

.fote-popular-badge {
    position: absolute;
    top: -13px;
    right: 22px;
    padding: 7px 12px;
    color: #fff;
    background: linear-gradient(135deg,#2563eb,#7c3aed);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
}

.fote-plan-label {
    color: var(--fp-primary);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1px;
}

.fote-pro-label {
    color: var(--fp-secondary);
}

.fote-card-top h2 {
    margin: 8px 0;
    color: var(--fp-dark);
    font-size: 29px;
    line-height: 1.25;
}

.fote-card-top p {
    min-height: 48px;
    margin: 0;
    color: var(--fp-muted);
    font-size: 14px;
    line-height: 1.6;
}

.fote-price {
    margin: 23px 0 5px;
}

.fote-price strong {
    color: var(--fp-dark);
    font-size: 44px;
    line-height: 1;
}

.fote-price span {
    color: var(--fp-muted);
    font-size: 13px;
}

.fote-price-note {
    min-height: 20px;
    color: var(--fp-muted);
    font-size: 12px;
}

.fote-plan-features {
    margin: 25px 0;
    padding: 0;
    list-style: none;
}

.fote-plan-features li {
    margin-bottom: 11px;
    color: var(--fp-text);
    font-size: 14px;
    line-height: 1.5;
}


/* BUTTONS */

.fote-free-button,
.fote-pro-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    transition: .2s ease;
}

.fote-free-button {
    color: var(--fp-primary);
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}

.fote-free-button:hover {
    color: #1d4ed8;
    background: #dbeafe;
    transform: translateY(-1px);
}

.fote-pro-button {
    color: #fff;
    background: linear-gradient(135deg,#2563eb,#7c3aed);
    border: 0;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(79,70,229,.2);
}

.fote-pro-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 28px rgba(79,70,229,.25);
}

.fote-plan-small {
    margin: 11px 0 0;
    color: #94a3b8;
    font-size: 11px;
    text-align: center;
    line-height: 1.55;
}


/* =========================================================
   IMPORTANT — EVERY MAJOR SECTION IS ITS OWN FULL-WIDTH ROW
========================================================= */

.fote-pro-tools-section,
.fote-pricing-benefits,
.fote-comparison,
.fote-pricing-faq,
.fote-pricing-cta {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    float: none !important;
    clear: both !important;
}

.fote-pro-tools-section,
.fote-pricing-benefits,
.fote-comparison,
.fote-pricing-faq {
    margin-top: 32px !important;
    padding: 32px;
    background: #fff;
    border: 1px solid var(--fp-border);
    border-radius: 20px;
}


/* SECTION INTRO */

.fote-section-intro {
    display: block;
    width: 100%;
    max-width: 790px;
    margin: 0 auto 28px;
    text-align: center;
}

.fote-section-intro > span {
    display: inline-block;
    margin-bottom: 8px;
    color: #7c3aed;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.1px;
}

.fote-section-intro h2 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 31px;
    line-height: 1.25;
}

.fote-section-intro p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.75;
}


/* PRO TOOLS */

.fote-pro-tools-grid {
    display: grid !important;
    width: 100% !important;
    grid-template-columns: repeat(4,minmax(0,1fr)) !important;
    gap: 16px;
}

.fote-tool-card {
    position: relative;
    width: 100%;
    min-width: 0;
    padding: 22px;
    overflow: hidden;
    background:
        linear-gradient(
            180deg,
            rgba(37,99,235,.025),
            rgba(124,58,237,.025)
        ),
        #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    transition: .2s ease;
}

.fote-tool-card:hover {
    transform: translateY(-4px);
    border-color: #c4b5fd;
    box-shadow: 0 14px 30px rgba(79,70,229,.09);
}

.fote-tool-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    background: linear-gradient(135deg,#eff6ff,#ede9fe);
    border-radius: 13px;
    font-size: 23px;
    font-weight: 900;
}

.fote-tool-card h3 {
    margin: 0 0 8px;
    color: #0f172a;
    font-size: 17px;
    line-height: 1.35;
}

.fote-tool-card > p {
    min-height: 82px;
    margin: 0 0 16px;
    color: #64748b;
    font-size: 12.5px;
    line-height: 1.65;
}

.fote-tool-card ul {
    margin: 0;
    padding: 14px 0 0;
    list-style: none;
    border-top: 1px solid #e2e8f0;
}

.fote-tool-card li {
    position: relative;
    margin: 0 0 8px;
    padding-left: 17px;
    color: #475569;
    font-size: 12px;
    line-height: 1.45;
}

.fote-tool-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: 900;
}


/* WHY PRO */

.fote-benefit-grid {
    display: grid !important;
    width: 100%;
    grid-template-columns: repeat(4,minmax(0,1fr)) !important;
    gap: 15px;
}

.fote-benefit-card {
    min-width: 0;
    padding: 22px;
    background: var(--fp-light);
    border: 1px solid var(--fp-border);
    border-radius: 15px;
}

.fote-benefit-icon {
    margin-bottom: 13px;
    font-size: 28px;
}

.fote-benefit-card h3 {
    margin: 0 0 7px;
    color: var(--fp-dark);
    font-size: 17px;
}

.fote-benefit-card p {
    margin: 0;
    color: var(--fp-muted);
    font-size: 13px;
    line-height: 1.65;
}


/* COMPARISON */

.fote-comparison > h2,
.fote-pricing-faq > h2 {
    margin: 0 0 23px;
    color: var(--fp-dark);
    text-align: center;
    font-size: 30px;
}

.fote-comparison-table {
    display: block;
    width: 100% !important;
    overflow: hidden;
    border: 1px solid var(--fp-border);
    border-radius: 14px;
}

.fote-table-row {
    display: grid !important;
    width: 100%;
    grid-template-columns: 2fr 1fr 1fr !important;
}

.fote-table-row > div {
    min-width: 0;
    padding: 14px 16px;
    border-bottom: 1px solid var(--fp-border);
    font-size: 13px;
}

.fote-table-row > div:not(:last-child) {
    border-right: 1px solid var(--fp-border);
}

.fote-table-row > div:nth-child(2),
.fote-table-row > div:nth-child(3) {
    text-align: center;
}

.fote-table-row > div:nth-child(3) {
    color: #16a34a;
    font-weight: 800;
}

.fote-table-head {
    background: #f8fafc;
    font-weight: 900;
}

.fote-table-head > div:nth-child(3) {
    color: #7c3aed;
}

.fote-table-row:last-child > div {
    border-bottom: 0;
}


/* FAQ */

.fote-pricing-faq details {
    display: block;
    width: 100% !important;
    margin: 0 0 11px;
    background: #f8fafc;
    border: 1px solid var(--fp-border);
    border-radius: 12px;
}

.fote-pricing-faq details:last-child {
    margin-bottom: 0;
}

.fote-pricing-faq summary {
    padding: 16px;
    cursor: pointer;
    color: #0f172a;
    font-size: 14px;
    font-weight: 800;
}

.fote-pricing-faq details p {
    margin: 0;
    padding: 0 16px 17px;
    color: var(--fp-muted);
    font-size: 13px;
    line-height: 1.7;
}


/* FINAL CTA */

.fote-pricing-cta {
    position: relative;
    overflow: hidden;
    margin-top: 32px !important;
    padding: 44px 25px;
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg,#111827,#312e81,#6d28d9);
    border-radius: 20px;
}

.fote-pricing-cta span {
    color: #c4b5fd;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
}

.fote-pricing-cta h2 {
    margin: 9px 0;
    color: #fff;
    font-size: 34px;
}

.fote-pricing-cta p {
    max-width: 700px;
    margin: 0 auto 18px;
    color: rgba(255,255,255,.78);
    line-height: 1.7;
}

.fote-pricing-cta button {
    min-height: 50px;
    padding: 11px 25px;
    color: #312e81;
    background: #fff;
    border: 0;
    border-radius: 11px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 900;
    transition: .2s ease;
}

.fote-pricing-cta button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0,0,0,.18);
}


/* TABLET */

@media (max-width:1050px) {

    .fote-pro-tools-grid {
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    }

}

@media (max-width:900px) {

    .fote-benefit-grid {
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    }

}


/* MOBILE */

@media (max-width:767px) {

    .fote-pricing-page {
        padding: 15px 12px 40px !important;
    }

    .fote-pricing-hero {
        padding: 38px 18px;
        border-radius: 18px;
    }

    .fote-pricing-hero h1 {
        font-size: 36px;
    }

    .fote-pricing-grid {
        grid-template-columns: 1fr !important;
    }

    .fote-price-card,
    .fote-pro-tools-section,
    .fote-pricing-benefits,
    .fote-comparison,
    .fote-pricing-faq {
        padding: 20px 16px;
    }

    .fote-pro-tools-grid {
        grid-template-columns: 1fr !important;
    }

    .fote-tool-card > p {
        min-height: auto;
    }

    .fote-benefit-grid {
        grid-template-columns: 1fr !important;
    }

    .fote-section-intro h2 {
        font-size: 26px;
    }

    .fote-table-row {
        grid-template-columns: 1.6fr .7fr .7fr !important;
    }

    .fote-table-row > div {
        padding: 12px 7px;
        font-size: 10.5px;
    }

    .fote-pricing-cta {
        padding: 34px 18px;
    }

    .fote-pricing-cta h2 {
        font-size: 29px;
    }

    .fote-pricing-cta button {
        width: 100%;
    }

}

@media (max-width:420px) {

    .fote-pricing-hero h1 {
        font-size: 31px;
    }

    .fote-price strong {
        font-size: 39px;
    }

}