/**
 * AICT Site-Wide Styles
 *
 * Consolidated from inline <style> blocks in:
 *   - class-aict-header-nav.php  (id="aict-header-css")
 *   - class-aict-site-config.php (id="aict-landing-page-fix")
 *   - class-aict-site-config.php (id="aict-hero-search-css")
 *   - class-aict-site-config.php (id="aict-how-it-works-css")
 *   - class-aict-site-config.php (id="aict-social-proof-css")
 *
 * @package AICT_Core
 * @since 1.14.0
 */


/* ==========================================================================
   HEADER: Hide theme default headers
   Source: class-aict-header-nav.php #aict-header-css
   ========================================================================== */

#masthead.site-header,
header.site-header,
.site-header:not(.aict-header),
.elementor-location-header { display: none !important; }

/* Also hide "Home" page title on homepage */
body.home .entry-title,
body.home .page-title,
body.page-template-default.home h1.entry-title { display: none !important; }

/* Hide WordPress edit links from all visitors */
.post-edit-link,
.edit-link,
a.post-edit-link { display: none !important; }


/* ==========================================================================
   HEADER: AICT Header
   Source: class-aict-header-nav.php #aict-header-css
   ========================================================================== */

.aict-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.aict-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    gap: 1rem;
}


/* ==========================================================================
   HEADER: Logo
   Source: class-aict-header-nav.php #aict-header-css
   ========================================================================== */

.aict-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    flex-shrink: 0;
}
.aict-logo-icon { font-size: 1.5rem; line-height: 1; }
.aict-logo-text {
    font-size: 1.125rem;
    font-weight: 700;
    color: #4a3aff;
    white-space: nowrap;
}
.aict-logo:hover .aict-logo-text { color: #3829cc; }


/* ==========================================================================
   HEADER: Nav Links
   Source: class-aict-header-nav.php #aict-header-css
   ========================================================================== */

.aict-nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
}
.aict-nav-links a {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.875rem;
    color: #1a1a2e;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}
.aict-nav-links a:hover {
    color: #ff6b35;
    background: rgba(255,107,53,0.08);
}
.aict-nav-links a.active {
    color: #ff6b35;
    font-weight: 600;
}


/* ==========================================================================
   HEADER: Right side (CTA, language, mobile)
   Source: class-aict-header-nav.php #aict-header-css
   ========================================================================== */

.aict-nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.aict-nav-cta .btn {
    display: inline-flex;
    align-items: center;
    padding: 0.625rem 1.25rem;
    background: #ff6b35;
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 6px;
    transition: background 0.2s, transform 0.2s;
    white-space: nowrap;
}
.aict-nav-cta .btn:hover {
    background: #e55a2b;
    transform: translateY(-1px);
}


/* ==========================================================================
   HEADER: Language switcher
   Source: class-aict-header-nav.php #aict-header-css
   ========================================================================== */

.aict-lang-switcher select {
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #fff;
    font-size: 0.8125rem;
    cursor: pointer;
    color: #1a1a2e;
}


/* ==========================================================================
   HEADER: Mobile toggle
   Source: class-aict-header-nav.php #aict-header-css
   ========================================================================== */

.aict-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #1a1a2e;
}


/* ==========================================================================
   HEADER: Mobile menu
   Source: class-aict-header-nav.php #aict-header-css
   ========================================================================== */

.aict-mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: #fff;
    z-index: 10001;
    transition: right 0.3s ease;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    overflow-y: auto;
}
.aict-mobile-menu.open { right: 0; }
.aict-mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}
.aict-mobile-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #1a1a2e;
}
.aict-mobile-nav {
    list-style: none;
    padding: 1rem 0;
    margin: 0;
}
.aict-mobile-nav a {
    display: block;
    padding: 0.875rem 1.5rem;
    color: #1a1a2e;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s, background 0.2s;
}
.aict-mobile-nav a:hover,
.aict-mobile-nav a.active {
    color: #ff6b35;
    background: rgba(255,107,53,0.05);
}
.aict-mobile-cta {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e2e8f0;
}
.aict-mobile-cta .btn {
    display: block;
    text-align: center;
    padding: 0.875rem;
    background: #ff6b35;
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
}
.aict-mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 10000;
}
.aict-mobile-overlay.open { display: block; }


/* ==========================================================================
   HEADER: Responsive breakpoints
   Source: class-aict-header-nav.php #aict-header-css
   ========================================================================== */

@media (max-width: 768px) {
    .aict-nav-links,
    .aict-nav-cta,
    .aict-lang-switcher { display: none !important; }
    .aict-mobile-toggle { display: block; }
}
@media (max-width: 1024px) {
    .aict-nav-links a { padding: 0.5rem 0.625rem; font-size: 0.875rem; }
    .aict-nav-cta .btn { padding: 0.5rem 1rem; font-size: 0.8125rem; }
}


/* ==========================================================================
   LANDING PAGES: Hide duplicate title, full-bleed sections
   Source: class-aict-site-config.php #aict-landing-page-fix
   ========================================================================== */

/* Hide WordPress theme entry header (duplicate title) */
.page .entry-header { display: none !important; }
/* Full-bleed entry content — remove theme constraints */
.page .entry-content { max-width: none; padding: 0; margin: 0; }
.page .entry-content > p:empty { display: none; }
.page .entry-content > p { margin: 0; }
.page article.page { padding: 0; max-width: none; }
.page #primary { max-width: none; padding: 0; }
.page .site-main { padding: 0; }
.page .content-area { max-width: none; }
/* Fix stray </p> and <p> from wpautop remnants */
.pricing-grid > p, .pricing-section > p,
.enterprise-section > p, .faq-grid > p { display: none; }


