/* Buzzlento - Premium SaaS/Agency Styling */

:root {
    --bg: #f5f7fb;
    --bg-elevated: rgba(255, 255, 255, 0.82);
    --bg-glass: rgba(255, 255, 255, 0.72);
    --border-soft: rgba(255, 255, 255, 0.8);
    --border-strong: rgba(15, 23, 42, 0.06);
    --accent: #4f46e5;
    --accent-soft: rgba(79, 70, 229, 0.12);
    --accent-strong: #4338ca;
    --accent-glow: rgba(79, 70, 229, 0.45);
    --accent-alt: #ec4899;
    --text-main: #0f172a;
    --text-soft: #6b7280;
    --text-softer: #9ca3af;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-pill: 999px;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
    --shadow-strong: 0 30px 80px rgba(15, 23, 42, 0.24);
    --max-width: 1120px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text-main);
    background: radial-gradient(circle at top left, #e0f2fe 0, transparent 50%),
                radial-gradient(circle at top right, #ede9fe 0, transparent 55%),
                radial-gradient(circle at center, #fee2e2 0, transparent 60%),
                var(--bg);
    -webkit-font-smoothing: antialiased;
    position: relative;
}

body::before,
body::after {
    content: "";
    position: fixed;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    z-index: -1;
    pointer-events: none;
}

body::before {
    top: -120px;
    left: -60px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.5), transparent 70%);
}

body::after {
    bottom: -160px;
    right: -80px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.4), transparent 70%);
}

.page-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(22px);
    background: linear-gradient(to bottom, rgba(248, 250, 252, 0.92), rgba(248, 250, 252, 0.78));
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 0;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    color: var(--text-main);
}

.brand img {
    width: 32px;
    height: 32px;
    display: block;
}

.brand span {
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.86rem;
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.9), rgba(226, 232, 240, 0.9));
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: 0 10px 25px rgba(148, 163, 184, 0.22);
}

.site-nav ul {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav a {
    text-decoration: none;
    font-size: 0.94rem;
    color: var(--text-soft);
    font-weight: 500;
    position: relative;
    padding-bottom: 0.15rem;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.25rem;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), var(--accent-alt));
    transition: width 0.2s ease-out;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
    width: 100%;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.75rem;
    border-radius: var(--radius-pill);
    border: none;
    outline: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.94rem;
    text-decoration: none;
    color: #f9fafb;
    background-image: linear-gradient(135deg, var(--accent), var(--accent-alt));
    box-shadow:
        0 0 0 1px rgba(248, 250, 252, 0.4),
        0 18px 45px var(--accent-glow);
    transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, background-image 0.12s ease-out;
    white-space: nowrap;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    transform: translateY(-1px);
    background-image: linear-gradient(135deg, var(--accent-strong), var(--accent-alt));
    box-shadow:
        0 0 0 1px rgba(248, 250, 252, 0.6),
        0 22px 60px rgba(79, 70, 229, 0.6);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow:
        0 0 0 1px rgba(248, 250, 252, 0.8),
        0 10px 30px rgba(79, 70, 229, 0.5);
}

.nav-toggle {
    display: none;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(248, 250, 252, 0.9);
    cursor: pointer;
    padding: 0;
    align-items: center;
    justify-content: center;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #111827;
    transition: transform 0.15s ease-out, opacity 0.15s ease-out;
}

.nav-toggle span + span {
    margin-top: 4px;
}

.site-header.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.site-header.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

.site-header.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.hero {
    padding: 3rem 0 2.5rem;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 2.25rem;
    align-items: center;
}

.hero-copy {
    position: relative;
}

.badge-row {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.25rem 0.4rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: 0 14px 40px rgba(148, 163, 184, 0.4);
    margin-bottom: 1rem;
}

.badge-pill {
    padding: 0.12rem 0.55rem;
    border-radius: 999px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-weight: 600;
    background: rgba(79, 70, 229, 0.09);
    color: var(--accent-strong);
}

.badge-text {
    font-size: 0.8rem;
    color: var(--text-soft);
}

.hero h1 {
    font-size: clamp(2.4rem, 3.1vw + 1.4rem, 3.2rem);
    letter-spacing: -0.04em;
    margin: 0 0 1rem;
}

.hero h1 span.accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-alt));
    -webkit-background-clip: text;
    color: transparent;
}

.hero-lede {
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--text-soft);
    max-width: 32rem;
    margin-bottom: 1.75rem;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-top: 1.2rem;
    font-size: 0.86rem;
    color: var(--text-softer);
}

.hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.hero-meta-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #f9fafb, var(--accent-strong));
    box-shadow: 0 0 0 4px rgba(129, 140, 248, 0.3);
}

.hero-visual {
    position: relative;
    isolation: isolate;
}

