/* ============================================
   FOYR REVAMP — BASE RESET & CSS VARIABLES
   Scoped to .revamp-page
   ============================================ */

/* Google Fonts — Clash Display + Satoshi */
/* ===========================
   Fonts
   =========================== */
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

@font-face {
    font-family: "Gilroy";
    src:
        url("/wp-content/themes/foyr/v3/modules/homepage/fonts/Gilroy-Medium.woff2") format("woff2"),
        url("/wp-content/themes/foyr/v3/modules/homepage/fonts/Gilroy-Medium.woff") format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Gilroy";
    src:
        url("/wp-content/themes/foyr/v3/modules/homepage/fonts/Gilroy-Bold.woff2") format("woff2"),
        url("/wp-content/themes/foyr/v3/modules/homepage/fonts/Gilroy-Bold.woff") format("woff");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}



/* .revamp-page *,
.revamp-page *::before,
.revamp-page *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
} */

/* ============================================
   CSS VARIABLES — FOYR BRAND TOKENS
   ============================================ */
:root {

    /* Fonts */
    --font-heading: "Gilroy", sans-serif;
    --font-body: "Inter", sans-serif;
    /* Line Heights */
    --lh-body: 24px;
    --lh-h2: 56px;

    /* Font Sizes (with clamp) */
    --fs-h1: clamp(2.5rem, 4vw, 4rem);
    --fs-h2: clamp(2rem, 4vw, 3rem);
    --fs-h3: clamp(1.75rem, 2.8vw, 2rem);
    --fs-h4: clamp(1.25rem, 2vw, 1.5rem);
    --fs-h5: clamp(1rem, 1.5vw, 1.25rem);
    --fs-body: clamp(0.875rem, 1.2vw, 1rem);

    /* Colors */
    --color-body: #121212cc;
    --color-heading: #121212;
    --color-white: #ffffff;
    --color-black: #000000;

    /* Colors */
    --clr-bg: #F2F0FF;
    --clr-dark: #0E081B;
    --clr-white: #FFFFFF;
    --clr-purple: #7F44F4;
    --clr-purple-dark: #4F2A97;
    --clr-purple-light: #F0EAFF;
    --clr-orange: #FF6B35;
    --clr-text: #2D2D2D;
    --clr-text-dark: #121212;
    --clr-text-muted: #6B7280;
    --clr-border: #E5E7EB;
    --clr-card-dark: #190E31;

    /* Font Sizes */
    --fs-xs: 0.75rem;
    /* 12px */
    --fs-sm: 0.875rem;
    /* 14px */
    --fs-base: 1rem;
    /* 16px */
    --fs-md: 1.125rem;
    /* 18px */
    --fs-lg: 1.25rem;
    /* 20px */
    --fs-xl: 1.5rem;
    /* 24px */
    --fs-2xl: 2rem;
    /* 32px */
    --fs-3xl: 2.5rem;
    /* 40px */
    --fs-4xl: 3rem;
    /* 48px */
    --fs-5xl: 3.5rem;
    /* 56px */

    /* Spacing */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 40px;
    --space-xl: 64px;
    --space-2xl: 80px;
    --space-3xl: 120px;

    /* Layout */
    --container-width: 1440px;
    --container-padding: 0 100px;
    --section-padding: var(--space-2xl) 0;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);

    /* Transitions */
    --transition: 0.2s ease;
    --transition-slow: 0.4s ease;
}

/* ============================================
   BASE STYLES — SCOPED TO .revamp-page
   ============================================ */


.page-template-page-pricing-revamp {
    background-color: var(--clr-bg);
}

.revamp-page img {
    max-width: 100%;
    height: auto;
    display: block;
}

.revamp-page a {
    text-decoration: none;
    color: inherit;
}

.revamp-page ul,
.revamp-page ol {
    list-style: none;
}

.revamp-page button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: var(--font-body);
}

.revamp-page input,
.revamp-page textarea,
.revamp-page select {
    font-family: var(--font-body);
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.revamp-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--container-padding);
    width: 100%;
}

.revamp-section {
    padding: var(--section-padding);
}

/* ============================================
   TYPOGRAPHY UTILITIES
   ============================================ */

body {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    color: var(--color-body);
    line-height: var(--lh-body);
    overflow-x: hidden;
}

.revamp-page h1,
.revamp-page h2,
.revamp-page h4,
.revamp-page h5,
.revamp-page h6 {
    letter-spacing: -1px;
}

.revamp-page h1,
.revamp-page h2,
.revamp-page h3,
.revamp-page h4,
.revamp-page h5,
.revamp-page h6 {
    font-family: var(--font-heading) !important;
    line-height: 1.3;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-heading);
}

.revamp-page h1 {
    font-size: var(--fs-h1);
    line-height: 1.15;
    font-weight: 600 !important;
}

