:root {
    --primary-color: #4099ff;
    --primary-dark: #2b7de9;
    --primary-light: #66b3ff;
    --secondary-color: #2ed8b6;
    --secondary-dark: #25b894;
    --secondary-light: #52e6c9;
    --accent-color: #f59e0b;
    --accent-dark: #d97706;
    --text-dark: #666;
    --text-medium: #4b5563;
    --text-light: #6b7280;
    --text-lighter: #9ca3af;
    --text-white: #ffffff;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-dark: #1f2937;
    --bg-blue-light: #f0f8ff;
    --bg-green-light: #f0fdf9;
    --border-color: #e5e7eb;
    --border-light: #f3f4f6;
    --gradient-primary: linear-gradient(135deg, #4099ff 0%, #2b7de9 100%);
    --gradient-secondary: linear-gradient(135deg, #2ed8b6 0%, #25b894 100%);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e293b 35%, #334155 100%);
    --gradient-text: linear-gradient(135deg, #4099ff 0%, #2ed8b6 50%, #f59e0b 100%);
    --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / .05);
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / .25);
    --transition-fast: .15s ease-in-out;
    --transition-normal: .3s ease-in-out;
    --transition-slow: .5s ease-in-out;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 20px;
    --radius-3xl: 24px;
    --radius-full: 50px;
    --radius: 16px;
    --shadow-1: var(--shadow-xl);
    --shadow-2: var(--shadow-lg)
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    font-family: 'Nunito', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    background: var(--bg)
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 0 1.25rem;
    margin: 0 auto
}

.text-center {
    text-align: center
}

.mb-3 {
    margin-bottom: .75rem
}

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm)
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    padding: 0 20px
}

.logo img {
    height: 40px;
    display: block
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: .95rem;
    transition: var(--transition-normal)
}

.nav-link:hover {
    color: var(--primary-color)
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.5rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-normal);
    border: none;
    cursor: pointer;
    font-family: inherit
}

.btn.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md)
}

.btn.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg)
}

.nav-dropdown {
    position: relative
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: .4rem
}

.dropdown-menu {
    position: absolute;
    top: 120%;
    left: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem;
    min-width: 280px;
    display: none;
    box-shadow: 0 10px 25px rgba(0,0,0,.1)
}

.nav-dropdown:hover .dropdown-menu {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr
}

.dropdown-menu-simple {
    grid-template-columns: 1fr !important
}

.dropdown-section h4 {
    color: #374151;
    margin: 0 0 .5rem;
    font-size: .95rem;
    font-weight: 600
}

.dropdown-item {
    color: #4b5563;
    text-decoration: none;
    padding: .5rem .75rem;
    display: block;
    border-radius: 6px;
    transition: all .2s ease
}

.dropdown-item:hover {
    color: #1f2937;
    background-color: #f3f4f6
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: 0;
    color: #e5e7eb;
    font-size: 1.25rem
}

.hero-simple {
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, #eaf3ff 0%, #e9fff5 100%);
    position: relative;
    overflow: hidden
}

.hero-simple::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: repeating-linear-gradient(0deg, rgba(15, 21, 43, .06) 0 1px, transparent 1px 24px), repeating-linear-gradient(90deg, rgba(15, 21, 43, .06) 0 1px, transparent 1px 24px);
    opacity: .5;
    mix-blend-mode: multiply
}

.hero-simple::after {
    content: "";
    position: absolute;
    inset: -10% -10% auto -10%;
    height: 60%;
    pointer-events: none;
    background: radial-gradient(ellipse 800px 400px at 50% 0%, rgba(64, 153, 255, .15) 0%, rgba(46, 216, 182, .1) 50%, transparent 70%);
    filter: blur(18px)
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 3
}

.hero-content h1 {
    margin: .5rem 0 1rem;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    color: #0f172a
}

.hero-content .highlight-primary {
    color: var(--primary-color)
}

.hero-content .highlight-secondary {
    color: var(--secondary-color)
}

.lead {
    margin: 0 0 2rem;
    font-size: 1.2rem;
    color: var(--text-medium);
    line-height: 1.6
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.5rem;
    border-radius: 50px;
    background: rgba(64, 153, 255, .1);
    border: 1px solid rgba(64, 153, 255, .2);
    color: var(--primary-color);
    font-weight: 700;
    font-size: .9rem;
    margin-bottom: 2rem
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center
}

.blog-mockup {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
    max-width: 500px;
    width: 100%;
    position: relative;
    z-index: 3
}

