/* ─────────────────────────────────────────
   DESIGN TOKENS
───────────────────────────────────────── */
:root {
    /* ── Brand palette ── */
    --navy:       #0d1b4b;
    --blue:       #2E3EBE;
    --sky:        #2e6be6;
    --accent:     #4f9cf9;
    --blue-mid:   #1a3399;

    /* ── Neutrals ── */
    --steel:      #e8edf8;
    --white:      #ffffff;
    --gray:       #6b7a99;
    --light:      #f4f6fc;
    --bg:         #f0f3fb;
    --dark:       #0a1230;
    --border:     #d3daf0;

    /* ── Semantic ── */
    --success:    #22c55e;
    --amber:      #f59e0b;
    --red:        #ef4444;

    /* ── Hero / dark-bg text ── */
    --hero-label: #7eb8ff;
    --hero-muted: #a0b8e0;

    /* ── Footer ── */
    --footer-text: #6b82b0;
    --footer-head: #a0b8e0;
    --footer-rule: #1e2d56;

    /* ── Misc ── */
    --radius:     10px;
    --radius-lg:  16px;
    --shadow:     0 4px 24px rgba(13,27,75,.09);
    --shadow-lg:  0 12px 48px rgba(13,27,75,.15);
    --transition: .2s ease;
    --font-head:  'Share Tech Mono', monospace;
    --font-body:  'DM Sans', 'Segoe UI', sans-serif;
}

/* ─────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg); color: var(--navy); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ─────────────────────────────────────────
   HEADER
───────────────────────────────────────── */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 2px 16px rgba(13,27,75,.07);
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo-img  { height: 52px; width: auto; }

.menu { display: flex; gap: .25rem; align-items: center; }
.menu li a {
    font-family: var(--font-body);
    font-size: .9rem;
    font-weight: 500;
    color: var(--gray);
    padding: .45rem .9rem;
    border-radius: 7px;
    transition: color var(--transition), background var(--transition);
    white-space: nowrap;
}
.menu li a:hover  { color: var(--blue); background: var(--steel); }
.menu li a.active { color: var(--blue); background: var(--steel); font-weight: 700; border-bottom: 2px solid var(--blue); }

.nav-cta {
    background: var(--blue) !important;
    color: var(--white) !important;
    font-weight: 600 !important;
    transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover  { background: var(--navy) !important; transform: translateY(-1px); }
.nav-cta.active { background: var(--navy) !important; }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: .4rem;
    border-radius: 6px;
}
.menu-toggle span {
    display: block; width: 24px; height: 2px;
    background: var(--navy); border-radius: 2px;
    transition: all .25s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─────────────────────────────────────────
   MAIN CONTENT
───────────────────────────────────────── */
.site-content {
    max-width: 1100px;
    margin: 2.5rem auto;
    padding: 0 1.5rem;
}

/* ─────────────────────────────────────────
   SECTION CARDS
───────────────────────────────────────── */
section {
    background: var(--white);
    padding: 2.5rem 2rem;
    margin-bottom: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
section h2 {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 1rem;
}
section p { color: var(--gray); line-height: 1.75; margin-bottom: .75rem; }
section p:last-of-type { margin-bottom: 0; }
section a:not([class]) { color: var(--sky); font-weight: 500; }
section a:not([class]):hover { text-decoration: underline; }

/* ─────────────────────────────────────────
   PAGE HERO (shared dark gradient sections)
───────────────────────────────────────── */
.page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue-mid) 60%, var(--sky) 100%);
    padding: 3.5rem 2rem;
    text-align: center;
    border: none;
    border-radius: var(--radius-lg);
}
.page-hero .section-label { color: var(--hero-label); }
.page-hero .section-title { color: var(--white); }
.page-hero .section-sub   { color: var(--hero-muted); margin: .75rem auto 0; }
.page-hero a              { color: var(--hero-label); font-weight: 600; }

