/* GrowKaro CRM - public marketing site
   Colors match assets/css/growkaro-theme.css (admin panel) so the public
   site and the logged-in product don't feel disconnected. Self-contained -
   does not depend on Bootstrap/Tailwind bundles loaded by the admin panel. */

:root {
    --gk-primary: #16a34a;
    --gk-primary-dark: #15803d;
    --gk-primary-light: #22c55e;
    --gk-purple: #7c3aed;
    --gk-blue: #2563eb;
    --gk-orange: #f97316;
    --gk-bg: #f8fafc;
    --gk-card: #ffffff;
    --gk-border: #e5e7eb;
    --gk-text: #1e293b;
    --gk-text-muted: #64748b;
    --gk-radius-lg: 14px;
    --gk-radius-md: 10px;
    --gk-radius-sm: 8px;
    --gk-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 14px rgba(15, 23, 42, 0.06);
    --gk-shadow-hover: 0 4px 8px rgba(15, 23, 42, 0.06), 0 10px 24px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }

body.gk-public {
    margin: 0;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--gk-text);
    /* Rosy-approved mint-green gradient, matched to wamantra.com's computed
       body background. Inlined here (not folded into --gk-bg) on purpose -
       body.login_admin further down shares --gk-bg and hasn't been approved
       for this treatment yet. */
    background:
        radial-gradient(820px 520px at 88% -4%, rgba(37, 211, 102, 0.2), rgba(0, 0, 0, 0) 60%),
        radial-gradient(700px 480px at 2% 58%, rgba(18, 140, 126, 0.1), rgba(0, 0, 0, 0) 58%),
        linear-gradient(175deg, rgb(247, 252, 249) 0%, rgb(241, 250, 244) 46%, rgb(235, 247, 239) 100%);
    line-height: 1.6;
}

.gk-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
}

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

img { max-width: 100%; }

/* ---------- Navbar ---------- */
.gk-navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--gk-border);
}

.gk-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
}

.gk-logo {
    font-size: 20px;
    font-weight: 800;
    color: var(--gk-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.gk-logo .gk-logo-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gk-primary);
    display: inline-block;
}

.gk-nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.gk-nav-links a {
    color: var(--gk-text);
    font-weight: 500;
    font-size: 15px;
}

.gk-nav-links a:hover,
.gk-nav-links a.active {
    color: var(--gk-primary-dark);
}

.gk-btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: var(--gk-radius-sm);
    font-weight: 600;
    font-size: 14px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.15s ease;
}

.gk-btn-primary {
    background: var(--gk-primary);
    color: #fff !important;
    box-shadow: var(--gk-shadow);
}

.gk-btn-primary:hover {
    background: var(--gk-primary-dark);
    box-shadow: var(--gk-shadow-hover);
}

.gk-btn-outline {
    background: transparent;
    color: var(--gk-text) !important;
    border-color: var(--gk-border);
}

.gk-btn-outline:hover {
    border-color: var(--gk-primary);
    color: var(--gk-primary-dark) !important;
}

.gk-btn-lg { padding: 14px 30px; font-size: 16px; }

.gk-mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    color: var(--gk-text);
    cursor: pointer;
}

/* ---------- Hero ----------
   Phase 21 Step G: was a solid dark-green gradient (#fff text) - changed to a
   light mint-to-white gradient with charcoal text, matching the neutral-bg +
   brand-accent pattern used by Salesforce/HubSpot/Zoho/Pipedrive/Freshsales/
   monday.com home pages (none of them run a full-bleed solid brand-color hero). */
.gk-hero {
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
    color: #1f2937;
    padding: 80px 20px 100px;
    text-align: center;
}

.gk-hero-badge {
    display: inline-block;
    background: rgba(22, 163, 74, 0.1);
    color: var(--gk-primary-dark);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 22px;
}

.gk-hero h1 {
    font-size: 44px;
    font-weight: 800;
    max-width: 780px;
    margin: 0 auto 18px;
    line-height: 1.2;
    color: var(--gk-primary-dark);
}

.gk-hero p.gk-hero-sub {
    font-size: 18px;
    max-width: 620px;
    margin: 0 auto 34px;
    color: #1f2937;
    opacity: 0.85;
}

