:root {
    --color-bg: #05070f;
    --color-bg-secondary: #0a111b;
    --color-primary: rgba(12, 242, 160, var(--tw-text-opacity, 1));
    --color-primary-light: rgba(12, 242, 160, 0.72);
    --color-accent: rgba(12, 242, 160, 0.56);
    --color-text: #f1fff8;
    --color-text-muted: rgba(241, 255, 248, 0.68);
    --color-card-bg: rgba(17, 24, 39, 0.3);
    --color-card-surface: rgba(17, 24, 39, 0.3);
    --color-card-border: rgba(12, 242, 160, 0.26);
    --color-card-text: #f1fff8;
    --color-card-text-muted: rgba(217, 255, 237, 0.75);
    --shadow-large: 0 30px 70px rgba(0, 0, 0, 0.6);
    --radius-lg: 20px;
    --radius-sm: 10px;
    --container-max: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

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

.blogstorm-gradient-bg {
    background: radial-gradient(circle at 15% 20%, rgba(12, 242, 160, 0.22), transparent 55%),
        radial-gradient(circle at 85% 15%, rgba(12, 242, 160, 0.12), transparent 50%),
        linear-gradient(180deg, #030806 0%, #010504 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--color-primary);
}

.screen-reader-text {
    position: absolute;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
}

.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(16px);
    background: rgba(7, 14, 18, 0.92);
    border-bottom: 1px solid rgba(12, 242, 160, 0.16);
}

.site-header__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.branding {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Sora', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.02em;
}

.branding__image {
    height: 28px;
    width: auto;
    display: block;
}

.primary-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.primary-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    padding: 0;
    margin: 0;
}

.primary-nav a:not(.header-cta) {
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: color 0.2s ease;
}

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    color: var(--color-text);
    font-size: 1.75rem;
}

.hero {
    position: relative;
    padding: 6rem 1.5rem 5rem;
    overflow: hidden;
    background: #000000;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(12, 242, 160, 0.15) 1px, transparent 1px),
        radial-gradient(rgba(12, 242, 160, 0.08) 1px, transparent 1px);
    background-size: 44px 44px, 44px 44px;
    background-position: 0 0, 22px 22px;
    opacity: 0.4;
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 35%, rgba(12, 242, 160, 0.22), transparent 55%),
        radial-gradient(circle at 15% 65%, rgba(12, 242, 160, 0.16), transparent 60%);
    opacity: 0.6;
    pointer-events: none;
}

.hero__inner {
    position: relative;
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    gap: 2.5rem;
    text-align: center;
}

.hero h1 {
    margin: 0 auto;
    font-family: 'Sora', 'Inter', sans-serif;
    font-size: clamp(2.5rem, 6vw, 3.6rem);
    line-height: 1.1;
}

