/* ===========================
   CranUp Theme — main.css
   Colors: #F7921A (orange), #111111 (black), #FFFFFF (white)
   Font: Inter
=========================== */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #111111;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Design Tokens */
:root {
    --orange: #F7921A;
    --orange-dark: #E07C0A;
    --orange-light: #FFF3E5;
    --black: #111111;
    --dark: #1A1A1A;
    --gray-900: #222222;
    --gray-700: #444444;
    --gray-500: #777777;
    --gray-300: #CCCCCC;
    --gray-100: #F5F5F5;
    --white: #FFFFFF;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 40px rgba(247,146,26,0.18);
    --transition: 0.25s ease;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    white-space: nowrap;
}
.btn-primary {
    background: var(--orange);
    color: var(--white);
    border-color: var(--orange);
}
.btn-primary:hover {
    background: var(--orange-dark);
    border-color: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}
.btn-outline {
    background: transparent;
    color: var(--black);
    border-color: var(--black);
}
.btn-outline:hover {
    background: var(--black);
    color: var(--white);
    transform: translateY(-2px);
}
.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn-outline-white:hover {
    background: var(--white);
    color: var(--black);
    transform: translateY(-2px);
}
.btn-lg { padding: 18px 36px; font-size: 17px; border-radius: 10px; }

/* ===========================
   HEADER / NAV
=========================== */
.admin-bar .site-header {
    top: 32px;
}
/* On mobile, WP admin bar is position:absolute (scrolls away) — reset header to top:0 */
@media screen and (max-width: 782px) {
    .admin-bar .site-header { top: 0; }
    .admin-bar .page-content { padding-top: 72px; }
    .admin-bar .mobile-drawer { padding-top: 72px; }
}

.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100002;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.07);
    transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.1); }
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 32px;
}
.site-logo img { height: 36px; width: auto; }
.primary-nav ul { display: flex; align-items: center; gap: 4px; }
.primary-nav > ul > li { position: relative; }
.primary-nav > ul > li > a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: 6px;
    transition: all var(--transition);
}
.primary-nav > ul > li > a:hover,
.primary-nav > ul > li.active > a { color: var(--orange); }
.nav-arrow { font-size: 10px; opacity: 0.6; }

/* Dropdown */
.dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: var(--radius-sm);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    min-width: 240px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    pointer-events: none;
}
.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    top: calc(100% + 4px);
}
.dropdown li a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: 6px;
    transition: all var(--transition);
}
.dropdown li a:hover { background: var(--orange-light); color: var(--orange); }

/* Mobile toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}
.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--black);
    border-radius: 2px;
    transition: all var(--transition);
}
.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===========================
   PAGE LAYOUT
=========================== */
.page-content { padding-top: 72px; }
.admin-bar .page-content { padding-top: 104px; }
@media screen and (max-width: 782px) {
    .admin-bar .page-content { padding-top: 118px; }
}

/* ===========================
   HERO SECTION
=========================== */
.hero {
    padding: 100px 0 80px;
    background: var(--white);
    text-align: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--orange-light);
    color: var(--orange);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.hero h1 {
    font-size: clamp(36px, 5.5vw, 64px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--black);
    max-width: 900px;
    margin: 0 auto 24px;
}
.hero h1 em { font-style: normal; color: var(--orange); }
.hero-sub {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--gray-500);
    max-width: 680px;
    margin: 0 auto 40px;
    line-height: 1.7;
}
.hero-ctas { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* Breadcrumb */
.breadcrumb {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 20px;
}
.breadcrumb a { color: var(--orange); }
.breadcrumb span { margin: 0 6px; }

/* ===========================
   TRUST BAR
=========================== */
.trust-bar {
    background: var(--gray-100);
    padding: 28px 0;
    border-top: 1px solid rgba(0,0,0,0.06);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.trust-bar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
}
.trust-item::before {
    content: "✓";
    width: 22px;
    height: 22px;
    background: var(--orange);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

/* ===========================
   MARQUEE
=========================== */
.marquee-section {
    background: var(--black);
    padding: 16px 0;
    overflow: hidden;
}
.marquee-track {
    display: flex;
    gap: 0;
    white-space: nowrap;
    animation: marquee 28s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 0 32px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}
.marquee-item::after {
    content: "◆";
    color: var(--orange);
    font-size: 8px;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===========================
   SECTION STYLES
=========================== */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-dark { background: var(--dark); color: var(--white); }
.section-gray { background: var(--gray-100); }
.section-orange { background: var(--orange); color: var(--white); }

.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}
.section-header h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}
.section-dark .section-header h2,
.section-orange .section-header h2 { color: var(--white); }
.section-header p {
    font-size: 17px;
    color: var(--gray-500);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.7;
}
.section-dark .section-header p { color: rgba(255,255,255,0.7); }
.section-orange .section-header p { color: rgba(255,255,255,0.85); }

/* ===========================
   CARDS GRID
=========================== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.cards-grid-2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: var(--radius);
    padding: 32px;
    transition: all var(--transition);
    position: relative;
}
.card:hover {
    border-color: var(--orange);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}
.section-dark .card { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); }
.section-dark .card:hover { background: rgba(255,255,255,0.1); border-color: var(--orange); }
.card-icon {
    width: 48px;
    height: 48px;
    background: var(--orange-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 22px;
}
.card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--black);
}
.section-dark .card h3 { color: var(--white); }
.card p { font-size: 14px; color: var(--gray-500); line-height: 1.6; }
.section-dark .card p { color: rgba(255,255,255,0.65); }

/* Numbered cards */
.card-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--orange);
    line-height: 1;
    margin-bottom: 12px;
    opacity: 0.15;
    position: absolute;
    top: 24px;
    right: 24px;
}

