/* Enterprise landing page — extends homepage design system */

.hero-tagline {
    font-family: var(--font-display);
    font-size: clamp(0.9rem, 1.6vw, 1.05rem);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 16px;
}

.hero-badge-pill--gold {
    background: rgba(244, 183, 64, 0.12);
    border-color: rgba(244, 183, 64, 0.35);
    color: var(--gold);
}

.hero-badge-pill--gold .dot {
    background: var(--gold);
}

/* Deployment journey — 4 steps */
#journey .steps-grid {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    #journey .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    #journey .steps-grid {
        grid-template-columns: 1fr;
    }
}

/* Personas */
.ent-personas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.ent-persona-card {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.ent-persona-card:hover {
    border-color: var(--navy);
    box-shadow: var(--shadow-md);
}

.ent-persona-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.ent-persona-icon svg {
    color: var(--navy);
}

.ent-persona-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.ent-persona-card p {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Enterprise features grid */
.ent-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.ent-feature-card {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.ent-feature-card--highlight {
    border-color: rgba(244, 183, 64, 0.45);
    background: linear-gradient(135deg, rgba(244, 183, 64, 0.06) 0%, var(--white) 100%);
}

.ent-feature-card:hover {
    border-color: var(--navy);
    box-shadow: var(--shadow-md);
}

.ent-feature-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(244, 183, 64, 0.12);
    padding: 4px 10px;
    border-radius: 99px;
    margin-bottom: 14px;
}

.ent-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.ent-feature-icon svg {
    color: var(--navy);
}

.ent-feature-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.ent-feature-card p {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.65;
}

/* Business inherit banner */
.ent-inherit-banner {
    display: flex;
    align-items: center;
    gap: 24px;
    background: var(--navy);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    margin-top: 48px;
    color: var(--white);
}

.ent-inherit-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(244, 183, 64, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ent-inherit-icon svg {
    color: var(--gold);
}

.ent-inherit-banner h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.ent-inherit-banner p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin: 0;
}

.ent-inherit-banner a {
    margin-left: auto;
    flex-shrink: 0;
    white-space: nowrap;
}

[dir="rtl"] .ent-inherit-banner a {
    margin-left: 0;
    margin-right: auto;
}

/* Compare table */
.ent-compare-wrap {
    margin-top: 48px;
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--gray-200);
    background: var(--white);
}

.ent-compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
}

.ent-compare-table th,
.ent-compare-table td {
    padding: 16px 24px;
    text-align: start;
    font-size: 0.875rem;
    border-bottom: 1px solid var(--gray-200);
}

.ent-compare-table thead th {
    background: var(--off-white);
    font-weight: 700;
    color: var(--navy);
    font-size: 0.95rem;
}

.ent-compare-table thead th:first-child {
    width: 40%;
}

.ent-compare-table tbody tr:last-child td {
    border-bottom: none;
}

.ent-compare-table tbody td:first-child {
    font-weight: 500;
    color: var(--navy);
}

.ent-compare-table tbody td:not(:first-child) {
    color: var(--gray-600);
    text-align: center;
}

.ent-compare-table .col-enterprise {
    background: rgba(244, 183, 64, 0.04);
}

.ent-compare-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(24, 197, 216, 0.12);
    color: var(--teal);
}

.ent-compare-dash {
    color: var(--gray-400);
}

.ent-compare-price {
    font-weight: 700;
    color: var(--navy);
}

.ent-compare-price--custom {
    color: var(--gold);
}

/* Deployment (shared with homepage) */
.deployment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 48px;
}

.deploy-card {
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: all 0.3s;
    background: var(--white);
}

.deploy-card:hover {
    border-color: var(--navy);
    box-shadow: var(--shadow-md);
}

.deploy-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.deploy-icon svg {
    color: var(--navy);
}

.deploy-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.deploy-card p {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.65;
    margin-bottom: 20px;
}

.deploy-tag {
    display: inline-block;
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 99px;
    margin: 0 6px 6px 0;
}

.text-center {
    text-align: center;
}

#journey .steps-grid {
    grid-template-columns: repeat(4, 1fr);
}

/* Responsive */
@media (max-width: 1024px) {
    .ent-personas-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ent-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    #journey .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ent-personas-grid,
    .ent-features-grid,
    .deployment-grid {
        grid-template-columns: 1fr;
    }

    .ent-inherit-banner {
        flex-direction: column;
        text-align: center;
    }

    .ent-inherit-banner a {
        margin: 16px 0 0;
    }

    [dir="rtl"] .ent-inherit-banner a {
        margin: 16px 0 0;
    }
}