.hero p {
    max-width: 720px;
    margin: 1.1rem auto 0;
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto 1rem;
    padding: 0.4rem 1.1rem;
    border-radius: 999px;
    background: rgba(12, 242, 160, 0.14);
    border: 1px solid rgba(12, 242, 160, 0.26);
    color: rgba(241, 255, 248, 0.85);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.hero__subtitle {
    margin: 0.75rem auto 0;
    color: rgba(241, 255, 248, 0.82);
    font-size: 1.5rem;
    font-weight: 600;
}

.hero__accent {
    color: var(--color-primary);
}

.hero__highlight {
    color: rgba(12, 242, 160, 1);
}

.hero__cta {
    display: inline-flex;
    gap: 1rem;
    margin: 1.5rem auto 0;
    align-items: center;
}

.hero__cta a {
    padding: 0.85rem 1.85rem;
    border-radius: 999px;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.hero__launch-form {
    margin: 2rem auto 0;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem;
    max-width: 520px;
    width: 100%;
}

.hero__launch-form input[type="search"] {
    flex: 1;
    min-width: 0;
    padding: 0.95rem 1.35rem;
    border: 1px solid rgba(12, 242, 160, 0.16);
    border-radius: 999px;
    background: rgba(9, 14, 22, 0.65);
    color: var(--color-text);
    font-size: 1rem;
    width: 100%;
}

.hero__launch-form input[type="search"]::placeholder {
    color: rgba(241, 255, 248, 0.55);
}

.hero__launch-form input[type="search"]:focus {
    outline: none;
}

.hero__launch-form button,
.primary-nav .header-cta,
.newsletter button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.8rem;
    border-radius: 999px;
    border: 0;
    background: linear-gradient(135deg, rgba(12, 242, 160, 1), rgba(12, 242, 160, 0.63));
    color: #021c12;
    font-weight: 700;
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
    flex-shrink: 0;
}

.hero__launch-form button,
.newsletter button {
    font-size: 1rem;
}

.hero__launch-form button:hover,
.hero__launch-form button:focus,
.primary-nav .header-cta:hover,
.primary-nav .header-cta:focus,
.newsletter button:hover,
.newsletter button:focus {
    box-shadow: 0 25px 60px rgba(12, 242, 160, 0.36);
    transform: translateY(-1px);
    color: #021c12;
}

.hero__cta a:first-child {
    background: linear-gradient(135deg, rgba(12, 242, 160, 1), rgba(12, 242, 160, 0.6));
    color: #021d12;
    box-shadow: 0 25px 60px rgba(12, 242, 160, 0.38);
}

.hero__cta a:last-child {
    border: 1px solid rgba(12, 242, 160, 0.26);
    color: var(--color-primary-light);
}

.hero__cta a:hover {
    transform: translateY(-2px);
}

.hero__metrics {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero__metrics-item {
    background: rgba(17, 24, 39, 0.3);
    border: 1px solid rgba(12, 242, 160, 0.24);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.75rem;
    min-width: 180px;
}

.hero__metrics-item h3 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
    font-family: 'Sora', 'Inter', sans-serif;
    color: var(--color-primary);
}

.hero__metrics-item span {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.section {
    padding: 4.5rem 1.5rem;
}

.section--alt {
    background: var(--color-bg-secondary);
}

.section__inner {
    max-width: var(--container-max);
    margin: 0 auto;
}

.section__title {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.section__title small {
    text-transform: uppercase;
    letter-spacing: 0.4em;
    font-size: 0.75rem;
    color: var(--color-primary-light);
}

.section__title h2 {
    margin: 0;
    font-family: 'Sora', 'Inter', sans-serif;
    font-size: 2.4rem;
}

.blogstorm-search {
    max-width: 520px;
    margin: 2.5rem auto 0;
    display: flex;
    background: rgba(5, 18, 14, 0.85);
    border: 1px solid rgba(12, 242, 160, 0.26);
    border-radius: 999px;
    padding: 0.3rem;
    backdrop-filter: blur(12px);
}

.blogstorm-search__field {
    flex: 1;
    padding: 0.85rem 1.5rem;
    background: transparent;
    border: 0;
    color: var(--color-text);
    font-size: 1rem;
}

.blogstorm-search__field:focus {
    outline: none;
}

.blogstorm-search__submit {
    background: linear-gradient(135deg, rgba(12, 242, 160, 1), rgba(12, 242, 160, 0.62));
    border: 0;
    border-radius: 999px;
    padding: 0.75rem 1.5rem;
    color: #012315;
    font-weight: 600;
    cursor: pointer;
    transition: box-shadow 0.2s ease;
}

.blogstorm-search__submit:hover {
    box-shadow: 0 20px 45px rgba(12, 242, 160, 0.38);
}

.cards-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin-top: 3rem;
    grid-auto-rows: 1fr;
    align-items: stretch;
}

.cards-grid--streaming {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.post-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--color-card-surface);
    border: 1px solid var(--color-card-border);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.55);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    color: var(--color-card-text);
}

.post-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--color-card-bg);
    opacity: 1;
    pointer-events: none;
}

.post-card > * {
    position: relative;
    z-index: 1;
}

