﻿/* ==========================================================
   VAFANA STORE - WORLD CLASS DESIGN V3
   Brand system / responsive / SaaS
========================================================== */

:root {
    --vf-ink: #101d38;
    --vf-ink-soft: #203455;
    --vf-blue: #2563eb;
    --vf-blue-dark: #1746b5;
    --vf-blue-light: #eff5ff;
    --vf-green: #16a34a;
    --vf-green-dark: #15803d;
    --vf-text: #1c2b43;
    --vf-muted: #65748b;
    --vf-line: #e6ebf2;
    --vf-surface: #f7f9fc;
    --vf-white: #fff;
    --vf-radius: 20px;
    --vf-shadow: 0 12px 38px rgba(16,29,56,.07);
    --vf-shadow-hover: 0 24px 55px rgba(16,29,56,.13);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--vf-white);
    color: var(--vf-text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

* {
    box-sizing: border-box;
}

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

h1, h2, h3, h4, h5, h6 {
    color: var(--vf-ink);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.17;
}

p {
    color: var(--vf-muted);
}

a {
    transition: color .2s ease, background .2s ease, border-color .2s ease;
}

/* GLOBAL LAYOUT */

.site,
.site-content,
.site-main {
    width: 100%;
}

.site-main {
    min-width: 0;
}

.container,
.site-content .container {
    width: min(1200px, calc(100% - 40px));
    margin-inline: auto;
}

/* HEADER */

.site-header,
#masthead,
header.site-header {
    position: relative;
    z-index: 100;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid var(--vf-line);
    box-shadow: 0 3px 18px rgba(16,29,56,.035);
}

.site-header a,
#masthead a {
    color: var(--vf-ink);
    font-weight: 650;
    text-decoration: none;
}

.site-header a:hover,
#masthead a:hover {
    color: var(--vf-blue);
}

.site-header .custom-logo,
#masthead .custom-logo {
    width: auto;
    max-height: 52px;
}

.site-header .menu,
#masthead .menu {
    gap: 24px;
}

/* BUTTON SYSTEM */

button,
input[type="submit"],
.wp-element-button,
.wp-block-button__link,
.button,
.btn,
a.button,
a.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 12px 23px;
    border: 1px solid var(--vf-blue);
    border-radius: 11px;
    background: var(--vf-blue);
    color: #fff;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
    transition: all .22s ease;
}

button:hover,
input[type="submit"]:hover,
.wp-element-button:hover,
.wp-block-button__link:hover,
.button:hover,
.btn:hover,
a.button:hover,
a.btn:hover {
    background: var(--vf-blue-dark);
    border-color: var(--vf-blue-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37,99,235,.2);
}

/* HOMEPAGE */

.vgx-home {
    overflow: hidden;
    background: #fff;
}

.vgx-home .vgx-container {
    width: min(1160px, calc(100% - 40px));
    margin-inline: auto;
}

.vgx-home .vgx-hero {
    position: relative;
    background:
        radial-gradient(ellipse at 85% 12%, rgba(37,99,235,.15), transparent 34%),
        radial-gradient(ellipse at 5% 90%, rgba(22,163,74,.055), transparent 32%),
        linear-gradient(180deg,#fff 0%,#f5f8ff 100%);
}

.vgx-home h1 {
    max-width: 900px;
    font-size: clamp(42px, 6.5vw, 78px);
    font-weight: 850;
    letter-spacing: -.06em;
    line-height: 1.04;
}

.vgx-home h2 {
    font-size: clamp(30px, 4.2vw, 48px);
    letter-spacing: -.045em;
}

.vgx-home h3 {
    font-size: 22px;
}

.vgx-home p {
    font-size: 16px;
    line-height: 1.85;
}

.vgx-home .vgx-card,
.vgx-home .vgx-product-card,
.vgx-home .vgx-feature-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--vf-line);
    border-radius: var(--vf-radius);
    box-shadow: var(--vf-shadow);
    transition: transform .25s ease, box-shadow .25s ease;
}

.vgx-home .vgx-card:hover,
.vgx-home .vgx-product-card:hover,
.vgx-home .vgx-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--vf-shadow-hover);
}

.vgx-home .vgx-button,
.vgx-home .vgx-btn,
.vgx-home .vgx-primary-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 50px;
    padding: 13px 25px;
    border: 1px solid var(--vf-blue);
    border-radius: 11px;
    background: var(--vf-blue);
    color: #fff;
    font-weight: 750;
    text-decoration: none;
}

/* SECTION SPACING */

.vgx-home section {
    position: relative;
}