@media (max-width: 600px) {
    .ent-features-grid {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════════════════════════════
   INDEX ALIGNMENT — mirrors the index.html design overrides
   ══════════════════════════════════════════════════════════ */

/* ── Header (same treatment & color behavior as index) ── */
.header { background: var(--navy-deep); border-bottom: none; box-shadow: none; transition: background .3s ease, box-shadow .3s ease; }
.header.scrolled { box-shadow: var(--shadow-sm); }
.header.header-light { background: var(--white); border-bottom: 1px solid var(--gray-200); }
.header .logo-img--light { filter: none; }
.header.header-light .logo-img--light { display: none; }
.header.header-light .logo-img--dark  { display: block; }

/* ── Section labels (index badge system) ── */
.section-label {
    padding: 5px 14px;
    background: rgba(244,183,64,0.14);
    border: 1px solid rgba(244,183,64,0.5);
    color: #A96D00;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: .1em;
    margin-bottom: 14px;
}
.section-label--light {
    background: rgba(244,183,64,0.12);
    border-color: rgba(244,183,64,0.42);
    color: var(--gold);
}

/* ── Hero (index treatment, visual on the right) ── */
.hero { min-height: 0; padding-top: 70px; }
.hero-glow { display: none; }
.hero-inner { gap: 48px; padding: 72px 0 48px; }
.hero-desc {
    font-size: 0.95rem; color: #c0c0c7; line-height: 1.35;
    max-width: 540px; margin: 12px 0 20px;
}
.hero-visual { display: block; width: 100%; max-width: 560px; justify-self: end; }
.hero-cta-row .btn-secondary { background: #fff; color: var(--navy); border-color: #fff; }
.hero-cta-row .btn-secondary:hover { background: var(--off-white); color: var(--navy); border-color: var(--off-white); }
.hero-cta-row .btn-secondary::after {
    content: ""; width: 16px; height: 16px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1F4A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") no-repeat center / contain;
    transition: transform 0.2s;
}
.hero-cta-row .btn-secondary:hover::after { transform: translateY(2px); }

/* Flat button treatment (index) */
.btn-primary, .nav-trial-btn { box-shadow: none; }
.btn-primary:hover, .nav-trial-btn:hover { box-shadow: none; transform: none; }
.btn-primary:active, .nav-trial-btn:active { background: #1647c0; box-shadow: 0 2px 8px rgba(8,24,58,0.25); transform: translateY(0); }

/* Hero entrance animation (same as index) */
@keyframes heroEnter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.hero-tagline, .hero-badge-pill, .hero h1, .hero-desc, .hero-cta-row, .hero-trust-row, .hero-visual { animation: heroEnter 0.6s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero-tagline    { animation-delay: 0.05s; }
.hero-badge-pill { animation-delay: 0.12s; }
.hero h1         { animation-delay: 0.19s; }
.hero-desc       { animation-delay: 0.33s; }
.hero-cta-row    { animation-delay: 0.47s; }
.hero-trust-row  { animation-delay: 0.55s; }
.hero-visual     { animation-delay: 0.61s; }
@media (prefers-reduced-motion: reduce) {
    .hero-tagline, .hero-badge-pill, .hero h1, .hero-desc, .hero-cta-row, .hero-trust-row, .hero-visual { animation: none; }
}

/* ── Stats strip: rotating band (same as index) ── */
.stats-strip { background: #fff; border: none; border-bottom: none; padding: 18px 0; overflow: hidden; }
.stats-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.stats-marquee-track { display: flex; width: max-content; animation: statsMarquee 42s linear infinite; }
.stats-marquee-item {
    font-family: var(--font-display);
    font-size: 0.78rem; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--gray-600); white-space: nowrap;
    margin-right: 64px; position: relative;
}
.stats-marquee-item::after {
    content: ""; position: absolute; right: -34px; top: 50%;
    width: 4px; height: 4px; border-radius: 50%;
    background: var(--blue-saas); transform: translateY(-50%); opacity: 0.55;
}
@keyframes statsMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
    .stats-marquee-track { animation: none; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
}

/* ── Cards: index language, icon + title centered ── */
.ent-persona-card, .ent-feature-card {
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 26px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}
.ent-persona-card:hover, .ent-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--gray-200);
}
.ent-feature-card--highlight, .ent-feature-card--highlight:hover { border-color: rgba(244,183,64,0.45); }
.ent-persona-icon, .ent-feature-icon {
    width: 44px; height: 44px;
    margin: 0 auto 0;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--blue-saas), var(--cyan-tech));
}
.ent-persona-icon svg, .ent-feature-icon svg { color: #fff; stroke: #fff; width: 22px; height: 22px; }
.ent-persona-card h3, .ent-feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem; font-weight: 700; color: var(--navy);
    margin: 16px 0 8px; text-align: center;
}
.ent-feature-badge { display: table; margin: 0 auto 14px; }
.ent-persona-card p, .ent-feature-card p { font-size: 0.875rem; color: var(--gray-600); line-height: 1.55; }

/* ── Journey steps: big gradient number (index impact treatment) ── */
#journey .step-card {
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}
#journey .step-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
#journey .step-num {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--blue-saas), var(--cyan-tech));
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    margin-bottom: 14px;
}