.hero-card {
    position: relative;
    padding: 1.4rem 1.4rem 1.2rem;
    border-radius: 26px;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.95), rgba(249, 250, 251, 0.92));
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: var(--shadow-strong);
    overflow: hidden;
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(circle at top, rgba(79, 70, 229, 0.15), transparent 60%),
        radial-gradient(circle at bottom right, rgba(236, 72, 153, 0.18), transparent 60%);
    opacity: 0.9;
    mix-blend-mode: soft-light;
    pointer-events: none;
}

.hero-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.1rem;
    position: relative;
    z-index: 1;
}

.hero-card-title {
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--text-main);
}

.hero-card-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(129, 140, 248, 0.6);
    background: rgba(129, 140, 248, 0.15);
    color: #312e81;
}

.hero-card-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1.3rem;
    position: relative;
    z-index: 1;
}

.hero-metric-main {
    padding: 0.9rem;
    border-radius: 18px;
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.hero-metric-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.17em;
    color: var(--text-softer);
    margin-bottom: 0.35rem;
}

.hero-metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.1rem;
}

.hero-metric-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: rgba(22, 163, 74, 0.08);
    color: #166534;
    font-size: 0.75rem;
    font-weight: 600;
}

.hero-metric-chip span.spark {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #bbf7d0, #16a34a);
}

.hero-metric-list {
    display: grid;
    gap: 0.6rem;
}

.hero-metric-item {
    padding: 0.55rem 0.7rem;
    border-radius: 14px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: rgba(248, 250, 252, 0.9);
    font-size: 0.78rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-metric-item span.label {
    color: var(--text-soft);
}

.hero-metric-item span.value {
    font-weight: 600;
    color: var(--text-main);
}

.hero-float-pill {
    position: absolute;
    bottom: -0.7rem;
    right: 0.4rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    background: rgba(15, 23, 42, 0.92);
    color: #e5e7eb;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.75);
}

.hero-float-pill-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #fee2e2, #f97316);
}

.main {
    flex: 1;
}

.section {
    padding: 2.5rem 0;
}

.section-header {
    margin-bottom: 1.8rem;
}

.section-kicker {
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-softer);
    margin-bottom: 0.3rem;
}

.section-title {
    font-size: 1.6rem;
    margin: 0 0 0.4rem;
}

.section-description {
    margin: 0;
    max-width: 36rem;
    color: var(--text-soft);
    font-size: 0.98rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

.card {
    position: relative;
    padding: 1.4rem 1.35rem 1.4rem;
    border-radius: var(--radius-md);
    background: var(--bg-glass);
    border: 1px solid rgba(148, 163, 184, 0.45);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(129, 140, 248, 0.12), transparent 55%);
    opacity: 0.9;
    pointer-events: none;
}

.card-inner {
    position: relative;
    z-index: 1;
}

.card-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-softer);
    margin-bottom: 0.4rem;
}

.card-title {
    font-size: 1.02rem;
    margin: 0 0 0.5rem;
}

.card-body {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-soft);
}

.card-list {
    margin: 0.7rem 0 0;
    padding-left: 1rem;
    font-size: 0.9rem;
    color: var(--text-soft);
}

.card-list li + li {
    margin-top: 0.25rem;
}

.layout-split {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2.1rem;
    align-items: flex-start;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.8rem;
}

.chip {
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.03);
    border: 1px dashed rgba(148, 163, 184, 0.7);
    font-size: 0.78rem;
    color: var(--text-soft);
}

.muted-box {
    padding: 1rem 1.1rem;
    border-radius: var(--radius-md);
    background: rgba(15, 23, 42, 0.03);
    border: 1px dashed rgba(148, 163, 184, 0.7);
    font-size: 0.88rem;
    color: var(--text-soft);
}

.dark-cta {
    margin: 2rem 0 0;
    padding: 2rem 1.6rem;
    border-radius: var(--radius-lg);
    background: radial-gradient(circle at top left, rgba(129, 140, 248, 0.4), rgba(15, 23, 42, 0.9));
    color: #e5e7eb;
    position: relative;
    overflow: hidden;
}

.dark-cta::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(248, 250, 252, 0.35), transparent 70%);
    top: -80px;
    right: -40px;
    opacity: 0.7;
}

.dark-cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    align-items: center;
    justify-content: space-between;
}

.dark-cta h2 {
    margin: 0 0 0.4rem;
    font-size: 1.3rem;
}

.dark-cta p {
    margin: 0;
    max-width: 30rem;
    font-size: 0.95rem;
    color: #cbd5f5;
}

