/**
 * ACS Starter Builder Styles
 * Dark theme design system
 */

/* CSS Variables */
:root {
    --acs-bg: #030303;
    --acs-bg-dark: #0a0a0a;
    --acs-card: rgba(255,255,255,0.02);
    --acs-border: rgba(255,255,255,0.08);
    --acs-text: #A1A1AA;
    --acs-text-muted: #71717A;
    --acs-white: #FFFFFF;
    --acs-purple: #8B5CF6;
    --acs-pink: #EC4899;
    --acs-green: #10B981;
    --acs-radius: 16px;
    --acs-radius-sm: 10px;
    --acs-radius-full: 999px;
}

/* Base Section Styles */
.acs-section {
    background: var(--acs-bg);
}

.acs-bg-dark {
    background: var(--acs-bg);
}

.acs-bg-darker {
    background: var(--acs-bg-dark);
}

.acs-bg-card {
    background: var(--acs-card);
}

.acs-bg-transparent {
    background: transparent;
}

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

/* Alignment */
.acs-align-left { text-align: left; }
.acs-align-center { text-align: center; }
.acs-align-right { text-align: right; }

/* =====================
   KICKER BADGE
   ===================== */
.acs-kicker-wrap {
    margin-bottom: 20px;
}

.acs-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: var(--acs-radius-full);
    border: 1px solid var(--acs-border);
    background: var(--acs-card);
    color: var(--acs-text);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

.acs-kicker::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    flex-shrink: 0;
}

/* =====================
   SECTION HEADING
   ===================== */
.acs-section-header {
    margin-bottom: 48px;
}

.acs-section-header .acs-kicker {
    margin-bottom: 24px;
}

.acs-section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--acs-white);
    margin: 0 0 16px;
    line-height: 1.1;
}

.acs-heading-xl { font-size: clamp(36px, 5vw, 56px); }
.acs-heading-lg { font-size: clamp(32px, 4vw, 42px); }
.acs-heading-md { font-size: clamp(28px, 3.5vw, 36px); }
.acs-heading-sm { font-size: clamp(24px, 3vw, 28px); }

.acs-section-title .gradient {
    background: linear-gradient(135deg, #A78BFA, #EC4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.acs-section-subtitle {
    color: var(--acs-text-muted);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

/* =====================
   FEATURE CARD
   ===================== */
.acs-feature-card {
    padding: 28px 24px;
    border: 1px solid var(--acs-border);
    border-radius: var(--acs-radius);
    background: var(--acs-card);
    height: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.acs-feature-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
}

.acs-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(139,92,246,0.2), rgba(139,92,246,0.1));
    border: 1px solid rgba(139,92,246,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--acs-purple);
}