/* ===========================
   STATS
=========================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.stat-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid rgba(0,0,0,0.08);
}
.section-dark .stat-card { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); }
.stat-number {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 900;
    color: var(--orange);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}
.stat-label {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.5;
}
.section-dark .stat-label { color: rgba(255,255,255,0.6); }

/* ===========================
   ABOUT SPLIT
=========================== */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.split-content h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}
.split-content p {
    font-size: 16px;
    color: var(--gray-500);
    line-height: 1.75;
    margin-bottom: 16px;
}
.split-content .btn { margin-top: 12px; }
.split-cards { display: flex; flex-direction: column; gap: 16px; }
.split-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: var(--radius-sm);
    padding: 20px 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: all var(--transition);
}
.split-card:hover { border-color: var(--orange); box-shadow: 0 4px 16px rgba(247,146,26,0.12); }
.split-card-icon {
    width: 40px;
    height: 40px;
    background: var(--orange-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.split-card-text h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.split-card-text p { font-size: 13px; color: var(--gray-500); margin: 0; }

/* Dark split */
.section-dark .split-content h2 { color: var(--white); }
.section-dark .split-content p { color: rgba(255,255,255,0.7); }
.section-dark .split-card { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); }
.section-dark .split-card-text h4 { color: var(--white); }
.section-dark .split-card-text p { color: rgba(255,255,255,0.6); }

/* ===========================
   TESTIMONIALS
=========================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testimonial-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: var(--radius);
    padding: 32px;
    position: relative;
    transition: all var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); border-color: var(--orange); }
.testimonial-stars {
    color: var(--orange);
    font-size: 18px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}
.testimonial-text {
    font-size: 15px;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
    width: 44px;
    height: 44px;
    background: var(--orange-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--orange);
    flex-shrink: 0;
}
.testimonial-name { font-size: 14px; font-weight: 700; color: var(--black); }
.testimonial-role { font-size: 12px; color: var(--gray-500); }

/* ===========================
   FAQ ACCORDION
=========================== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid rgba(0,0,0,0.1);
}
.section-dark .faq-item { border-bottom-color: rgba(255,255,255,0.1); }
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
    gap: 16px;
    transition: color var(--transition);
    user-select: none;
}
.section-dark .faq-question { color: var(--white); }
.faq-question:hover { color: var(--orange); }
.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--orange-light);
    color: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
    transition: all var(--transition);
    line-height: 1;
}
.faq-item.active .faq-icon {
    background: var(--orange);
    color: var(--white);
    transform: rotate(45deg);
}
.faq-answer {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.75;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}
.section-dark .faq-answer { color: rgba(255,255,255,0.65); }
.faq-item.active .faq-answer {
    max-height: 400px;
    padding-bottom: 22px;
}

/* ===========================
   CTA BANNER
=========================== */
.cta-banner {
    background: var(--black);
    padding: 96px 0;
    text-align: center;
}
.cta-banner h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.cta-banner p {
    font-size: 17px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 40px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}
.cta-banner .btn-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Orange CTA */
.cta-banner-orange {
    background: var(--orange);
}
.cta-banner-orange h2 { color: var(--white); }
.cta-banner-orange p { color: rgba(255,255,255,0.85); }

/* ===========================
   DEFINITION BOX
=========================== */
.definition-box {
    background: var(--orange-light);
    border-left: 4px solid var(--orange);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 24px 28px;
    margin: 48px 0;
}
.definition-box strong { display: block; font-size: 13px; font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.definition-box p { font-size: 15px; color: var(--gray-700); line-height: 1.7; margin: 0; }

/* ===========================
   USP PRICING BANNER
=========================== */
.usp-banner {
    background: var(--orange);
    padding: 32px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 32px;
    margin: 48px 0;
    flex-wrap: wrap;
}
.usp-banner-icon { font-size: 32px; flex-shrink: 0; }
.usp-banner-content h3 { font-size: 20px; font-weight: 800; color: var(--white); margin-bottom: 6px; }
.usp-banner-content p { font-size: 14px; color: rgba(255,255,255,0.85); margin: 0; }
.usp-banner-checks {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-left: auto;
}
.usp-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
}
.usp-check::before {
    content: "✓";
    width: 20px;
    height: 20px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}

/* ===========================
   PROCESS STEPS
=========================== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}
.process-steps::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--orange), var(--orange-dark));
    z-index: 0;
}
.process-step {
    text-align: center;
    padding: 0 16px;
    position: relative;
    z-index: 1;
}
.process-step-num {
    width: 64px;
    height: 64px;
    background: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
    margin: 0 auto 20px;
    border: 4px solid var(--white);
    box-shadow: 0 0 0 2px var(--orange);
}
.process-step h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.process-step p { font-size: 13px; color: var(--gray-500); line-height: 1.6; }

/* ===========================
   PLATFORM CARDS
=========================== */
.platform-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.platform-card {
    background: var(--white);
    border: 2px solid rgba(0,0,0,0.08);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    transition: all var(--transition);
}
.platform-card:hover { border-color: var(--orange); box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.platform-card-icon { font-size: 32px; margin-bottom: 12px; }
.platform-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.platform-card .platform-sub { font-size: 11px; font-weight: 600; color: var(--orange); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
.platform-card p { font-size: 13px; color: var(--gray-500); line-height: 1.6; }

/* ===========================
   TAGS (industries)
=========================== */
.tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.tag {
    padding: 10px 20px;
    background: var(--white);
    border: 1.5px solid rgba(0,0,0,0.1);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    transition: all var(--transition);
}
.tag:hover, .tag.featured { background: var(--orange); border-color: var(--orange); color: var(--white); }

/* ===========================
   COMPARISON TABLE
=========================== */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.compare-col { border-radius: var(--radius); padding: 36px; }
.compare-col.compare-yes { background: var(--orange); color: var(--white); }
.compare-col.compare-no { background: var(--gray-100); }
.compare-col h3 { font-size: 20px; font-weight: 800; margin-bottom: 24px; }
.compare-col.compare-yes h3 { color: var(--white); }
.compare-list { display: flex; flex-direction: column; gap: 12px; }
.compare-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}
.compare-yes .compare-item { color: rgba(255,255,255,0.9); }
.compare-no .compare-item { color: var(--gray-700); }
.compare-item::before {
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}
.compare-yes .compare-item::before { content: "✓"; color: var(--white); }
.compare-no .compare-item::before { content: "✗"; color: var(--gray-300); }

/* ===========================
   TECH STACK GRID
=========================== */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.tech-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: center;
    transition: all var(--transition);
}
.tech-card:hover { border-color: var(--orange); box-shadow: 0 4px 16px rgba(247,146,26,0.12); }
.tech-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.tech-card p { font-size: 12px; color: var(--gray-500); margin: 0; }

/* ===========================
   MANUFACTURING BANNER
=========================== */
.mfg-banner {
    background: #FFF8F0;
    border: 2px solid var(--orange);
    border-radius: var(--radius);
    padding: 56px;
    margin: 48px 0;
}
.mfg-banner .split-section { gap: 48px; }
.mfg-banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--orange);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