.gk-hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Phase 21E: split hero (copy left, phone mockup right). Overrides the
   centered defaults above only inside .gk-hero-grid, so single-column pages
   that reuse .gk-hero (none currently do, but kept safe) are unaffected. */
.gk-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: center;
    text-align: left;
}

.gk-hero-grid .gk-hero-content h1,
.gk-hero-grid .gk-hero-content .gk-hero-sub {
    margin-left: 0;
    margin-right: 0;
}

.gk-hero-grid .gk-hero-ctas {
    justify-content: flex-start;
}

.gk-hero-visual {
    display: flex;
    justify-content: center;
}

/* ---------- Phone mockup (hand-built, no external image) ---------- */
.gk-phone {
    width: 260px;
    background: #0f172a;
    border-radius: 34px;
    padding: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 4px 14px rgba(0, 0, 0, 0.2);
    position: relative;
}

.gk-phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 20px;
    background: #0f172a;
    border-radius: 0 0 14px 14px;
    z-index: 2;
}

.gk-phone-screen {
    background: #e5ddd5;
    border-radius: 24px;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    flex-direction: column;
}

.gk-wa-header {
    background: var(--gk-primary-dark);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 30px 14px 12px;
}

.gk-wa-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.gk-wa-name { font-size: 13.5px; font-weight: 700; }
.gk-wa-status { font-size: 11px; opacity: 0.85; }

.gk-wa-chat {
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}

.gk-wa-bubble {
    max-width: 85%;
    padding: 8px 11px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.4;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
}

.gk-wa-in {
    background: #fff;
    align-self: flex-start;
    border-top-left-radius: 2px;
}

.gk-wa-out {
    background: #d9fdd3;
    align-self: flex-end;
    border-top-right-radius: 2px;
}

.gk-wa-template {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gk-wa-template strong { font-size: 12.5px; }

.gk-wa-cta {
    margin-top: 6px;
    text-align: center;
    color: var(--gk-primary-dark);
    font-weight: 700;
    font-size: 11.5px;
    border-top: 1px solid rgba(21, 128, 61, 0.2);
    padding-top: 6px;
}

.gk-wa-auto-badge {
    align-self: center;
    background: rgba(15, 23, 42, 0.85);
    color: #fff;
    font-size: 10.5px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 999px;
    margin-top: 4px;
}

/* Phase 21 Step G: "Book a Demo" gets a distinct accent color instead of reusing
   green for both hero buttons (two identically-colored CTAs reads flat / reduces
   which one draws the eye). Purple was already defined as --gk-purple and used
   elsewhere in the admin theme, so reusing that variable here for consistency
   rather than introducing a third one-off color. Scoped to .gk-hero only - the
   same .gk-btn-outline class elsewhere (e.g. Pricing cards) is untouched. */
.gk-hero .gk-btn-outline {
    background: var(--gk-purple);
    color: #fff !important;
    border-color: var(--gk-purple);
}

.gk-hero .gk-btn-outline:hover {
    background: #6d28d9;
    border-color: #6d28d9;
}

/* ---------- Secondary page hero (Services/Pricing/About/Contact) ---------- */
.gk-page-hero {
    background: linear-gradient(135deg, var(--gk-primary-dark) 0%, var(--gk-primary) 55%, var(--gk-primary-light) 100%);
    color: #fff;
    padding: 56px 20px;
    text-align: center;
}

.gk-page-hero h1 {
    font-size: 34px;
    font-weight: 800;
    margin: 8px 0 12px;
}

.gk-page-hero p {
    max-width: 560px;
    margin: 0 auto;
    font-size: 16px;
    opacity: 0.94;
}

/* ---------- Services detail rows ---------- */
.gk-service-rows {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gk-service-row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 22px 18px;
    border-radius: var(--gk-radius-md);
    transition: background 0.15s ease;
}

.gk-service-row:hover { background: #fff; box-shadow: var(--gk-shadow); }

.gk-service-row:not(:last-child) { border-bottom: 1px solid var(--gk-border); }

.gk-service-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: var(--gk-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: rgba(22, 163, 74, 0.1);
    color: var(--gk-primary-dark);
}

.gk-service-content h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 6px 0 6px;
}

.gk-service-content p {
    color: var(--gk-text-muted);
    font-size: 14.5px;
    margin: 0;
}

/* ---------- Sections ---------- */
.gk-section {
    padding: 72px 20px;
}

.gk-section-alt { background: #fff; }

.gk-section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}

.gk-eyebrow {
    color: var(--gk-primary-dark);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.gk-section-head h2 {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 12px;
    color: var(--gk-text);
}

.gk-section-head p {
    color: var(--gk-text-muted);
    font-size: 16px;
    margin: 0;
}

/* ---------- Cards / grids ---------- */
.gk-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.gk-card {
    background: var(--gk-card);
    border: 1px solid var(--gk-border);
    border-radius: var(--gk-radius-lg);
    box-shadow: var(--gk-shadow);
    padding: 28px;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.gk-card:hover {
    box-shadow: var(--gk-shadow-hover);
    transform: translateY(-2px);
}

.gk-card-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--gk-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
    background: rgba(22, 163, 74, 0.1);
    color: var(--gk-primary-dark);
}

.gk-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 8px;
}

.gk-card p {
    color: var(--gk-text-muted);
    font-size: 14.5px;
    margin: 0;
}

/* ---------- Pricing ---------- */
.gk-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.gk-price-card {
    background: var(--gk-card);
    border: 1px solid var(--gk-border);
    border-radius: var(--gk-radius-lg);
    box-shadow: var(--gk-shadow);
    padding: 32px 26px;
    display: flex;
    flex-direction: column;
}

.gk-price-card.gk-featured {
    border: 2px solid var(--gk-primary);
    box-shadow: var(--gk-shadow-hover);
    position: relative;
}

.gk-price-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gk-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 999px;
}