.dark-cta .btn-primary {
    background-image: linear-gradient(135deg, #f97316, #ec4899);
}

.dark-cta .btn-primary:hover,
.dark-cta .btn-primary:focus-visible {
    background-image: linear-gradient(135deg, #ea580c, #db2777);
}

.rich-text {
    font-size: 0.96rem;
    line-height: 1.8;
    color: var(--text-soft);
}

.rich-text p {
    margin: 0 0 1rem;
}

.rich-text h2,
.rich-text h3 {
    margin-top: 1.7rem;
    margin-bottom: 0.6rem;
    color: var(--text-main);
}

.rich-text h2 {
    font-size: 1.35rem;
}

.rich-text h3 {
    font-size: 1.08rem;
}

.rich-text ul {
    margin: 0.4rem 0 1rem;
    padding-left: 1.2rem;
}

.rich-text li + li {
    margin-top: 0.25rem;
}

.pill-stat-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 0.6rem;
}

.pill-stat {
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    font-size: 0.8rem;
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.7);
    color: var(--text-soft);
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.case-card {
    padding: 1.4rem 1.3rem 1.4rem;
    border-radius: 22px;
    background: var(--bg-glass);
    border: 1px solid rgba(148, 163, 184, 0.6);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.case-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(236, 72, 153, 0.2), transparent 60%);
    opacity: 0.9;
}

.case-card-inner {
    position: relative;
    z-index: 1;
}

.case-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: var(--text-softer);
    margin-bottom: 0.5rem;
}

.case-title {
    font-size: 1.02rem;
    margin: 0 0 0.4rem;
}

.case-result-list {
    margin: 0.5rem 0 0.9rem;
    padding-left: 1.1rem;
    font-size: 0.9rem;
    color: var(--text-soft);
}

.case-section-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-softer);
    margin-top: 0.8rem;
}

.case-highlight {
    padding: 0.55rem 0.7rem;
    border-radius: 1rem;
    background: rgba(15, 23, 42, 0.04);
    border: 1px dashed rgba(148, 163, 184, 0.7);
    font-size: 0.86rem;
    color: var(--text-soft);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: flex-start;
}

.contact-panel {
    padding: 1.5rem 1.4rem;
    border-radius: var(--radius-lg);
    background: var(--bg-glass);
    border: 1px solid rgba(148, 163, 184, 0.55);
    box-shadow: var(--shadow-soft);
}

.contact-panel h2 {
    margin-top: 0;
    margin-bottom: 0.6rem;
}

.contact-panel p {
    margin-top: 0;
    font-size: 0.95rem;
    color: var(--text-soft);
}

.contact-form {
    display: grid;
    gap: 1rem;
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.field-label {
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--text-main);
}

.field-desc {
    font-size: 0.8rem;
    color: var(--text-softer);
}

.field-input,
.field-textarea,
.field-select {
    padding: 0.7rem 0.75rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(148, 163, 184, 0.8);
    font-size: 0.9rem;
    font-family: inherit;
    resize: vertical;
    min-height: 42px;
    background: rgba(248, 250, 252, 0.92);
}

.field-textarea {
    min-height: 120px;
}

.field-input:focus,
.field-textarea:focus,
.field-select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.12), 0 0 0 4px rgba(129, 140, 248, 0.2);
}

.form-submit {
    margin-top: 0.4rem;
}

.form-submit input[type="submit"] {
    border-radius: 999px;
    padding: 0.55rem 1.4rem;
    font-size: 0.88rem;
    font-weight: 500;
    border: 1px solid rgba(148, 163, 184, 0.8);
    background: rgba(248, 250, 252, 0.96);
    cursor: pointer;
    color: var(--text-main);
    box-shadow: 0 12px 25px rgba(148, 163, 184, 0.22);
}

.form-submit input[type="submit"]:hover,
.form-submit input[type="submit"]:focus-visible {
    background: #f3f4f6;
}

.footer {
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(248, 250, 252, 0.93);
    margin-top: 2.5rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 0 1.3rem;
    font-size: 0.82rem;
    color: var(--text-softer);
}

.footer-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer a {
    color: var(--text-soft);
    text-decoration: none;
}

.footer a:hover,
.footer a:focus-visible {
    text-decoration: underline;
}

@media (max-width: 960px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }
    .hero-visual {
        order: -1;
    }
    .case-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 800px) {
    .header-inner {
        padding: 0.8rem 0;
    }
    .site-nav {
        position: absolute;
        inset: calc(100% - 1px) 0 auto;
        background: rgba(248, 250, 252, 0.98);
        border-bottom: 1px solid rgba(148, 163, 184, 0.3);
        transform-origin: top;
        transform: scaleY(0.7);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.16s ease-out, transform 0.16s ease-out;
    }
    .site-nav ul {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.8rem 1.5rem 1rem;
        gap: 0.6rem;
    }
    .site-header.nav-open .site-nav {
        opacity: 1;
        pointer-events: auto;
        transform: scaleY(1);
    }
    .nav-toggle {
        display: inline-flex;
    }
    .header-inner {
        position: relative;
    }
    .hero {
        padding-top: 2.2rem;
    }
    .card-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .layout-split {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 540px) {
    .container {
        padding: 0 1.1rem;
    }
    .hero h1 {
        font-size: 2.1rem;
    }
    .footer-inner {
        flex-direction: column-reverse;
        align-items: flex-start;
    }
}
