/* Emerald Business Solutions — merged with ProSolutions Technology LLC */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --emerald-950: #022c22;
    --emerald-900: #064e3b;
    --emerald-800: #065f46;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --emerald-500: #10b981;
    --emerald-400: #34d399;
    --emerald-100: #d1fae5;
    --emerald-50: #ecfdf5;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-600: #475569;
    --slate-500: #64748b;
    --white: #ffffff;
    --shadow: 0 4px 24px rgba(6, 78, 59, 0.12);
    --shadow-lg: 0 24px 48px rgba(6, 78, 59, 0.18);
    --radius: 14px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    line-height: 1.65;
    color: var(--slate-900);
    background: var(--white);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--emerald-700); }

.container {
    width: min(1140px, 100% - 2rem);
    margin-inline: auto;
}

/* Merger ribbon */
.merger-ribbon {
    background: linear-gradient(90deg, var(--emerald-900), var(--emerald-600));
    color: var(--white);
    text-align: center;
    padding: 0.55rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.merger-ribbon a {
    color: var(--emerald-100);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.merger-ribbon a:hover { color: var(--white); }

/* Nav */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(6, 95, 70, 0.12);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: var(--slate-900);
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--emerald-600), var(--emerald-400));
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--white);
    box-shadow: var(--shadow);
}

.brand-text { line-height: 1.2; }
.brand-text strong { display: block; font-size: 1rem; font-weight: 800; letter-spacing: -0.02em; }
.brand-text span { font-size: 0.72rem; color: var(--emerald-700); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--slate-600);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--emerald-700); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem 1.25rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
    background: linear-gradient(135deg, var(--emerald-700), var(--emerald-500));
    color: var(--white);
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}

.btn-primary:hover {
    box-shadow: 0 8px 22px rgba(5, 150, 105, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--emerald-800);
    border: 2px solid rgba(6, 95, 70, 0.35);
}

.btn-outline:hover {
    background: var(--emerald-50);
    border-color: var(--emerald-600);
}

.btn-ghost-light {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.2); }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.35rem;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--emerald-800);
    margin: 5px 0;
    border-radius: 2px;
    transition: 0.3s;
}

/* Hero */
.hero {
    position: relative;
    padding: 4rem 0 4.5rem;
    background:
        radial-gradient(ellipse 80% 60% at 50% -20%, rgba(52, 211, 153, 0.25), transparent),
        linear-gradient(165deg, var(--emerald-950) 0%, var(--emerald-900) 45%, var(--slate-900) 100%);
    color: var(--white);
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M60 0H0v60' fill='none' stroke='rgba(255,255,255,0.04)'/%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(52, 211, 153, 0.35);
    color: var(--emerald-100);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.15rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.hero h1 em {
    font-style: normal;
    color: var(--emerald-400);
}

.hero-lead {
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 34rem;
    margin-bottom: 1.75rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.hero-stat strong {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--emerald-400);
}

.hero-stat span {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
}

.hero-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    padding: 1.5rem;
    backdrop-filter: blur(8px);
}

.hero-card h2 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--emerald-100);
}

.hero-card p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 1rem;
}

.hero-card ul {
    list-style: none;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.85);
}

.hero-card li {
    padding: 0.35rem 0;
    padding-left: 1.25rem;
    position: relative;
}

.hero-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--emerald-400);
    font-weight: 800;
}

/* Sections */
section { padding: 4.5rem 0; }

.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.75rem;
}

.section-head .eyebrow {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--emerald-600);
    margin-bottom: 0.5rem;
}

.section-head h2 {
    font-size: clamp(1.65rem, 3.5vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.65rem;
}

.section-head p {
    color: var(--slate-600);
    font-size: 1.05rem;
}

.bg-soft { background: var(--emerald-50); }

.bg-dark {
    background: var(--slate-900);
    color: var(--white);
}

.bg-dark .section-head p { color: rgba(255, 255, 255, 0.7); }
.bg-dark .eyebrow { color: var(--emerald-400); }

/* Product cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.35rem;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid rgba(6, 95, 70, 0.12);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    box-shadow: var(--shadow);
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    text-decoration: none;
    color: inherit;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--emerald-500);
}

.product-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.product-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 10px;
    background: var(--emerald-50);
    padding: 6px;
}

.product-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--emerald-900);
}

.product-card .domain {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--emerald-600);
}

.product-card p {
    font-size: 0.92rem;
    color: var(--slate-600);
    flex: 1;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.tag {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.55rem;
    border-radius: 6px;
    background: var(--emerald-50);
    color: var(--emerald-800);
}

.product-card .link-arrow {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--emerald-700);
}

.product-card-featured {
    grid-column: span 2;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    background: linear-gradient(135deg, var(--emerald-900), var(--emerald-800));
    border: none;
    color: var(--white);
}

.product-card-featured h3,
.product-card-featured .domain,
.product-card-featured p,
.product-card-featured .link-arrow { color: inherit; }
.product-card-featured p { opacity: 0.88; }
.product-card-featured .tag {
    background: rgba(255, 255, 255, 0.12);
    color: var(--emerald-100);
}

.product-card-featured .product-body { flex: 1; min-width: 220px; }

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid rgba(6, 95, 70, 0.1);
    box-shadow: var(--shadow);
}

.service-card .icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--emerald-600), var(--emerald-400));
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--slate-600);
}

/* Merger story */
.merger-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.merger-box {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.75rem;
    border: 1px solid rgba(6, 95, 70, 0.12);
    box-shadow: var(--shadow);
}

.merger-box h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--emerald-800);
    margin-bottom: 0.75rem;
}

