/* ============================================================================
 * EcsFix Tool - Premium Luminous Public Website Stylesheet
 * Crisp White Corporate SaaS Design • Fully Responsive
 * ============================================================================ */
:root {
    --pub-bg: #FFFFFF;
    --pub-surface: #FFFFFF;
    --pub-soft: #F8FAFC;
    --pub-border: #E2E8F0;
    --pub-ink: #0F172A;
    --pub-sub: #475569;
    --pub-muted: #64748B;
    --pub-blue: #1D4ED8;
    --pub-blue-deep: #0F4C81;
    --pub-blue-light: #EFF6FF;
    --pub-green: #15803D;
    --pub-green-bg: #F0FDF4;
    --pub-shadow: 0 20px 50px -12px rgba(15, 23, 42, 0.08);
    --pub-shadow-card: 0 6px 24px -4px rgba(15, 23, 42, 0.05);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.pub-body {
    margin: 0;
    background: var(--pub-bg);
    color: var(--pub-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.pub-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Sticky Glass Navbar */
.pub-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.pub-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
    gap: 18px;
}

.pub-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    color: var(--pub-ink);
}

.pub-brand img {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(15, 76, 129, 0.2);
}

.pub-brand-name {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.3px;
    line-height: 1.1;
}

.pub-brand-sub {
    font-size: 11px;
    font-weight: 600;
    color: var(--pub-blue);
    display: block;
}

.pub-nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.pub-nav-links a {
    font-size: 14px;
    font-weight: 600;
    color: var(--pub-sub);
    text-decoration: none;
    transition: color 0.15s ease;
}

.pub-nav-links a:hover {
    color: var(--pub-blue);
}

.pub-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pub-lang {
    display: inline-flex;
    background: #F1F5F9;
    border: 1px solid var(--pub-border);
    border-radius: 9px;
    padding: 3px;
}

.pub-lang a {
    padding: 4px 9px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--pub-sub);
    text-decoration: none;
}

.pub-lang a.active {
    background: #FFFFFF;
    color: var(--pub-blue);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.1);
}

.pub-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.pub-btn-primary {
    background: linear-gradient(135deg, #0F4C81 0%, #1D4ED8 100%);
    color: #FFFFFF;
    box-shadow: 0 8px 20px -6px rgba(29, 78, 216, 0.45);
}

.pub-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px -6px rgba(29, 78, 216, 0.55);
}

.pub-btn-outline {
    background: #FFFFFF;
    color: var(--pub-ink);
    border-color: #CBD5E1;
}

.pub-btn-outline:hover {
    background: #F8FAFC;
    border-color: #94A3B8;
}

.pub-btn-lg {
    padding: 14px 26px;
    font-size: 15px;
    border-radius: 12px;
}

/* Hero Section */
.pub-hero {
    position: relative;
    padding: 72px 0 84px;
    background:
        radial-gradient(900px 420px at 50% -60px, rgba(30, 136, 229, 0.09), transparent 70%),
        linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
    overflow: hidden;
}

.pub-hero-center {
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
}

.pub-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--pub-blue-light);
    border: 1px solid #BFDBFE;
    color: var(--pub-blue-deep);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2px;
    margin-bottom: 22px;
}

.pub-pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #16A34A;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
}

.pub-hero h1 {
    margin: 0 0 18px;
    font-size: clamp(32px, 5vw, 54px);
    font-weight: 800;
    letter-spacing: -1.2px;
    line-height: 1.1;
    color: var(--pub-ink);
}

.pub-gradient-text {
    background: linear-gradient(135deg, #0F4C81 0%, #2563EB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pub-hero-desc {
    margin: 0 auto 30px;
    max-width: 680px;
    font-size: 17px;
    color: var(--pub-sub);
}

.pub-hero-cta {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

/* Featured Banner Showcase */
.pub-banner-frame {
    max-width: 920px;
    margin: 0 auto;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 22px;
    padding: 18px;
    box-shadow: var(--pub-shadow);
}

.pub-banner-frame img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
}

.pub-banner-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #F1F5F9;
}

.pub-strip-item {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
}

.pub-strip-item strong {
    display: block;
    font-size: 14px;
    color: var(--pub-ink);
}

.pub-strip-item span {
    font-size: 12px;
    color: var(--pub-muted);
}