/* ── Compare table: index vs-erp language, blue accents ── */
.ent-compare-wrap { max-width: 860px; margin: 8px auto 0; border: 1px solid var(--gray-200); border-radius: var(--radius-md); box-shadow: none; }
.ent-compare-table thead th {
    background: var(--white);
    font-family: var(--font-display);
    font-size: 0.7rem; font-weight: 800;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--gray-600);
}
.ent-compare-table thead th.col-enterprise { color: var(--blue-saas); }
.ent-compare-table th, .ent-compare-table td { padding: 14px 20px; font-size: 0.85rem; }
.ent-compare-table .col-enterprise { background: rgba(30,94,255,0.04); }
.ent-compare-check { background: rgba(30,94,255,0.10); color: var(--blue-saas); }
.ent-compare-price--custom { color: var(--blue-saas); }

/* ── FAQ: index blue accents ── */
.faq-item.open { border-color: var(--blue-saas); }
.faq-item.open .faq-toggle { background: var(--blue-saas); transform: none; }

/* ── Final CTA (index treatment) ── */
.final-cta::before { display: none; }
.cta-card { border: 1.5px solid rgba(255,255,255,0.12); border-radius: var(--radius-lg); }
.cta-card:hover { border-color: var(--blue-saas); box-shadow: 0 14px 36px rgba(8,24,58,0.45); }
/* Keep numbers, phones and emails LTR in RTL mode */
.cta-card-value, .contact-info a { direction: ltr; unicode-bidi: embed; }

/* ── Footer (index layout: nav + contact row, social row, centered identity) ── */
.footer { padding: 40px 0 22px; }
.footer .footer-grid { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; margin-bottom: 0; }
.footer .footer-nav { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer .footer-links { gap: 7px; }
.footer .footer-links a { line-height: 1.4; }
.footer .footer-nav-col h4, .footer .footer-section h4 { margin-bottom: 12px; }
.footer-social-row { display: flex; align-items: center; justify-content: center; gap: 20px; margin: 26px 0 20px; }
.footer-social-row::before, .footer-social-row::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,0.14); }
.footer-social-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.22); color: rgba(255,255,255,0.75); transition: border-color 0.2s, color 0.2s, transform 0.2s; }
.footer-social-icon:hover { border-color: var(--blue-saas); color: var(--blue-saas); transform: translateY(-2px); }
.footer-social-icon:active { border-color: #1647c0; color: #1647c0; }
.footer-social-icon svg { width: 16px; height: 16px; }
.footer-info--center { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 560px; margin: 0 auto 4px; }
.footer-info--center .footer-langs { justify-content: center; }
.footer-info--center .footer-logo { margin: 0 0 8px; }
.footer-info--center .footer-signature { margin: 0 0 8px; }
.footer-info--center .footer-description { margin-bottom: 10px; line-height: 1.5; }
.footer-info--center .footer-logo-img { height: 84px; width: auto; transform: scale(1.80); transform-origin: center; }
.footer .footer-bottom { margin-top: 8px; padding-top: 16px; text-align: center; }

/* ── WhatsApp float (index placement & flat treatment) ── */
.wa-float { left: 28px; right: auto; box-shadow: none; animation: none; }
.wa-float:hover { box-shadow: none; transform: none; }
.wa-float:active { box-shadow: 0 2px 12px rgba(4,11,27,0.25); transform: translateY(0); }
[dir="rtl"] .wa-float { left: auto; right: 28px; }

/* ── Responsive ── */
@media (max-width: 960px) {
    .hero-visual { justify-self: center; margin: 0 auto; }
}
@media (max-width: 900px) {
    .footer .footer-grid { flex-direction: column; gap: 30px; }
    .footer .footer-nav { grid-template-columns: 1fr 1fr; gap: 26px; }
}
