/**
 * Responsive CSS — nizam10x Theme
 * Pixel-perfect responsive from 320px to 4K
 * NO horizontal scroll, NO overflow, NO layout breaks
 * ===================================================
 * @package Software_Services_Theme
 */

/* ===========================
   1. ROOT OVERFLOW PREVENTION
   =========================== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

body.drawer-open,
body.modal-open {
    overflow: hidden;
}

img, video, iframe, embed, object, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

table {
    max-width: 100%;
    overflow-x: auto;
    display: block;
}

/* ===========================
   2. CONTAINER SYSTEM
   =========================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

.container-sm  { max-width: 860px; }
.container-xs  { max-width: 640px; }

/* ===========================
   3. TOP BAR
   =========================== */
.top-bar {
    background: var(--color-primary-dark, #0a0e1a);
    color: #a0aec0;
    font-size: 0.75rem;
    padding: 6px 0;
    width: 100%;
    overflow: hidden;
}

.top-bar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px;
    padding: 0 clamp(1rem, 4vw, 2rem);
    max-width: 1200px;
    margin: 0 auto;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.top-info-item a { color: #a0aec0; text-decoration: none; }
.top-info-item a:hover { color: #fff; }

/* ===========================
   4. HEADER
   =========================== */
.site-header {
    background: #0d1526;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    position: sticky;
    top: 0;
    z-index: 900;
    width: 100%;
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.scrolled {
    background: rgba(13, 21, 38, 0.97);
    box-shadow: 0 4px 30px rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 clamp(1rem, 4vw, 2rem);
    max-width: 1200px;
    margin: 0 auto;
    height: 64px;
}

/* Brand / Logo */
.site-title-link {
    text-decoration: none;
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    font-weight: 900;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.brand-n   { color: #fff; }
.brand-10x { color: #6366f1; }

/* Desktop Nav */
.primary-navigation { flex: 1; }

.nav-menu, .primary-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: nowrap;
}

.nav-menu > li > a,
.primary-menu > li > a {
    display: block;
    padding: 8px 14px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}

.nav-menu > li > a:hover,
.primary-menu > li > a:hover,
.nav-menu > li > a:focus,
.primary-menu > li > a:focus {
    color: #fff;
    background: rgba(255,255,255,0.07);
}

/* Dropdown / sub-menu */
.menu-item-has-children {
    position: relative;
}

.sub-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 220px;
    background: #151e35;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 8px 0;
    box-shadow: 0 16px 40px rgba(0,0,0,0.5);
    z-index: 999;
    list-style: none;
}

.menu-item-has-children:hover .sub-menu,
.menu-item-has-children:focus-within .sub-menu {
    display: block;
}

.sub-menu li a {
    display: block;
    padding: 9px 18px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}

.sub-menu li a:hover { color: #fff; background: rgba(255,255,255,0.06); }

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-header { white-space: nowrap; }

.btn-header span { display: inline; }

/* Hamburger toggle */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

.hamburger-bar {
    display: block;
    width: 20px;
    height: 2px;
    background: #e2e8f0;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

/* ===========================
   5. MOBILE DRAWER — FIXED
   =========================== */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1000;
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.is-active {
    display: block;
    opacity: 1;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 100vw);
    background: #0d1526;
    border-left: 1px solid rgba(255,255,255,0.08);
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mobile-drawer.is-open {
    transform: translateX(0);
}

.mobile-drawer-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-shrink: 0;
}

.mobile-brand {
    font-size: 1.4rem;
    font-weight: 900;
    text-decoration: none;
}

.mobile-drawer-close {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    color: #e2e8f0;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav {
    flex: 1;
    padding: 12px 0;
    overflow-y: auto;
}

.mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0 12px;
}

.mobile-menu-list li a,
.mobile-submenu-toggle {
    display: block;
    padding: 12px 14px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-list li a:hover,
.mobile-submenu-toggle:hover {
    background: rgba(255,255,255,0.07);
    color: #fff;
}

.mobile-submenu {
    list-style: none;
    margin: 4px 0 0 0;
    padding: 0 0 0 14px;
}

.mobile-submenu li a {
    font-size: 0.88rem;
    color: #94a3b8;
    padding: 9px 14px;
}

.mobile-submenu li a:hover { color: #fff; }

.mobile-drawer-cta {
    padding: 16px 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    flex-shrink: 0;
}

.btn-block { display: block; width: 100%; text-align: center; }

.mobile-contact-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 12px;
}

.mobile-contact-info a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.85rem;
    text-align: center;
}

.mobile-contact-info a:hover { color: #fff; }

/* ===========================
   6. PAGE HERO
   =========================== */
.page-hero-section {
    background: linear-gradient(135deg, #0d1526 0%, #141e38 60%, #0f1e34 100%);
    padding: clamp(3rem, 8vw, 6rem) 0 clamp(2rem, 5vw, 4rem);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(99,102,241,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero-section h1 {
    font-size: clamp(1.8rem, 5vw, 3.2rem);
    color: #fff;
    margin: 0.5rem 0 1rem;
    line-height: 1.2;
    font-weight: 800;
}

.page-hero-desc {
    color: #94a3b8;
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===========================
   7. SECTIONS
   =========================== */
.section {
    padding: clamp(3rem, 7vw, 5rem) 0;
}

.section-light { background: #f8fafc; }
.section-dark  { background: #0d1526; }

/* ===========================
   8. CARDS & GRIDS
   =========================== */
.cards-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.cards-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.cards-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

/* System cards */
.system-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: clamp(1.25rem, 3vw, 1.75rem);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    overflow: hidden;
}

.system-card:hover {
    box-shadow: 0 12px 40px rgba(99,102,241,0.12);
    transform: translateY(-2px);
}

.system-card-top {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.sys-icon { font-size: 1.6rem; line-height: 1; flex-shrink: 0; }

.sys-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    text-decoration: none;
    line-height: 1.3;
}

.sys-title:hover { color: #6366f1; }

.sys-desc {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.sys-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sys-features li {
    font-size: 0.82rem;
    color: #475569;
}

.sys-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid #f1f5f9;
    padding-top: 10px;
}

.sys-price span { font-size: 0.75rem; color: #94a3b8; display: block; }
.sys-price strong { font-size: 1.1rem; color: #6366f1; font-weight: 800; }

.sys-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

/* ===========================
   9. FILTER PILLS
   =========================== */
.filter-pills-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 2rem;
}

.filter-pill {
    display: inline-block;
    padding: 7px 16px;
    border-radius: 100px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #475569;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.filter-pill:hover,
.filter-pill.active {
    background: #6366f1;
    border-color: #6366f1;
    color: #fff;
}

/* ===========================
   10. SYSTEM GROUP HEADERS
   =========================== */
.system-group {
    margin-bottom: 3rem;
}

.group-heading {
    font-size: clamp(1.25rem, 3vw, 1.6rem);
    color: #1e293b;
    font-weight: 800;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.group-heading span { font-size: 1.6rem; }

/* ===========================
   11. CONTACT PAGE GRID
   =========================== */
.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 2rem;
    align-items: start;
}

.section-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.section-card h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1e293b;
    margin-top: 0;
}

.info-card h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #94a3b8;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-link {
    display: block;
    color: #1e293b;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 4px 0;
}

.contact-link:hover { color: #6366f1; }

.whatsapp-link { color: #25d366 !important; font-weight: 600; }

.divider-sm { border: none; border-top: 1px solid #f1f5f9; margin: 1rem 0; }

.steps-list-sm {
    padding-left: 1.25rem;
    margin: 0;
}

.steps-list-sm li { font-size: 0.875rem; color: #475569; margin-bottom: 6px; line-height: 1.5; }

.trust-bar-mini {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.trust-item-mini {
    text-align: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem 0.5rem;
}

.trust-num { display: block; font-size: 1.4rem; font-weight: 900; color: #6366f1; }
.trust-lbl { display: block; font-size: 0.72rem; color: #94a3b8; margin-top: 2px; }

/* ===========================
   12. FORMS
   =========================== */
.booking-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 1rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #1e293b;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 36px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.12);
}

.form-feedback {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.form-feedback.success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.form-feedback.error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

.form-privacy { font-size: 0.78rem; color: #94a3b8; text-align: center; margin-top: 8px; }

/* ===========================
   13. BUTTONS
   =========================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
    line-height: 1.2;
}

.btn-sm  { padding: 6px 14px; font-size: 0.8rem; }
.btn-lg  { padding: 14px 28px; font-size: 1rem; }

.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #fff;
    border-color: transparent;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(99,102,241,0.35);
}

.btn-outline {
    background: transparent;
    color: #6366f1;
    border-color: #6366f1;
}

.btn-outline:hover { background: #6366f1; color: #fff; }

/* ===========================
   14. BREADCRUMBS
   =========================== */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 1rem;
}

.breadcrumbs a { color: #64748b; text-decoration: none; }
.breadcrumbs a:hover { color: #6366f1; }
.breadcrumbs .sep { color: #94a3b8; }

/* ===========================
   15. EYEBROW LABEL
   =========================== */
.eyebrow-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    background: rgba(99,102,241,0.12);
    border: 1px solid rgba(99,102,241,0.25);
    border-radius: 100px;
    color: #818cf8;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

/* ===========================
   16. SECTION HEADINGS
   =========================== */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-title  { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; margin: 0 0 0.75rem; line-height: 1.2; }
.section-subtitle { font-size: clamp(0.9rem, 2vw, 1.05rem); color: #64748b; line-height: 1.7; margin: 0; }

/* ===========================
   17. FOOTER
   =========================== */
.site-footer {
    background: #0a0e1a;
    color: #64748b;
    padding: clamp(3rem, 6vw, 5rem) 0 1.5rem;
    width: 100%;
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand .site-title-link { font-size: 1.5rem; }

.footer-section h4 {
    color: #e2e8f0;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-links a:hover { color: #a5b4fc; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.8rem;
}

/* ===========================
   18. HERO SECTION (HOMEPAGE)
   =========================== */
.hero-section {
    background: linear-gradient(135deg, #060d1f 0%, #0d1526 50%, #111827 100%);
    padding: clamp(4rem, 10vw, 8rem) 0 clamp(3rem, 7vw, 6rem);
    overflow: hidden;
    position: relative;
}

.hero-content-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text-col .hero-title {
    font-size: clamp(2rem, 5.5vw, 3.6rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    margin: 0.75rem 0 1.25rem;
    letter-spacing: -0.02em;
}

.hero-text-col .hero-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: #94a3b8;
    line-height: 1.75;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.hero-visual-col {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* ===========================
   19. SHOWCASE / MOCKUP WINDOWS
   =========================== */
.dashboard-mockup {
    background: #151e35;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    overflow: hidden;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
    flex-shrink: 0;
}

.mockup-titlebar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.mockup-dot.red    { background: #ef4444; }
.mockup-dot.yellow { background: #f59e0b; }
.mockup-dot.green  { background: #22c55e; }

.mockup-body {
    padding: clamp(0.75rem, 2vw, 1.25rem);
    overflow: hidden;
}

/* ===========================
   20. SOLUTIONS SHOWCASE (HOME)
   =========================== */
.solutions-tabs-section {
    overflow: hidden;
    width: 100%;
}

.solutions-tabs-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
    flex-wrap: nowrap;
}

.solutions-tabs-nav::-webkit-scrollbar { display: none; }

.tab-btn {
    flex-shrink: 0;
    scroll-snap-align: start;
    padding: 10px 18px;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    border: 1.5px solid rgba(255,255,255,0.08);
    color: #94a3b8;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.tab-btn.active,
.tab-btn:hover {
    background: rgba(99,102,241,0.15);
    border-color: rgba(99,102,241,0.4);
    color: #a5b4fc;
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.tab-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-top: 2rem;
}

.tab-text-col .tab-title {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 1rem;
}

.tab-text-col .tab-desc {
    color: #94a3b8;
    font-size: clamp(0.875rem, 2vw, 0.95rem);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.tab-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.tab-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    font-size: 0.83rem;
    color: #cbd5e1;
}

.tab-feature-icon { color: #6366f1; font-size: 0.9rem; flex-shrink: 0; margin-top: 2px; }

/* ===========================
   21. STATS / TRUST BAR
   =========================== */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    text-align: center;
}

.stat-item { padding: 1rem; }
.stat-number { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; color: #6366f1; display: block; }
.stat-label  { font-size: 0.83rem; color: #94a3b8; margin-top: 4px; display: block; }

/* ===========================
   22. PROCESS / STEPS
   =========================== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
}

.process-step { text-align: center; padding: 1.5rem 1rem; }
.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.step-title { font-size: 1rem; font-weight: 700; color: #1e293b; margin-bottom: 0.5rem; }
.step-desc  { font-size: 0.85rem; color: #64748b; line-height: 1.6; }

/* ===========================
   23. TESTIMONIALS
   =========================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.5rem;
}

.test-stars  { color: #f59e0b; font-size: 1rem; margin-bottom: 0.75rem; }
.test-body   { font-size: 0.9rem; color: #475569; line-height: 1.7; font-style: italic; margin-bottom: 1rem; }
.test-author { display: flex; align-items: center; gap: 10px; }
.test-avatar { width: 40px; height: 40px; border-radius: 50%; background: #e2e8f0; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.test-name   { font-size: 0.875rem; font-weight: 700; color: #1e293b; }
.test-role   { font-size: 0.78rem; color: #94a3b8; }

/* ===========================
   24. CTA SECTION
   =========================== */
.cta-section {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 50%, #4338ca 100%);
    padding: clamp(3rem, 7vw, 5rem) 0;
    text-align: center;
    overflow: hidden;
}

.cta-section h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); color: #fff; font-weight: 800; margin-bottom: 0.75rem; }
.cta-section p  { color: rgba(255,255,255,0.8); font-size: clamp(0.9rem, 2vw, 1.05rem); margin-bottom: 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-white { background: #fff; color: #4f46e5; border-color: #fff; }
.btn-white:hover { background: #f8fafc; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* ===========================
   25. BOOKING MODAL
   =========================== */
.booking-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(4px);
}

.booking-modal-overlay.is-active {
    display: flex;
}

.booking-modal-box {
    background: #fff;
    border-radius: 16px;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f1f5f9;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===========================
   26. SOLUTION BUILDER PRICING
   =========================== */
.pricing-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.pricing-card {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(99,102,241,0.12); }
.pricing-card.featured { border-color: #6366f1; }

.pricing-card .price-tag {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 900;
    color: #6366f1;
}

.pricing-card .price-period { font-size: 0.85rem; color: #94a3b8; }
.pricing-card .price-name { font-size: 1.1rem; font-weight: 800; color: #1e293b; margin-bottom: 0.5rem; }
.pricing-card .price-desc { font-size: 0.85rem; color: #64748b; margin-bottom: 1.5rem; }
.price-features { list-style: none; padding: 0; margin: 0 0 1.5rem; text-align: left; }
.price-features li { font-size: 0.85rem; color: #475569; padding: 5px 0; display: flex; align-items: center; gap: 8px; }
.price-features li::before { content: '✓'; color: #22c55e; font-weight: 700; flex-shrink: 0; }

/* ===========================
   27. BLOG PAGE
   =========================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.blog-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.08); transform: translateY(-2px); }
.blog-card-thumb { aspect-ratio: 16/9; background: #f1f5f9; overflow: hidden; }
.blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.blog-card-cat { font-size: 0.73rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: #6366f1; }
.blog-card-title { font-size: 1rem; font-weight: 700; color: #1e293b; margin: 0; line-height: 1.4; }
.blog-card-title a { text-decoration: none; color: inherit; }
.blog-card-title a:hover { color: #6366f1; }
.blog-card-excerpt { font-size: 0.85rem; color: #64748b; line-height: 1.6; margin: 0; }
.blog-card-meta { font-size: 0.78rem; color: #94a3b8; margin-top: auto; padding-top: 8px; border-top: 1px solid #f1f5f9; }

/* ===========================
   28. PORTFOLIO GRID
   =========================== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.portfolio-card {
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    background: #1a2744;
    cursor: pointer;
}

.portfolio-card-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-card-bg { transform: scale(1.05); }

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-card-title { color: #fff; font-size: 1rem; font-weight: 700; }
.portfolio-card-tag   { color: #a5b4fc; font-size: 0.78rem; margin-top: 4px; }

/* ===========================
   29. UTILITY HELPERS
   =========================== */
.text-center { text-align: center; }
.text-muted  { color: #64748b; font-size: 0.9rem; }
.mb-0 { margin-bottom: 0; }
.mt-auto { margin-top: auto; }
.visually-hidden,
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
}

/* ===========================
   30. BREADCRUMBS HELPER
   =========================== */
.breadcrumbs-wrap { margin-bottom: 0.75rem; }

/* ================================================
   RESPONSIVE BREAKPOINTS
   Tablet: max-width 1024px
   Mobile-L: max-width 768px
   Mobile-S: max-width 480px
   ================================================ */

/* --- Tablet 1024px --- */
@media (max-width: 1024px) {
    .cards-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .hero-content-wrap { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .hero-actions { justify-content: center; }
    .hero-visual-col { justify-content: center; }
    .dashboard-mockup { max-width: 380px; }
    .tab-content-grid { grid-template-columns: 1fr; }
    .tab-features-grid { grid-template-columns: 1fr 1fr; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .contact-page-grid { grid-template-columns: 1fr; }
    .pricing-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-bar-mini { grid-template-columns: repeat(3, 1fr); }
    /* Hide desktop nav; show hamburger */
    .primary-navigation { display: none; }
    .mobile-nav-toggle  { display: flex; }
    .btn-header span    { display: none; }
    .btn-header         { padding: 8px 12px; }
    .top-info-phone     { display: none; }
}

/* --- Mobile-L 768px --- */
@media (max-width: 768px) {
    .cards-grid-3, .cards-grid-2 { grid-template-columns: 1fr; }
    .cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .booking-form .form-row { grid-template-columns: 1fr; }
    .hero-text-col .hero-title { font-size: clamp(1.8rem, 7vw, 2.4rem); }
    .dashboard-mockup { max-width: 100%; }
    .tab-features-grid { grid-template-columns: 1fr; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .pricing-cards-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr 1fr; }
    .trust-bar-mini { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
    .cta-actions { flex-direction: column; align-items: center; }
    .filter-pills-bar { gap: 6px; }
    .system-group { margin-bottom: 2rem; }
    .sys-card-footer { flex-direction: column; align-items: flex-start; }
    .top-bar-right { display: none; }
    .header-container { height: 56px; }
}

/* --- Mobile-S 480px --- */
@media (max-width: 480px) {
    .cards-grid-4 { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; }
    .trust-bar-mini { grid-template-columns: 1fr; }
    .stats-bar { grid-template-columns: 1fr 1fr; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .tab-btn { font-size: 0.8rem; padding: 8px 13px; }
    .dashboard-mockup { display: none; }
    .btn-header { display: none; }
    .mobile-drawer { width: 100vw; border-left: none; }
    .section-card { padding: 1.25rem; }
    .pricing-card { padding: 1.25rem; }
    .sys-actions { width: 100%; }
    .sys-actions .btn { flex: 1; text-align: center; }
    .filter-pills-bar { gap: 4px; }
    .filter-pill { font-size: 0.78rem; padding: 6px 10px; }
    .group-heading { font-size: 1.1rem; }
    .top-bar { display: none; }
    .booking-modal-box { border-radius: 14px 14px 0 0; max-height: 85vh; }
    .booking-modal-overlay { align-items: flex-end; padding: 0; }
}

/* --- Very small screens 360px --- */
@media (max-width: 360px) {
    .container { padding: 0 0.75rem; }
    .header-container { padding: 0 0.75rem; }
    .site-title-link { font-size: 1.15rem; }
    .section-title { font-size: 1.4rem; }
    .stats-bar { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
    .stat-number { font-size: 1.6rem; }
}

/* --- Large Screens 1400px+ --- */
@media (min-width: 1400px) {
    .container { max-width: 1320px; }
    .cards-grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ===========================
   31. ACCESSIBILITY & FOCUS
   =========================== */
:focus-visible {
    outline: 2px solid #6366f1;
    outline-offset: 3px;
    border-radius: 4px;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid #6366f1;
    outline-offset: 3px;
}

/* Smooth transitions for reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
