/* Extracted from business/b2b/index.php */

:root {
    --bg: #f3f7fb;
    --surface: #ffffff;
    --surface-soft: #eef4ff;
    --text: #12213a;
    --muted: #57647e;
    --primary: #1d4ed8;
    --primary-soft: rgba(29, 78, 216, 0.12);
    --border: rgba(20, 60, 120, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
}

img {
    max-width: 100%;
    display: block;
}

.page-shell {
    overflow: hidden;
}

.hero {
    position: relative;
    padding: 3rem 1.5rem 4rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #e4ecff 45%, #dbe6ff 100%);
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.35;
}

.hero::before {
    width: 220px;
    height: 220px;
    background: rgba(29, 78, 216, 0.16);
    top: -40px;
    right: 18%;
}

.hero::after {
    width: 160px;
    height: 160px;
    background: rgba(13, 110, 253, 0.18);
    bottom: -40px;
    left: 5%;
}

.container {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-copy {
    max-width: 640px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    border-radius: 999px;
    padding: 0.65rem 1rem;
    background: rgba(29, 78, 216, 0.14);
    color: var(--primary);
    font-size: 0.88rem;
    margin-bottom: 1.5rem;
}

.hero h1 {
    margin: 0;
    font-size: clamp(2.7rem, 4vw, 4.4rem);
    line-height: 1.03;
    max-width: 10ch;
}

.hero p {
    margin: 1.75rem 0;
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 680px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.button,
.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 1.4rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.button {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 20px 45px rgba(29, 78, 216, 0.18);
}

.button:hover,
.button-secondary:hover {
    transform: translateY(-2px);
}

.button-secondary {
    border: 1px solid rgba(29, 78, 216, 0.2);
    color: var(--primary);
    background: #fff;
}

.hero-highlight {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.75rem;
}

.highlight-pill {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1rem 1.25rem;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.highlight-pill strong {
    display: block;
    color: var(--primary);
    margin-bottom: 0.4rem;
    font-size: 1.15rem;
}

.highlight-pill span {
    color: var(--muted);
}

.hero-panel {
    display: grid;
    place-items: center;
    min-height: 520px;
}

.hero-visual {
    width: min(460px, 100%);
    position: relative;
    display: grid;
    gap: 1rem;
    justify-items: center;
}

.hero-hero-device {
    width: 100%;
    min-height: 320px;
    background: linear-gradient(180deg, rgba(255,255,255,0.96), #eef4ff 100%);
    border: 1px solid rgba(29, 78, 216, 0.14);
    border-radius: 32px;
    box-shadow: 0 25px 70px rgba(15, 23, 42, 0.1);
    position: relative;
    overflow: hidden;
    padding: 1.5rem;
}

.hero-hero-device::before {
    content: '';
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(29, 78, 216, 0.12);
    top: -30px;
    right: -40px;
}

.hero-device-frame {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
}

.device-frame {
    width: min(260px, 90%);
    height: 320px;
    border-radius: 32px;
    background: linear-gradient(180deg, #ffffff 0%, #e9f2ff 100%);
    border: 1px solid rgba(29, 78, 216, 0.2);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.8);
    position: relative;
}

.device-screen {
    position: absolute;
    inset: 1.25rem;
    border-radius: 26px;
    background: radial-gradient(circle at top right, rgba(29,78,216,0.18), transparent 20%),
                linear-gradient(180deg, #ffffff 0%, #dbe6ff 100%);
    display: grid;
    gap: 1rem;
    padding: 1.5rem;
}

.device-screen .device-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
}

.device-screen .device-metric {
    margin-top: auto;
    display: grid;
    gap: 0.35rem;
}

.device-screen .device-metric strong {
    font-size: 2.45rem;
    line-height: 1;
    color: var(--text);
}

.device-screen .device-metric span {
    color: var(--muted);
}

.product-gallery {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.product-card {
    background: #fff;
    border: 1px solid rgba(29, 78, 216, 0.12);
    border-radius: 24px;
    padding: 1rem;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
    display: grid;
    gap: 0.75rem;
    text-align: center;
}

.product-card .product-thumb {
    width: 48px;
    height: 48px;
    margin: 0 auto;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 1.35rem;
}

.product-card h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--text);
}

.product-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.info-card {
    display: none;
}

.info-card p {
    margin: 1rem 0 0;
    color: var(--muted);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.6rem;
}

.tag {
    background: var(--surface-soft);
    border-radius: 999px;
    padding: 0.6rem 1rem;
    color: var(--primary);
    font-size: 0.92rem;
}

.section {
    padding: 4.5rem 0;
}

.section h2 {
    margin: 0 auto 1rem;
    text-align: center;
    font-size: clamp(2rem, 3vw, 2.6rem);
}

.section p {
    color: var(--muted);
    text-align: center;
    max-width: 760px;
    margin: 0 auto 2rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--surface);
    padding: 2rem;
    border-radius: 24px;
    border: 1px solid rgba(15, 23, 42, 0.05);
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.12);
}

.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: var(--primary-soft);
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.35rem;
}

.card h3 {
    margin: 0 0 0.9rem;
}

.card p {
    margin: 0;
    color: var(--muted);
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.stat {
    display: grid;
    gap: 0.75rem;
    background: var(--surface);
    border: 1px solid rgba(15, 23, 42, 0.06);
    padding: 1.5rem;
    border-radius: 22px;
    text-align: center;
}

.stat strong {
    font-size: 2rem;
    color: var(--primary);
}

.stat span {
    display: block;
    color: var(--muted);
}

.section-light {
    background: #fff;
}

.cta {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    padding: 4rem 1.5rem;
    text-align: center;
    border-radius: 32px;
    margin: 0 1rem 3rem;
}

.cta h2 {
    margin: 0 auto 1rem;
    max-width: 680px;
}

.cta p {
    color: rgba(255,255,255,0.88);
    max-width: 700px;
    margin: 0 auto 1.75rem;
}

.cta a {
    display: inline-flex;
    background: #fff;
    color: var(--primary);
    padding: 0.95rem 1.8rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
}

@media (max-width: 980px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero::before,
    .hero::after {
        display: none;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 2.5rem 1rem 3rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-highlight {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 3rem 0;
    }
}