/* ─────────────────────────────────────────
   HERO (Home)
───────────────────────────────────────── */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue-mid) 60%, var(--sky) 100%);
    padding: 4.5rem 2.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: none;
    margin-bottom: 2rem;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 110%, rgba(79,156,249,.22) 0%, transparent 70%);
}
.hero h1 {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.1rem;
    position: relative;
    line-height: 1.2;
}
.hero p {
    color: var(--hero-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    line-height: 1.75;
}
.hero-ctas {
    display: flex; gap: .9rem; justify-content: center;
    margin-top: 2rem; flex-wrap: wrap; position: relative; z-index: 1;
}
.hero-btn-ghost { color: var(--white); }

/* CTA section (Home bottom) */
.cta-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue-mid) 60%, var(--sky) 100%);
    border: none;
    text-align: center;
    padding: 3.5rem 2rem;
}
.cta-hero .section-label { color: var(--hero-label); }
.cta-hero .section-title { color: var(--white); margin-bottom: .75rem; }
.cta-hero p              { color: var(--hero-muted); max-width: 520px; margin: 0 auto 1.75rem; }

/* ─────────────────────────────────────────
   PRODUCT LIST ITEMS (Home page)
───────────────────────────────────────── */
.products ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.25rem 0 1.5rem;
}
.products ul li {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: .9rem 1.1rem;
    font-size: .92rem;
    font-weight: 500;
    color: var(--navy);
    transition: box-shadow var(--transition), transform var(--transition);
}
.products ul li:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

/* ─────────────────────────────────────────
   BUTTONS
───────────────────────────────────────── */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .75rem 1.6rem;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: .92rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    margin-top: 1rem;
}
.btn-primary {
    background: var(--blue);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(46,62,190,.3);
}
.btn-primary:hover { background: var(--navy); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(46,62,190,.35); color: var(--white); }

.btn-secondary {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--blue);
}
.btn-secondary:hover { background: var(--blue); color: var(--white); border-color: var(--blue); transform: translateY(-2px); }