/* ===========================
   MODULE CARDS
=========================== */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.module-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: var(--radius-sm);
    padding: 24px 20px;
    transition: all var(--transition);
}
.module-card:hover { border-color: var(--orange); box-shadow: 0 4px 16px rgba(247,146,26,0.12); }
.module-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.module-card p { font-size: 12px; color: var(--gray-500); margin: 0; line-height: 1.5; }

/* ===========================
   FOOTER
=========================== */
.site-footer {
    background: #0D0D0D;
    color: rgba(255,255,255,0.8);
    padding-top: 80px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 64px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img { height: 32px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.7; margin-bottom: 24px; }
.social-icons { display: flex; gap: 12px; }
.social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    transition: all var(--transition);
}
.social-icons a:hover { background: var(--orange); color: var(--white); }
.footer-col h4 { font-size: 13px; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--orange); }
.footer-col ul li { font-size: 14px; color: rgba(255,255,255,0.55); }
.footer-bottom { padding: 24px 0; }
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.35); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 13px; color: rgba(255,255,255,0.35); transition: color var(--transition); }
.footer-legal a:hover { color: var(--orange); }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .platform-cards { grid-template-columns: repeat(2, 1fr); }
    .split-section { grid-template-columns: 1fr; gap: 48px; }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .process-steps::before { display: none; }
    .tech-grid { grid-template-columns: repeat(3, 1fr); }
    .modules-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .trust-bar-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===========================
   MOBILE DRAWER (standalone, outside header)
