/* ============================================================
   PKK CRM — style.css
   Brand: #1e3872 (primary/blue) | #509851 (secondary/green) | #eaebec (neutral)
   Offline: Inter font (webfonts/) | Font Awesome (local) | AOS (local)
   ============================================================ */

/* ─── SELF-HOSTED INTER FONT ─── */
@font-face {
    font-family: 'Inter';
    src: url('../webfonts/Inter-Regular.woff2') format('woff2');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('../webfonts/Inter-Medium.woff2') format('woff2');
    font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('../webfonts/Inter-SemiBold.woff2') format('woff2');
    font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('../webfonts/Inter-Bold.woff2') format('woff2');
    font-weight: 700; font-style: normal; font-display: swap;
}


/* ─── CSS VARIABLES ─── */
:root {
    /* ── PKK Soft Brand Colors ── */
    --primary:          #1e3872;
    --primary-dark:     #162a58;
    --primary-light:    #2a4d9e;

    --secondary:        #509851;
    --secondary-dark:   #3d7a3e;
    --secondary-light:  #65b566;

    --neutral:          #eaebec;
    --neutral-dark:     #d0d2d4;
    --neutral-light:    #f5f5f6;

    /* ── Gradients ── */
    --gradient:         linear-gradient(135deg, #1e3872 0%, #509851 100%);
    --gradient-text:    linear-gradient(135deg, #1e3872 0%, #509851 100%);
    --gradient-soft:    linear-gradient(135deg, rgba(30,56,114,0.08) 0%, rgba(80,152,81,0.08) 100%);

    /* ── Backgrounds ── */
    --white:            #ffffff;
    --bg:               #ffffff;
    --bg-soft:          #f8f9fc;
    --bg-card:          #ffffff;
    --border:           #e8eaf0;
    --border-hover:     rgba(30,56,114,0.35);

    /* ── Text ── */
    --text-primary:     #1a1d2e;
    --text-secondary:   #5a607a;
    --text-muted:       #9398b0;

    /* ── Shadows ── */
    --shadow-sm:        0 2px 8px rgba(30,56,114,0.08);
    --shadow-md:        0 4px 20px rgba(30,56,114,0.12);
    --shadow-lg:        0 8px 40px rgba(30,56,114,0.15);
    --shadow-primary:   0 8px 32px rgba(30,56,114,0.28);
    --shadow-secondary: 0 8px 32px rgba(80,152,81,0.28);

    /* ── Radius ── */
    --radius-sm:  8px;
    --radius-md:  12px;
    --radius-lg:  18px;
    --radius-xl:  24px;
}


/* ─── RESET ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
    font-family: 'Inter', system-ui, -apple-system,
                 'Segoe UI', 'Noto Sans', Roboto,
                 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
img { max-width: 100%; display: block; }


/* ─── UTILITY ─── */
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }


/* ─── BUTTONS ─── */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 26px; border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 14px; font-weight: 600;
    cursor: pointer; border: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    white-space: nowrap; text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: var(--shadow-primary);
}
.btn-primary:hover { box-shadow: 0 12px 36px rgba(30,56,114,0.4); }

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--border);
}
.btn-outline:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    background: rgba(80,152,81,0.05);
}

.btn-lg { padding: 14px 34px; font-size: 15px; border-radius: var(--radius-lg); }


/* ══════════════════════════════════════════
   SPLASH SCREEN
══════════════════════════════════════════ */
#splash {
    position: fixed; inset: 0; z-index: 9999;
    background: #fff;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 32px;
    transition: opacity 0.65s ease, visibility 0.65s ease;
}
#splash.hide { opacity: 0; visibility: hidden; }

