@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
    --bg-dark: #050507;
    --bg-card: #0f0f13;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.03);

    /* Category Colors */
    --clr-remote: #2dd4bf;
    /* Teal */
    --clr-urban: #4ade80;
    /* Green */
    --clr-productivity: #fb923c;
    /* Orange */
    --clr-energy: #facc15;
    /* Yellow */
    --clr-art: #e879f9;
    /* Magenta */

    --sidebar-width: 340px;
    --container-max: 1300px;
    --padding-side: 5%;
    --accent: var(--clr-remote);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.logo {
    font-family: 'Outfit', sans-serif;
}

/* Dynamic Background Blobs */
.bg-blob {
    position: fixed;
    width: 800px;
    height: 800px;
    filter: blur(150px);
    z-index: -1;
    border-radius: 50%;
    opacity: 0.15;
}

.blob-1 {
    top: -300px;
    right: -200px;
    background: var(--clr-remote);
}

.blob-2 {
    bottom: -300px;
    left: -200px;
    background: var(--clr-art);
}

header {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(5, 5, 7, 0.7);
}

.header-inner {
    width: 100%;
    max-width: var(--container-max);
    padding: 1.5rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-group {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--clr-remote), var(--clr-art));
    border-radius: 8px;
}

nav a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    opacity: 0.7;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

nav a:hover {
    opacity: 1;
    color: var(--clr-remote);
}

main {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Hero Section */
.hero-banner {
    width: 100%;
    max-width: 1200px;
    aspect-ratio: 1220 / 820;
    margin: 3rem auto;
    background: radial-gradient(circle at center, rgba(45, 212, 191, 0.2), #050507);
    border: 1px solid var(--glass-border);
    border-radius: 2.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-banner-content {
    text-align: center;
    z-index: 2;
    padding: 2rem;
}

.hero-banner::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    transform: perspective(600px) rotateX(45deg);
    top: -25%;
}

.hero {
    text-align: center;
    padding: 8rem 0;
    position: relative;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.7));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.4rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.btn-cta {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-cta:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff !important;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* Card Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 2.5rem;
    padding-bottom: 5rem;
    justify-content: center;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 2rem;
    padding: 2.5rem;
    transition: all 0.4s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-8px);
    background: #15151b;
}

/* CSS ILLUSTRATIONS - 1220x820 Scale */
.illustration {
    width: 100%;
    aspect-ratio: 1220 / 820;
    max-height: 500px;
    /* Cap for smaller screens while maintaining ratio */
    background: #1c1c24;
    border-radius: 2rem;
    margin-bottom: 2.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);
}

/* Base Decorative Elements */
.illu-grid {
    position: absolute;
    width: 200%;
    height: 200%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    transform: perspective(500px) rotateX(60deg);
    top: -50%;
}

