/* gVectors Store - Shared Styles */
:root {
    --primary: #649e2d;
    --primary-dark: #4d9113;
    --primary-light: #e8f5e9;
    --accent: #e9721b;
    --text: #1a1a2e;
    --text-light: #555;
    --text-muted: #888;
    --bg: #fff;
    --bg-light: #f7f9fc;
    --bg-subtle: #fafbfd;
    --border: #e5e7eb;
    --border-light: #f0f1f3;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.1);
    --radius: 12px;
    --radius-sm: 8px;
    --max-width: 1140px;
    --transition: 0.2s ease;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", sans-serif;
    color: var(--text);
    line-height: 1.65;
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* ========== Header ========== */
.site-header {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.3px;
}

.logo:hover {
    text-decoration: none;
    color: var(--primary);
}

.logo-text {
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(135deg, #4d9113 0%, #649e2d 50%, #7ab83a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.logo-g {
    font-weight: 900;
    font-size: 24px;
}

.logo-store {
    font-size: 22px;
    font-weight: 600;
    background: linear-gradient(135deg, #555 0%, #888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.3px;
}

.logo:hover .logo-text {
    background: linear-gradient(135deg, #3a7a0e 0%, #4d9113 50%, #649e2d 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.logo:hover .logo-store {
    background: linear-gradient(135deg, #444 0%, #666 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.footer-logo-text {
    font-size: 18px;
    font-weight: 800;
    background: linear-gradient(135deg, #7ab83a 0%, #a0d468 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.footer-logo-g {
    font-weight: 900;
    font-size: 20px;
}

.footer-logo-store {
    font-size: 18px;
    font-weight: 600;
    color: #aaa;
}

nav {
    display: flex;
    gap: 8px;
}

nav a {
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all var(--transition);
}

nav a:hover {
    color: var(--primary);
    background: var(--primary-light);
    text-decoration: none;
}

/* ========== Hero ========== */
.hero {
    background: linear-gradient(160deg, #f0f7e8 0%, #e8f5e9 40%, #f7f9fc 100%);
    padding: 80px 24px 72px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(100,158,45,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(100,158,45,0.1);
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 24px;
    letter-spacing: 0.2px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--text);
    letter-spacing: -1px;
}

.hero p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition);
    border: none;
    cursor: pointer;
}

.btn svg {
    flex-shrink: 0;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(100,158,45,0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(100,158,45,0.4);
    transform: translateY(-1px);
}

.btn-outline {
    border: 1.5px solid var(--border);
    color: var(--text);
    background: #fff;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
}

.btn-sm {
    padding: 9px 18px;
    font-size: 14px;
}

/* ========== Stats Bar ========== */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
    margin: -36px auto 56px;
    max-width: 800px;
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.stat {
    background: #fff;
    padding: 24px 16px;
    text-align: center;
}

.stat-number {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========== Features ========== */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 0 0 64px;
}

.feature-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.feature-icon-wrap {
    width: 52px;
    height: 52px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.feature-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.feature-link:hover {
    gap: 8px;
    text-decoration: none;
}

.feature-link svg {
    transition: transform var(--transition);
}

.feature-link:hover svg {
    transform: translateX(2px);
}

/* ========== About Section ========== */
.about-section {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: start;
    padding: 48px 0;
    border-top: 1px solid var(--border-light);
}

.about-content h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.7;
}

.about-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.about-trust {
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

.trust-item svg {
    flex-shrink: 0;
}

/* ========== Main Content ========== */
.page-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 40px 24px;
}

.page-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text);
    letter-spacing: -0.5px;
}

.page-subtitle {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.6;
}

/* ========== Legal Pages ========== */
.legal-content h2 {
    font-size: 22px;
    font-weight: 700;
    margin-top: 36px;
    margin-bottom: 12px;
    color: var(--text);
}

.legal-content h3 {
    font-size: 17px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 8px;
}

.legal-content p {
    margin-bottom: 12px;
    color: var(--text-light);
    line-height: 1.7;
}

.legal-content ul, .legal-content ol {
    margin: 8px 0 16px 24px;
}

.legal-content li {
    margin-bottom: 6px;
    color: var(--text-light);
    line-height: 1.6;
}

.legal-content .last-updated {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* ========== Products Grid ========== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.product-card {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 24px;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    background: #fff;
}

.product-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.product-card .product-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 12px;
    width: fit-content;
}

.badge-wpforo {
    background: #e8f5e9;
    color: #2e7d32;
}

.badge-wpdiscuz {
    background: #e3f2fd;
    color: #1565c0;
}

.badge-bundle {
    background: #fff3e0;
    color: #e65100;
}

.badge-service {
    background: #f3e5f5;
    color: #7b1fa2;
}

.badge-other {
    background: #f5f5f5;
    color: #616161;
}

.product-card h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.35;
}

.product-card h3 a {
    color: var(--text);
}

.product-card h3 a:hover {
    color: var(--primary);
    text-decoration: none;
}

.product-card .price {
    margin-top: auto;
    padding-top: 14px;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-dark);
}

/* ========== Footer ========== */
.site-footer {
    background: var(--text);
    color: #aaa;
    padding: 56px 24px 0;
    margin-top: 64px;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #888;
}

.footer-col h4 {
    color: #ddd;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: #999;
    font-size: 14px;
    padding: 3px 0;
    transition: color var(--transition);
}

.footer-col a:hover {
    color: #fff;
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: #666;
    max-width: var(--max-width);
    margin: 0 auto;
}

/* ========== Responsive ========== */
@media (max-width: 900px) {
    .about-section {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 12px;
    }

    nav {
        gap: 4px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 56px 24px 48px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        margin-top: -24px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 26px;
    }

    .hero h1 br {
        display: none;
    }

    .stat-number {
        font-size: 22px;
    }
}