.mockup-header {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem
}

.mockup-controls {
    display: flex;
    gap: .5rem
}

.control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%
}

.control-dot.red {
    background: #ff5f56
}

.control-dot.yellow {
    background: #ffbd2e
}

.control-dot.green {
    background: #27ca3f
}

.mockup-title {
    font-size: .9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: .5rem
}

.mockup-content {
    padding: 1.5rem
}

.mock-post {
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-color)
}

.mock-title {
    font-size: .9rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: .5rem
}

.mock-excerpt {
    font-size: .8rem;
    color: var(--text-medium);
    line-height: 1.4
}

.mock-meta {
    font-size: .7rem;
    color: var(--text-light);
    margin-bottom: .5rem
}

.section-alt {
    padding: 8rem 0;
    background: var(--bg-primary)
}

.section-header {
    margin-bottom: 3rem
}

.section-title {
    color: var(--text-dark);
    margin: 0 0 .5rem;
    font-size: 2.5rem;
    font-weight: 700
}

.section-subtitle {
    color: var(--text-medium);
    margin: 0;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem
}

.card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal)
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl)
}

.card-media {
    position: relative;
    height: 200px;
    overflow: hidden;
    padding: 0
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition-normal);
    display: block
}

.card:hover .card-media img {
    transform: scale(1.05)
}

.card-media {
    background: var(--bg-secondary)
}

.featured-media {
    background: var(--bg-secondary)
}

.card-body {
    padding: 1.5rem
}

.post-meta {
    font-size: .9rem;
    color: var(--text-light);
    margin-bottom: .75rem;
    font-weight: 500
}

.post-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.4
}

.post-excerpt {
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: .95rem
}

.post-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: .95rem;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    transition: var(--transition-normal)
}

.post-link:hover {
    color: var(--primary-dark);
    transform: translateX(4px)
}

.featured-card {
    grid-column: span 2;
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: var(--transition-normal)
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl)
}

.featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 300px;
    align-items: center
}

.featured-media {
    position: relative;
    height: 100%;
    overflow: hidden;
    padding: 0
}

.featured-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block
}

.featured-body {
    padding: 2.5rem
}

.featured-body .post-title {
    font-size: 1.75rem;
    margin-bottom: 1.25rem
}

.featured-body .post-excerpt {
    font-size: 1.1rem;
    margin-bottom: 2rem
}

.newsletter .card-media {
    background: var(--gradient-primary)
}

.newsletter-cta {
    text-align: center;
    color: white
}

.newsletter-cta i {
    font-size: 2.5rem;
    margin-bottom: .75rem;
    display: block
}

.newsletter-cta p {
    font-weight: 600;
    margin: 0;
    font-size: 1rem
}

.centered {
    display: flex;
    align-items: center;
    justify-content: center
}

.featured-card {
    grid-column: 1 / -1;
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: all .3s ease
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .15)
}

.featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 300px;
    align-items: stretch
}

.featured-media {
    position: relative;
    height: 100%;
    overflow: hidden;
    padding: 0
}

.featured-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block
}

.featured-body {
    padding: 2rem
}

.card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all .3s ease
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .15)
}

.card-media {
    position: relative;
    height: 200px;
    overflow: hidden;
    padding: 0
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block
}

.card-media.centered {
    align-items: center;
    justify-content: center
}

.card-body {
    padding: 1.25rem 1.5rem
}

.post-meta {
    color: var(--text-medium);
    font-size: .85rem;
    margin-bottom: .6rem
}

.post-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 .6rem;
    line-height: 1.35;
    color: var(--text-dark)
}

.post-excerpt {
    color: var(--text-medium);
    font-size: .95rem;
    line-height: 1.55;
    margin: 0 0 1rem
}

.post-link {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    font-size: .95rem
}

.label {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: .4rem .8rem;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 700;
    color: white;
    backdrop-filter: blur(10px)
}

.label-green {
    background: var(--secondary-color)
}

.label-yellow {
    background: var(--accent-color)
}

.label-blue {
    background: var(--primary-color)
}

.label-cyan {
    background: var(--secondary-light)
}

.label-orange {
    background: var(--accent-dark)
}

.card .post-thumbnail,
.card .thumbnail,
.card .thumb,
.card .cover,
.card .post-image,
.blog-grid .post-thumbnail,
.blog-grid .thumbnail,
.blog-grid .thumb,
.blog-grid .cover,
.blog-grid .post-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    border-radius: var(--radius-lg)
}