h2 {
    font-size: var(--fs-h2);
    line-height: var(--lh-h2);
    font-weight: 500;
}

h4 {
    font-size: var(--fs-h4);

}

p {
    color: var(--color-body);
    line-height: var(--lh-body);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}


/* ===========================
   Reusable Components
   =========================== */

/* Buttons */
.gradient-border {
    padding: 4px;
    border-radius: 6px;
    display: inline-block;
    position: relative;
    overflow: hidden;
    transition:
        transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.5s ease;
    z-index: 1;
}

.gradient-border:hover {
    transform: translateY(-3px) scale(1.01);
}

.gradient-border:active {
    transform: translateY(-1px) scale(0.98);
}

/* Sophisticated Light Sweep Shimmer */
.gradient-border::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: rotate(30deg);
    transition: none;
    pointer-events: none;
    z-index: 2;
}

.gradient-border:hover::after {
    left: 140%;
    transition: left 1.2s ease-in-out;
}

.gradient-border .btn {
    display: inline-block;
    width: 100%;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    line-height: normal;
    border: none;
    transition: filter 0.5s ease;
    position: relative;
    z-index: 1;
}

@media(max-width: 991.98px) {
    .gradient-border .btn {
        padding: 8px 16px;
    }
}

.gradient-border:hover .btn {
    filter: brightness(1.1);
}

.gradient-border-primary {
    background: linear-gradient(360deg, #7f44f4, #9969f6);
}

.gradient-border-default {
    background: linear-gradient(360deg, #f4f4f4 0%, #ffffff 100%);
}

.gradient-border-orange {
    background: linear-gradient(360deg, #d45704 0%, #ff6905 100%);
}

.btn-primary,
.btn-primary:hover {
    background: linear-gradient(180deg, #7f44f4 0%, #9969f6 100%);
    color: var(--color-white) !important;
}

.btn-default,
.btn-default:hover {
    background: linear-gradient(180deg, #f4f4f4 0%, #ffffff 100%);
    color: var(--btn-secondary-color);
}

.btn-orange,
.btn-orange:hover {
    background: linear-gradient(180deg, #d45704 0%, #ff6905 100%);
    color: var(--color-white) !important;
}

.heading-group-1 {
    max-width: 850px;
    margin: 0 auto;
}

.heading-group-1>h2 {
    margin-bottom: 8px;
}

.text-highlight {
    background-color: #e5dafd;
    padding: 2px 12px;
    display: inline-block;
    border-right: 4px solid #7f44f4;
}

.text-highlight-orange {
    background-color: #552302;
    padding: 2px 12px;
    display: inline-block;
    border-right: 4px solid #ff6905;
}

/* ============================================
   BUTTON UTILITIES
   ============================================ */
/* .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--clr-purple);
    color: var(--clr-white) !important;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: var(--fs-base);
    font-weight: 500;
    transition: background var(--transition), transform var(--transition);
} */

/* .btn-primary:hover {
    background: #5a3ee0;
    transform: translateY(-1px);
} */

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    background: transparent;
    color: var(--clr-dark);
    border: 1.5px solid var(--clr-purple);
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: var(--fs-base);
    font-weight: 500;
    transition: border-color var(--transition), transform var(--transition);
}

.btn-secondary:hover {
    border-color: var(--clr-purple);
    color: var(--clr-purple);
    transform: translateY(-1px);
}

.btn-outline {
    padding: 15px 20px !important;
    border: 1px solid #949494 !important;
    border-radius: 8px;
    font-style: normal;
    font-weight: 400;
    font-size: var(--fs-base);
    font-family: var(--font-body) !important;
    line-height: 18px;
    color: #373737 !important;
    display: inline;
    width: max-content;
    margin: 5px auto;
    transition: background var(--transition), transform var(--transition);
}

.btn-outline:hover {
    background-color: var(--clr-purple);
    border-color: var(--clr-purple);
    color: var(--clr-white) !important;
}

.btn-orange {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--clr-orange) !important;
    color: var(--clr-white);
    border-radius: var(--radius-full);
    font-family: var(--font-body) !important;
    font-size: var(--fs-base);
    font-weight: 600;
    transition: background var(--transition), transform var(--transition);
}

.btn-orange:hover {
    background: #e55a28;
    transform: translateY(-1px);
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */
/* Tablet */
@media (max-width: 1200px) {
    :root {
        --container-padding: 0 40px;
    }

}

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --fs-4xl: 2.5rem;
        --fs-5xl: 3rem;
        --space-2xl: 64px;
        --space-3xl: 80px;

    }

}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --fs-3xl: 2rem;
        --fs-4xl: 2.25rem;
        --fs-5xl: 2.5rem;
        --space-xl: 48px;
        --space-2xl: 56px;
        --container-padding: 0 20px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    :root {
        --fs-2xl: 1.75rem;
        --fs-3xl: 1.875rem;
        --container-padding: 0 16px;
    }
}