.merger-box p {
    font-size: 0.95rem;
    color: var(--slate-600);
    margin-bottom: 0.75rem;
}

.merger-box ul {
    margin-left: 1.1rem;
    color: var(--slate-600);
    font-size: 0.92rem;
}

/* CTA */
.cta-band {
    text-align: center;
    padding: 3.5rem 1.5rem;
    background: linear-gradient(135deg, var(--emerald-800), var(--emerald-600));
    color: var(--white);
    border-radius: var(--radius);
    margin: 0 auto;
    max-width: 900px;
}

.cta-band h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 0.65rem;
}

.cta-band p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
    max-width: 520px;
    margin-inline: auto;
}

.cta-band .btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.cta-band .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Footer */
.site-footer {
    background: var(--slate-900);
    color: rgba(255, 255, 255, 0.75);
    padding: 3rem 0 1.5rem;
    font-size: 0.88rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-grid h4 {
    color: var(--emerald-400);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.85rem;
}

.footer-grid a {
    display: block;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    padding: 0.25rem 0;
}

.footer-grid a:hover { color: var(--emerald-400); }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.25rem;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a { color: var(--emerald-400); }

/* Mobile */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: 1fr; }
    .product-card-featured { grid-column: span 1; flex-direction: column; align-items: flex-start; }
    .services-grid { grid-template-columns: 1fr; }
    .merger-split { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-toggle { display: block; }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--white);
        padding: 1rem 1.25rem 1.25rem;
        border-bottom: 1px solid rgba(6, 95, 70, 0.12);
        box-shadow: var(--shadow);
    }

    .nav-links.open { display: flex; }

    .site-header .container { position: relative; }

    .nav-cta-desktop { display: none; }

    .nav-links .btn { width: 100%; margin-top: 0.5rem; }
}

@media (min-width: 769px) {
    .nav-cta-mobile { display: none; }
}

/* Product detail pages */
.product-page-hero {
    padding: 3rem 0 2.5rem;
    background: linear-gradient(165deg, var(--emerald-950), var(--emerald-800));
    color: var(--white);
}

.product-page-hero .breadcrumb {
    font-size: 0.82rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.65);
}

.product-page-hero .breadcrumb a {
    color: var(--emerald-300, #6ee7b7);
    text-decoration: none;
}

.product-page-hero .breadcrumb a:hover { text-decoration: underline; }

.product-page-hero h1 {
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.product-page-hero .lead {
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 40rem;
    margin-bottom: 1.25rem;
}

.product-page-hero .hero-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
}

.product-page-body {
    padding: 3rem 0 4rem;
}

.product-page-body .prose {
    max-width: 720px;
    margin: 0 auto;
}

.product-page-body .prose h2 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--emerald-900);
    margin: 2rem 0 0.65rem;
}

.product-page-body .prose p,
.product-page-body .prose li {
    color: var(--slate-600);
    font-size: 0.98rem;
    margin-bottom: 0.75rem;
}

.product-page-body .prose ul {
    margin: 0 0 1rem 1.25rem;
}

.official-cta {
    margin: 2rem 0;
    padding: 1.25rem 1.5rem;
    background: var(--emerald-50);
    border: 2px solid rgba(5, 150, 105, 0.25);
    border-radius: var(--radius);
    text-align: center;
}

.official-cta p {
    font-size: 0.92rem;
    color: var(--slate-600);
    margin-bottom: 0.85rem;
}

.related-strip {
    padding: 2.5rem 0;
    background: var(--emerald-50);
    border-top: 1px solid rgba(6, 95, 70, 0.1);
}

.related-strip h2 {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: var(--emerald-900);
}

.related-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
}

.related-links a {
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.45rem 0.85rem;
    background: var(--white);
    border-radius: 999px;
    border: 1px solid rgba(6, 95, 70, 0.15);
    text-decoration: none;
    color: var(--emerald-800);
}

.related-links a:hover {
    border-color: var(--emerald-500);
    background: var(--white);
}