=========================== */
.mobile-drawer {
    display: block;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--white);
    z-index: 100001;
    overflow-y: auto;
    padding: 72px 0 32px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    will-change: transform;
    -webkit-overflow-scrolling: touch;
}
.mobile-drawer.open { transform: translateX(0); }
/* Push drawer content below admin bar on mobile */
.admin-bar .mobile-drawer { padding-top: 118px; }

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 68px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 1;
}
.mobile-drawer-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background 0.2s;
}
.mobile-drawer-close:hover { background: var(--gray-100); }

.mobile-drawer > ul { list-style: none; padding: 0; margin: 0; }
.mobile-drawer > ul > li { border-bottom: 1px solid rgba(0,0,0,0.07); }
.mobile-drawer > ul > li > a,
.mobile-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    font-size: 17px;
    font-weight: 600;
    color: var(--black);
    cursor: pointer;
    text-decoration: none;
}
.mobile-drawer > ul > li > a:hover,
.mobile-dropdown-toggle:hover { color: var(--orange); background: var(--orange-light); }
.mobile-arrow { font-size: 12px; color: var(--gray-500); transition: transform 0.25s; }
.mobile-has-dropdown.open .mobile-arrow { transform: rotate(180deg); }

.mobile-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    background: var(--gray-100);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.mobile-has-dropdown.open .mobile-submenu { max-height: 500px; }
.mobile-submenu li a {
    display: block;
    padding: 14px 36px;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-700);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    text-decoration: none;
}
.mobile-submenu li a:hover { color: var(--orange); background: rgba(247,146,26,0.06); }
.mobile-cta { padding: 24px; border-bottom: none !important; }
.mobile-cta .btn { width: 100%; justify-content: center; }

.mobile-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    will-change: opacity;
}
.mobile-overlay.open { opacity: 1; pointer-events: all; }

/* ===========================
   BLOG LISTING (home.php)
=========================== */
.blog-hero {
    background: var(--black);
    color: var(--white);
    padding: 80px 0 72px;
    text-align: center;
}
.blog-hero .section-tag { background: rgba(247,146,26,0.15); color: var(--orange); }
.blog-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin: 16px 0 12px;
    color: var(--white);
}
.blog-hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    max-width: 520px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.07);
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    color: var(--black);
    text-decoration: none;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
.blog-card:hover .blog-card-title { color: var(--orange); }

.blog-card-img {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--gray-100);
}
.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.04); }

.blog-card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-300);
    background: var(--gray-100);
}

.blog-card-cat {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--orange);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 20px;
}

.blog-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.blog-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    color: var(--black);
    transition: color var(--transition);
}
.blog-card-date {
    font-size: 13px;
    color: var(--gray-500);
    font-weight: 500;
}

/* Pagination */
.blog-pagination {
    margin-top: 56px;
    display: flex;
    justify-content: center;
}
.blog-pagination .nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}
.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    border: 2px solid var(--gray-300);
    color: var(--black);
    transition: all var(--transition);
    text-decoration: none;
}
.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
}
.blog-pagination .prev,
.blog-pagination .next {
    width: auto;
    padding: 0 18px;
}