/* Sections */
.pub-section {
    padding: 84px 0;
}

.pub-section-soft {
    background: var(--pub-soft);
    border-top: 1px solid var(--pub-border);
    border-bottom: 1px solid var(--pub-border);
}

.pub-section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 48px;
}

.pub-kicker {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--pub-blue);
    margin-bottom: 8px;
}

.pub-section-head h2 {
    margin: 0 0 12px;
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 800;
    letter-spacing: -0.6px;
}

.pub-section-head p {
    margin: 0;
    font-size: 16px;
    color: var(--pub-sub);
}

/* Feature Cards Grid */
.pub-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.pub-feature-card {
    background: #FFFFFF;
    border: 1px solid var(--pub-border);
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: var(--pub-shadow-card);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pub-feature-card:hover {
    transform: translateY(-4px);
    border-color: #BFDBFE;
    box-shadow: 0 18px 36px -10px rgba(29, 78, 216, 0.14);
}

.pub-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--pub-blue-light);
    color: var(--pub-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.pub-feature-card h3 {
    margin: 0 0 10px;
    font-size: 17px;
    font-weight: 700;
}

.pub-feature-card p {
    margin: 0;
    font-size: 14px;
    color: var(--pub-sub);
}

/* 4-Step Timeline */
.pub-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.pub-step-card {
    background: #FFFFFF;
    border: 1px solid var(--pub-border);
    border-radius: 16px;
    padding: 24px;
    position: relative;
}

.pub-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0F4C81, #1D4ED8);
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 16px;
}

.pub-step-card h3 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
}

.pub-step-card p {
    margin: 0;
    font-size: 13.5px;
    color: var(--pub-sub);
}

/* Brand Compatibility Showcase */
.pub-brands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.pub-brand-card {
    background: #FFFFFF;
    border: 1px solid var(--pub-border);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    box-shadow: var(--pub-shadow-card);
}

.pub-brand-tag {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 999px;
    background: var(--pub-blue-light);
    color: var(--pub-blue-deep);
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.8px;
    margin-bottom: 14px;
}

.pub-brand-card p {
    margin: 0;
    font-size: 14px;
    color: var(--pub-sub);
}

/* Security Highlights Box */
.pub-security-box {
    background: linear-gradient(135deg, #0B2545 0%, #0F4C81 55%, #1D4ED8 100%);
    color: #FFFFFF;
    border-radius: 22px;
    padding: 48px 42px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    align-items: center;
    box-shadow: 0 24px 60px -15px rgba(15, 76, 129, 0.35);
}

.pub-security-box h2 {
    margin: 0 0 12px;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.pub-security-box p {
    margin: 0 0 22px;
    color: #DBEAFE;
    font-size: 15px;
}

.pub-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.pub-check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #F8FAFC;
}

.pub-check-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.pub-cta-panel {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    backdrop-filter: blur(8px);
}

.pub-btn-white {
    background: #FFFFFF;
    color: #0F4C81;
}

.pub-btn-white:hover {
    background: #F8FAFC;
    transform: translateY(-1px);
}

/* Footer */
.pub-footer {
    background: #FFFFFF;
    border-top: 1px solid var(--pub-border);
    padding: 36px 0;
}

.pub-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--pub-muted);
}

.pub-footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.pub-footer-links a {
    color: var(--pub-sub);
    font-weight: 600;
    text-decoration: none;
}

.pub-footer-links a:hover {
    color: var(--pub-blue);
}

/* Responsive */
@media (max-width: 980px) {
    .pub-grid-3, .pub-brands-grid { grid-template-columns: repeat(2, 1fr); }
    .pub-steps-grid { grid-template-columns: repeat(2, 1fr); }
    .pub-banner-strip { grid-template-columns: repeat(2, 1fr); }
    .pub-security-box { grid-template-columns: 1fr; padding: 34px 26px; }
    .pub-nav-links { display: none; }
}

@media (max-width: 600px) {
    .pub-grid-3, .pub-brands-grid, .pub-steps-grid { grid-template-columns: 1fr; }
    .pub-hero { padding: 48px 0 60px; }
    .pub-section { padding: 56px 0; }
    .pub-btn-outline.hide-xs { display: none; }
}