/* Illustration Categories */
.illu-remote {
    background: radial-gradient(circle at center, #134e4a, #020617);
}

.illu-urban {
    background: radial-gradient(circle at center, #064e3b, #020617);
}

.illu-prod {
    background: radial-gradient(circle at center, #7c2d12, #020617);
}

.illu-energy {
    background: radial-gradient(circle at center, #713f12, #020617);
}

.illu-art {
    background: radial-gradient(circle at center, #701a75, #020617);
}

/* Detailed CSS Designs */

/* Remote Work: Floating Workstation */
.remote-design {
    position: relative;
    width: 300px;
    height: 200px;
}

.remote-lap {
    width: 160px;
    height: 100px;
    background: #f8fafc;
    border-radius: 8px;
    position: absolute;
    left: 50%;
    top: 40%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 50px rgba(45, 212, 191, 0.4);
}

.remote-lap::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 25px;
    background: #0f172a;
    border-radius: 4px;
}

.remote-lap::after {
    content: '';
    position: absolute;
    bottom: -10px;
    width: 180px;
    height: 8px;
    background: #94a3b8;
    left: -10px;
    border-radius: 4px;
}

/* Urban Living: Stylized Skyline */
.urban-design {
    display: flex;
    align-items: flex-end;
    gap: 15px;
}

.building {
    background: #fff;
    width: 40px;
    position: relative;
}

.b-1 {
    height: 120px;
}

.b-2 {
    height: 180px;
}

.b-3 {
    height: 150px;
}

.building::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 5px;
    right: 5px;
    bottom: 10px;
    background-image: radial-gradient(#0f172a 2px, transparent 2px);
    background-size: 10px 15px;
}

/* Productivity: Orbiting Systems */
.prod-design {
    width: 200px;
    height: 200px;
    border: 2px dashed rgba(251, 146, 60, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: spin 20s linear infinite;
}

.prod-gear {
    width: 80px;
    height: 80px;
    border: 12px dashed #fff;
    border-radius: 50%;
    animation: spin 8s linear infinite reverse;
    box-shadow: 0 0 30px rgba(251, 146, 60, 0.5);
}

/* Clean Energy: Solar Array & Sun */
.energy-design {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.energy-sun {
    width: 120px;
    height: 120px;
    background: #fff;
    box-shadow: 0 0 80px #facc15, 0 0 20px #fff;
    border-radius: 50%;
    margin-bottom: 20px;
}

.solar-panel {
    width: 200px;
    height: 40px;
    background: linear-gradient(90deg, #1e293b 25%, transparent 25%),
        linear-gradient(90deg, #1e293b 25%, transparent 25%);
    background-size: 20px 100%;
    background-color: #334155;
    transform: perspective(200px) rotateX(45deg);
    border: 2px solid #fff;
}

/* AI Art: Generative Mesh */
.art-design {
    width: 200px;
    height: 200px;
    position: relative;
}

.art-point {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 15px var(--clr-art);
}

.p-1 {
    top: 20%;
    left: 20%;
    transition: all 2s infinite alternate;
}

.p-2 {
    bottom: 20%;
    right: 20%;
    animation: float 3s infinite alternate;
}

.p-3 {
    top: 50%;
    left: 50%;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes float {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-20px);
    }
}

/* Article Content Layout */
.page-wrap {
    display: flex;
    gap: 4rem;
    padding-top: 4rem;
}

.main-content {
    flex: 1;
}

.sidebar {
    width: var(--sidebar-width);
}

article h1 {
    .stat-item {
        padding: 2rem;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 2rem;
        border: 1px solid rgba(255, 255, 255, 0.05);
        transition: 0.3s;
    }

    .stat-item:hover {
        background: rgba(255, 255, 255, 0.08);
        transform: translateY(-5px);
    }

    .stat-item h3 {
        font-size: 3rem;
        color: #fff;
        margin-bottom: 0.5rem;
    }

    .stat-item p {
        color: var(--text-muted);
        font-size: 1rem;
        font-weight: 600;
    }

    font-size: 3.5rem;
    margin-bottom: 2rem;
    font-weight: 800;
    line-height: 1.2;
}

article p {
    margin-bottom: 1.8rem;
    font-size: 1.2rem;
    color: #cbd5e1;
}

article h2 {
    font-size: 2.2rem;
    margin: 3.5rem 0 1.5rem;
    color: #fff;
}

/* Category Tags */
.tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

/* --- Expansion Components --- */
.section-vibrant {
    padding: 10rem var(--padding-side);
    border-radius: 4rem;
    margin-bottom: 6rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.split-layout {
    display: flex;
    gap: 5rem;
    align-items: center;
}

.split-layout.row-reverse {
    flex-direction: row-reverse;
}

.split-content {
    flex: 1.2;
}

.split-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    width: 100%;
}

.stat-item {
    padding: 2.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 2rem;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-item:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--clr-remote);
    background: rgba(255, 255, 255, 0.05);
}

.stat-item h3 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--clr-remote);
}

.stat-item p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.6;
}

/* Enhanced Tez Gradients using Variables */
.bg-teal {
    background: radial-gradient(circle at top left, color-mix(in srgb, var(--clr-remote), transparent 75%), transparent),
        linear-gradient(135deg, color-mix(in srgb, var(--clr-remote), transparent 90%), color-mix(in srgb, var(--clr-remote), transparent 98%));
    border: 1px solid color-mix(in srgb, var(--clr-remote), transparent 70%);
}

.bg-green {
    background: radial-gradient(circle at top right, color-mix(in srgb, var(--clr-urban), transparent 75%), transparent),
        linear-gradient(135deg, color-mix(in srgb, var(--clr-urban), transparent 90%), color-mix(in srgb, var(--clr-urban), transparent 98%));
    border: 1px solid color-mix(in srgb, var(--clr-urban), transparent 70%);
}

.bg-orange {
    background: radial-gradient(circle at bottom left, color-mix(in srgb, var(--clr-productivity), transparent 75%), transparent),
        linear-gradient(135deg, color-mix(in srgb, var(--clr-productivity), transparent 90%), color-mix(in srgb, var(--clr-productivity), transparent 98%));
    border: 1px solid color-mix(in srgb, var(--clr-productivity), transparent 70%);
}

.bg-yellow {
    background: radial-gradient(circle at bottom right, color-mix(in srgb, var(--clr-energy), transparent 75%), transparent),
        linear-gradient(135deg, color-mix(in srgb, var(--clr-energy), transparent 90%), color-mix(in srgb, var(--clr-energy), transparent 98%));
    border: 1px solid color-mix(in srgb, var(--clr-energy), transparent 70%);
}

.bg-magenta {
    background: radial-gradient(circle at center, color-mix(in srgb, var(--clr-art), transparent 80%), transparent),
        linear-gradient(135deg, color-mix(in srgb, var(--clr-art), transparent 90%), color-mix(in srgb, var(--clr-art), transparent 98%));
    border: 1px solid color-mix(in srgb, var(--clr-art), transparent 70%);
}

/* Decorative Elements */
.section-vibrant::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0.05;
    pointer-events: none;
}

.tag-teal {
    background: rgba(45, 212, 191, 0.1);
    color: var(--clr-remote);
    border: 1px solid var(--clr-remote);
}

.tag-green {
    background: rgba(74, 222, 128, 0.1);
    color: var(--clr-urban);
    border: 1px solid var(--clr-urban);
}

.tag-orange {
    background: rgba(251, 146, 60, 0.1);
    color: var(--clr-productivity);
    border: 1px solid var(--clr-productivity);
}

.tag-yellow {
    background: rgba(250, 204, 21, 0.1);
    color: var(--clr-energy);
    border: 1px solid var(--clr-energy);
}

.tag-magenta {
    background: rgba(232, 121, 249, 0.1);
    color: var(--clr-art);
    border: 1px solid var(--clr-art);
}

/* Sidebar Widgets */
.widget {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 2rem;
    margin-bottom: 2rem;
}

.widget h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.widget-links {
    list-style: none;
}

.widget-links li {
    margin-bottom: 1rem;
}

.widget-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.3s;
    font-size: 1rem;
}

.widget-links a:hover {
    color: #fff;
    padding-left: 5px;
}

/* Footer */
footer {
    padding: 8rem 0 3rem;
    border-top: 1px solid var(--glass-border);
    background: linear-gradient(to bottom, transparent, #08080a);
}

.footer-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 4rem;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    transition: 0.3s;
    font-size: 1rem;
}

.footer-links a:hover {
    color: var(--clr-remote);
    padding-left: 5px;
}

.footer-desc {
    color: var(--text-muted);
    line-height: 1.8;
    margin-top: 1.5rem;
    font-size: 0.95rem;
}

.social-strip {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon:hover {
    background: var(--clr-remote);
    transform: translateY(-3px);
}

.footer-bottom {
    max-width: var(--container-max);
    margin: 5rem auto 0;
    padding: 2rem 1.5rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 600px) {
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

@media (max-width: 992px) {

    .split-layout,
    .split-layout.row-reverse {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }

    .split-visual {
        order: -1;
    }
}

@media (max-width: 768px) {
    .section-vibrant {
        padding: 5rem 2rem;
        border-radius: 2rem;
    }

    .method-step {
        flex-direction: column;
        gap: 1.5rem;
        text-align: left;
    }
}

@media (max-width: 1100px) {
    .page-wrap {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .hero h1 {
        font-size: 3.5rem;
    }
}