.post-card:hover {
    transform: translateY(-6px);
    border-color: rgba(93, 255, 186, 0.45);
    box-shadow: 0 30px 65px rgba(0, 0, 0, 0.6);
}

.post-card__body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 1rem;
}

.post-card__title {
    font-family: 'Sora', 'Inter', sans-serif;
    font-size: 1.4rem;
    margin: 0;
    line-height: 1.25;
}

.post-card__title a {
    color: inherit;
}

.post-card__excerpt {
    color: var(--color-card-text-muted);
    font-size: 1rem;
}

.post-card__meta {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(108, 255, 193, 0.12);
}

.post-card__author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.post-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.4);
    object-fit: cover;
}

.post-card__author-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.post-card__author-name {
    font-weight: 600;
    color: var(--color-card-text);
}

.post-card__author-details {
    font-size: 0.85rem;
    color: var(--color-card-text-muted);
}

.post-card__link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

@media (max-width: 768px) {
    .post-card__body {
        padding: 1.5rem;
    }

    .post-card__title {
        font-size: 1.3rem;
    }

    .post-card__meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .post-card__cta {
        width: 40px;
        height: 40px;
    }
}

.pagination {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.pagination .page-numbers {
    display: inline-flex;
    margin: 0 0.35rem;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(12, 242, 160, 0.26);
    color: var(--color-text-muted);
}

.pagination .page-numbers.current {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: #012616;
    border: 0;
}

.newsletter {
    background: linear-gradient(135deg, rgba(12, 242, 160, 0.16), rgba(12, 242, 160, 0.08));
    border-radius: calc(var(--radius-lg) * 1.5);
    padding: 3rem;
    display: grid;
    gap: 1.5rem;
    box-shadow: 0 30px 80px rgba(12, 242, 160, 0.22);
    margin-top: 4rem;
}

.newsletter h3 {
    margin: 0;
    font-size: 2rem;
}

.newsletter p {
    margin: 0;
    color: rgba(230, 255, 243, 0.85);
}

.newsletter form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.newsletter input[type="email"] {
    flex: 1;
    min-width: 220px;
    padding: 0.85rem 1.25rem;
    border-radius: 999px;
    border: 0;
    font-size: 1rem;
}

.cta-banner {
    position: relative;
    margin: 5rem 0 0;
    padding: 5.5rem 1.5rem 5rem;
    background: linear-gradient(135deg, #020d06 0%, #0a3f21 55%, #020a05 100%);
    overflow: hidden;
}

.cta-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 45%, rgba(12, 242, 160, 0.18), transparent 62%);
    opacity: 0.9;
    pointer-events: none;
}

.cta-banner__inner {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.cta-banner__inner h3 {
    margin: 0;
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    color: rgba(241, 255, 248, 0.96);
}

.cta-banner__subtitle {
    margin: 0 auto;
    max-width: 620px;
    font-size: 1.2rem;
    color: rgba(214, 246, 235, 0.82);
}

.cta-banner__avatars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin: 1.35rem auto 0.5rem;
}

.cta-banner__avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 3px solid #22c55e;
    box-shadow: 0 12px 26px rgba(12, 242, 160, 0.26);
    display: inline-block;
    object-fit: cover;
    vertical-align: middle;
    margin-left: -1.05rem;
}

.cta-banner__avatar:first-child {
    margin-left: 0;
}

.cta-banner__avatar-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(12, 242, 160, 0.95), rgba(12, 242, 160, 0.7));
    border: 3px solid #22c55e;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.96rem;
    margin-left: -1.05rem;
}

