:root {
    /* Brand Colors */
    --color-brand-pink: #c95eb7;
    --color-brand-purple: #81356f;
    --color-brand-wine: #3c112c;
    --background-dark: #1a0813;

    /* Gradient */
    --color-brand-gradient: linear-gradient(
            90deg,
            #c95eb7 0%,
            #81356f 50%,
            #3c112c 100%
    );

    /* Text */
    --color-dark: #1a1a1a;
    --color-light: #ffffff;
}
.color-text-brand-pink {
    color: var(--color-brand-pink);
}
.color-text-brand-purple {
    color: var(--color-brand-purple);
}
.color-text-brand-wine {
    color: var(--color-brand-wine);
}
.color-text-dark{
    color: var(--color-dark);
}
.color-text-light{
    color: var(--color-light);
}
.bg-primary-dark-10{
    background: rgb(129 53 111 / 0.1);
}
/* ===== LAYOUT ===== */
.container{
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}
@media (min-width: 768px) {
    .container{
        padding-left: 40px;
        padding-right: 40px;
    }
}
@media (min-width: 1280px) {
    .container{
        padding-left: 80px;
        padding-right: 80px;
    }
}
.section{
    padding-top: clamp(50px, 10vw, 100px);
    padding-bottom: clamp(50px, 10vw, 100px);
}
body {
    margin: 0;
    font-weight: 400;
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
}
/* ===== button ===== */
.btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4;
    border-radius: 50px;
    padding: 15px 30px;
    transition: all 0.4s ease-in-out;
}
.btn-primary {
    background: var(--color-brand-purple);
    color: var(--color-light);
    border: 2px solid rgba(255, 255, 255, 0.1);
}
/*.btn-primary:hover {*/
/*    border: 2px solid var(--color-brand-wine);*/
/*    background: var(--color-brand-wine);*/
/*    box-shadow: 0 10px 20px rgba(201, 94, 183, 0.55);*/
/*}*/
.btn-outline {
    background: transparent;
    color: var(--color-light);
    border: 2px solid var(--color-light);
}
.btn-outline:hover {
    background: #fff;
    color: var(--color-brand-wine);
    border-color: #fff;
}
/* ===== TYPOGRAPHY ===== */
h1.hero-title {
    font-weight: 700;
    font-size: clamp(34px, 4.5vw, 56px);
    line-height: 1.2;
}
.hero-desc {
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.2;
}
.section-badge{
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
}
h2.section-title {
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.2;
    font-weight: 600;
}
.section-subtitle{
    display: block;
    font-size: 0.875rem;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-brand-pink);
}
.section-desc{
    font-size: clamp(0.875rem, 1.5vw, 1.125rem);
    line-height: 1.75rem;
    --tw-text-opacity: 1;
    color: rgb(75 85 99 / var(--tw-text-opacity, 1));
}
/* Paragraph */
.content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* Headings */
.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6 {
    margin: 1.5rem 0 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.content h1 { font-size: 2rem; }
.content h2 { font-size: 1.75rem; }
.content h3 { font-size: 1.5rem; }
.content h4 { font-size: 1.25rem; }

/* Links */
.content a {
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.content a:hover {
    color: #1d4ed8;
}

/* Lists */
.content ul {
    list-style: disc;
    padding-left: 1.5rem;
}

.content ol {
    list-style: decimal;
    padding-left: 1.5rem;
}

.content li::marker {
    font-weight: bold;
}
/* Images */
.content img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem auto;
    border-radius: 0.75rem;
    display: block;
}

/* Blockquote */
.content blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    border-left: 4px solid #2563eb;
    background: #f1f5f9;
    font-style: italic;
    color: #475569;
}

/* Tables */
.content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}
.content th,
.content td {
    border: 1px solid #e5e7eb;
    padding: 0.75rem;
    text-align: left;
}
.content th {
    background: #f8fafc;
    font-weight: 600;
}

/* Code */
.content code {
    background: #f1f5f9;
    padding: 0.25rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
}
.content pre {
    background: #0f172a;
    color: #e5e7eb;
    padding: 1rem;
    border-radius: 0.75rem;
    overflow-x: auto;
}

/* HR */
.content hr {
    margin: 2rem 0;
    border: none;
    border-top: 1px solid #e5e7eb;
}
.gradient-text {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(to right, #c95eb7, #81356f);
}

/* ===== CF7 FORM ===== */

.form-cf7 {
    display: flex;
    flex-direction: column;
}

/* Inputs (exclude radio & checkbox nếu cần) */
.form-cf7 input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]),
.form-cf7 select,
.form-cf7 textarea {
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    width: 100%;
    padding-top: 0.875rem;
    padding-bottom: 0.875rem;
    padding-right: 1rem;
    padding-left: 1rem;
    border-radius: 12px;
    border: 1px solid rgb(229 231 235);
    background: rgb(249 250 251);
    font-size: 1rem;
    color: rgb(31 41 55);
    outline: 2px solid transparent;
    outline-offset: 2px;
}

