/* style.css */
:root {
    --bg: #0D0D0D;
    --bg-accent: #151515;
    --accent: #2ECC71;
    --accent-hover: #27ae60;
    --text: #FFFFFF;
    --text-muted: #A0A0A0;
    --glass: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.1);
    --container-width: 1200px;
    --container-narrow: 800px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.container--narrow {
    max-width: var(--container-narrow);
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 2rem;
}

.h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 1.5rem;
}

.h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.h4 {
    font-size: 1.2rem;
    line-height: 1.3;
}

.accent-serif {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    text-transform: lowercase;
    font-weight: 400;
    color: var(--accent);
}

.text-muted {
    color: var(--text-muted);
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 0;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    gap: 10px;
}

.btn--sm {
    padding: 8px 16px;
    font-size: 0.75rem;
}

.btn--lg {
    padding: 18px 36px;
    font-size: 1rem;
}

.btn--primary {
    background-color: var(--accent);
    color: #000;
}

.btn--primary:hover {
    background-color: var(--accent-hover);
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.4);
}

.btn--outline {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
}

.btn--neon-glow:hover {
    box-shadow: 0 0 15px var(--accent);
    text-shadow: 0 0 5px var(--accent);
}

.btn--full {
    width: 100%;
}

/* Header */
.header {
    padding: 20px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(13, 13, 13, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
}

.logo__img {
    width: 32px;
    height: 32px;
}

.logo__text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav__link {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: var(--transition);
}

.nav__link:hover {
    color: var(--accent);
}

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

.bg-darker {
    background-color: var(--bg-accent);
}

/* Hero */
.hero {
    padding-top: 180px;
    position: relative;
    background-image: url('hero_bg.svg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

.hero__content {
    max-width: 900px;
}

.hero__subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero__widget {
    position: absolute;
    right: 20px;
    bottom: 100px;
}

.widget-card {
    background: var(--glass);
    border: 1px solid var(--border);
    padding: 20px;
    max-width: 280px;
    backdrop-filter: blur(5px);
    position: relative;
}

.widget-card__status {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    position: absolute;
    top: 15px;
    left: 15px;
    box-shadow: 0 0 10px var(--accent);
}

.widget-card__text {
    font-size: 0.85rem;
    padding-left: 15px;
}

/* Lead Magnet */
.lead-magnet__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.lead-magnet__form {
    display: flex;
    gap: 10px;
}

.input {
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 15px 20px;
    color: var(--text);
    flex-grow: 1;
    font-family: inherit;
}

.input:focus {
    outline: none;
    border-color: var(--accent);
}

.form-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.form-agreement {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 15px;
}

.form-agreement a {
    color: var(--accent);
    text-decoration: none;
}

/* Matrix Grid */
.matrix__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.matrix-card {
    background: var(--glass);
    border: 1px solid var(--border);
    padding: 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.matrix-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    background: rgba(46, 204, 113, 0.05);
}

.matrix-card__icon {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    opacity: 0.1;
    position: absolute;
    top: 20px;
    right: 20px;
    font-weight: 800;
}

/* White Label */
.white-label__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.white-label__image img {
    width: 100%;
}

.check-list {
    list-style: none;
    margin: 30px 0;
}

.check-list li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 15px;
}

.check-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* Stats */
.stats__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.stat-item {
    text-align: center;
    border-left: 1px solid var(--border);
    padding-left: 40px;
}

.stat-item:first-child {
    border-left: none;
}

.stat-item__label {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.stat-item__value {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: var(--accent);
    font-weight: 700;
}

/* Blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.blog-card {
    background: var(--glass);
    border: 1px solid var(--border);
    padding: 30px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card__footer {
    margin-top: auto;
    padding-top: 20px;
}

.blog-card:hover {
    border-color: var(--accent);
}

.blog-card__meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.tag {
    color: var(--accent);
    font-weight: 700;
}

.blog-card h3 a {
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
}

.blog-card h3 a:hover {
    color: var(--accent);
}

.expert-badge {
    display: inline-block;
    font-size: 0.6rem;
    background: rgba(46, 204, 113, 0.1);
    color: var(--accent);
    padding: 4px 8px;
    margin-top: 20px;
    border: 1px solid var(--accent);
}

/* Inner Page */
.inner-page {
    padding-top: 150px;
}

.article-header {
    margin-bottom: 50px;
}

.article-meta {
    display: flex;
    gap: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.article-hero-img {
    width: 100%;
    height: auto;
    margin-bottom: 40px;
    border: 1px solid var(--border);
}

.lead {
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1.4;
    margin-bottom: 40px;
}

.article-content p {
    margin-bottom: 25px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.article-content h2 {
    margin-top: 50px;
    margin-bottom: 20px;
}

.article-content ul {
    margin-bottom: 30px;
    padding-left: 20px;
}

.article-content ul li {
    margin-bottom: 10px;
    color: var(--text-muted);
}

blockquote {
    border-left: 4px solid var(--accent);
    padding: 20px 40px;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.8rem;
    margin: 50px 0;
    background: var(--glass);
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
}

.footer__top {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer__slogan {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 10px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer__links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer__links a:hover {
    color: var(--accent);
}

.footer__bottom {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal.active {
    display: flex;
}

.modal__content {
    background: var(--bg-accent);
    padding: 60px;
    max-width: 500px;
    width: 90%;
    position: relative;
    border: 1px solid var(--border);
}

.modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text);
    font-size: 2rem;
    cursor: pointer;
}

.form-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Responsive */
@media (max-width: 992px) {

    .matrix__grid,
    .blog-grid,
    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lead-magnet__grid,
    .white-label__grid,
    .footer__top {
        grid-template-columns: 1fr;
    }

    .nav {
        display: none;
    }
}

@media (max-width: 600px) {

    .matrix__grid,
    .blog-grid,
    .stats__grid {
        grid-template-columns: 1fr;
    }

    .h1 {
        font-size: 2.5rem;
    }
}
/* --- Smart Hub Styles (Avant-Garde/Minimalism) --- */
.smart-hub {
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.hub-controls {
    margin-bottom: 2rem;
}

.hub-search {
    position: relative;
    max-width: 400px;
}

.hub-search input {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: #f9f9f9;
}

.hub-search input:focus {
    outline: none;
    border-color: #333;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.hub-search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    justify-content: center;
}

.hub-card {
    background: transparent;
    border: 1px solid rgba(128, 128, 128, 0.3);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 400px;
}

.hub-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.hub-card__link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.hub-card__image-wrapper {
    height: 200px;
    overflow: hidden;
    position: relative;
    background: #f5f5f5;
}

.hub-card__image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hub-card:hover .hub-card__image-wrapper img {
    transform: scale(1.05);
}

/* Pattern Thumbnails */
.hub-card__image-wrapper.pattern-0 {
    background: linear-gradient(135deg, #FF9A9E 0%, #FECFEF 99%, #FECFEF 100%);
}

.hub-card__image-wrapper.pattern-1 {
    background: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);
}

.hub-card__image-wrapper.pattern-2 {
    background: linear-gradient(to top, #cfd9df 0%, #e2ebf0 100%);
}

.hub-card__image-wrapper.pattern-3 {
    background: linear-gradient(120deg, #d4fc79 0%, #96e6a1 100%);
}

.hub-card__image-wrapper.pattern-4 {
    background: linear-gradient(to right, #4facfe 0%, #00f2fe 100%);
}

.hub-card__image-wrapper.pattern-5 {
    background: linear-gradient(to right, #43e97b 0%, #38f9d7 100%);
}

.hub-card__image-wrapper.pattern-6 {
    background: linear-gradient(to top, #30cfd0 0%, #330867 100%);
}

.hub-card__image-wrapper.pattern-7 {
    background: linear-gradient(to right, #fa709a 0%, #fee140 100%);
}

.hub-card__image-wrapper.pattern-8 {
    background: linear-gradient(to top, #5ee7df 0%, #b490ca 100%);
}

.hub-card__image-wrapper.pattern-9 {
    background: linear-gradient(to right, #f78ca0 0%, #f9748f 19%, #fd868c 60%, #fe9a8b 100%);
}

.hub-card__content {
    padding: 1.5rem;
}

.hub-card__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: inherit;
    line-height: 1.4;
}

.hub-card__excerpt {
    font-size: 0.9rem;
    color: inherit;
    opacity: 0.8;
    line-height: 1.6;
}

.hub-footer {
    margin-top: 3rem;
    text-align: center;
}

/* Related Posts */
.related-posts {
    margin-top: 4rem;
    margin-bottom: 6rem;
    padding-top: 2rem;
    border-top: 1px solid #eaeaea;
}

.related-posts__heading {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.related-posts__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    justify-content: center;
}

.related-post-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    padding: 1rem;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.related-post-card:hover {
    background: rgba(128, 128, 128, 0.05);
}

.related-post-card__image {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: #eee;
}

.related-post-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-card__title {
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
}

/* Utilities */
.btn-clean {
    background: none;
    border: 1px solid #333;
    padding: 10px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-clean:hover {
    background: #333;
    color: #fff;
}