/* Empty state */
.blog-empty {
    text-align: center;
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    color: var(--gray-500);
}

/* ===========================
   SINGLE POST (single.php)
=========================== */
.post-hero {
    background: var(--black);
    color: var(--white);
    padding: 72px 0 56px;
}
.post-hero-inner {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.post-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color var(--transition);
    width: fit-content;
}
.post-back-link:hover { color: var(--orange); }

.post-cat {
    display: inline-block;
    background: rgba(247,146,26,0.15);
    color: var(--orange);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 4px 12px;
    border-radius: 20px;
    width: fit-content;
}

.post-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.25;
    color: var(--white);
    margin: 0;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
}
.post-meta-sep { opacity: 0.4; }

/* Featured image */
.post-featured-img {
    background: var(--gray-100);
}
.post-featured-img .container {
    max-width: 900px;
}
.post-featured-img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0 0 var(--radius) var(--radius);
}

/* Post body */
.post-body {
    padding: 64px 0 80px;
}
.post-body .container {
    max-width: 760px;
}

/* WordPress content typography */
.entry-content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #2a2a2a;
}
.entry-content h2 {
    font-size: 1.65rem;
    font-weight: 800;
    margin: 2.5em 0 0.75em;
    color: var(--black);
    line-height: 1.3;
}
.entry-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 2em 0 0.6em;
    color: var(--black);
}
.entry-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 1.8em 0 0.5em;
    color: var(--black);
}
.entry-content p { margin-bottom: 1.5em; }
.entry-content ul,
.entry-content ol {
    margin: 0 0 1.5em 1.5em;
    padding: 0;
}
.entry-content li { margin-bottom: 0.5em; }
.entry-content a { color: var(--orange); text-decoration: underline; }
.entry-content a:hover { color: var(--orange-dark); }
.entry-content strong { font-weight: 700; color: var(--black); }
.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    margin: 2em auto;
    display: block;
}
.entry-content blockquote {
    border-left: 4px solid var(--orange);
    margin: 2em 0;
    padding: 16px 24px;
    background: var(--orange-light);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--gray-700);
}
.entry-content blockquote p { margin: 0; }
.entry-content pre,
.entry-content code {
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    background: var(--gray-100);
    border-radius: 6px;
}
.entry-content pre {
    padding: 20px 24px;
    overflow-x: auto;
    margin: 1.5em 0;
}
.entry-content code { padding: 2px 6px; }
.entry-content hr {
    border: none;
    border-top: 1px solid var(--gray-300);
    margin: 2.5em 0;
}

/* Tags */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--gray-300);
}
.post-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1.5px solid var(--gray-300);
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    text-decoration: none;
    transition: all var(--transition);
}
.post-tag:hover {
    border-color: var(--orange);
    color: var(--orange);
    background: var(--orange-light);
}

/* Post navigation */
.post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--gray-300);
}
.post-nav-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all var(--transition);
}
.post-nav-item:hover { border-color: var(--orange); background: var(--orange-light); }
.post-nav-next { text-align: right; }
.post-nav-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--orange);
}
.post-nav-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
    line-height: 1.4;
}

/* ===========================
   RESPONSIVE — BLOG
=========================== */
@media (max-width: 768px) {
    .primary-nav, .nav-cta { display: none !important; }
    .mobile-menu-toggle { display: flex; }

    .blog-grid { grid-template-columns: 1fr; }
    .post-nav { grid-template-columns: 1fr; }
    .post-nav-next { text-align: left; }
    .cards-grid { grid-template-columns: 1fr; }
    .cards-grid-2 { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .platform-cards { grid-template-columns: 1fr 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .comparison-grid { grid-template-columns: 1fr; }
    .tech-grid { grid-template-columns: repeat(2, 1fr); }
    .modules-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .trust-bar-grid { grid-template-columns: repeat(2, 1fr); }
    .usp-banner { flex-direction: column; }
    .usp-banner-checks { margin-left: 0; }
    .mfg-banner { padding: 32px 24px; }
    .hero { padding: 72px 0 56px; }
    .section { padding: 64px 0; }
    .process-steps { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .platform-cards { grid-template-columns: 1fr; }
    .trust-bar-grid { grid-template-columns: 1fr; }
    .hero-ctas { flex-direction: column; align-items: stretch; }
    .hero-ctas .btn { text-align: center; justify-content: center; }
    .cta-banner .btn-ctas { flex-direction: column; align-items: center; }
}