/* input có icon */
.form-cf7 .has-icon input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]),
.form-cf7 .has-icon select,
.form-cf7 .has-icon textarea {
    padding-left: 2.75rem;
}
.form-cf7 textarea{
    height: 6rem;
}
/* Custom focus style (brand-safe) */
.form-cf7 input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):focus,
.form-cf7 select:focus,
.form-cf7 textarea:focus {
    background: #fff;
    border-color: #c95eb7;
    --tw-ring-color: #c95eb7;
}

.form-cf7 input:not([type="radio"]):not([type="checkbox"]):not([type="submit"])::placeholder,
.form-cf7 select::placeholder,
.form-cf7 textarea::placeholder{
    color: rgba(40, 40, 40, 0.8);
}
.form-cf7 .wpcf7-not-valid-tip{
    color: #ff6b6b;
    font-size: 12px;
    margin-top: 4px;
}
/* Row layout */
.form-row {
    display: grid;
    grid-template-columns: 1fr 70px 70px;
    gap: 12px;
}

/* Radio */
.form-cf7 .wpcf7-form-control.wpcf7-radio{
    display: flex;
    gap: 40px;
    align-items: center;
}
.form-cf7 .wpcf7-form-control.wpcf7-radio .wpcf7-list-item{
    font-family: 'FZ Poppins', system-ui, -apple-system, sans-serif;
    color: var(--color-light);
    font-size: 12px;
    margin: 0;
}
.radio-label {
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    font-size: 12px;
    margin-bottom: 10px;
    display: block;
    color: #fff;
}

.wpcf7-radio {
    display: flex;
    gap: 20px;
}
.form-cf7 .wpcf7-form-control.wpcf7-radio .wpcf7-list-item label{
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}
.wpcf7-radio input[type="radio"]:checked:focus,
.wpcf7-radio input[type="radio"]:checked{
    background-color: var(--color-brand-wine);
}

/* Button */
.form-cf7 input[type="submit"] {
    width: 100%;
    background: var(--color-brand-wine);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
            0 10px 15px -3px rgb(0 0 0 / 0.1),
            0 4px 6px -4px rgb(0 0 0 / 0.1);
    border-radius: 12px;
    margin: 0;
    padding:clamp(12px, 1.5vw, 16px) clamp(24px, 3vw, 32px);
    transition: all 0.3s ease-in-out;
    font-weight: 600;
    font-size: clamp(0.875rem, 1.5vw, 1.125rem);
    cursor: pointer;
    outline: none;
    color: #fff;
    font-family: 'Poppins', system-ui, -apple-system, sans-serif
}
.form-cf7 input[type="submit"]:hover {
    box-shadow:
            0 20px 25px -5px rgb(201 94 183 / 0.3),
            0 10px 10px -5px rgb(201 94 183 / 0.2);
    transform: translateY(-2px);
}

/* Remove CF7 default */
.form-cf7  .wpcf7-spinner {
    display: none;
}
.contact-form-wrapper .form-cf7 input[type="submit"]{
    width: fit-content;
    padding:clamp(10px, 1.5vw, 14px) clamp(18px, 3vw, 26px);
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    font-weight: 500;
}
.contact-form-wrapper .form-cf7 input::placeholder,
.contact-form-wrapper .form-cf7 select::placeholder,
.contact-form-wrapper .form-cf7 textarea::placeholder{
    font-weight: 500;
}

.page-template-page-revenue-forecast .form-cf7 input::placeholder,
.page-template-page-revenue-forecast .form-cf7 select::placeholder,
.page-template-page-revenue-forecast .form-cf7 textarea::placeholder{
    font-weight: 400;
}

/* FAQ Accordion */
.faq-item {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #eee;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 18px 22px;
    font-weight: 600;
    font-size: 15px;
    color: var(--color-brand-purple);
    background: #f4e9f7;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question::after {
    content: "expand_more";
    font-family: "Material Symbols Outlined";
    font-size: 20px;
    transition: transform .3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 18px 22px;
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    display: block;
}
.comparison-icon{
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.comparison-icon::before,
.comparison-icon::after {
    border-radius: 50%;
    position: absolute;
    inset: 0;
    content: "";
}
.comparison-icon::before {
    padding: 1px;
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}
.comparison-icon::after {
    pointer-events: none;
    opacity: 0.4;
    mix-blend-mode: lighten;
}
.comparison-negative-icon {
    background: linear-gradient(180deg, #E50004 0%, #FF5375 100%);
}

/* border gradient */
.comparison-negative-icon::before {
    background: linear-gradient(180deg, #B4054B, #E43B7F);
}
.comparison-icon__inner{
    font-size: 22px;
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.comparison-positive-icon {
    background: linear-gradient(
            180deg,
            #1C7BFF 0%,
            #62A3FE 100%
    );
}

/* border gradient */
.comparison-positive-icon::before {
    background: linear-gradient(
            180deg,
            #408DFD,
            #9EC5FF
    );
}