.acs-feature-title {
    color: var(--acs-white);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

.acs-feature-desc {
    color: var(--acs-text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

.acs-feature-link {
    display: inline-block;
    margin-top: 16px;
    color: var(--acs-purple);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.acs-feature-link:hover {
    color: #A78BFA;
}

/* =====================
   HIGHLIGHT CARD
   ===================== */
.acs-highlight-card {
    padding: 20px;
    border: 1px solid var(--acs-border);
    border-radius: 14px;
    background: var(--acs-card);
}

.acs-highlight-card h4 {
    color: var(--acs-white);
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

.acs-highlight-card p {
    color: var(--acs-text-muted);
    font-size: 12px;
    margin: 0;
    line-height: 1.5;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

/* =====================
   TESTIMONIAL CARD
   ===================== */
.acs-testimonial-card {
    padding: 28px 24px;
    border: 1px solid var(--acs-border);
    border-radius: var(--acs-radius);
    background: var(--acs-card);
    height: 100%;
    box-sizing: border-box;
}

.acs-testimonial-card blockquote {
    color: var(--acs-white);
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 20px;
    font-style: normal;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

.acs-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.acs-testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.acs-testimonial-avatar span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

.acs-testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.acs-testimonial-name {
    color: var(--acs-white);
    font-size: 14px;
    font-weight: 600;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

.acs-testimonial-role {
    color: var(--acs-text-muted);
    font-size: 13px;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

/* =====================
   CTA BOX
   ===================== */
.acs-cta-box {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
    padding: 40px 48px;
    border-radius: 24px;
    background: #0a0a0f;
    border: 1px solid rgba(255,255,255,0.08);
    margin: 0 20px;
    overflow: visible;
}

/* Teal/cyan gradient glow below CTA */
.acs-cta-box::after {
    content: "";
    position: absolute;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 300px;
    background: radial-gradient(ellipse at center, rgba(6, 182, 212, 0.15) 0%, rgba(20, 184, 166, 0.08) 40%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.acs-cta-content {
    flex: 1;
    min-width: 280px;
}

.acs-cta-box .acs-kicker {
    margin-bottom: 20px;
}

.acs-cta-box h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    color: var(--acs-white);
    margin: 0;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .acs-cta-box {
        padding: 32px 24px;
        margin: 0 10px;
        flex-direction: column;
        text-align: center;
    }

    .acs-cta-box h3 {
        font-size: 22px;
    }

    .acs-cta-content {
        min-width: 100%;
    }
}

.acs-cta-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

/* CTA specific button styles */
.acs-cta-box .acs-btn-primary {
    background: #FAFAFA;
    color: #09090B;
    padding: 16px 28px;
    border-radius: 12px;
    font-weight: 600;
}

.acs-cta-box .acs-btn-primary:hover {
    background: #FFFFFF;
}

.acs-cta-box .acs-btn-outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    color: #FAFAFA;
    padding: 16px 28px;
    border-radius: 12px;
    font-weight: 600;
}

.acs-cta-box .acs-btn-outline:hover {
    border-color: rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.05);
}

/* =====================
   BUTTONS
   ===================== */
.acs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border-radius: var(--acs-radius-sm);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

.acs-btn-primary {
    background: #FAFAFA;
    color: #09090B;
}

.acs-btn-primary:hover {
    background: #fff;
    transform: translateY(-1px);
}

.acs-btn-outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    color: #FAFAFA;
}

.acs-btn-outline:hover {
    border-color: rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.05);
}

.acs-btn-ghost {
    background: transparent;
    color: var(--acs-purple);
}

.acs-btn-ghost:hover {
    background: rgba(139,92,246,0.1);
}

.acs-btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.acs-btn-small {
    padding: 10px 18px;
    font-size: 13px;
}

/* =====================
   TAGS
   ===================== */
.acs-tag {
    display: inline-flex;
    padding: 8px 16px;
    border-radius: var(--acs-radius-full);
    border: 1px solid var(--acs-border);
    background: var(--acs-card);
    color: var(--acs-text);
    font-size: 13px;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

/* =====================
   FAQ ITEM
   ===================== */
.acs-faq-item {
    margin-bottom: 24px;
}

.acs-faq-item.acs-faq-bordered {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--acs-border);
}

.acs-faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.acs-faq-item h4 {
    color: var(--acs-white);
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

.acs-faq-item p {
    color: var(--acs-text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

/* =====================
   TEMPLATE GRID
   ===================== */
.acs-template-grid {
    display: grid;
    gap: 24px;
}

.acs-grid-2 { grid-template-columns: repeat(2, 1fr); }
.acs-grid-3 { grid-template-columns: repeat(3, 1fr); }
.acs-grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 968px) {
    .acs-grid-3,
    .acs-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .acs-grid-2,
    .acs-grid-3,
    .acs-grid-4 {
        grid-template-columns: 1fr;
    }
}

/* =====================
   TEMPLATE CARD
   ===================== */
.acs-template-card {
    border: 1px solid var(--acs-border);
    border-radius: var(--acs-radius);
    background: var(--acs-card);
    overflow: hidden;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.acs-template-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-4px);
}

.acs-template-card-single {
    max-width: 500px;
}

.acs-template-preview {
    height: 220px;
    background: linear-gradient(135deg, rgba(139,92,246,0.3), rgba(236,72,153,0.3));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.acs-template-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.acs-template-info {
    padding: 20px;
}

.acs-template-info h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--acs-white);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

.acs-badge-free {
    background: var(--acs-green);
    color: #fff;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.acs-badge-pro {
    background: var(--acs-purple);
    color: #fff;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.acs-template-info p {
    color: var(--acs-text-muted);
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 12px;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

.acs-template-link {
    color: var(--acs-purple);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

.acs-template-link:hover {
    color: #A78BFA;
}

/* =====================
   IMAGE BOX
   ===================== */
.acs-image-box {
    border-radius: var(--acs-radius);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.acs-image-box img {
    max-width: 100%;
    height: auto;
}

.acs-image-gradient {
    background: linear-gradient(135deg, rgba(139,92,246,0.3), rgba(236,72,153,0.3));
}

.acs-image-card {
    background: var(--acs-card);
    border: 1px solid var(--acs-border);
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 768px) {
    .acs-container {
        padding: 0 16px;
    }

    .acs-cta-box {
        padding: 24px;
        flex-direction: column;
        text-align: center;
    }

    .acs-cta-buttons {
        justify-content: center;
    }
}

/* =====================
   IMPREZA THEME OVERRIDES
   ===================== */
.acs-dark-theme,
.acs-dark-theme .l-main,
.acs-dark-theme .l-canvas,
.acs-dark-theme .l-section {
    background-color: #030303 !important;
}

.acs-dark-theme .vc_row,
.acs-dark-theme .vc_row-fluid {
    background-color: transparent;
}

.acs-dark-theme .vc_row[data-vc-full-width] {
    background-color: #030303;
}

/* Fix WPBakery column padding */
.acs-dark-theme .wpb_column > .vc_column-inner {
    padding: 0;
}

.acs-dark-theme .vc_row.vc_row-no-padding .vc_column-inner {
    padding: 0;
}

/* =====================
   HERO SECTION STYLES
   ===================== */
.acs-hero-wrapper {
    position: relative;
    margin: 20px;
    padding: 80px 60px 60px;
    border-radius: 24px;
    background: #0a0a0f;
    border: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
}

/* Grid pattern background */
.acs-hero-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

/* Purple/pink gradient glow - top right */
.acs-hero-wrapper::after {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139,92,246,0.25) 0%, rgba(236,72,153,0.15) 40%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Content above background */
.acs-hero-wrapper > * {
    position: relative;
    z-index: 1;
}

/* Hero heading - white text */
.acs-hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 700;
    line-height: 1.05;
    color: #FFFFFF;
    text-align: center;
    margin: 32px 0 28px;
}

/* Hero subtitle */
.acs-hero-subtitle {
    max-width: 700px;
    margin: 0 auto 36px;
    font-size: 17px;
    line-height: 1.7;
    color: #9CA3AF;
    text-align: center;
}

/* Hero buttons container */
.acs-hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

/* Hero button - outline style */
.acs-btn-hero-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: #FFFFFF;
    transition: all 0.2s ease;
}

.acs-btn-hero-outline:hover {
    border-color: rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.05);
}

/* Hero button - purple filled */
.acs-btn-hero-purple {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    border: none;
    color: #FFFFFF;
    transition: all 0.2s ease;
}

.acs-btn-hero-purple:hover {
    background: linear-gradient(135deg, #9D6FFF, #8B5CF6);
    transform: translateY(-1px);
}

/* Highlight cards with gradient border */
.acs-highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .acs-highlight-grid {
        grid-template-columns: 1fr;
    }

    .acs-hero-wrapper {
        margin: 10px;
        padding: 60px 24px 40px;
    }
}

.acs-highlight-card-gradient {
    position: relative;
    padding: 24px;
    border-radius: 14px;
    background: rgba(10, 10, 15, 0.8);
}

/* Gradient border effect */
.acs-highlight-card-gradient::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(139,92,246,0.4), rgba(139,92,246,0.1), rgba(255,255,255,0.05));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.acs-highlight-card-gradient h4 {
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 6px;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

.acs-highlight-card-gradient p {
    color: #71717A;
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

/* Fix Impreza's default text colors */
.acs-dark-theme h1,
.acs-dark-theme h2,
.acs-dark-theme h3,
.acs-dark-theme h4,
.acs-dark-theme h5,
.acs-dark-theme h6 {
    color: var(--acs-white);
}

.acs-dark-theme p,
.acs-dark-theme .wpb_text_column {
    color: var(--acs-text);
}

/* Button display fix */
.acs-btn {
    display: inline-flex !important;
}

/* WPBakery inner row gaps */
.acs-dark-theme .vc_row_inner {
    margin-left: -10px;
    margin-right: -10px;
}

.acs-dark-theme .vc_row_inner > .wpb_column {
    padding-left: 10px;
    padding-right: 10px;
}

/* =====================
   PRICING SECTION GRADIENT
   ===================== */
.vc_custom_page_header + .vc_row .vc_row_inner,
.acs-pricing-wrapper {
    position: relative;
}

/* Purple/pink gradient glow behind pricing cards */
.vc_row_inner:has(.acs-pricing-card)::before {
    content: "";
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 800px;
    height: 500px;
    background: radial-gradient(ellipse at center, rgba(139,92,246,0.2) 0%, rgba(236,72,153,0.1) 40%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* =====================
   PRICING CARD
   ===================== */
.acs-pricing-card {
    position: relative;
    z-index: 1;
    padding: 32px;
    border: 1px solid var(--acs-border);
    border-radius: 20px;
    background: rgba(10, 10, 15, 0.9);
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.acs-pricing-highlighted {
    background: linear-gradient(135deg, rgba(139,92,246,0.08), rgba(236,72,153,0.05));
    border-color: rgba(139,92,246,0.3);
}

.acs-pricing-header {
    margin-bottom: 28px;
}

.acs-pricing-header .acs-badge-free,
.acs-pricing-header .acs-badge-pro {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 10px;
    padding: 4px 10px;
}

.acs-pricing-plan {
    color: var(--acs-white);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

.acs-pricing-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--acs-white);
    line-height: 1;
}

.acs-pricing-period {
    font-size: 16px;
    font-weight: 400;
    color: var(--acs-text-muted);
    margin-left: 4px;
}

.acs-pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    flex-grow: 1;
}

.acs-pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--acs-text);
    font-size: 14px;
    padding: 10px 0;
    border-bottom: 1px solid var(--acs-border);
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

.acs-pricing-features li:last-child {
    border-bottom: none;
}

.acs-pricing-features li svg {
    flex-shrink: 0;
    color: var(--acs-green);
    margin-top: 2px;
}

.acs-pricing-card .acs-btn {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

/* =====================
   STEP CARD
   ===================== */
.acs-step-card {
    padding: 28px;
    border: 1px solid var(--acs-border);
    border-radius: var(--acs-radius);
    background: var(--acs-card);
    height: 100%;
    box-sizing: border-box;
}

.acs-step-number {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(139,92,246,0.2), rgba(139,92,246,0.1));
    border: 1px solid rgba(139,92,246,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--acs-purple);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

.acs-step-card h4 {
    color: var(--acs-white);
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

.acs-step-card p {
    color: var(--acs-text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

/* =====================
   GUIDE CARD
   ===================== */
.acs-guide-card {
    padding: 24px;
    border: 1px solid var(--acs-border);
    border-radius: var(--acs-radius);
    background: var(--acs-card);
    height: 100%;
    box-sizing: border-box;
}

.acs-guide-card h4 {
    color: var(--acs-white);
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

.acs-guide-card p {
    color: var(--acs-text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 16px;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

.acs-guide-link {
    color: var(--acs-purple);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

.acs-guide-link:hover {
    color: #A78BFA;
}

.acs-guide-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: var(--acs-radius-full);
    border: 1px solid var(--acs-border);
    background: transparent;
    color: var(--acs-text-muted);
    font-size: 12px;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

/* =====================
   CONTACT CARD
   ===================== */
.acs-contact-card {
    padding: 24px;
    border: 1px solid var(--acs-border);
    border-radius: var(--acs-radius);
    background: var(--acs-card);
    height: 100%;
    box-sizing: border-box;
}

.acs-contact-card h4 {
    color: var(--acs-white);
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

.acs-contact-email {
    display: block;
    color: var(--acs-text);
    font-size: 14px;
    text-decoration: none;
    margin-bottom: 16px;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

.acs-contact-email:hover {
    color: var(--acs-purple);
}

.acs-contact-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.acs-contact-tags .acs-tag {
    font-size: 12px;
    padding: 6px 12px;
}

/* =====================
   SUPPORT BOX
   ===================== */
.acs-support-box {
    padding: 40px;
    border: 1px solid var(--acs-border);
    border-radius: 20px;
    background: var(--acs-card);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.acs-support-box h4 {
    color: var(--acs-white);
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 12px;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

.acs-support-box p {
    color: var(--acs-text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 24px;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

/* =====================
   INFO ROW
   ===================== */
.acs-info-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 40px;
    border: 1px solid var(--acs-border);
    border-radius: 24px;
    background: var(--acs-card);
}

.acs-info-row-reverse {
    direction: rtl;
}

.acs-info-row-reverse > * {
    direction: ltr;
}

@media (max-width: 768px) {
    .acs-info-row {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 24px;
    }
}

.acs-info-content .acs-kicker {
    margin-bottom: 16px;
}

.acs-info-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--acs-white);
    margin: 0 0 16px;
    line-height: 1.2;
}

.acs-info-content p {
    color: var(--acs-text-muted);
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 24px;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

.acs-info-link {
    display: inline-flex;
    align-items: center;
    color: var(--acs-white);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 12px 20px;
    border: 1px solid var(--acs-border);
    border-radius: 10px;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    transition: all 0.2s ease;
}

.acs-info-link:hover {
    border-color: rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.05);
}

.acs-info-image {
    border-radius: 16px;
    overflow: hidden;
}

.acs-info-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* =====================
   PRO TIP BOX
   ===================== */
.acs-pro-tip-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 768px) {
    .acs-pro-tip-box {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.acs-pro-tip-image {
    border-radius: 20px;
    overflow: hidden;
}

.acs-pro-tip-image img {
    width: 100%;
    height: auto;
    display: block;
}

.acs-pro-tip-content .acs-kicker {
    margin-bottom: 16px;
}

.acs-pro-tip-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--acs-white);
    margin: 0 0 16px;
    line-height: 1.2;
}

.acs-pro-tip-content p {
    color: var(--acs-text-muted);
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 24px;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

/* =====================
   FOOTER
   ===================== */
.acs-footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--acs-border);
}

.acs-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .acs-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .acs-footer-grid {
        grid-template-columns: 1fr;
    }
}

.acs-footer-brand {
    max-width: 280px;
}

.acs-footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--acs-white);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

.acs-logo-icon {
    color: var(--acs-purple);
}

.acs-footer-brand p {
    color: var(--acs-text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

.acs-footer-links h5 {
    color: var(--acs-text-muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin: 0 0 16px;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

.acs-footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.acs-footer-links li {
    margin-bottom: 10px;
}

.acs-footer-links a {
    color: var(--acs-text);
    font-size: 14px;
    text-decoration: none;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    transition: color 0.2s ease;
}

.acs-footer-links a:hover {
    color: var(--acs-white);
}

.acs-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--acs-border);
}

.acs-footer-bottom p {
    color: var(--acs-text-muted);
    font-size: 13px;
    margin: 0;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

.acs-back-to-top {
    color: var(--acs-text-muted);
    font-size: 13px;
    text-decoration: none;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

.acs-back-to-top:hover {
    color: var(--acs-white);
}

/* =====================
   PAGE HEADER
   ===================== */
.acs-page-header {
    text-align: center;
    padding: 80px 20px 60px;
}

.acs-page-header .acs-kicker {
    margin-bottom: 24px;
}

.acs-page-header h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: var(--acs-white);
    margin: 0 0 16px;
    line-height: 1.1;
}

.acs-page-header p {
    color: var(--acs-text-muted);
    font-size: 16px;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

/* =====================
   PAGE HERO (Inner Pages)
   ===================== */
.acs-page-hero {
    position: relative;
    padding: 80px 40px 60px;
    text-align: center;
    overflow: visible;
}

/* Grid pattern background for page hero */
.acs-page-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

/* Purple/blue gradient glow at top */
.acs-page-hero::after {
    content: "";
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1000px;
    height: 600px;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(99, 102, 241, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 70% 10%, rgba(139, 92, 246, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 30% 5%, rgba(79, 70, 229, 0.2) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.acs-page-hero > * {
    position: relative;
    z-index: 1;
}

.acs-page-hero .acs-kicker {
    margin-bottom: 24px;
}

.acs-page-hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: #FFFFFF;
    margin: 24px 0 16px;
    line-height: 1.1;
}

.acs-page-hero-subtitle {
    color: #71717A;
    font-size: 16px;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

/* Page header gradient glow (legacy) */
.vc_custom_page_header {
    position: relative;
}

.vc_custom_page_header::before {
    content: "";
    position: absolute;
    top: -100px;
    left: 0;
    right: 0;
    height: 600px;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(99, 102, 241, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 70% 10%, rgba(139, 92, 246, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 30% 5%, rgba(79, 70, 229, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Grid pattern for all pages */
body.acs-dark-theme {
    position: relative;
}

body.acs-dark-theme::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

/* Ensure content is above grid */
.acs-dark-theme .l-main,
.acs-dark-theme .l-canvas,
.acs-dark-theme .vc_row,
.acs-dark-theme .l-section,
.acs-dark-theme footer {
    position: relative;
    z-index: 1;
}



/* Override Impreza's scroll-hide header behavior */
.acs-dark-theme .l-header.sticky_auto_hide {
    transform: translateY(0) !important;
}

.acs-dark-theme .l-header.pos_fixed.hidden {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Ensure sticky header stays visible */
.acs-dark-theme .l-header.state_sticky,
.acs-dark-theme .l-header.pos_fixed.state_sticky {
    transform: none !important;
    opacity: 1 !important;
}

/* Template card single display (larger) */
.acs-template-grid.acs-grid-1 {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
}

.acs-template-grid.acs-grid-1 .acs-template-card {
    max-width: 100%;
}

.acs-template-grid.acs-grid-1 .acs-template-preview {
    height: 280px;
}

/* =====================
   GRIDS
   ===================== */
.acs-grid-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.acs-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.acs-grid-6col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 968px) {
    .acs-grid-3col,
    .acs-grid-6col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .acs-grid-2col,
    .acs-grid-3col,
    .acs-grid-6col {
        grid-template-columns: 1fr;
    }
}