.gk-price-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 6px;
}

.gk-price-card .gk-price-tagline {
    color: var(--gk-text-muted);
    font-size: 14px;
    margin-bottom: 18px;
}

.gk-price-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--gk-primary-dark);
    margin-bottom: 22px;
}

.gk-price-value small {
    font-size: 13px;
    font-weight: 500;
    color: var(--gk-text-muted);
    display: block;
    margin-top: 2px;
}

.gk-price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 26px;
    flex-grow: 1;
}

.gk-price-features li {
    padding: 7px 0;
    font-size: 14.5px;
    color: var(--gk-text);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.gk-price-features li::before {
    content: "\2713";
    color: var(--gk-primary);
    font-weight: 700;
    flex-shrink: 0;
}

.gk-price-card .gk-btn { text-align: center; width: 100%; }

.gk-pricing-note {
    text-align: center;
    color: var(--gk-text-muted);
    font-size: 13.5px;
    margin-top: 30px;
}

/* Phase 21 pricing round: official-API trust badge */
.gk-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ecfdf3;
    color: #15803d;
    border: 1px solid #bbf7d0;
    font-size: 13.5px;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 999px;
}

/* ---------- About ---------- */
.gk-about-box {
    max-width: 760px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--gk-border);
    border-radius: var(--gk-radius-lg);
    box-shadow: var(--gk-shadow);
    padding: 40px;
    text-align: center;
}

.gk-about-box p { color: var(--gk-text-muted); font-size: 16px; }

/* ---------- Contact ---------- */
.gk-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 980px;
    margin: 0 auto;
    align-items: start;
}

.gk-contact-info-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 22px;
}

.gk-contact-info-item .gk-card-icon { margin-bottom: 0; flex-shrink: 0; }

.gk-contact-info-item h4 { margin: 0 0 4px; font-size: 15px; font-weight: 700; }
.gk-contact-info-item p { margin: 0; color: var(--gk-text-muted); font-size: 14px; }

.gk-form-card {
    background: #fff;
    border: 1px solid var(--gk-border);
    border-radius: var(--gk-radius-lg);
    box-shadow: var(--gk-shadow);
    padding: 30px;
}

/* Phase 20 prep: payment-success static shell */
.gk-success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--gk-primary);
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gk-success-heading {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 12px;
}

