﻿/* ==================================================
   VAFANA STORE - PREMIUM GLOBAL DESIGN V2
================================================== */

:root {
    --vf-navy: #101d3a;
    --vf-navy-2: #172b50;
    --vf-blue: #2563eb;
    --vf-blue-dark: #1d4ed8;
    --vf-green: #16a34a;
    --vf-green-dark: #15803d;
    --vf-text: #17243b;
    --vf-muted: #64748b;
    --vf-border: #e7ecf3;
    --vf-bg: #f6f8fc;
    --vf-white: #ffffff;
    --vf-radius: 18px;
    --vf-shadow: 0 12px 36px rgba(16,29,58,.07);
    --vf-shadow-hover: 0 22px 50px rgba(16,29,58,.13);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

a {
    transition: all .2s ease;
}

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

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

/* GLOBAL CONTAINERS */

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

.container,
.site-content .container,
.site-main .container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* HEADER */

.site-header,
#masthead,
header.site-header {
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid var(--vf-border);
    box-shadow: 0 3px 16px rgba(16,29,58,.025);
}

.site-header a,
#masthead a {
    font-weight: 650;
    text-decoration: none;
}

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

.custom-logo {
    max-height: 54px;
    width: auto;
}

/* BUTTONS */

button,
input[type="submit"],
.wp-element-button,
.wp-block-button__link,
.button,
.btn,
a.button,
a.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 22px;
    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 24px rgba(37,99,235,.2);
}

/* HOMEPAGE VGX */

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

.vgx-home h1 {
    font-size: clamp(42px, 6vw, 76px);
    letter-spacing: -.055em;
    line-height: 1.04;
}

.vgx-home h2 {
    font-size: clamp(30px, 4vw, 48px);
}

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

.vgx-home .vgx-hero {
    background:
        radial-gradient(circle at 85% 15%, rgba(37,99,235,.13), transparent 32%),
        linear-gradient(180deg,#fff 0%,#f5f8ff 100%);
}

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

.vgx-home .vgx-card,
.vgx-home .vgx-product-card,
.vgx-home .vgx-feature-card {
    background: #fff;
    border: 1px solid var(--vf-border);
    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(-5px);
    box-shadow: var(--vf-shadow-hover);
}

.vgx-home .vgx-button,
.vgx-home .vgx-btn,
.vgx-home .vgx-primary-button {
    min-height: 50px;
    padding: 13px 24px;
    background: var(--vf-blue);
    border: 1px solid var(--vf-blue);
    border-radius: 11px;
    color: #fff;
    font-weight: 750;
    text-decoration: none;
}

/* GREEN 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 14px;
    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;
}

/* PRODUCT ARCHIVE */

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

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

.post-type-archive-saas_product article,
.post-type-archive-saas_product .product-card,
.post-type-archive-saas_product .saas-product-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--vf-border);
    border-radius: 19px;
    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(-5px);
    box-shadow: var(--vf-shadow-hover);
}

/* SINGLE PRODUCT */

.single-saas_product {
    background: #fff;
}

.single-saas_product h1 {
    font-size: clamp(36px,5vw,60px);
}

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

.single-saas_product .entry-content {
    color: #475569;
    line-height: 1.85;
}

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

/* PRICING */

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

.single-saas_product [class*="pricing-card"],
.single-saas_product [class*="plan-card"],
.single-saas_product [class*="price-card"] {
    position: relative;
    background: #fff;
    border: 1px solid var(--vf-border);
    border-radius: 20px;
    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(-5px);
    box-shadow: var(--vf-shadow-hover);
}

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

/* CONTENT */

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

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

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

/* FORMS */

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
select,
textarea {
    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);
}

/* FOOTER */

.site-footer,
#colophon,
footer {
    background: var(--vf-navy);
    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;
}

/* 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(38px,8vw,60px);
    }

    .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 PREMIUM DESIGN V2 */