.cta-banner__button {
    align-self: center;
    padding: 1.05rem 2.85rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 999px;
    background: #f1fff8;
    color: #064228;
    border: 1px solid rgba(12, 242, 160, 0.45);
    box-shadow: 0 20px 48px rgba(12, 242, 160, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    text-decoration: none;
}

.cta-banner__footnote {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(204, 242, 227, 0.78);
}

.cta-banner__button:hover,
.cta-banner__button:focus {
    transform: translateY(-2px);
    box-shadow: 0 24px 58px rgba(12, 242, 160, 0.3);
    background: #ffffff;
}

.single-hero {
    padding: 6rem 1.5rem 4rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.single-hero__meta {
    display: flex;
    gap: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.single-hero h1 {
    margin: 0;
    font-family: 'Sora', 'Inter', sans-serif;
    font-size: clamp(2.2rem, 5.2vw, 3.4rem);
}

.single-hero__author {
    margin-top: 1.5rem;
    display: flex;
    gap: 1.75rem;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.single-content {
    max-width: 760px;
    margin: -3rem auto 0;
    background: rgba(5, 16, 12, 0.9);
    border: 1px solid rgba(12, 242, 160, 0.2);
    border-radius: calc(var(--radius-lg) * 1.2);
    padding: 2.8rem 3rem;
    box-shadow: var(--shadow-large);
}

.single-content p {
    color: rgba(230, 255, 243, 0.88);
    font-size: 1.05rem;
    line-height: 1.8;
}

.single-content h2,
.single-content h3 {
    font-family: 'Sora', 'Inter', sans-serif;
    margin-top: 2.5rem;
}

.single-content blockquote {
    border-left: 4px solid var(--color-primary);
    padding-left: 1.5rem;
    font-style: italic;
    color: var(--color-text);
}

.single-footer {
    max-width: 760px;
    margin: 2.5rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.single-footer__share {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.single-footer__share a {
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(12, 242, 160, 0.24);
    font-weight: 500;
}

.single-footer__nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.page-content {
    background: rgba(5, 18, 14, 0.92);
    border-radius: calc(var(--radius-lg) * 1.2);
    padding: 3rem;
    border: 1px solid rgba(12, 242, 160, 0.2);
    box-shadow: var(--shadow-large);
}

.page-content__body {
    margin-top: 2rem;
}

.site-footer {
    margin-top: auto;
    padding: 3rem 1.5rem 2.5rem;
    background: rgba(3, 9, 7, 0.95);
    border-top: 1px solid rgba(12, 242, 160, 0.12);
}

.site-footer__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}

.site-footer__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.site-footer nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1.25rem;
}

@media (max-width: 960px) {
    .hero {
        padding-top: 5rem;
    }

    .primary-nav {
        position: fixed;
        inset: 0 0 auto;
        top: 74px;
        width: 100%;
        flex-direction: column;
        background: rgba(3, 10, 8, 0.96);
        padding: 1.5rem;
        border-top: 1px solid rgba(12, 242, 160, 0.12);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    .primary-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .primary-nav ul {
        flex-direction: column;
        gap: 1.25rem;
        width: 100%;
    }

    .header-cta {
        align-self: flex-start;
    }

    .nav-toggle {
        display: block;
        margin-left: auto;
    }
}

@media (max-width: 640px) {
    .branding__image {
        height: 15px;
    }

    .hero__cta {
        flex-direction: column;
        width: 100%;
    }

    .hero__cta a {
        width: 100%;
        text-align: center;
    }

    .hero__launch-form {
        grid-template-columns: 1fr;
        padding: 0.75rem;
        gap: 0.65rem;
    }

    .hero__launch-form button {
        width: 100%;
    }

    .hero__metrics {
        flex-direction: column;
        width: 100%;
    }

    .newsletter {
        padding: 2.25rem;
    }

    .newsletter button {
        width: 100%;
        margin: 0 auto;
    }

    .cta-banner {
        padding: 4rem 1.25rem;
    }

    .cta-banner__avatars {
        flex-wrap: wrap;
        margin-top: 0.5rem;
    }

    .cta-banner__avatar,
    .cta-banner__avatar-count {
        margin-left: 0;
        width: 48px;
        height: 48px;
        margin-bottom: 0.4rem;
    }

    .cta-banner__button {
        width: 100%;
    }

    .cta-banner__footnote {
        font-size: 0.85rem;
    }

    .single-content {
        padding: 2.25rem;
    }
}