.gk-success-sub {
    color: var(--gk-text-muted);
    font-size: 14.5px;
    margin: 0 0 24px;
}

.gk-success-note {
    font-size: 13px;
    color: var(--gk-text-muted);
    margin: 18px 0 0;
}

.gk-form-group { margin-bottom: 18px; }

.gk-form-group label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--gk-text);
}

.gk-form-group input,
.gk-form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--gk-border);
    border-radius: var(--gk-radius-sm);
    font-size: 14.5px;
    font-family: inherit;
    color: var(--gk-text);
}

.gk-form-group input:focus,
.gk-form-group textarea:focus {
    outline: none;
    border-color: var(--gk-primary);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.12);
}

.gk-alert {
    padding: 13px 16px;
    border-radius: var(--gk-radius-sm);
    font-size: 14px;
    margin-bottom: 20px;
}

.gk-alert-success { background: #ecfdf3; color: #15803d; border: 1px solid #bbf7d0; }
.gk-alert-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

/* ---------- Trust indicators / stats ---------- */
.gk-stats-band {
    background: #fff;
    border-bottom: 1px solid var(--gk-border);
    padding: 36px 20px;
}

.gk-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.gk-stat-value {
    font-size: 30px;
    font-weight: 800;
    color: var(--gk-primary-dark);
}

.gk-stat-icon {
    font-size: 26px;
    margin-bottom: 6px;
}

.gk-stat-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--gk-text);
    margin-top: 4px;
}

/* ---------- How It Works (step rows) ---------- */
.gk-steps-row {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    max-width: 960px;
    margin: 0 auto;
}

.gk-step {
    flex: 1;
    text-align: center;
    padding: 0 12px;
}

.gk-step-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--gk-primary);
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--gk-shadow);
}

.gk-step h3 { font-size: 16.5px; font-weight: 700; margin: 0 0 8px; }
.gk-step p { color: var(--gk-text-muted); font-size: 14px; margin: 0; }

.gk-step-connector {
    height: 2px;
    background: var(--gk-border);
    flex: 0 0 60px;
    margin-top: 26px;
}

/* ---------- Trust section (demo-video replacement) ---------- */
.gk-trust-section { padding-top: 0; }

.gk-trust-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 980px;
    margin: 0 auto;
}

.gk-trust-point {
    display: flex;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--gk-border);
    border-radius: var(--gk-radius-lg);
    box-shadow: var(--gk-shadow);
    padding: 20px;
}

.gk-trust-point-icon { font-size: 24px; flex-shrink: 0; }
.gk-trust-point h4 { font-size: 14.5px; font-weight: 700; margin: 0 0 4px; }
.gk-trust-point p { color: var(--gk-text-muted); font-size: 13px; margin: 0; }

/* ---------- Use-case tabs ---------- */
.gk-usecase-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.gk-usecase-tab {
    background: #fff;
    border: 1px solid var(--gk-border);
    color: var(--gk-text-muted);
    font-weight: 600;
    font-size: 14.5px;
    padding: 11px 26px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.gk-usecase-tab:hover { border-color: var(--gk-primary); color: var(--gk-primary-dark); }

.gk-usecase-tab.active {
    background: var(--gk-primary);
    border-color: var(--gk-primary);
    color: #fff;
}

.gk-usecase-panel {
    display: none;
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    background: #fff;
    border: 1px solid var(--gk-border);
    border-radius: var(--gk-radius-lg);
    box-shadow: var(--gk-shadow);
    padding: 40px;
}

.gk-usecase-panel.active { display: block; }

.gk-usecase-icon { font-size: 34px; margin-bottom: 14px; }
.gk-usecase-panel h3 { font-size: 20px; font-weight: 700; margin: 0 0 12px; }
.gk-usecase-panel p { color: var(--gk-text-muted); font-size: 15px; margin: 0; }

/* ---------- Testimonials ---------- */
.gk-testimonial-grid { grid-template-columns: repeat(3, 1fr); }

.gk-testimonial-card { display: flex; flex-direction: column; }

.gk-testimonial-quote {
    font-size: 15px;
    color: var(--gk-text);
    flex-grow: 1;
    margin-bottom: 20px;
}

.gk-testimonial-author { display: flex; align-items: center; gap: 12px; }

.gk-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gk-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.gk-testimonial-author strong { display: block; font-size: 14px; }
.gk-testimonial-author span { font-size: 13px; color: var(--gk-text-muted); }

/* ---------- FAQ ---------- */
.gk-faq-container { max-width: 760px; }

.gk-faq-item {
    background: #fff;
    border: 1px solid var(--gk-border);
    border-radius: var(--gk-radius-md);
    padding: 4px 22px;
    margin-bottom: 12px;
}

.gk-faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 16px 0;
    font-weight: 600;
    font-size: 15px;
    color: var(--gk-text);
    position: relative;
    padding-right: 24px;
}