.splash-wrap {
    display: flex; flex-direction: column;
    align-items: center; gap: 14px;
    animation: splashIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.splash-logo-img {
    width: 80px; height: 80px; object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}
.splash-brand {
    font-size: 26px; font-weight: 700; letter-spacing: 0.02em;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.splash-sub {
    font-size: 12px; font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.12em; text-transform: uppercase;
}

/* Dotted loader */
.dot-loader { display: flex; gap: 8px; align-items: center; }
.dot-loader span {
    width: 8px; height: 8px; border-radius: 50%;
    animation: dotBounce 1.3s ease infinite;
}
.dot-loader span:nth-child(1) { background: var(--primary);       animation-delay: 0s; }
.dot-loader span:nth-child(2) { background: var(--secondary);     animation-delay: 0.17s; }
.dot-loader span:nth-child(3) { background: var(--primary-light); animation-delay: 0.34s; }
.dot-loader span:nth-child(4) { background: var(--secondary);     animation-delay: 0.51s; }
.dot-loader span:nth-child(5) { background: var(--primary);       animation-delay: 0.68s; }

@keyframes dotBounce {
    0%, 80%, 100% { transform: scale(0.75); opacity: 0.3; }
    40%            { transform: scale(1.5);  opacity: 1; }
}
@keyframes splashIn {
    from { opacity: 0; transform: translateY(22px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}


/* ══════════════════════════════════════════
   MAIN WRAPPER
══════════════════════════════════════════ */
#main-page { opacity: 0; transition: opacity 0.75s ease; }
#main-page.show { opacity: 1; }


/* ══════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════ */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 500;
    height: 68px; padding: 0 5%;
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: var(--shadow-md); }

.nav-brand      { display: flex; align-items: center; gap: 10px; }
.nav-brand-logo { height: 38px; width: auto; object-fit: contain; }
.nav-brand-name { font-size: 17px; font-weight: 700; letter-spacing: 0.01em; }
.nav-actions    { display: flex; align-items: center; gap: 12px; }

.nav-status {
    display: flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 500; color: var(--text-muted);
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: 100px;
    background: var(--bg-soft);
}
.nav-status-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 6px rgba(34,197,94,0.5);
    animation: statusPulse 2.5s ease infinite;
}
@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}
.btn-nav-login { padding: 9px 22px; font-size: 13px; border-radius: var(--radius-md); }


/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
    min-height: 100vh; padding: 68px 5% 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--white);
    position: relative; overflow: hidden;
}
.hero-blob-1 {
    position: absolute; top: -120px; right: -120px;
    width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, rgba(80,152,81,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.hero-blob-2 {
    position: absolute; bottom: -100px; left: -100px;
    width: 420px; height: 420px; border-radius: 50%;
    background: radial-gradient(circle, rgba(30,56,114,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.hero-inner {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
    max-width: 1200px; margin: 0 auto;
    padding: 60px 0; width: 100%;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 5px 14px; border-radius: 100px;
    background: var(--gradient-soft);
    border: 1px solid rgba(80,152,81,0.25);
    font-size: 12px; font-weight: 600; color: var(--secondary);
    margin-bottom: 24px; letter-spacing: 0.04em;
}
.hero-badge i { font-size: 11px; }

.hero-title {
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 700; line-height: 1.1;
    letter-spacing: -0.025em; color: var(--text-primary);
    margin-bottom: 18px;
}
.hero-sub {
    font-size: 15px; line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 36px; max-width: 420px;
}

.hero-stats {
    display: flex; gap: 28px;
    margin-top: 44px; padding-top: 32px;
    border-top: 1px solid var(--border);
}
.hero-stat-val {
    font-size: 22px; font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-stat-label { font-size: 12px; color: var(--text-muted); margin-top: 2px; font-weight: 500; }

.hero-visual { display: flex; align-items: center; justify-content: center; }
.hero-card {
    width: 100%; background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 28px; box-shadow: var(--shadow-lg);
}
.hero-card-header {
    display: flex; align-items: center;
    justify-content: space-between; margin-bottom: 20px;
}
.hero-card-title { font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.hero-card-badge {
    font-size: 11px; font-weight: 600; color: #22c55e;
    background: rgba(34,197,94,0.1);
    border: 1px solid rgba(34,197,94,0.2);
    padding: 3px 10px; border-radius: 100px;
}

.hero-card-stats {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 12px; margin-bottom: 20px;
}
.hcs-box {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-md); padding: 16px;
}
.hcs-icon {
    width: 34px; height: 34px; border-radius: 9px;
    background: var(--gradient);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 14px; margin-bottom: 10px;
}
.hcs-num   { font-size: 20px; font-weight: 700; color: var(--text-primary); }
.hcs-label { font-size: 11px; color: var(--text-muted); font-weight: 500; margin-top: 2px; }

.hero-card-tickets { display: flex; flex-direction: column; gap: 8px; }
.hct-row {
    display: flex; align-items: center; justify-content: space-between;
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 10px 14px;
}
.hct-left { display: flex; align-items: center; gap: 10px; }
.hct-dot  { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.hct-dot.open     { background: var(--primary); }
.hct-dot.progress { background: #f59e0b; }
.hct-dot.resolved { background: var(--secondary); }
.hct-name  { font-size: 13px; font-weight: 500; color: var(--text-primary); }
.hct-issue { font-size: 11px; color: var(--text-muted); }
.hct-status {
    font-size: 11px; font-weight: 600;
    padding: 3px 9px; border-radius: 100px;
}
.hct-status.open     { color: var(--primary);  background: rgba(30,56,114,0.08); }
.hct-status.progress { color: #f59e0b;          background: rgba(245,158,11,0.08); }
.hct-status.resolved { color: var(--secondary); background: rgba(80,152,81,0.08); }


/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.site-footer { background: var(--primary); padding: 52px 5% 28px; }
.footer-top {
    display: grid; grid-template-columns: 2fr 1fr 1fr;
    gap: 48px; margin-bottom: 40px;
}
.footer-brand-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand-logo { height: 34px; width: auto; object-fit: contain; }
.footer-brand-name { font-size: 16px; font-weight: 700; color: #fff; }
.footer-brand-desc {
    font-size: 13px; color: rgba(255,255,255,0.5);
    line-height: 1.7; margin-bottom: 20px; max-width: 320px;
}

.footer-social { display: flex; gap: 8px; }
.social-btn {
    width: 34px; height: 34px; border-radius: 9px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.5); font-size: 13px;
    transition: all 0.2s;
}
.social-btn:hover {
    background: var(--gradient); border-color: transparent;
    color: #fff; transform: translateY(-2px);
}

.footer-col h4 {
    font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.9);
    margin-bottom: 16px; letter-spacing: 0.08em; text-transform: uppercase;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
    font-size: 13px; color: rgba(255,255,255,0.45);
    display: flex; align-items: center; gap: 7px; transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--secondary); }
.footer-col ul li a i    { font-size: 10px; opacity: 0.6; }

.footer-divider { height: 1px; background: rgba(255,255,255,0.07); margin-bottom: 22px; }

.footer-bottom {
    display: flex; align-items: center;
    justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.footer-bottom p    { font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-dev-credit  { margin-left: auto; font-size: 12px; color: rgba(255,255,255,0.3); white-space: nowrap; }
.footer-dev-link {
    color: var(--secondary) !important; font-weight: 600;
    display: inline-flex; align-items: center; gap: 5px;
    text-decoration: none; transition: color 0.25s ease;
}
.footer-dev-link i        { font-size: 10px; transition: transform 0.25s ease; }
.footer-dev-link:hover    { color: #fff !important; }
.footer-dev-link:hover i  { transform: translate(2px, -2px); }

.footer-col ul li.footer-address {
    font-size: 13px; color: rgba(255,255,255,0.45);
    display: flex; align-items: flex-start;
    gap: 7px; line-height: 1.65; cursor: default;
}
.footer-col ul li.footer-address i { font-size: 12px; opacity: 0.6; margin-top: 3px; flex-shrink: 0; }


/* ══════════════════════════════════════════
   SCROLL TO TOP
══════════════════════════════════════════ */
#scrollTop {
    position: fixed; bottom: 26px; right: 26px; z-index: 400;
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--gradient); border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 14px;
    box-shadow: var(--shadow-primary);
    opacity: 0; visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.2s;
}
#scrollTop.show  { opacity: 1; visibility: visible; }
#scrollTop:hover { transform: translateY(-3px); }


/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 960px) {
    .hero-inner   { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero-sub     { max-width: 100%; margin-left: auto; margin-right: auto; }
    .hero-badge   { margin-left: auto; margin-right: auto; }
    .hero-stats   { justify-content: center; }
    .hero-visual  { max-width: 480px; margin: 0 auto; }
    .footer-top   { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-status    { display: none; }
    .btn-nav-login { padding: 8px 16px; font-size: 12px; }
}
@media (max-width: 540px) {
    .hero-card-stats   { grid-template-columns: 1fr 1fr; }
    .footer-top        { grid-template-columns: 1fr; }
    .footer-bottom     { flex-direction: column; align-items: center; text-align: center; }
    .footer-dev-credit { margin-left: 0; }
}


/* ══════════════════════════════════════════
   SECTIONS — SHARED
══════════════════════════════════════════ */
.section-head  { text-align: center; margin-bottom: 56px; }
.section-tag {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 12px; font-weight: 600; color: var(--secondary);
    letter-spacing: 0.1em; text-transform: uppercase;
    background: rgba(80,152,81,0.08);
    border: 1px solid rgba(80,152,81,0.2);
    padding: 5px 14px; border-radius: 100px;
    margin-bottom: 16px;
}
.section-title {
    font-size: clamp(24px, 3vw, 38px); font-weight: 700;
    color: var(--text-primary); letter-spacing: -0.02em; margin-bottom: 12px;
}
.section-sub {
    font-size: 15px; color: var(--text-secondary);
    line-height: 1.75; max-width: 520px; margin: 0 auto;
}


/* ══════════════════════════════════════════
   FEATURES
══════════════════════════════════════════ */
.section-features { padding: 100px 0; background: var(--bg-soft); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.feature-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.feature-card:hover {
    transform: translateY(-5px); box-shadow: var(--shadow-md);
    border-color: var(--border-hover);
}
.feature-icon {
    width: 50px; height: 50px; border-radius: var(--radius-md);
    background: var(--gradient);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: #fff; margin-bottom: 20px;
    box-shadow: var(--shadow-secondary);
}
.feature-title { font-size: 15px; font-weight: 600; color: var(--text-primary); margin-bottom: 10px; }
.feature-desc  { font-size: 13px; color: var(--text-secondary); line-height: 1.75; }


/* ══════════════════════════════════════════
   PRICING
══════════════════════════════════════════ */
.section-pricing { padding: 100px 0; background: var(--white); }
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 28px; align-items: start;
}

.pricing-card {
    background: var(--white); border: 1.5px solid var(--border);
    border-radius: var(--radius-xl); padding: 40px 32px;
    text-align: center; position: relative;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.pricing-card:hover {
    transform: translateY(-6px); box-shadow: var(--shadow-md);
    border-color: var(--border-hover);
}
.pricing-popular {
    background: var(--primary); border-color: var(--secondary);
    box-shadow: var(--shadow-lg); transform: translateY(-10px);
}
.pricing-popular:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(30,56,114,0.3);
}
.pricing-badge {
    position: absolute; top: -15px; left: 50%;
    transform: translateX(-50%);
    background: var(--gradient); color: #fff;
    font-size: 11px; font-weight: 700;
    padding: 5px 18px; border-radius: 100px;
    letter-spacing: 0.07em; white-space: nowrap;
    box-shadow: var(--shadow-primary);
}

.pricing-icon {
    width: 56px; height: 56px; border-radius: var(--radius-md);
    background: var(--gradient);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: #fff; margin: 0 auto 20px;
    box-shadow: var(--shadow-primary);
}
.pricing-icon-white {
    background: rgba(255,255,255,0.15); box-shadow: none;
    border: 1px solid rgba(255,255,255,0.2);
}

.pricing-plan {
    font-size: 13px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--text-muted); margin-bottom: 12px;
}
.pricing-popular .pricing-plan { color: rgba(255,255,255,0.55); }

.pricing-price {
    font-size: 48px; font-weight: 800;
    letter-spacing: -0.04em; line-height: 1;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.pricing-popular .pricing-price {
    background: none; -webkit-text-fill-color: #fff; color: #fff;
}

.pricing-period {
    font-size: 13px; color: var(--text-muted);
    margin-top: 6px; margin-bottom: 32px;
}
.pricing-popular .pricing-period { color: rgba(255,255,255,0.4); }

.pricing-features {
    list-style: none; text-align: left;
    margin-bottom: 36px;
    display: flex; flex-direction: column; gap: 12px;
}
.pricing-features li {
    font-size: 13px; color: var(--text-secondary);
    display: flex; align-items: center; gap: 10px;
}
.pricing-popular .pricing-features li { color: rgba(255,255,255,0.75); }
.pricing-features li.disabled { opacity: 0.4; }

.pf-icon {
    width: 22px; height: 22px; border-radius: 6px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 10px; font-weight: 700; flex-shrink: 0;
}
.enabled  .pf-icon { background: var(--gradient); color: #fff; box-shadow: 0 2px 8px rgba(30,56,114,0.25); }
.disabled .pf-icon { background: var(--bg-soft); color: var(--text-muted); border: 1px solid var(--border); }
.pricing-popular .disabled .pf-icon { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.1); }

.pricing-btn {
    display: block; width: 100%; padding: 14px;
    border-radius: var(--radius-md);
    font-size: 14px; font-weight: 600;
    text-align: center; text-decoration: none;
    transition: all 0.22s ease; letter-spacing: 0.01em;
}
.pricing-btn-primary {
    background: var(--gradient); color: #fff;
    box-shadow: var(--shadow-primary);
}
.pricing-btn-primary:hover {
    box-shadow: 0 12px 32px rgba(30,56,114,0.5);
    transform: translateY(-2px);
}
.pricing-btn-outline {
    background: transparent; color: var(--primary);
    border: 2px solid var(--primary);
}
.pricing-btn-outline:hover {
    background: var(--gradient); color: #fff;
    border-color: transparent;
    box-shadow: var(--shadow-primary); transform: translateY(-2px);
}
.pricing-popular .pricing-btn-outline {
    color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.25);
}
.pricing-popular .pricing-btn-outline:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.5);
    box-shadow: none; color: #fff;
}

@media (max-width: 768px) {
    .pricing-popular       { transform: translateY(0); }
    .pricing-popular:hover { transform: translateY(-6px); }
    .section-features,
    .section-pricing       { padding: 70px 0; }
}


/* ══════════════════════════════════════════
   PRICING GRID - 4 COLUMNS (ZOHO STYLE)
══════════════════════════════════════════ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);  /* Force 4 columns */
    gap: 20px;
    align-items: stretch;
    margin: 0 auto;
    max-width: 1200px;
}

/* Tablet: 2 columns */
@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* Mobile: 1 column */
@media (max-width: 576px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* Adjust card padding for 4-column layout */
.pricing-card {
    padding: 32px 20px;
}

/* Make features more compact for 4 columns */
.pricing-features li {
    font-size: 12px;
    gap: 8px;
}

.pricing-price {
    font-size: 40px;
}

/* For very large screens */
@media (min-width: 1400px) {
    .pricing-grid {
        max-width: 1300px;
    }
}


/* ══════════════════════════════════════════
   PRICING TOGGLE
══════════════════════════════════════════ */
.billing-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 30px 0 40px;
}

.toggle-label {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.toggle-label.active {
    color: var(--secondary);
    font-weight: 600;
}

.billing-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 32px;
}

.billing-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border);
    border-radius: 34px;
    transition: .4s;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    border-radius: 50%;
    transition: .4s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

input:checked + .toggle-slider {
    background: var(--gradient);
}

input:checked + .toggle-slider:before {
    transform: translateX(28px);
}

.save-badge {
    background: var(--secondary);
    color: white;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 8px;
    vertical-align: middle;
}

.price-save-badge {
    display: inline-block;
    background: var(--secondary);
    color: white;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 12px;
    margin-left: 10px;
    vertical-align: middle;
}

.price-main {
    font-size: 32px;
    font-weight: 700;
}

.price-total {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 5px;
}

.pricing-footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background: var(--bg-soft);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
}

.pricing-footer i {
    color: var(--secondary);
    margin-right: 8px;
}

/* Responsive adjustments for toggle */
@media (max-width: 768px) {
    .billing-toggle-container {
        gap: 15px;
    }
    
    .price-main {
        font-size: 28px;
    }
    
    .price-save-badge {
        display: block;
        margin: 10px 0 0;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .billing-toggle-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .save-badge {
        display: block;
        margin: 5px 0 0;
    }
}

.footer-payment-methods {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #94a3b8;
    font-size: 14px;
    flex-wrap: wrap;
}

.footer-payment-methods img {
    filter: brightness(0) invert(0.7);
    transition: filter 0.3s ease;
    opacity: 0.8;
}

.footer-payment-methods img:hover {
    filter: brightness(0) invert(1);
    opacity: 1;
}

/* ══════════════════════════════════════════
   FAQ
══════════════════════════════════════════ */
.section-faq { padding: 100px 0; background: var(--bg-soft); }

.faq-grid {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq-item:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-sm);
}
.faq-item.open {
    border-color: rgba(30,56,114,0.25);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.2s ease;
}
.faq-question:hover { color: var(--primary); }
.faq-item.open .faq-question { color: var(--primary); }

.faq-icon {
    flex-shrink: 0;
    font-size: 13px;
    color: var(--text-muted);
    transition: transform 0.3s ease, color 0.2s ease;
}
.faq-item.open .faq-icon {
    transform: rotate(180deg);
    color: var(--secondary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.3s ease;
    padding: 0 24px;
}
.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}
.faq-answer p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

/* Mobile */
@media (max-width: 768px) {
    .section-faq { padding: 70px 0; }
    .faq-question { font-size: 14px; padding: 16px 18px; }
    .faq-answer { padding: 0 18px; }
    .faq-item.open .faq-answer { padding: 0 18px 16px; }
}

@media (max-width: 480px) {
    .faq-question { font-size: 13px; gap: 12px; }
}