/* Ghost variant for use on dark/gradient backgrounds */
.btn-secondary.hero-btn-ghost           { background: rgba(255,255,255,.12); color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-secondary.hero-btn-ghost:hover     { background: rgba(255,255,255,.25); color: var(--white); border-color: rgba(255,255,255,.6); transform: translateY(-2px); }

.btn-paypal {
    display: inline-flex; align-items: center; justify-content: center;
    gap: .5rem; background: #ffc439; color: #003087;
    font-weight: 700; font-size: .92rem;
    padding: .75rem 1.6rem; border-radius: 8px; border: none;
    cursor: pointer; transition: background var(--transition);
    width: 100%; margin-top: .75rem;
}
.btn-paypal:hover { background: #f0b429; }

.btn-white {
    display: flex; align-items: center; justify-content: center;
    width: 100%; background: var(--white); color: var(--blue);
    font-family: var(--font-body); font-size: .9rem; font-weight: 600;
    padding: .75rem 1.5rem; border-radius: 8px; border: none;
    cursor: pointer; transition: background var(--transition); margin-top: 0;
}
.btn-white:hover { background: var(--steel); }

/* ─────────────────────────────────────────
   SHARED HELPERS
───────────────────────────────────────── */
.section-label {
    display: block;
    font-family: var(--font-head);
    font-size: .72rem; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--sky); margin-bottom: .5rem;
}
.section-title {
    font-family: var(--font-head);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800; color: var(--navy); line-height: 1.2; margin-bottom: 1rem;
}
.section-sub { font-size: .97rem; color: var(--gray); line-height: 1.75; max-width: 580px; }

.tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 20px; }
.tag-blue  { background: #dde8ff; color: var(--blue); }
.tag-green { background: #dcfce7; color: #15803d; }
.tag-amber { background: #fef3c7; color: #92400e; }
.tag-gray  { background: var(--steel); color: var(--gray); }

/* ─────────────────────────────────────────
   PRODUCT CARDS
───────────────────────────────────────── */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.card {
    background: var(--white); border-radius: var(--radius-lg);
    border: 1px solid var(--border); box-shadow: var(--shadow);
    overflow: hidden; display: flex; flex-direction: column;
    transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.card-img { height: 160px; display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.card-img-1 { background: linear-gradient(135deg,#0d1b4b,#1a3fc4); }
.card-img-2 { background: linear-gradient(135deg,#0a2a4a,#1a6fc4); }
.card-img-3 { background: linear-gradient(135deg,#0d2b1b,#1a8f4b); }
.card-img-4 { background: linear-gradient(135deg,#2a0d1b,#8f1a4b); }
.card-img-5 { background: linear-gradient(135deg,#2a1d0d,#c46f1a); }
.card-img-6 { background: linear-gradient(135deg,#1a0d2b,#6f1ac4); }

.card-body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; gap: .6rem; }
.card-meta { display: flex; align-items: center; justify-content: space-between; }
.card-name { font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--navy); line-height: 1.3; }
.card-desc { font-size: .86rem; color: var(--gray); line-height: 1.65; flex: 1; }
.card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: .75rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.card-price { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--navy); }
.card-price small { font-family: var(--font-body); font-weight: 400; font-size: .72rem; color: var(--gray); display: block; }

.card-img-photo { background: var(--light); overflow: hidden; }
.card.card-featured { border-color: var(--blue); box-shadow: 0 8px 32px rgba(46,62,190,.18); }
.card-featured-badge { position:absolute; top:10px; left:10px; background:linear-gradient(90deg,var(--blue),var(--sky)); color:var(--white); font-size:.68rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; padding:3px 10px; border-radius:10px; }

.add-btn {
    background: var(--blue); color: var(--white); border: none;
    border-radius: 7px; font-size: .82rem; font-weight: 600;
    padding: .5rem 1rem; cursor: pointer; transition: background var(--transition);
}
.add-btn:hover { background: var(--navy); }

/* Filter bar */
.filter-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem; }
.filter-pills { display: flex; gap: .5rem; flex-wrap: wrap; }
.filter-pill {
    font-size: .82rem; font-weight: 500;
    padding: .4rem 1rem; border-radius: 20px;
    border: 1.5px solid var(--border);
    background: var(--white); color: var(--gray);
    cursor: pointer; transition: all var(--transition);
}
.filter-pill:hover, .filter-pill.active { background: var(--blue); border-color: var(--blue); color: var(--white); }

.search-box {
    display: flex; align-items: center; gap: .5rem;
    background: var(--white); border: 1.5px solid var(--border);
    border-radius: 8px; padding: .45rem .9rem;
}
.search-box input {
    border: none; outline: none;
    font-family: var(--font-body); font-size: .88rem;
    color: var(--navy); width: 180px; background: transparent;
}

/* ─────────────────────────────────────────
   PRODUCT DETAIL
───────────────────────────────────────── */
.detail-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.detail-gallery { position: sticky; top: 88px; }
.detail-main-img {
    background: linear-gradient(135deg, var(--navy) 0%, var(--sky) 100%);
    border-radius: var(--radius-lg); height: 320px;
    display: flex; align-items: center; justify-content: center; font-size: 5rem;
    border: 1px solid var(--border); box-shadow: var(--shadow-lg); margin-bottom: 1rem;
}
.detail-thumbs { display: flex; gap: .6rem; }
.detail-thumb {
    width: 70px; height: 70px; border-radius: 8px;
    border: 2px solid var(--border);
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
    cursor: pointer; transition: border-color var(--transition);
}
.detail-thumb.active { border-color: var(--blue); }
.detail-thumb:nth-child(1) { background: linear-gradient(135deg,var(--navy),var(--blue)); }
.detail-thumb:nth-child(2) { background: linear-gradient(135deg,var(--blue),var(--accent)); }
.detail-thumb:nth-child(3) { background: linear-gradient(135deg,var(--navy),var(--sky)); }

.detail-info { display: flex; flex-direction: column; gap: 1.25rem; }
.detail-breadcrumb { font-size: .82rem; color: var(--gray); }
.detail-breadcrumb a { color: var(--sky); }
.detail-breadcrumb a:hover { text-decoration: underline; }
.detail-title { font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--navy); line-height: 1.2; }
.detail-rating { display: flex; align-items: center; gap: .5rem; font-size: .86rem; color: var(--gray); }
.stars { color: var(--amber); letter-spacing: 1px; }

.detail-price-block { background: var(--steel); border-radius: var(--radius); padding: 1.1rem 1.3rem; display: flex; align-items: flex-end; gap: 1rem; flex-wrap: wrap; }
.detail-price { font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; color: var(--navy); }
.detail-price-note { font-size: .82rem; color: var(--gray); line-height: 1.5; }
.detail-desc { font-size: .94rem; color: var(--gray); line-height: 1.8; }

.detail-specs { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.spec-row { display: flex; border-bottom: 1px solid var(--border); }
.spec-row:last-child { border-bottom: none; }
.spec-label { width: 160px; flex-shrink: 0; padding: .7rem 1rem; font-size: .84rem; font-weight: 500; color: var(--gray); background: var(--light); }
.spec-value { padding: .7rem 1rem; font-size: .84rem; color: var(--navy); }

.detail-actions { display: flex; flex-direction: column; gap: .6rem; }
.qty-row { display: flex; align-items: center; gap: .75rem; }
.qty-label { font-size: .84rem; font-weight: 500; color: var(--gray); }
.qty-ctrl { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: 8px; overflow: hidden; }
.qty-ctrl button { background: var(--light); border: none; width: 36px; height: 36px; cursor: pointer; font-size: 1rem; color: var(--navy); transition: background var(--transition); }
.qty-ctrl button:hover { background: var(--steel); }
.qty-ctrl span { width: 44px; text-align: center; font-weight: 600; font-size: .94rem; }

/* Status colors (product/service detail) */
.status-available   { color: var(--success); font-weight: 600; }
.status-lowstock    { color: var(--amber);   font-weight: 600; }
.status-unavailable { color: var(--gray);    font-weight: 600; }
.status-comingsoon  { color: var(--sky);     font-weight: 600; }
.status-default     { color: var(--gray);    font-weight: 600; }

/* ─────────────────────────────────────────
   PRICING
───────────────────────────────────────── */
.pricing-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--blue-mid) 100%); padding: 4rem 2rem; text-align: center; border-radius: var(--radius-lg); border: none; }
.pricing-hero .section-title { color: var(--white); }
.pricing-hero .section-label { color: var(--hero-label); }
.pricing-hero .section-sub   { color: var(--hero-muted); margin: .9rem auto 0; }

.pricing-toggle { display: flex; align-items: center; justify-content: center; gap: .9rem; margin-top: 1.5rem; }
.toggle-label { font-size: .88rem; color: var(--hero-muted); font-weight: 500; }
.toggle-switch { width: 44px; height: 24px; background: rgba(255,255,255,.2); border-radius: 12px; position: relative; cursor: pointer; border: 1.5px solid rgba(255,255,255,.3); }
.toggle-knob   { width: 18px; height: 18px; background: var(--white); border-radius: 50%; position: absolute; top: 2px; left: 3px; transition: left .2s; }
.toggle-switch.on .toggle-knob { left: 22px; }
.save-badge { background: var(--success); color: var(--white); font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 10px; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.pricing-card {
    background: var(--white); border-radius: var(--radius-lg);
    border: 1px solid var(--border); box-shadow: var(--shadow);
    padding: 2rem 1.75rem; display: flex; flex-direction: column; gap: 1.25rem;
    position: relative; transition: transform var(--transition), box-shadow var(--transition);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card.featured { background: var(--navy); border-color: var(--blue); box-shadow: 0 12px 48px rgba(46,62,190,.35); }

.featured-badge {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(90deg, var(--blue), var(--sky));
    color: var(--white); font-family: var(--font-head); font-size: .68rem; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase;
    padding: 4px 16px; border-radius: 10px; white-space: nowrap;
}

.plan-name   { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--navy); }
.plan-desc   { font-size: .84rem; color: var(--gray); line-height: 1.6; }
.plan-price  { display: flex; align-items: flex-end; gap: 4px; }
.plan-amount { font-family: var(--font-head); font-weight: 800; font-size: 2.8rem; color: var(--navy); line-height: 1; }
.plan-per    { font-size: .84rem; color: var(--gray); padding-bottom: 6px; }

.pricing-card.featured .plan-name   { color: var(--white); }
.pricing-card.featured .plan-desc   { color: var(--hero-muted); }
.pricing-card.featured .plan-amount { color: var(--white); }
.pricing-card.featured .plan-per    { color: var(--hero-muted); }

.plan-divider { border: none; border-top: 1px solid var(--border); }
.pricing-card.featured .plan-divider { border-color: var(--footer-rule); }

.plan-features { display: flex; flex-direction: column; gap: .65rem; flex: 1; }
.plan-features li { display: flex; align-items: flex-start; gap: .55rem; font-size: .87rem; color: var(--gray); line-height: 1.5; }
.pricing-card.featured .plan-features li { color: var(--hero-muted); }
.feat-check { color: var(--success); flex-shrink: 0; margin-top: 1px; }
.feat-x     { color: #94a3b8;        flex-shrink: 0; margin-top: 1px; }

.plan-cta { margin-top: auto; }
.plan-cta .btn-primary,
.plan-cta .btn-secondary { width: 100%; justify-content: center; margin-top: 0; }

.addons-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.addon-card  { background: var(--light); border-radius: var(--radius); border: 1px solid var(--border); padding: 1.25rem; display: flex; flex-direction: column; gap: .6rem; }
.addon-icon  { font-size: 1.8rem; }
.addon-name  { font-family: var(--font-head); font-weight: 700; font-size: .94rem; color: var(--navy); }
.addon-desc  { font-size: .82rem; color: var(--gray); line-height: 1.6; }
.addon-price { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--blue); margin-top: auto; }

/* ─────────────────────────────────────────
   ABOUT
───────────────────────────────────────── */
.about-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--blue-mid) 60%, var(--sky) 100%); padding: 5rem 2rem 4rem; text-align: center; border-radius: var(--radius-lg); border: none; }
.about-hero .section-label { color: var(--hero-label); }
.about-hero .section-title { color: var(--white); font-size: clamp(2rem, 4vw, 2.8rem); }
.about-hero .section-sub   { color: var(--hero-muted); margin: 1rem auto 0; }

.stats-row { display: flex; justify-content: center; flex-wrap: wrap; }
.stat-item { flex: 1; min-width: 140px; text-align: center; padding: 2rem 1.25rem; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-num   { font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; color: var(--blue); line-height: 1; }
.stat-label { font-size: .82rem; color: var(--gray); margin-top: .4rem; font-weight: 500; }

.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.story-visual { background: linear-gradient(135deg, var(--navy) 0%, var(--sky) 100%); border-radius: var(--radius-lg); height: 300px; display: flex; align-items: center; justify-content: center; font-size: 5rem; box-shadow: var(--shadow-lg); }
.story-text { display: flex; flex-direction: column; gap: 1rem; }
.story-text p { font-size: .95rem; color: var(--gray); line-height: 1.8; }

.values-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.value-card  { background: var(--light); border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 1.75rem 1.5rem; transition: transform var(--transition), box-shadow var(--transition); }
.value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.value-icon  { font-size: 2rem; margin-bottom: .9rem; }
.value-title { font-family: var(--font-head); font-weight: 700; font-size: .98rem; color: var(--navy); margin-bottom: .5rem; }
.value-desc  { font-size: .84rem; color: var(--gray); line-height: 1.65; }

.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.team-card { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 1.75rem 1.25rem; text-align: center; box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition); }
.team-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.team-avatar { width: 68px; height: 68px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; margin: 0 auto 1rem; }
.av1 { background: linear-gradient(135deg,#0d1b4b,#1a3fc4); }
.av2 { background: linear-gradient(135deg,#0a2a4a,#1a6fc4); }
.av3 { background: linear-gradient(135deg,#0d2b1b,#1a8f4b); }
.av4 { background: linear-gradient(135deg,#2a1d0d,#c46f1a); }
.team-name { font-family: var(--font-head); font-weight: 700; font-size: .96rem; color: var(--navy); }
.team-role { font-size: .78rem; color: var(--sky); font-weight: 500; margin: .25rem 0 .65rem; }
.team-bio  { font-size: .8rem; color: var(--gray); line-height: 1.6; }

/* ─────────────────────────────────────────
   CONTACT
───────────────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; align-items: start; }
.contact-methods { display: flex; flex-direction: column; gap: .9rem; margin-top: 1.5rem; }
.contact-method { display: flex; align-items: flex-start; gap: .9rem; background: var(--light); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.1rem; }
.method-icon  { width: 40px; height: 40px; flex-shrink: 0; border-radius: 8px; background: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.method-label { font-size: .72rem; font-weight: 700; color: var(--gray); text-transform: uppercase; letter-spacing: .06em; }
.method-value { font-size: .9rem; font-weight: 500; color: var(--navy); }
.method-note  { font-size: .76rem; color: var(--gray); }

.contact-form-wrap { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-lg); padding: 2.25rem 2rem; }
.form-title { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--navy); margin-bottom: 1.5rem; }
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.form-label { font-size: .8rem; font-weight: 600; color: var(--navy); letter-spacing: .02em; }
.form-input, .form-select, .form-textarea {
    font-family: var(--font-body); font-size: .88rem; color: var(--navy);
    background: var(--light); border: 1.5px solid var(--border);
    border-radius: 8px; padding: .65rem .9rem; outline: none;
    transition: border-color var(--transition), box-shadow var(--transition); width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(46,62,190,.1); background: var(--white); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-select   { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7a99' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 2.2rem; }
.form-submit { width: 100%; justify-content: center; }
.form-note   { font-size: .74rem; color: var(--gray); text-align: center; margin-top: .75rem; line-height: 1.5; }

/* ─────────────────────────────────────────
   SUPPORT
───────────────────────────────────────── */
.support-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--blue-mid) 100%); padding: 4rem 2rem; text-align: center; border-radius: var(--radius-lg); border: none; }
.support-hero .section-label { color: var(--hero-label); }
.support-hero .section-title { color: var(--white); }
.support-hero .section-sub   { color: var(--hero-muted); margin: .9rem auto 0; }

.support-search-wrap { max-width: 520px; margin: 1.75rem auto 0; display: flex; background: var(--white); border-radius: 10px; box-shadow: 0 4px 24px rgba(0,0,0,.2); overflow: hidden; }
.support-search-wrap input { flex: 1; border: none; outline: none; padding: .9rem 1.1rem; font-family: var(--font-body); font-size: .94rem; color: var(--navy); }
.support-search-btn { background: var(--blue); color: var(--white); border: none; padding: 0 1.4rem; font-family: var(--font-body); font-size: .88rem; font-weight: 600; cursor: pointer; transition: background var(--transition); }
.support-search-btn:hover { background: var(--navy); }

.categories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
.cat-card { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 1.75rem 1.5rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .6rem; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); cursor: pointer; }
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.cat-icon  { font-size: 2rem; }
.cat-title { font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--navy); }
.cat-desc  { font-size: .84rem; color: var(--gray); line-height: 1.6; }
.cat-count { font-size: .76rem; font-weight: 600; color: var(--sky); margin-top: auto; }

.support-body { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; align-items: start; margin-top: 2rem; }
.articles-section h3, .sidebar-box h3 { font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--navy); margin-bottom: 1rem; }
.articles-list { display: flex; flex-direction: column; gap: .75rem; }
.article-item { background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); padding: 1.1rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; box-shadow: var(--shadow); transition: border-color var(--transition), transform var(--transition); cursor: pointer; }
.article-item:hover { border-color: var(--accent); transform: translateX(4px); }
.article-left  { display: flex; align-items: center; gap: .9rem; }
.article-icon  { font-size: 1.3rem; flex-shrink: 0; }
.article-title { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: 2px; }
.article-meta  { font-size: .75rem; color: var(--gray); }
.article-arrow { color: var(--gray); flex-shrink: 0; }

.support-sidebar { display: flex; flex-direction: column; gap: 1.25rem; }
.sidebar-box { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 1.5rem; box-shadow: var(--shadow); }
.sc-item  { display: flex; align-items: center; gap: .75rem; margin-bottom: .9rem; }
.sc-item:last-child { margin-bottom: 0; }
.sc-icon  { width: 36px; height: 36px; border-radius: 8px; background: var(--steel); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.sc-text  { font-size: .84rem; color: var(--navy); font-weight: 500; }
.sc-note  { font-size: .75rem; color: var(--gray); }
.status-row { display: flex; align-items: center; justify-content: space-between; padding: .5rem 0; border-bottom: 1px solid var(--border); font-size: .84rem; }
.status-row:last-child { border-bottom: none; }
.status-dot  { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: .4rem; }
.dot-green   { background: var(--success); }
.dot-amber   { background: var(--amber); }
.status-label { color: var(--navy); }
.status-ok    { color: var(--success); font-weight: 600; font-size: .78rem; }
.status-warn  { color: #d97706; font-weight: 600; font-size: .78rem; }

/* ─────────────────────────────────────────
   NAV AUTH ICON
───────────────────────────────────────── */
.nav-auth { display: flex; align-items: center; margin-left: .25rem; flex-shrink: 0; }

.auth-icon {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    color: var(--gray);
    transition: color var(--transition), background var(--transition);
}
.auth-icon:hover { color: var(--blue); background: var(--steel); }
.auth-dot {
    position: absolute; bottom: 4px; right: 4px;
    width: 8px; height: 8px; border-radius: 50%;
    border: 1.5px solid var(--white);
}
.auth-dot-on { background: var(--success); }

/* ─────────────────────────────────────────
   ADMIN DROPDOWN
───────────────────────────────────────── */
.nav-dropdown { position: relative; }

.nav-dropdown-toggle {
    display: flex; align-items: center; gap: .3rem;
    font-family: var(--font-body); font-size: .9rem; font-weight: 500;
    color: var(--gray); background: none; border: none; cursor: pointer;
    padding: .45rem .9rem; border-radius: 7px;
    transition: color var(--transition), background var(--transition);
}
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.active { color: var(--blue); background: var(--steel); }

.nav-dropdown-menu {
    display: none;
    position: absolute; top: calc(100% + 6px); left: 0;
    min-width: 210px;
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius); box-shadow: var(--shadow-lg);
    padding: .35rem 0; z-index: 300;
}
.nav-dropdown-menu li a {
    display: block; padding: .6rem 1.1rem;
    font-size: .88rem; font-weight: 500; color: var(--navy);
    transition: background var(--transition), color var(--transition);
    white-space: nowrap;
}
.nav-dropdown-menu li a:hover { background: var(--light); color: var(--blue); }
.nav-dropdown.open .nav-dropdown-menu { display: block; }

/* ─────────────────────────────────────────
   LOGIN PAGE
───────────────────────────────────────── */
.login-wrap {
    max-width: 420px; margin: 4rem auto; padding: 0 1.5rem;
}
.login-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
    padding: 2.5rem 2rem;
}
.login-header { text-align: center; margin-bottom: 1.75rem; }
.login-title  { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--navy); margin-top: .4rem; }
.login-error  { background: #fee2e2; color: #b91c1c; border-radius: 8px; padding: .7rem 1rem; font-size: .86rem; margin-bottom: 1rem; }

/* ─────────────────────────────────────────
   ADMIN PAGES
───────────────────────────────────────── */
.admin-header {
    display: flex; align-items: flex-start; justify-content: space-between;
    flex-wrap: wrap; gap: 1rem; margin-bottom: 1.75rem;
}
.admin-alert {
    border-radius: 8px; padding: .7rem 1rem; font-size: .86rem; margin-bottom: 1.25rem;
}
.admin-alert-success { background: #dcfce7; color: #15803d; }
.admin-alert-error   { background: #fee2e2; color: #b91c1c; }

.admin-table-wrap { overflow-x: auto; }
.admin-table {
    width: 100%; border-collapse: collapse; font-size: .88rem;
}
.admin-table th {
    text-align: left; padding: .65rem 1rem;
    font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
    color: var(--gray); background: var(--light);
    border-bottom: 2px solid var(--border);
}
.admin-table td {
    padding: .8rem 1rem; border-bottom: 1px solid var(--border);
    color: var(--navy); vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--light); }
.td-name { font-weight: 500; }
.td-actions { display: flex; gap: .5rem; align-items: center; }

.action-btn {
    display: inline-flex; align-items: center;
    padding: .35rem .8rem; border-radius: 6px;
    font-size: .78rem; font-weight: 600; cursor: pointer;
    border: 1.5px solid transparent;
    transition: background var(--transition), color var(--transition);
    background: none;
}
.action-edit   { border-color: var(--blue); color: var(--blue); }
.action-edit:hover { background: var(--blue); color: var(--white); }
.action-delete { border-color: var(--red); color: var(--red); }
.action-delete:hover { background: var(--red); color: var(--white); }

.edit-form-wrap { max-width: 700px; }

/* ── Site Settings admin ──────────────────────────────────────── */
.stg-page-block   { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 1.75rem 2rem; margin-bottom: 1.75rem; }
.stg-page-title   { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; color: var(--navy); padding-bottom: .65rem; border-bottom: 2px solid var(--border); margin-bottom: 1.5rem; }

.stg-subgroup       { margin-bottom: 1.5rem; }
.stg-subgroup:last-child { margin-bottom: 0; }
.stg-subgroup-title { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sky); margin-bottom: .85rem; padding-bottom: .4rem; border-bottom: 1px dashed var(--border); }

.stg-fields       { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; }
.stg-fields .form-group { margin-bottom: .85rem; }
.stg-full         { grid-column: 1 / -1; }

.stg-toggles      { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-bottom: .85rem; }
.stg-toggle-label { display: flex; align-items: center; gap: .5rem; cursor: pointer; font-size: .88rem; color: var(--navy); }
.stg-toggle-check { width: 16px; height: 16px; accent-color: var(--blue); cursor: pointer; }

.stg-logo-wrap    { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.stg-logo-preview { height: 60px; width: auto; object-fit: contain; border: 1px solid var(--border); border-radius: var(--radius); padding: .5rem; background: var(--light); }
.stg-logo-status  { font-size: .75rem; margin-top: .35rem; }
.stg-logo-active  { color: var(--success); }
.stg-logo-default { color: var(--gray); }
.stg-logo-form    { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }

.stg-save-bar     { position: sticky; bottom: 1.5rem; display: flex; justify-content: flex-end; padding: 1rem 1.25rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); margin-top: .5rem; }

.stg-color-swatch { display: flex; align-items: center; gap: .6rem; }
.stg-color-swatch input[type="color"] { width: 40px; height: 32px; padding: 2px; border: 1.5px solid var(--border); border-radius: 6px; cursor: pointer; background: none; }
.stg-color-swatch input[type="text"] { flex: 1; }

@media (max-width: 768px) { .stg-fields { grid-template-columns: 1fr; } .stg-full { grid-column: 1; } }

/* Image management (admin edit) */
.img-mgmt-section  { margin-top: 4rem; border-top: 1px solid var(--border); padding-top: 2rem; }
.img-mgmt-title    { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 1.25rem; }
.img-mgmt-empty    { font-size: .86rem; color: var(--gray); margin-bottom: 1.25rem; }

.img-mgmt-grid     { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem; }
.img-mgmt-card     { position: relative; border: 2px solid var(--border); border-radius: var(--radius); overflow: hidden; width: 140px; }
.img-mgmt-card.img-primary { border-color: var(--blue); }
.img-mgmt-thumb    { width: 140px; height: 100px; object-fit: cover; display: block; }
.img-primary-badge { position: absolute; top: 6px; left: 6px; background: var(--blue); color: var(--white); font-size: .65rem; font-weight: 700; padding: 2px 7px; border-radius: 10px; letter-spacing: .04em; }
.img-mgmt-actions  { display: flex; gap: .35rem; padding: .4rem .5rem; background: var(--light); justify-content: flex-end; }

.img-upload-form   { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.img-upload-label  {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .55rem 1.1rem; border-radius: 8px; cursor: pointer;
    border: 1.5px dashed var(--border); background: var(--light);
    font-size: .86rem; color: var(--gray); transition: border-color var(--transition), color var(--transition);
}
.img-upload-label:hover { border-color: var(--blue); color: var(--blue); }
.img-upload-input  { display: none; }

.admin-checkbox { display: flex; align-items: center; gap: .5rem; font-size: .88rem; color: var(--navy); cursor: pointer; }
.admin-checkbox input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--blue); cursor: pointer; }

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.site-footer { background: var(--dark); color: var(--footer-text); margin-top: 3rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 3rem 2rem 2rem; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; }
.footer-brand .footer-logo { height: 40px; margin-bottom: .9rem; filter: brightness(0) invert(1) opacity(.55); }
.footer-brand p { font-size: .84rem; line-height: 1.7; }
.footer-links-col h4, .footer-contact-col h4 { font-family: var(--font-head); font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--footer-head); margin-bottom: 1rem; }
.footer-links-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-links-col a { font-size: .84rem; color: var(--footer-text); transition: color var(--transition); }
.footer-links-col a:hover { color: var(--accent); }
.footer-contact-col p { font-size: .84rem; margin-bottom: .5rem; line-height: 1.6; }
.footer-bottom { border-top: 1px solid var(--footer-rule); text-align: center; padding: 1.25rem 2rem; font-size: .82rem; line-height: 1.8; }
.footer-bottom strong { color: var(--footer-head); }

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 900px) {
    .detail-wrap     { grid-template-columns: 1fr; gap: 2rem; }
    .detail-gallery  { position: static; }
    .pricing-grid    { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
    .about-story     { grid-template-columns: 1fr; gap: 2rem; }
    .contact-layout  { grid-template-columns: 1fr; gap: 2rem; }
    .support-body    { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: 1fr 1fr; }
    .footer-inner    { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }

    #mainNav {
        display: none;
        position: absolute; top: 72px; left: 0; right: 0;
        background: var(--white);
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 8px 24px rgba(13,27,75,.1);
        z-index: 199;
    }
    #mainNav.open { display: block; }
    .menu { flex-direction: column; gap: 0; padding: .75rem 0; }
    .menu li a { display: block; padding: .75rem 1.5rem; border-radius: 0; color: var(--navy); }
    .menu li a:hover { background: var(--light); }
    .nav-cta { border-radius: 0 !important; }

    .form-row        { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: 1fr; }
    .footer-inner    { grid-template-columns: 1fr; gap: 2rem; }
    .stat-item       { border-right: none; border-bottom: 1px solid var(--border); }
    .stat-item:last-child { border-bottom: none; }
}