.vgx-home .vgx-section-label {
    display: inline-flex;
    align-items: center;
    color: var(--vf-blue);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

/* PRODUCT CARDS */

.vgx-home .vgx-product-card img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.vgx-home .vgx-product-card h3 {
    color: var(--vf-ink);
}

.vgx-home .vgx-product-card a {
    color: var(--vf-blue);
    font-weight: 750;
    text-decoration: none;
}

/* GREEN POPULAR BADGES */

.vgx-home .vgx-badge,
.vgx-home .vgx-popular,
.vgx-home .popular-badge,
.vgx-home .pricing-badge,
.vgx-home .vgx-label,
.vgx-home .vgx-tag,
.popular-badge,
.pricing-badge,
.plan-badge,
.popular-label,
.badge-popular {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 15px;
    border: 1px solid var(--vf-green-dark);
    border-radius: 999px;
    background: var(--vf-green);
    color: #fff;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .08em;
}

/* PRODUCTS ARCHIVE */

.post-type-archive-saas_product {
    background: var(--vf-surface);
}

.post-type-archive-saas_product main,
.post-type-archive-saas_product .site-main {
    background: var(--vf-surface);
}

.post-type-archive-saas_product article,
.post-type-archive-saas_product .product-card,
.post-type-archive-saas_product .saas-product-card {
    overflow: hidden;
    border: 1px solid var(--vf-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--vf-shadow);
    transition: all .25s ease;
}

.post-type-archive-saas_product article:hover,
.post-type-archive-saas_product .product-card:hover,
.post-type-archive-saas_product .saas-product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--vf-shadow-hover);
}

/* SINGLE PRODUCT */

.single-saas_product {
    background: #fff;
}

.single-saas_product h1 {
    font-size: clamp(38px, 5vw, 64px);
    letter-spacing: -.05em;
}

.single-saas_product h2 {
    font-size: clamp(29px, 4vw, 44px);
}

.single-saas_product .entry-content {
    color: #46566f;
    line-height: 1.9;
}

.single-saas_product .entry-content img {
    border-radius: 18px;
}

/* PRICING CARDS */

.single-saas_product [id*="pricing"],
.single-saas_product [class*="pricing"] {
    scroll-margin-top: 110px;
}

.single-saas_product [class*="pricing-card"],
.single-saas_product [class*="plan-card"],
.single-saas_product [class*="price-card"] {
    position: relative;
    border: 1px solid var(--vf-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--vf-shadow);
    transition: all .25s ease;
}

.single-saas_product [class*="pricing-card"]:hover,
.single-saas_product [class*="plan-card"]:hover,
.single-saas_product [class*="price-card"]:hover {
    transform: translateY(-6px);
    box-shadow: var(--vf-shadow-hover);
}

.single-saas_product [class*="popular-badge"],
.single-saas_product [class*="popular-label"] {
    background: var(--vf-green);
    border-color: var(--vf-green-dark);
    color: #fff;
}

/* CONTENT */

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: var(--vf-ink);
}

.entry-content p {
    line-height: 1.85;
}

.entry-content li {
    margin-bottom: 9px;
}

/* FOOTER */

.site-footer,
#colophon,
footer {
    background: var(--vf-ink);
    color: #dbe5f5;
}

.site-footer h2,
.site-footer h3,
.site-footer h4,
#colophon h2,
#colophon h3,
#colophon h4,
footer h2,
footer h3,
footer h4 {
    color: #fff;
}

.site-footer a,
#colophon a,
footer a {
    color: #dbe5f5;
    text-decoration: none;
}

.site-footer a:hover,
#colophon a:hover,
footer a:hover {
    color: #93c5fd;
}

/* FORMS */

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
select,
textarea {
    width: 100%;
    max-width: 100%;
    padding: 13px 15px;
    border: 1px solid #dce4ef;
    border-radius: 10px;
    background: #fff;
    color: var(--vf-text);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--vf-blue);
    box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}

/* ACCESSIBILITY */

:focus-visible {
    outline: 3px solid rgba(37,99,235,.5);
    outline-offset: 3px;
}

::selection {
    background: var(--vf-blue);
    color: #fff;
}

/* TABLET */

@media(max-width: 900px) {
    .vgx-home h1 {
        font-size: clamp(40px, 8vw, 62px);
    }

    .site-header .custom-logo,
    #masthead .custom-logo {
        max-height: 46px;
    }
}

/* MOBILE */

@media(max-width: 600px) {
    body {
        font-size: 15px;
    }

    .vgx-home .vgx-container {
        width: calc(100% - 32px);
    }

    .vgx-home h1 {
        font-size: 42px;
    }

    .vgx-home h2 {
        font-size: 30px;
    }

    .vgx-home .vgx-button,
    .vgx-home .vgx-btn,
    .vgx-home .vgx-primary-button {
        width: 100%;
    }

    .site-footer,
    #colophon,
    footer {
        text-align: center;
    }
}

/* REDUCED MOTION */

@media(prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

/* END VAFANA WORLD CLASS DESIGN V3 */

/* VAFANA - Restore green feature checkmarks */
.vgx-pricing li,
.pricing-card li,
.plan-card li,
.single-saas_product li,
#pricing li {
    list-style: none !important;
    position: relative;
    padding-left: 30px !important;
}

.vgx-pricing li::before,
.pricing-card li::before,
.plan-card li::before,
.single-saas_product li::before,
#pricing li::before {
    content: "✓" !important;
    position: absolute;
    left: 0;
    top: 0;
    color: #16a34a !important;
    font-weight: 800 !important;
    font-size: 16px !important;
    line-height: 1.5;
}