.card .post-thumbnail img,
.card .thumbnail img,
.card .thumb img,
.card .cover img,
.card .post-image img,
.blog-grid .post-thumbnail img,
.blog-grid .thumbnail img,
.blog-grid .thumb img,
.blog-grid .cover img,
.blog-grid .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block
}

@media (max-width:576px) {

    .card-media,
    .card .post-thumbnail,
    .card .thumbnail,
    .card .thumb,
    .card .cover,
    .card .post-image,
    .blog-grid .post-thumbnail,
    .blog-grid .thumbnail,
    .blog-grid .thumb,
    .blog-grid .cover,
    .blog-grid .post-image {
        height: 180px
    }
}

.gradient-1 {
    background: var(--gradient-primary)
}

.gradient-2 {
    background: var(--gradient-secondary)
}

.gradient-3 {
    background: linear-gradient(135deg, #4099ff, #66b3ff)
}

.gradient-4 {
    background: linear-gradient(135deg, #2ed8b6, #52e6c9)
}

.gradient-5 {
    background: linear-gradient(135deg, #f59e0b, #fbbf24)
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 4rem
}

.page-btn {
    padding: .8rem 1rem;
    border-radius: 8px;
    background: var(--bg-secondary);
    color: #cbd5e1;
    text-decoration: none
}

.page-current {
    background: var(--primary-color);
    color: #fff;
    font-weight: 800
}

.page-disabled {
    opacity: .5
}

.cta-section {
    padding: 5rem 0;
    background: var(--gradient-hero);
    color: white
}

.cta-section .section-title {
    color: white;
    margin-bottom: 1rem
}

.cta-section .section-subtitle {
    color: rgba(255, 255, 255, .9)
}

.cta-input {
    flex: 1;
    min-width: 300px;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .1);
    color: white;
    font-size: 1rem;
    font-family: inherit
}

.cta-input::placeholder {
    color: rgba(255, 255, 255, .7)
}

.cta-form {
    display: flex;
    gap: 1rem;
    justify-content: center;
    max-width: 500px;
    margin: 2rem auto 0;
    flex-wrap: wrap
}

.btn.btn-white {
    background: white;
    color: var(--text-dark);
    border: 0;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 700;
    box-shadow: var(--shadow-lg)
}

.btn.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl)
}

.cta-footnote {
    margin-top: 1rem;
    opacity: .9;
    font-size: .9rem
}

.footer {
    background: var(--bg-dark);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 4rem
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem
}

.footer-section h4 {
    margin: 0 0 1rem;
    color: white;
    font-weight: 600
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: .5rem
}

.footer-links a {
    color: rgba(255, 255, 255, .8);
    text-decoration: none;
    transition: var(--transition-normal)
}

.footer-links a:hover {
    color: var(--secondary-color)
}

.footer-text {
    color: rgba(255, 255, 255, .8);
    margin: 1rem 0 1.5rem;
    line-height: 1.6
}

.logo-invert {
    color: white;
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: 1rem
}

.logo-invert img {
    height: 40px;
    filter: brightness(0) invert(1)
}

.social-links {
    display: flex;
    gap: 1rem
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, .1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition-normal)
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px)
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, .7);
    border-top: 1px solid rgba(255, 255, 255, .1)
}

.centered {
    display: grid;
    place-items: center
}

@media (max-width:992px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center
    }

    .hero-content {
        max-width: 100%
    }

    .hero-content h1 {
        font-size: 2.5rem
    }

    .featured-grid {
        grid-template-columns: 1fr
    }
}

@media (max-width:768px) {
    .hero-simple {
        padding: 6rem 0 4rem
    }

    .hero-content h1 {
        font-size: 2rem
    }

    .hero-layout {
        gap: 2rem
    }

    .blog-mockup {
        max-width: 400px
    }

    .nav-menu {
        position: fixed;
        inset: 70px 0 0 0;
        background: rgba(255, 255, 255, .98);
        backdrop-filter: blur(10px);
        display: none;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg)
    }

    .nav-menu.open {
        display: flex
    }

    .mobile-menu-toggle {
        display: inline-flex;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--text-dark);
        cursor: pointer
    }
}

@media (max-width:576px) {
    .hero-content h1 {
        font-size: 1.75rem
    }

    .lead {
        font-size: 1rem
    }

    .section-title {
        font-size: 2rem
    }

    .container {
        padding: 0 15px
    }
}