.gk-faq-item summary::-webkit-details-marker { display: none; }

.gk-faq-item summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 14px;
    font-size: 20px;
    color: var(--gk-primary);
    font-weight: 400;
}

.gk-faq-item[open] summary::after { content: "\2212"; }

.gk-faq-item p {
    color: var(--gk-text-muted);
    font-size: 14.5px;
    margin: 0 0 18px;
}

/* ---------- CTA band ---------- */
.gk-cta-band {
    background: var(--gk-text);
    color: #fff;
    text-align: center;
    padding: 60px 20px;
}

.gk-cta-band h2 { font-size: 28px; font-weight: 800; margin: 0 0 14px; }
.gk-cta-band p { color: #cbd5e1; margin: 0 0 26px; }

/* Phase 22: "See Pricing" button added alongside "Start Free Trial" here -
   plain .gk-btn-outline is dark text on transparent, invisible against this
   band's dark background. Same fix pattern as .gk-hero .gk-btn-outline. */
.gk-cta-band .gk-btn-outline {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.5);
}

.gk-cta-band .gk-btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
}

/* ---------- Footer ---------- */
.gk-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 48px 20px 24px;
    font-size: 14px;
}

.gk-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.gk-footer-grid h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 14px;
}

.gk-footer-grid ul { list-style: none; margin: 0; padding: 0; }
.gk-footer-grid ul li { margin-bottom: 9px; }
.gk-footer-grid ul li a { color: #94a3b8; }
.gk-footer-grid ul li a:hover { color: #fff; }

.gk-footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
}

/* ---------- Phase 21D Step 2/3: logged-out Perfex login form, light-touch harmony ----------
   Scoped to body.gk-public only (the logged-out client screens) - never touches the
   authenticated client dashboard or admin panel. Perfex's own form markup/logic (login.php,
   login_admin.php) is untouched - this only restyles it to sit visually inside the branded
   page instead of overriding its structure. */
body.gk-public #wrapper { padding: 56px 0 80px; min-height: calc(100vh - 300px); }

/* Hide Perfex's own default logged-out nav/footer - our branded ones (above/below)
   replace them visually; nothing here touches the authenticated client dashboard,
   which never gets the gk-public class. */
body.gk-public nav.navbar.navbar-default.header { display: none; }
body.gk-public footer.footer:not(.gk-footer) { display: none; }

body.gk-public .login-heading { color: var(--gk-text); font-weight: 800; }

body.gk-public .panel_s {
    border-radius: var(--gk-radius-lg);
    box-shadow: var(--gk-shadow);
    border: 1px solid var(--gk-border);
    overflow: hidden;
}

body.gk-public .btn-primary,
body.gk-public .login_admin .btn-primary {
    background-color: var(--gk-primary) !important;
    border-color: var(--gk-primary) !important;
}

body.gk-public .btn-primary:hover,
body.gk-public .login_admin .btn-primary:hover {
    background-color: var(--gk-primary-dark) !important;
    border-color: var(--gk-primary-dark) !important;
}

body.gk-public a,
body.login_admin a,
body.login_admin a.text-muted {
    color: var(--gk-primary-dark) !important;
}

body.gk-public .form-control:focus,
body.login_admin .form-control:focus {
    border-color: var(--gk-primary) !important;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.12) !important;
    outline: none;
}

