/* ── HERO SECTION ── */
.hero {
    min-height: 90vh;
    background: var(--black);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 3.5rem 0;
}
.hero-bg-grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(227,30,36,.03) 1px,transparent 1px), linear-gradient(90deg,rgba(227,30,36,.03) 1px,transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}
.hero-bg-glow {
    position: absolute; top: -10%; right: -8%;
    width: 650px; height: 650px;
    background: radial-gradient(circle, rgba(227,30,36,.12) 0%, rgba(227,30,36,.03) 45%, transparent 70%);
    pointer-events: none;
}
.hero-bg-glow2 {
    position: absolute; bottom: -15%; left: -5%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(227,30,36,.07) 0%, transparent 65%);
    pointer-events: none;
}

.google-rating-badge {
    display: inline-flex; align-items: center; gap: 0.65rem;
    background: rgba(22, 27, 34, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(227, 30, 36, 0.3); padding: 0.5rem 1.2rem; border-radius: 50px;
    margin-bottom: 1.5rem; text-decoration: none !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}
.google-rating-badge:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: var(--red); box-shadow: 0 10px 30px rgba(227, 30, 36, 0.3);
}
.google-rating-badge .g-stars { color: #fbbc05; font-size: 0.9rem; display: flex; gap: 3px; }
.google-rating-badge .g-score { color: #ffffff; font-size: 0.95rem; font-weight: 800; margin-left: 0.25rem; }
.google-rating-badge .g-reviews { color: rgba(255, 255, 255, 0.9); font-size: 0.82rem; font-weight: 600; }

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 4.6vw, 3.5rem);
    font-weight: 900; line-height: 1.15; color: var(--text-bright);
    margin-bottom: 1.25rem; letter-spacing: -.6px;
}
.hero-title .line2 {
    background: linear-gradient(135deg, #ff3b40 0%, #e31e24 60%, #b71217 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    display: block;
}
.hero-desc { font-size: 0.98rem; color: var(--muted); line-height: 1.8; margin-bottom: 2.2rem; max-width: 590px; font-weight: 500; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2rem; }

/* ── 4 DIVISION CARDS ── */
.divisions-section { padding: 5.5rem 0; background: var(--surface); position: relative; }
.division-card {
    background: var(--card); border: 1px solid var(--border-soft);
    border-radius: 22px; padding: 2.3rem 1.8rem; height: 100%;
    transition: transform 0.35s cubic-bezier(.16,1,.3,1), box-shadow 0.35s ease, border-color 0.35s ease, background-color 0.35s ease;
    position: relative; overflow: hidden; display: flex; flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}
.division-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: var(--red-gradient); opacity: 0; transition: opacity .35s ease;
}
.division-card:hover {
    transform: translateY(-8px); border-color: rgba(227,30,36,.4);
    box-shadow: 0 20px 45px rgba(227,30,36,0.16); background: var(--card);
}
.division-card:hover::before { opacity: 1; }
.division-icon {
    width: 62px; height: 62px; background: var(--red-soft); border: 1px solid var(--red-border);
    border-radius: 18px; display: flex; align-items: center; justify-content: center;
    color: var(--red); font-size: 1.6rem; margin-bottom: 1.5rem; transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.division-card:hover .division-icon { background: var(--red-gradient); color: #fff; transform: scale(1.1) rotate(-3deg); box-shadow: 0 8px 22px rgba(227,30,36,0.35); }
.division-title { font-size: 1.25rem; font-weight: 800; color: var(--text-bright); margin-bottom: 0.6rem; letter-spacing: -0.3px; }
.division-desc { font-size: 0.86rem; color: var(--muted); line-height: 1.7; flex: 1; margin-bottom: 1.5rem; font-weight: 500; }

/* ── INTERACTIVE AI FEATURES SUITE ── */
.ai-suite-section { padding: 5.5rem 0; background: var(--surface); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.ai-card {
    background: var(--card);
    border: 1.5px solid var(--border-soft);
    border-top: 4px solid var(--red);
    border-radius: 22px;
    padding: 2.3rem 1.8rem;
    height: 100%;
    transition: transform 0.35s cubic-bezier(.16,1,.3,1), box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.ai-card:hover {
    border-color: var(--red);
    box-shadow: 0 22px 50px rgba(227,30,36,0.2);
    transform: translateY(-8px);
}
.ai-badge { display: inline-flex; align-items: center; gap: 0.4rem; background: rgba(227,30,36,.12); color: var(--red); font-size: 0.72rem; font-weight: 800; padding: 0.38rem 1.1rem; border-radius: 50px; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 1rem; box-shadow: 0 4px 14px rgba(227,30,36,.15); }
.ai-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(227,30,36,0.1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.ai-card:hover .ai-icon-wrapper {
    background: var(--red-gradient);
    color: #ffffff;
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 22px rgba(227,30,36,0.4);
}
.ai-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-bright);
    margin-bottom: 0.6rem;
}
.ai-card-desc {
    font-size: 0.88rem;
    color: var(--mid);
    line-height: 1.65;
    margin-bottom: 1.5rem;
    font-weight: 500;
}
.btn-ai-action {
    background: var(--red-gradient);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.88rem;
    border: none;
    border-radius: 14px;
    padding: 0.8rem 1.3rem;
    width: 100%;
    box-shadow: 0 6px 18px rgba(227,30,36,0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.btn-ai-action:hover {
    filter: brightness(1.08);
    box-shadow: 0 10px 28px rgba(227,30,36,0.45);
    transform: translateY(-2px);
}

/* ── WHY CHOOSE SCITW GRID ── */
.why-box {
    background: var(--card); border: 1px solid var(--border-soft); border-radius: 18px;
    padding: 1.5rem; height: 100%; transition: all 0.35s ease; display: flex; align-items: flex-start; gap: 1.1rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.03);
}
.why-box:hover { border-color: var(--red); transform: translateY(-5px); box-shadow: 0 12px 30px rgba(227,30,36,.16); }
.why-icon { width: 48px; height: 48px; background: var(--red-soft); border-radius: 14px; display: flex; align-items: center; justify-content: center; color: var(--red); font-size: 1.15rem; flex-shrink: 0; }

/* ── FEATURED SOFTWARE CARDS ── */
.software-card {
    background: var(--card); border: 1px solid var(--border-soft); border-radius: 20px;
    padding: 1.6rem; height: 100%; transition: all 0.35s ease; display: flex; flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}
.software-card:hover { border-color: var(--red); transform: translateY(-6px); box-shadow: 0 18px 42px rgba(227,30,36,0.18); }
.software-img { height: 150px; border-radius: 14px; object-fit: cover; width: 100%; margin-bottom: 1.25rem; }

/* ── PRICING CARDS ── */
.price-card {
    background: var(--card); border: 1px solid var(--border-soft); border-radius: 22px;
    padding: 2.2rem 1.7rem; height: 100%; text-align: center; transition: all 0.35s ease; display: flex; flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}
.price-card:hover { border-color: var(--red); transform: translateY(-7px); box-shadow: 0 20px 45px rgba(227,30,36,.18); }
.price-val { font-size: 1.9rem; font-weight: 900; color: var(--red); margin: 0.8rem 0; font-family: 'Outfit', sans-serif; }

/* ── FAQ ACCORDION ── */
.faq-accordion .accordion-item {
    background: var(--card); border: 1px solid var(--border-soft); border-radius: 16px !important;
    margin-bottom: 0.9rem; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.faq-accordion .accordion-button {
    background: var(--card); color: var(--text-bright); font-weight: 700; font-size: 0.96rem;
    box-shadow: none; padding: 1.25rem 1.5rem;
}
.faq-accordion .accordion-button:not(.collapsed) { background: rgba(227,30,36,.08); color: var(--red); }
.faq-accordion .accordion-body { color: var(--muted); font-size: 0.9rem; line-height: 1.8; padding: 1.25rem 1.5rem; font-weight: 500; }

/* ── SECTION HEADINGS & HIGH-CONTRAST TEXT ── */
.section-title {
    font-family: var(--font-primary);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--text-bright);
    letter-spacing: -0.5px;
}
.section-sub {
    font-size: 0.95rem;
    color: var(--muted);
    max-width: 650px;
    margin: 0.5rem auto 0;
    line-height: 1.7;
    font-weight: 500;
}
.red-line {
    width: 60px;
    height: 3px;
    background: var(--red-gradient);
    margin: 0.8rem auto 1rem;
    border-radius: 3px;
}

[data-theme="dark"] .section-title, body.dark-mode .section-title {
    color: #ffffff !important;
}
[data-theme="dark"] .section-sub, body.dark-mode .section-sub {
    color: #cbd5e1 !important;
}
[data-theme="dark"] .counter-section p, body.dark-mode .counter-section p {
    color: #cbd5e1 !important;
}
[data-theme="dark"] .division-desc, body.dark-mode .division-desc {
    color: #cbd5e1 !important;
}
[data-theme="dark"] .ai-card-desc, body.dark-mode .ai-card-desc {
    color: #cbd5e1 !important;
}
[data-theme="dark"] .hero-desc, body.dark-mode .hero-desc {
    color: #cbd5e1 !important;
}
