/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: #666; line-height: 1.7; background: #fff; font-weight: 400; -webkit-font-smoothing: antialiased; }
a { color: #2ea3f2; text-decoration: none; }
a:hover { color: #1a8cd8; text-decoration: none; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, h6 { font-family: 'Open Sans', Arial, sans-serif; color: #333; line-height: 1.4; font-weight: 500; margin-bottom: 0.5em; }
h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.25em; margin-bottom: 1em; line-height: 1.8; }

/* ===== Public Layout ===== */
.public-site { min-height: 100vh; display: flex; flex-direction: column; }

/* Header — matches WordPress white nav */
.site-header { background: #fff; color: #333; padding: 0 1.5rem; position: sticky; top: 0; z-index: 1000; box-shadow: 0 1px 0 rgba(0,0,0,0.1); }
.header-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo-img { height: 42px; }
.main-nav { display: flex; gap: 2.5rem; align-items: center; }
.main-nav a, .nav-link { color: rgba(0,0,0,0.6); font-size: 14px; font-weight: 600; transition: color 0.2s; }
.main-nav a:hover, .nav-link:hover { color: #2ea3f2; text-decoration: none; }
.nav-dropdown { position: relative; }
.nav-dropdown > a { color: rgba(0,0,0,0.6); }
.nav-dropdown > a::after { content: " ▾"; font-size: 0.7em; }
.dropdown-content { display: none; position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid #e2e8f0; border-radius: 6px; min-width: 200px; padding: 0.5rem 0; z-index: 100; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.dropdown-content a { display: block; padding: 0.5rem 1rem; color: rgba(0,0,0,0.6); }
.dropdown-content a:hover { background: #f8fafc; color: #2ea3f2; }
.nav-dropdown:hover .dropdown-content { display: block; }

/* ===== Site Content ===== */
.site-content { flex: 1; width: 100%; }

/* ===== Hero Section Component ===== */
.hero-section { position: relative; padding: 5rem 1.5rem; text-align: center; background-color: #f0f4ff; background-size: cover; background-position: center; }
.hero-section h1 { font-size: 2.75rem; font-weight: 700; line-height: 1.2; margin-bottom: 1rem; color: #1a1a2e; outline: none; }
.hero-subtitle { font-size: 1.15rem; color: #555; line-height: 1.6; max-width: 600px; margin: 0 auto; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26,26,46,0.7) 0%, rgba(12,113,195,0.6) 100%); }
.hero-inner { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.hero-section--dark { background-color: #1a1a2e; }
.hero-section--dark .hero-inner { color: #fff; }
.hero-section--dark h1, .hero-section--dark .hero-subtitle { color: #fff; }
/* Homepage hero — matches WordPress Divi fullwidth header */
.hero-section--home { background: linear-gradient(180deg, rgba(0,72,255,0.74) 0%, rgba(33,94,69,0.76) 99%), url('/images/hero-bg.jpg'); background-size: cover; background-position: center; padding: 136px 1.5rem 160px; }
.hero-section--home h1 { color: #fff; font-family: 'Montserrat', Helvetica, Arial, sans-serif; font-size: 2.25rem; font-weight: 700; line-height: 1.3em; margin-bottom: 14px; padding-bottom: 0; }
.hero-section--home .hero-subtitle { color: rgba(255,255,255,0.95); font-style: italic; font-size: 22px; line-height: 1.4em; }
.hero-section--home .hero-checklist li { color: #fff; font-size: 18px; }
.hero-section--home .hero-checklist li::before { color: #fff; }
.hero-section--home .btn-cta { background: #6eba01; color: #fff; text-transform: uppercase; letter-spacing: 2px; font-family: 'Montserrat', Helvetica, Arial, sans-serif; font-size: 16px; font-weight: 500; padding: 0.3em 1em; border-radius: 0; border: 2px solid #6eba01; margin-top: 20px; display: inline-block; }
.hero-section--home .btn-cta:hover { background: #fff; color: #6eba01; border-color: #fff; }

/* ===== CTA Banner Component ===== */
.cta-banner { background: linear-gradient(135deg, #0c71c3 0%, #2ea3f2 100%); padding: 4rem 1.5rem; text-align: center; }
.cta-inner { max-width: 800px; margin: 0 auto; }
.cta-banner h2 { color: #fff; font-size: 1.85rem; margin-bottom: 0.75rem; }
.cta-banner p { color: rgba(255,255,255,0.9); font-size: 1.05rem; margin-bottom: 1.5rem; }
.btn-cta { display: inline-block; background: #fff; color: #0c71c3; padding: 0.85rem 2.5rem; border-radius: 4px; font-size: 1.05rem; font-weight: 600; transition: all 0.2s; }
.btn-cta:hover { background: #f0f4ff; color: #0c71c3; transform: translateY(-1px); }
.btn-outline { display: inline-block; border: 2px solid #2ea3f2; color: #2ea3f2; padding: 0.6rem 2rem; border-radius: 4px; font-size: 0.95rem; font-weight: 600; transition: all 0.2s; }
.btn-outline:hover { background: #2ea3f2; color: #fff; }

/* ===== Content Sections ===== */
.content-section { padding: 5rem 1.5rem; }
.content-section--alt { background: #f7f8fc; }
.content-inner { max-width: 1080px; margin: 0 auto; }
.section-heading { text-align: center; font-size: 1.625rem; font-weight: 500; color: #333; margin-bottom: 1rem; line-height: 1.5; }
.section-subheading { text-align: center; color: #666; font-size: 1.05rem; max-width: 700px; margin: 0 auto 2.5rem; line-height: 1.7; }

/* ===== Card Grid Component ===== */
.card-grid { display: grid; gap: 1.5rem; }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ===== Card Component ===== */
.card { background: #fff; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
a.card { text-decoration: none; color: inherit; }
.card__image { width: 100%; height: 200px; object-fit: cover; }
.card__icon { font-size: 2.5rem; text-align: center; padding: 1.5rem 1.5rem 0.5rem; color: #2ea3f2; }
.card__body { padding: 1.25rem 1.5rem 1.5rem; flex: 1; }
.card__title { font-size: 1.1rem; color: #1a1a2e; margin-bottom: 0.5rem; }
.card__body p { font-size: 0.95rem; color: #666; line-height: 1.6; }
.card__body ul { font-size: 0.95rem; color: #666; padding-left: 1.25rem; }
.card--feature { text-align: center; }
.card--feature .card__body { text-align: left; }
.card--feature .card__title { text-align: center; color: #2ea3f2; }
.card--pain-point { text-align: center; padding: 0.75rem 0.75rem 1.5rem; background: transparent; box-shadow: none; }
.card--pain-point:hover { transform: none; box-shadow: none; }
.card--pain-point .card__icon { font-size: 2rem; padding: 0.5rem 1rem 0.25rem; color: #2ea3f2; }
.card--pain-point .card__title { color: #333; font-size: 0.9rem; font-weight: 600; }
.card--pain-point .card__body { padding: 0.5rem 1rem; }
.card--pain-point .card__body p { font-size: 0.8rem; color: #666; line-height: 1.5; }
.card--case-study .card__image { height: 220px; }
.card--case-study .card__body { padding: 1.5rem; }
.card--case-study .card__meta { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: #2ea3f2; font-weight: 600; margin-bottom: 0.5rem; }
.card--case-study .card__title { font-size: 1.15rem; }

/* ===== Process Steps ===== */
.process-steps { display: grid; grid-template-columns: repeat(2, 510px); gap: 3.75rem; margin-top: 2.5rem; justify-content: center; padding-bottom: 4rem; }
.process-step { text-align: center; }
.process-step__image { width: 100%; height: auto; border-radius: 0; margin-bottom: 1.25rem; }
.process-step__content h3 { font-size: 1.1rem; font-weight: 500; color: #333; line-height: 1.5; padding: 0 0.5rem; }
.process-step__content p { font-size: 0.9rem; color: #666; line-height: 1.6; }

/* ===== Testimonials Component ===== */
.testimonials-section { background: #fff; padding: 54px 1.5rem; min-height: 574px; }
.testimonials-section .content-inner { max-width: 1080px; margin: 0 auto; }
.testimonials-section .section-heading { color: #0e0c19; font-family: 'IBM Plex Sans Condensed', 'Open Sans', Arial, sans-serif; font-size: 50px; font-weight: 500; line-height: 60px; margin: 0; padding-bottom: 10px; }
.testimonials-quote-icon { text-align: center; font-size: 2rem; line-height: 1; color: #7ec8e3; margin: 15px 0 29px; }
.testimonials--grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.testimonials--slider { max-width: 900px; margin: 0 auto; }
.testimonial-card { background: #fff; border-radius: 10px; padding: 3.25rem 3.5rem; text-align: center; border-left: none; box-shadow: 0 2px 18px rgba(0,0,0,0.08); border: 1px solid rgba(0,0,0,0.06); }
.testimonial-card__quote { font-size: 1.25rem; color: #262e32; line-height: 1.2; font-style: normal; margin-bottom: 1.25rem; }
.testimonial-card__attribution { border-top: none; padding-top: 0.5rem; }
.testimonial-card__name { display: block; font-weight: 600; color: #262e32; font-size: 1.15rem; margin-bottom: 0.5rem; }
.testimonial-card__role { display: block; font-size: 1.25rem; color: #262e32; margin-top: 0; }

/* ===== FAQ Accordion ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #e2e8f0; }
.faq-item summary { padding: 1.25rem 0; font-size: 1.05rem; font-weight: 600; color: #1a1a2e; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: #2ea3f2; font-weight: 300; transition: transform 0.2s; }
.faq-item[open] summary::after { content: "-"; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .faq-answer { padding: 0 0 1.25rem; color: #666; line-height: 1.7; }

/* ===== About Page ===== */
.about-team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; margin-top: 2rem; }
.about-person { text-align: center; }
.about-person__photo { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; margin: 0 auto 1.25rem; display: block; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.about-person__name { font-size: 1.35rem; margin-bottom: 0.25rem; }
.about-person__title { color: #2ea3f2; font-size: 0.95rem; font-weight: 500; margin-bottom: 1rem; }
.about-person__bio { text-align: left; font-size: 0.95rem; line-height: 1.7; color: #555; }
.about-certs { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }
.about-certs img { height: 90px; }

/* ===== Contact Page ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-info h3 { color: #1a1a2e; margin-bottom: 1rem; }
.contact-info p { margin-bottom: 0.75rem; }
.contact-info a { color: #2ea3f2; }
.calendly-embed { min-height: 650px; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.calendly-embed iframe { width: 100%; height: 650px; border: none; }

/* ===== Checklist (homepage hero) ===== */
.hero-checklist { list-style: none; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 0.35rem; margin: 1rem 0 1.25rem; }
.hero-checklist li { position: relative; padding-left: 1.75rem; font-size: 1.1rem; color: #444; }
.hero-checklist li::before { content: "\2714"; position: absolute; left: 0; color: #2ea3f2; font-weight: 700; font-size: 1.1rem; }

/* ===== Product Showcase (homepage) ===== */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.showcase__image { border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.1); max-width: 380px; }
.showcase__label { background: #d38d00; color: #fff; font-size: 1.15rem; font-weight: 700; padding: 0.6rem 1.25rem; border-radius: 5px; display: inline-block; margin-bottom: 1rem; box-shadow: 10px 10px 11px rgba(0,0,0,0.3); }
.showcase h2 { color: #1a1a2e; font-size: 1.65rem; margin-bottom: 1rem; }
.showcase ul { padding-left: 1.25rem; }
.showcase li { margin-bottom: 0.5rem; color: #555; font-size: 1.05rem; }

/* ===== PageRenderer (catch-all for blog, case study details, etc.) ===== */
.page-content { max-width: 800px; margin: 0 auto; padding: 2.5rem 1.5rem; }
.page-content h1 { margin-bottom: 1.5rem; }
.page-content h2, .page-content h3 { margin-top: 2rem; }
.page-content img { border-radius: 8px; margin: 1.5rem 0; }
.page-content section { padding: 1.5rem 0; }

/* ===== Blog Carousel ===== */
.blog-carousel-section { position: relative; background: #fff; padding: 0; text-align: center; }
.blog-carousel-section .content-inner { position: relative; z-index: 1; }
.blog-carousel__category { color: #333; font-size: 2.25rem; font-weight: 700; margin-bottom: 0; padding: 4rem 1.5rem 2.5rem; background: #fff; }
.blog-carousel__slide { position: relative; background: url('/images/blog-carousel-bg.jpg') center/cover no-repeat; padding: 8rem 2rem 10rem; max-width: 100%; margin: 0; min-height: 700px; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.blog-carousel__slide::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.55); }
.blog-carousel__slide * { position: relative; z-index: 1; }
.blog-carousel__title { color: #fff; font-size: 1.4rem; font-weight: 600; margin-bottom: 1rem; line-height: 1.4; }
.blog-carousel__meta { color: rgba(255,255,255,0.6); font-size: 0.85rem; margin-bottom: 1.5rem; }
.blog-carousel-section .btn-outline { border-color: #fff; color: #fff; background: transparent; }
.blog-carousel-section .btn-outline:hover { background: #fff; color: #1a1a2e; }

/* ===== Client Logos ===== */
.client-logos-section { background: #e0e0e2; padding: 16px 0 0 !important; min-height: 439px; }
.client-logos__heading { text-align: center; font-family: 'Roboto', 'Open Sans', Arial, sans-serif; font-size: 26px; font-weight: 500; color: #333; background: transparent; padding: 0 0 10px; margin: 21px auto 0; max-width: 620px; letter-spacing: normal; line-height: 39px; }
.client-logos-section .content-inner { padding-top: 0; max-width: 1080px; }
.client-logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 43px 1.5rem; align-items: center; justify-items: center; padding: 43px 0 0; }
.client-logos img { height: 60px; max-width: 190px; object-fit: contain; filter: grayscale(100%); opacity: 0.7; transition: all 0.3s; }
.client-logos img:hover { filter: grayscale(0%); opacity: 1; }

/* ===== 80% Built Section ===== */
.eighty-section { padding: 14px 1.5rem 54px; min-height: 815px; box-sizing: border-box; }
.eighty-section__logo { max-width: 200px; margin: 0 auto 2rem; display: block; }
.eighty-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; margin-top: 2.5rem; text-align: left; }
.eighty-col h4 { font-size: 1.125rem; font-weight: 500; color: #333; margin-bottom: 1rem; border-bottom: 2px solid #2ea3f2; padding-bottom: 0.5rem; }
.eighty-col ul { padding-left: 1.25rem; }
.eighty-col li { margin-bottom: 0.5rem; color: #555; font-size: 0.95rem; }

/* ===== Jumpstart Hero ===== */
.hero-section--jumpstart { position: relative; background: url('/images/jumpstart-bg.jpg') center/cover no-repeat; padding: 6rem 1.5rem 10rem; min-height: 1100px; display: flex; align-items: flex-start; text-align: left; }
.hero-section--jumpstart .hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,72,255,0.75) 0%, rgba(0,130,100,0.7) 100%); }
.hero-section--jumpstart .hero-inner { position: relative; z-index: 1; max-width: 600px; margin-left: 6%; padding-top: 2rem; }
.hero-section--jumpstart h2 { color: #fff; font-size: 1.75rem; font-style: italic; margin-bottom: 1.5rem; font-weight: 300; line-height: 1.4; }
.hero-section--jumpstart p { color: rgba(255,255,255,0.9); font-size: 0.85rem; line-height: 1.7; margin-bottom: 0.75rem; }

/* ===== Launch Faster ===== */
.launch-section { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; padding: 6rem 0; min-height: 700px; }
.launch-section__text h2 { font-size: 1.75rem; margin-bottom: 1.25rem; color: #333; }
.launch-section__text p { color: #555; line-height: 1.7; margin-bottom: 1.25rem; font-size: 0.95rem; }
.launch-section__text ul { list-style: none; padding: 0; }
.launch-section__text li { position: relative; padding-left: 1.5rem; margin-bottom: 0.5rem; font-size: 1rem; color: #333; font-weight: 600; }
.launch-section__text li::before { content: "\2022"; position: absolute; left: 0; color: #2ea3f2; font-size: 1.5rem; line-height: 1; }
.pie-chart { width: 300px; height: 300px; border-radius: 50%; background: conic-gradient(#6eba01 0deg 72deg, #333 72deg 360deg); position: relative; margin: 0 auto; box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.pie-chart__label-small { position: absolute; top: 12%; left: 50%; transform: translateX(-50%); color: #fff; font-size: 1.5rem; font-weight: 700; text-align: center; }
.pie-chart__label-small span { display: block; font-size: 0.65rem; font-weight: 400; text-transform: uppercase; letter-spacing: 0.05em; }
.pie-chart__label-large { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -20%); color: #fff; font-size: 3.5rem; font-weight: 700; text-align: center; }
.pie-chart__label-large span { display: block; font-size: 0.75rem; font-weight: 400; text-transform: uppercase; letter-spacing: 0.05em; }

/* ===== Tech Logos ===== */
.tech-logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2.5rem 2.5rem; padding: 54px 0 7rem; justify-items: center; align-items: center; max-width: 900px; margin: 0 auto; }
.tech-logos img { height: 40px; max-width: 140px; object-fit: contain; }

/* ===== Experience Hero ===== */
.hero-section--experience { position: relative; background: linear-gradient(180deg, rgb(187, 173, 202) 0%, rgb(142, 144, 177) 50%, rgb(109, 122, 159) 100%); padding: 90px 1.5rem; min-height: 593px; display: flex; align-items: center; text-align: left; }
.hero-section--experience .hero-overlay { display: none; }
.hero-section--experience .hero-inner { position: relative; z-index: 1; max-width: 750px; margin-left: 10%; }
.hero-section--experience h2 { color: #fff; font-size: 26px; font-style: normal; font-weight: 500; margin-bottom: 1.25rem; text-align: justify; }
.hero-section--experience p { color: rgba(255,255,255,0.85); font-size: 0.95rem; line-height: 1.7; margin-bottom: 1.5rem; }
.btn-cta--green { background: rgb(124, 218, 36); border: 2px solid rgb(124, 218, 36); color: #fff; padding: 6px 20px; font-size: 1rem; font-weight: 500; text-transform: none; display: inline-block; transition: all 0.2s; text-decoration: none; }
.btn-cta--green:hover { background: #5da001; border-color: #5da001; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .header-inner { height: 60px; }
    .main-nav { gap: 1rem; }
    .main-nav a, .nav-link { font-size: 0.85rem; }
    .logo-img { height: 34px; }
    .hero-section { padding: 3rem 1rem; }
    .hero-section h1 { font-size: 2rem; }
    .hero-checklist { gap: 0.4rem; }
    .content-section { padding: 2.5rem 1rem; }
    .card-grid--2, .card-grid--3 { grid-template-columns: 1fr; }
    .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: 1fr; }
    .about-team { grid-template-columns: 1fr; }
    .testimonials--grid { grid-template-columns: 1fr; }
    .testimonials--slider { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .showcase { grid-template-columns: 1fr; }
    .eighty-columns { grid-template-columns: 1fr; }
    .launch-section { grid-template-columns: 1fr; }
    .client-logos img { height: 40px; }
    .client-logos { grid-template-columns: repeat(3, 1fr); }
    .tech-logos img { height: 30px; }
}

/* ===== Footer ===== */
.site-footer { background: #1a1a2e; color: rgba(255,255,255,0.7); padding: 0; margin-top: auto; }
.footer-main { max-width: 1200px; margin: 0 auto; padding: 3rem 1.5rem 2rem; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand-col p { font-size: 0.9rem; line-height: 1.6; margin-top: 0.75rem; }
.footer-brand-col img { height: 36px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-col h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem; font-weight: 600; }
.footer-col a { display: block; color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-bottom: 0.5rem; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-col p { font-size: 0.9rem; line-height: 1.6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.25rem 1.5rem; }
.footer-bottom-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.footer-bottom p { font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.footer-bottom a { color: rgba(255,255,255,0.5); font-size: 0.85rem; margin-left: 1.25rem; }
.footer-bottom a:hover { color: #fff; }
.footer-social-icons { display: flex; gap: 1rem; }
.footer-social-icons a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1); color: #fff; font-size: 0.9rem; transition: background 0.2s; }
.footer-social-icons a:hover { background: #2ea3f2; }

@media (max-width: 768px) {
    .footer-main { grid-template-columns: 1fr 1fr; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
}

/* ===== Admin Layout ===== */
.admin-wrapper { min-height: 100vh; display: flex; flex-direction: column; }
.admin-header { background: #1a1a2e; color: #fff; padding: 0 1.5rem; height: 56px; display: flex; align-items: center; }
.admin-header-inner { width: 100%; display: flex; justify-content: space-between; align-items: center; }
.admin-brand { font-size: 1.1rem; font-weight: 700; color: #7eb3ff; }
.admin-header-right { display: flex; align-items: center; gap: 1rem; }
.admin-user { color: #94a3b8; font-size: 0.9rem; }
.btn-logout { background: transparent; border: 1px solid #475569; color: #94a3b8; padding: 0.3rem 0.75rem; border-radius: 4px; cursor: pointer; font-size: 0.85rem; }
.btn-logout:hover { background: #334155; color: #fff; }

.admin-body { display: flex; flex: 1; }
.admin-sidebar { width: 220px; background: #0f172a; padding: 1rem 0; flex-shrink: 0; }
.sidebar-link { display: block; padding: 0.6rem 1.25rem; color: #94a3b8; font-size: 0.9rem; }
.sidebar-link:hover { background: #1e293b; color: #fff; text-decoration: none; }
.admin-sidebar hr { border: none; border-top: 1px solid #1e293b; margin: 0.5rem 0; }
.admin-content { flex: 1; padding: 1.5rem 2rem; background: #f8fafc; overflow-y: auto; }

/* ===== Common Components ===== */
.page-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.page-header h1 { font-size: 1.5rem; color: #1e293b; }

.btn-primary { background: #2563eb; color: #fff; border: none; padding: 0.5rem 1.25rem; border-radius: 6px; cursor: pointer; font-size: 0.9rem; font-weight: 500; text-decoration: none; display: inline-block; }
.btn-primary:hover { background: #1d4ed8; text-decoration: none; }
.btn-secondary { background: #e2e8f0; color: #475569; border: none; padding: 0.5rem 1.25rem; border-radius: 6px; cursor: pointer; font-size: 0.9rem; text-decoration: none; display: inline-block; }
.btn-secondary:hover { background: #cbd5e1; text-decoration: none; }
.btn-small { background: #e2e8f0; color: #475569; border: none; padding: 0.25rem 0.6rem; border-radius: 4px; cursor: pointer; font-size: 0.8rem; text-decoration: none; }
.btn-small:hover { background: #cbd5e1; }
.btn-danger { background: #fee2e2; color: #dc2626; }
.btn-danger:hover { background: #fecaca; }
.btn-active { background: #dcfce7; color: #16a34a; }
.btn-inactive { background: #f1f5f9; color: #94a3b8; }

/* Tables */
.admin-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.admin-table th { background: #f1f5f9; text-align: left; padding: 0.75rem 1rem; font-size: 0.85rem; color: #475569; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
.admin-table td { padding: 0.75rem 1rem; border-top: 1px solid #f1f5f9; font-size: 0.9rem; }
.admin-table tr:hover { background: #f8fafc; }
.admin-table code { background: #f1f5f9; padding: 0.15rem 0.4rem; border-radius: 3px; font-size: 0.85rem; }
.status-published { color: #16a34a; font-weight: 500; }
.status-draft { color: #94a3b8; }
.quote-cell { max-width: 300px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Forms */
.edit-form { background: #fff; padding: 1.5rem; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: #475569; margin-bottom: 0.3rem; }
.form-group input[type="text"], .form-group input[type="number"], .form-group textarea, .form-group select {
    width: 100%; padding: 0.5rem 0.75rem; border: 1px solid #d1d5db; border-radius: 6px; font-size: 0.9rem; font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.form-row { display: flex; gap: 1rem; }
.form-row .form-group { flex: 1; }
.flex-2 { flex: 2 !important; }
.flex-1 { flex: 1 !important; }
.form-actions { justify-content: space-between; align-items: center; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #e2e8f0; }
.checkbox-label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; cursor: pointer; }
.code-editor { font-family: 'Fira Code', 'Cascadia Code', 'Consolas', monospace; font-size: 0.85rem; line-height: 1.5; tab-size: 2; }
.form-message { padding: 0.75rem 1rem; border-radius: 6px; margin-top: 1rem; font-size: 0.9rem; }
.form-message.success { background: #dcfce7; color: #16a34a; }
.form-message.error { background: #fee2e2; color: #dc2626; }

/* Filter */
.filter-bar { display: flex; gap: 0.75rem; margin-bottom: 1rem; align-items: center; }
.filter-bar select { padding: 0.4rem 0.75rem; border: 1px solid #d1d5db; border-radius: 6px; font-size: 0.9rem; }

/* Media */
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.media-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.media-thumb { width: 100%; height: 150px; object-fit: cover; }
.media-icon { width: 100%; height: 150px; display: flex; align-items: center; justify-content: center; background: #f1f5f9; font-size: 3rem; }
.media-info { padding: 0.5rem 0.75rem; }
.media-filename { display: block; font-size: 0.85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.media-date { font-size: 0.8rem; color: #94a3b8; }
.media-actions { padding: 0.5rem 0.75rem; display: flex; gap: 0.5rem; border-top: 1px solid #f1f5f9; }

/* Upload */
.upload-form { background: #fff; padding: 1.5rem; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); max-width: 600px; }

/* Import */
.import-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.import-card { background: #fff; padding: 1.25rem; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.import-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.import-card p { font-size: 0.9rem; color: #64748b; margin-bottom: 1rem; }
.import-result { background: #f1f5f9; padding: 1rem; border-radius: 6px; margin-bottom: 0.5rem; }
.import-result pre { font-size: 0.85rem; white-space: pre-wrap; }

/* Dashboard */
.dashboard-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.stat-card { background: #fff; padding: 1.25rem; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); text-align: center; }
.stat-card h3 { font-size: 2rem; color: #2563eb; }
.stat-card p { color: #64748b; font-size: 0.9rem; }

/* Login */
.login-container { display: flex; justify-content: center; align-items: center; min-height: 60vh; }
.login-box { background: #fff; padding: 2rem; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); width: 100%; max-width: 400px; }
.login-box h2 { margin-bottom: 1.5rem; text-align: center; }
.login-error { background: #fee2e2; color: #dc2626; padding: 0.75rem; border-radius: 6px; margin-bottom: 1rem; text-align: center; font-size: 0.9rem; }
.login-box .form-group { margin-bottom: 1rem; }
.login-box .btn-primary { width: 100%; padding: 0.75rem; font-size: 1rem; }

/* 404 */
.not-found { text-align: center; padding: 4rem 1rem; }
.not-found h1 { font-size: 4rem; color: #e2e8f0; }
.not-found p { color: #64748b; margin: 1rem 0; }

/* Hero fallback */
.hero { text-align: center; padding: 4rem 1rem; }
.hero h1 { font-size: 2.5rem; color: #1a1a2e; }
.hero p { font-size: 1.2rem; color: #64748b; margin-top: 1rem; }

.empty-state { text-align: center; color: #94a3b8; padding: 2rem; }