/* ==========================================================================
   HOMEPAGE: Hero search bar
   Source: class-aict-site-config.php #aict-hero-search-css
   ========================================================================== */

.aict-hero-search-wrap{max-width:720px;margin:0 auto;padding:0 1rem}
.aict-hero-search-form{display:flex;gap:0;border-radius:12px;overflow:hidden;box-shadow:0 8px 32px rgba(0,0,0,0.3)}
.aict-hero-search-input{flex:1;padding:1rem 1.25rem;font-size:1.1rem;border:2px solid #334155;border-right:none;border-radius:12px 0 0 12px;background:#1e293b;color:#fff;outline:none;transition:border-color 0.2s}
.aict-hero-search-input::placeholder{color:#64748b}
.aict-hero-search-input:focus{border-color:#ff6b35}
.aict-hero-search-btn{padding:1rem 2rem;background:#ff6b35;color:#fff;border:none;font-size:1.1rem;font-weight:700;cursor:pointer;transition:background 0.2s;white-space:nowrap}
.aict-hero-search-btn:hover{background:#e55a2b}
.aict-hero-search-tags{display:flex;flex-wrap:wrap;gap:0.5rem;justify-content:center;margin-top:1rem}
.aict-hero-search-tags a{display:inline-block;padding:0.35rem 0.85rem;background:#1e293b;color:#94a3b8;border:1px solid #334155;border-radius:20px;text-decoration:none;font-size:0.85rem;transition:all 0.2s}
.aict-hero-search-tags a:hover{background:#ff6b35;color:#fff;border-color:#ff6b35}
@media(max-width:600px){
    .aict-hero-search-form{flex-direction:column;border-radius:12px}
    .aict-hero-search-input{border-right:2px solid #334155;border-radius:12px 12px 0 0;border-bottom:none}
    .aict-hero-search-btn{border-radius:0 0 12px 12px;padding:0.85rem}
}


/* ==========================================================================
   HOMEPAGE: How It Works section
   Source: class-aict-site-config.php #aict-how-it-works-css
   ========================================================================== */

.aict-hiw-section{background:#0f172a;padding:4rem 1rem;text-align:center}
.aict-hiw-section h2{color:#fff;font-size:2rem;font-weight:800;margin:0 0 0.5rem}
.aict-hiw-subtitle{color:#94a3b8;font-size:1.1rem;margin:0 0 2.5rem}
.aict-hiw-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;max-width:1000px;margin:0 auto}
.aict-hiw-step{background:#1e293b;border-radius:16px;padding:2rem 1.5rem;text-align:center;transition:transform 0.2s,box-shadow 0.2s}
.aict-hiw-step:hover{transform:translateY(-4px);box-shadow:0 8px 24px rgba(0,0,0,0.3)}
.aict-hiw-num{width:56px;height:56px;border-radius:50%;background:#ff6b35;color:#fff;font-size:1.5rem;font-weight:800;display:inline-flex;align-items:center;justify-content:center;margin-bottom:1rem}
.aict-hiw-step h3{color:#fff;font-size:1.25rem;font-weight:700;margin:0 0 0.75rem}
.aict-hiw-step p{color:#94a3b8;font-size:0.95rem;line-height:1.6;margin:0}
@media(max-width:768px){
    .aict-hiw-grid{grid-template-columns:1fr;max-width:400px}
}


/* ==========================================================================
   HOMEPAGE: Social Proof section
   Source: class-aict-site-config.php #aict-social-proof-css
   ========================================================================== */

.aict-sp-section{background:#0f172a;padding:4rem 1rem;text-align:center}
.aict-sp-section h2{color:#fff;font-size:2rem;font-weight:800;margin:0 0 0.5rem}
.aict-sp-subtitle{color:#94a3b8;font-size:1.1rem;margin:0 0 2.5rem}
.aict-sp-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;max-width:800px;margin:0 auto 3rem}
.aict-sp-stat{background:#1e293b;border-radius:12px;padding:1.5rem 1rem;border:1px solid #334155}
.aict-sp-stat-value{color:#ff6b35;font-size:1.75rem;font-weight:800;margin:0 0 0.25rem;display:block}
.aict-sp-stat-label{color:#94a3b8;font-size:0.9rem;display:block}
.aict-sp-quotes{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;max-width:1000px;margin:0 auto}
.aict-sp-quote{background:#1e293b;border-radius:16px;padding:2rem 1.5rem;text-align:left;border:1px solid #334155;position:relative}
.aict-sp-quote::before{content:'\201C';position:absolute;top:12px;left:16px;font-size:3rem;color:#ff6b35;opacity:0.4;line-height:1;font-family:Georgia,serif}
.aict-sp-quote-text{color:#e2e8f0;font-size:1rem;line-height:1.6;margin:0 0 1rem;padding-top:1rem;font-style:italic}
.aict-sp-quote-author{color:#ff6b35;font-size:0.85rem;font-weight:600;margin:0}
.aict-sp-quote-author::before{content:'\2014\00a0'}
@media(max-width:768px){
    .aict-sp-stats{grid-template-columns:1fr;max-width:300px}
    .aict-sp-quotes{grid-template-columns:1fr;max-width:400px}
}