/* Admin login screen (authentication/login_admin.php) reuses these same tokens - it's
   wrapped separately (see Step 3) but shares this stylesheet for the branded shell. */
body.login_admin { background: var(--gk-bg); font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }

/* Phase 21D correction round: compact hero banner above the admin login card,
   same gradient treatment as the public homepage hero (.gk-hero). */
.gk-admin-login-hero {
    background: linear-gradient(135deg, var(--gk-primary-dark) 0%, var(--gk-primary) 55%, var(--gk-primary-light) 100%);
    color: #fff;
    padding: 44px 20px 72px;
    text-align: center;
}

.gk-admin-login-hero .company-logo { padding: 0 0 14px; }
.gk-admin-login-hero .company-logo img { filter: brightness(0) invert(1); margin: 0 auto; }
/* get_dark_company_logo() renders a text wordmark (no logo image uploaded) - style
   that text white so it reads correctly on the green gradient. */
.gk-admin-login-hero .logo-text { color: #fff !important; font-size: 20px; font-weight: 800; }

.gk-admin-login-hero-title {
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 6px;
}

.gk-admin-login-hero-sub {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    margin: 0;
}

/* ---------- Password show/hide toggle (Step 4) ---------- */
.gk-pw-wrapper { position: relative; }
.gk-pw-wrapper input[type="password"],
.gk-pw-wrapper input[type="text"].gk-pw-field {
    padding-right: 42px;
}
.gk-pw-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: var(--gk-text-muted);
    padding: 4px;
    line-height: 1;
}
.gk-pw-toggle:hover { color: var(--gk-primary-dark); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .gk-grid { grid-template-columns: repeat(2, 1fr); }
    .gk-pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
    .gk-contact-grid { grid-template-columns: 1fr; }
    .gk-footer-grid { grid-template-columns: 1fr 1fr; }
    .gk-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .gk-testimonial-grid { grid-template-columns: 1fr; }
    .gk-hero-grid { grid-template-columns: 1fr; text-align: center; }
    .gk-hero-grid .gk-hero-content h1,
    .gk-hero-grid .gk-hero-content .gk-hero-sub { margin-left: auto; margin-right: auto; }
    .gk-hero-grid .gk-hero-ctas { justify-content: center; }
    .gk-hero-visual { margin-top: 36px; }
    .gk-trust-row { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 700px) {
    .gk-nav-links { display: none; }
    .gk-mobile-toggle { display: block; }
    .gk-navbar.gk-nav-open .gk-nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 16px 20px 20px;
        border-bottom: 1px solid var(--gk-border);
        gap: 14px;
    }
    .gk-navbar.gk-nav-open .gk-nav-links .gk-btn { width: 100%; text-align: center; }
    .gk-hero h1 { font-size: 30px; }
    .gk-hero p.gk-hero-sub { font-size: 16px; }
    .gk-grid { grid-template-columns: 1fr; }
    .gk-section-head h2 { font-size: 26px; }
    .gk-footer-grid { grid-template-columns: 1fr; }
    .gk-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
    .gk-stat-value { font-size: 24px; }
    .gk-usecase-panel { padding: 26px 20px; }
    .gk-usecase-tab { padding: 9px 18px; font-size: 13.5px; }
    .gk-faq-item summary { font-size: 14px; }
    .gk-page-hero h1 { font-size: 26px; }
    .gk-service-row { gap: 14px; padding: 18px 10px; }
    .gk-cta-band h2 { font-size: 22px; }
    .gk-price-value { font-size: 22px; }
    .gk-admin-login-hero-title { font-size: 21px; }
    .gk-admin-login-hero { padding: 32px 20px 56px; }
    .gk-service-icon { width: 40px; height: 40px; font-size: 18px; }
    .gk-trust-badge { font-size: 12.5px; padding: 9px 16px; border-radius: 14px; text-align: left; line-height: 1.4; }
    .gk-phone { width: 220px; }
    .gk-phone-screen { min-height: 360px; }
    .gk-steps-row { flex-direction: column; gap: 32px; }
    .gk-step-connector { display: none; }
    .gk-trust-point { padding: 16px; }
}
