:root {
    --color-dark: #121413;
    --color-dark-green: #1a241b;
    --color-accent-green: #4A5E4B;
    --color-stripe-dark-green: #2D4A2E;
    --color-stripe-green: #3A5A3C;
    --color-stripe-orange: #D4854A;
    --color-stripe-salmon: #C98B7B;
    --color-cream: #F5F0E8;
    --color-white: #FFFFFF;
    --color-text-light: #F0F0F0;
    --color-text-muted: #B0B0B0;
    --color-button-dark: #2D3E2E;
    --gradient-hero: var(--color-dark);
    --gradient-btn: linear-gradient(135deg, var(--color-stripe-green), var(--color-stripe-dark-green));
    --gradient-btn-hover: linear-gradient(135deg, var(--color-stripe-orange), var(--color-stripe-salmon));
    --gradient-glow: linear-gradient(90deg, transparent, var(--color-stripe-orange), transparent);
    --font-heading: 'Playfair Display',
        Georgia,
        serif;
    --font-body: 'Inter',
        -apple-system,
        BlinkMacSystemFont,
        sans-serif;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 5rem;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

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


::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    border: 3px solid transparent;
    background-clip: content-box;
    transition: background 0.3s;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}


* {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.15) rgba(255, 255, 255, 0.03);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-white);
    background-color: var(--color-dark);
}


.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--gradient-hero);
    padding: var(--spacing-2xl) var(--spacing-lg);
    padding-top: 100px;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.hero-content {
    animation: fadeIn 1s ease forwards;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: var(--spacing-lg);
    color: var(--color-cream);
}

.hero-title em {
    font-style: italic;
    display: block;
    color: var(--color-stripe-green);
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text-light);
    max-width: 800px;
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
    text-align: justify;
}

.hero-images {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-video-container {
    width: 100%;
    max-width: 600px;
    aspect-ratio: 16 / 9;
    min-height: 337px; 
    border-radius: var(--radius-xl);
    overflow: hidden;
    animation: scaleIn 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.4s;
    opacity: 0;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2); 
}

.hero-video {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    object-fit: cover;
    transform: scale(1.02);
}


.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--color-stripe-green);
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--color-stripe-orange);
    bottom: -50px;
    left: -50px;
    animation: float-alt 10s ease-in-out infinite;
}

.shape-3 {
    width: 350px;
    height: 350px;
    background: var(--color-stripe-salmon);
    top: 50%;
    right: -100px;
    transform: translateY(-50%);
    animation: float 12s ease-in-out infinite;
}


.about-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}


.about-intro,
.about-details {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    line-height: 1.7;
    color: #000000;
    max-width: 800px;
    margin-bottom: var(--spacing-md);
    text-align: justify;
    font-weight: 500;
}


.about-intro strong,
.about-details strong {
    color: var(--color-stripe-green);
    font-weight: 700;
}




.reveal-section {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-child {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-section.visible .reveal-child {
    opacity: 1;
    transform: translateY(0);
}

.reveal-section.visible .reveal-child:nth-child(1) {
    transition-delay: 0.1s;
}

.reveal-section.visible .reveal-child:nth-child(2) {
    transition-delay: 0.3s;
}



a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

.article-container a {
    color: #3b82f6;
}

.article-container a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes float-alt {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-15px) rotate(-3deg);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 15px 0;
    background: rgba(18, 20, 19, 0.7);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all var(--transition-medium);
}

.header.scrolled {
    padding: 10px 0;
    background: rgba(18, 20, 19, 0.9);
}

.header-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.5px;
    margin-left: 0;
    position: relative;
}

.logo-text::after {
    content: '.';
    color: var(--color-stripe-green);
    font-size: 2.2rem;
    line-height: 0;
}

.menu-toggle {
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    padding: 10px 30px;
    transition: all var(--transition-fast);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-white);
    transform: translateY(-1px);
}


.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 31, 28, 0.98);
    z-index: 200;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: var(--spacing-2xl);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-medium);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav-close {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    font-size: 2.5rem;
    color: var(--color-white);
    transition: transform var(--transition-fast);
}

.nav-close:hover {
    transform: rotate(90deg);
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.nav-link {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--color-white);
    transition: all var(--transition-medium);
    transform-origin: left;
    display: inline-block;
    animation: slideIn 0.5s ease forwards;
    opacity: 0;
}

.nav-link:hover {
    transform: translateX(15px) scale(1.05);
    color: var(--color-stripe-orange);
    text-shadow: 0 0 10px rgba(212, 133, 74, 0.4);
}

.nav-overlay.active .nav-link:nth-child(1) {
    animation-delay: 0.1s;
}

.nav-overlay.active .nav-link:nth-child(2) {
    animation-delay: 0.15s;
}

.nav-overlay.active .nav-link:nth-child(3) {
    animation-delay: 0.2s;
}

.nav-overlay.active .nav-link:nth-child(4) {
    animation-delay: 0.25s;
}

.nav-overlay.active .nav-link:nth-child(5) {
    animation-delay: 0.3s;
}

.nav-overlay.active .nav-link:nth-child(6) {
    animation-delay: 0.35s;
}

.stripes {
    display: flex;
    flex-direction: column;
}

.stripe {
    height: 40px;
}

.stripe-dark-green {
    background-color: var(--color-stripe-dark-green);
}

.stripe-green {
    background-color: var(--color-stripe-green);
    height: 20px;
}

.stripe-orange {
    background-color: var(--color-stripe-orange);
}

.stripe-salmon {
    background-color: var(--color-stripe-salmon);
    height: 25px;
}

.footer {
    background: linear-gradient(180deg, var(--color-dark) 0%, #0a0c0b 100%);
    padding: var(--spacing-2xl) var(--spacing-lg) 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gradient-glow);
    opacity: 0.5;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1fr 1.5fr 1.5fr;
    gap: 40px;
    padding: 10px 0;
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: var(--spacing-md);
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.footer-heading {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-stripe-orange), transparent);
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 8px;
}

.footer-menu a {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
}

.footer-menu a:hover {
    color: var(--color-white);
    transform: translateX(5px);
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.social-link:hover {
    color: var(--color-white);
    transform: translateX(5px);
}


.footer-actions .btn {
    width: 220px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.75rem;
    padding: 0;
    white-space: nowrap;
    letter-spacing: 1px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.platform-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-bottom {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin: 0;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 10px;
}


.portfolio-page-container,
.tools-container,
.promo-container,
.hero-container,
.about-container,
.portfolio-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    width: 100%;
}


.btn {
    display: inline-block;
    padding: 0.7rem 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-medium);
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    z-index: 1;
    color: var(--color-white) !important;
    text-decoration: none;
}

.btn-primary,
.btn-dark {
    background: var(--gradient-btn);
    color: var(--color-white);
    border: none;
}

.btn-primary::before,
.btn-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-btn-hover);
    opacity: 0;
    z-index: -1;
    transition: opacity var(--transition-medium);
}

.btn-primary:hover,
.btn-dark:hover {
    transform: translateY(-2px);
}

.btn-primary:hover::before,
.btn-dark:hover::before {
    opacity: 1;
}

.btn-outline {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
}


.article-container .btn-outline {
    color: var(--color-dark) !important;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.article-container .btn-outline:hover {
    background-color: var(--color-dark);
    color: var(--color-white) !important;
    border-color: var(--color-dark);
}

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-dark) !important;
    border-color: var(--color-white);
}



.search-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto 40px;
}

.search-container input {
    width: 100%;
    padding: 15px 50px 15px 25px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-white);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.search-container input:focus {
    outline: none;
    border-color: var(--color-stripe-orange);
}


.category-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 22px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    font-weight: 500;
    backdrop-filter: blur(5px);
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(212, 133, 74, 0.5);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--color-stripe-orange);
    border-color: var(--color-stripe-orange);
    color: var(--color-white);
}

.filter-btn:active {
    transform: translateY(0);
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-icon svg {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    flex-shrink: 0;
    display: block;
}

.info-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    backdrop-filter: blur(8px);
}

.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--color-stripe-orange);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.about,
.portfolio {
    padding: var(--spacing-xl) var(--spacing-lg);
    overflow: hidden;
    position: relative;
}

.about {
    background-color: var(--color-cream);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.about-text {
    color: var(--color-dark);
}


.about-text .btn {
    margin-top: var(--spacing-lg);
    background: var(--color-stripe-green);
    box-shadow: none;
}

.about-text .btn:hover {
    background: var(--color-stripe-dark-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(90, 143, 92, 0.3);
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    max-width: 350px;
    margin: 0 auto;
}

#dynamic-sections:empty {
    display: none;
}

.dynamic-section {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: var(--spacing-2xl) var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.dynamic-section.layout-image-left {
    flex-direction: row;
}

.dynamic-section.layout-image-right {
    flex-direction: row-reverse;
}

.dynamic-section.layout-vertical {
    flex-direction: column;
    text-align: center;
}

.dynamic-image {
    flex: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.dynamic-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.dynamic-content {
    flex: 1;
}

.dynamic-content h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-white);
}

.dynamic-content div {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

.section-separator {
    width: 100%;
    max-width: 1200px;
    margin: var(--spacing-xl) auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-text-muted), transparent);
    opacity: 0.3;
}

.section-separator-colored {
    background: linear-gradient(90deg, transparent, var(--color-stripe-orange), transparent);
    opacity: 0.6;
    height: 2px;
}


.portfolio-page {
    padding-top: 120px;
    padding-bottom: 60px;
    min-height: 100vh;
    background-color: var(--color-dark);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    align-items: stretch;
    min-height: 480px; 
}

.portfolio-full-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    align-items: stretch;
    min-height: 800px; 
}

.article-page {
    padding-top: 120px;
    min-height: 100vh;
    background-color: var(--color-dark);
}

.article-container {
    max-width: 900px;
    margin: 0 auto var(--spacing-2xl);
    padding: 80px 100px;
    background-color: #ffffff;
    border-radius: 12px;
    color: #1a1f1c;
    box-shadow: 0 4px 60px rgba(0, 0, 0, 0.3);
    animation: reveal-article 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes reveal-article {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-content {
    font-size: 1.2rem;
    line-height: 1.85;
    color: #2d3436;
    text-align: justify;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.article-content img {
    display: block;
    margin: 40px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.article-content pre {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
    overflow-x: auto;
    line-height: 1.5;
    font-size: 0.95rem;
    scrollbar-width: thin;
    scrollbar-color: #d1d5db #f3f4f6;
}

.article-content pre::-webkit-scrollbar {
    height: 6px;
}

.article-content pre::-webkit-scrollbar-track {
    background: #f3f4f6;
}

.article-content pre::-webkit-scrollbar-thumb {
    background-color: #d1d5db;
    border-radius: 20px;
}

.article-content code {
    font-family: 'Cascadia Code', 'Consolas', 'Monaco', 'Andale Mono', 'Ubuntu Mono', monospace;
    color: #3e4444;
}

.article-content :not(pre)>code {
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    color: #ef4444;
    font-weight: 500;
}

.article-content h2 {
    font-size: 2rem;
    margin: 60px 0 25px;
    color: #1a1f1c;
    font-weight: 700;
}

.article-content h3 {
    font-size: 1.6rem;
    margin: 40px 0 20px;
    color: #161b18;
    font-weight: 700;
}

.article-content p {
    margin-bottom: 25px;
}

.article-content blockquote {
    margin: 40px 0;
    padding: 25px 30px;
    background-color: #f8f9fa;
    border-left: 4px solid var(--color-stripe-orange);
    border-radius: 4px;
    font-style: normal;
    font-size: 1.15rem;
    line-height: 1.7;
    color: #444;
}

.article-content hr {
    border: 0;
    border-top: 1px solid #e9ecef;
    margin: 50px 0;
}

.article-content ul,
.article-content ol {
    margin-bottom: 30px !important;
    padding-left: 40px !important;
    margin-left: 20px !important;
}

.article-content ul {
    list-style-type: disc !important;
}

.article-content ol {
    list-style-type: decimal !important;
}

.article-content ul>li,
.article-content ol>li {
    display: list-item !important;
    margin-bottom: 12px !important;
    list-style-position: outside !important;
}


.table-container {
    width: 100%;
    overflow-x: auto;
    margin: 40px 0;
    scrollbar-width: thin;
    scrollbar-color: #d1d5db #f3f4f6;
}

.table-container::-webkit-scrollbar {
    height: 6px;
}

.article-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
    line-height: 1.5;
    text-align: left;
    
    border: 1px solid #e9ecef;
}

.article-table th,
.article-table td {
    padding: 12px 15px;
    border: 1px solid #e9ecef;
    vertical-align: top;
}

.article-table thead th {
    background-color: #f8f9fa;
    font-weight: 700;
    color: #1a1f1c;
    border-bottom: 2px solid #dee2e6;
}

.article-table tbody tr:nth-child(even) {
    background-color: #fafbfb;
}

.article-meta {
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.article-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #1a1f1c;
    margin-bottom: 40px;
    line-height: 1.2;
}

.article-page {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
    padding-top: 120px;
    padding-bottom: 120px;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
}

.article-page:has(.toc-sidebar) {
    grid-template-columns: 240px 1fr;
}

.toc-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
}

.toc-inner {
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
    scroll-behavior: smooth;
    padding-right: 16px;
    padding-left: 16px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.toc-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 24px;
    font-family: var(--font-body);
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-item {
    margin-bottom: 14px;
}

.toc-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.5;
    transition: color var(--transition-medium), transform var(--transition-medium);
    display: block;
    position: relative;
    padding: 4px 0;
}

.toc-marker {
    position: absolute;
    left: -1px;
    
    width: 2px;
    height: 0;
    background-color: var(--color-stripe-orange);
    transition: top var(--transition-medium), height var(--transition-medium), opacity var(--transition-medium);
    opacity: 0;
    z-index: 10;
}

.toc-link:hover,
.toc-link.active {
    color: var(--color-white) !important;
    transform: translateX(4px);
}

.toc-link.h3 {
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.4);
}

.article-container {
    background: #fff;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    max-width: 960px;
    
}

@media (max-width: 1150px) {
    .article-page:has(.toc-sidebar) {
        grid-template-columns: 1fr;
    }

    .toc-sidebar {
        position: relative;
        height: auto;
        margin-bottom: 30px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        padding: 20px;
    }

    .toc-inner {
        max-height: none;
        border-left: none;
        padding-left: 0;
        padding-right: 0;
    }

    .article-container {
        padding: 40px 20px;
        margin: 0 auto;
    }
}

.article-header {
    min-height: 80px;
}

.hero-image-container {
    width: 100%;
    max-width: 600px;
    aspect-ratio: 1 / 1;
    margin: 0 auto 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    position: relative;
}


@keyframes skeleton-loading {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.skeleton {
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.05) 25%,
            rgba(255, 255, 255, 0.1) 50%,
            rgba(255, 255, 255, 0.05) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

.skeleton-text {
    height: 1.2rem;
    margin-bottom: 0.8rem;
    border-radius: 4px;
    width: 100%;
}

.skeleton-title {
    height: 3rem;
    margin-bottom: 2rem;
    width: 60%;
}

.skeleton-hero {
    width: 100%;
    max-width: 600px;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    margin: 0 auto 50px;
}

.article-hero-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.hero-image-container:hover .article-hero-image {
    transform: scale(1.02);
}


.post-image {
    margin: 50px 0;
    text-align: center;
}

.post-image img {
    max-width: 85%;
    border-radius: 8px;
    margin: 0 auto;
}

.post-image em {
    display: block;
    margin-top: 15px;
    font-style: normal;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}


.article-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 35px 0;
    flex-wrap: wrap;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.my-4 {
    margin: 1rem 0;
}

.my-6 {
    margin: 1.5rem 0;
}


.video-container {
    position: relative;
    padding-bottom: 56.25%;
    
    height: 0;
    overflow: hidden;
    margin: 50px 0;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


.yt-facade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    background-color: #000;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.yt-facade::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    transition: background 0.3s ease;
}

.yt-facade:hover::after {
    background: rgba(0, 0, 0, 0.1);
}

.yt-facade-play {
    position: relative;
    z-index: 1;
    width: 68px;
    height: 48px;
    background: rgba(255, 0, 0, 0.85);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.yt-facade:hover .yt-facade-play {
    background: #ff0000;
    transform: scale(1.1);
}

.yt-facade-play::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent #fff;
    margin-left: 3px;
}

.article-footer {
    margin-top: 80px;
    padding-top: 50px;
    border-top: 2px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.article-cta {
    background: #f9f9f9;
    padding: 40px;
    border-radius: 12px;
    width: 100%;
    text-align: center;
    border: 1px dashed #ddd;
}

.article-cta h4 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.saas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.saas-card-image {
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: var(--spacing-sm);
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}


.error-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.error-code {
    font-size: 8rem;
    color: var(--color-stripe-orange);
}




.platform-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
    fill: currentColor;
}

.footer-platforms .social-link {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    transition: color 0.2s;
    margin-bottom: 8px;
}

.footer-platforms .social-link:hover {
    color: var(--color-stripe-orange);
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-separator {
    color: var(--color-text-muted);
    font-size: 0.8rem;
    opacity: 0.5;
}

.footer-legal-btn {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: underline;
    opacity: 0.7;
    transition: all 0.2s;
    padding: 0;
}

.footer-legal-btn:hover {
    color: var(--color-white);
    opacity: 1;
}

.info-modal {
    background: rgba(18, 20, 19, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.9);
    border-radius: 12px;
    overflow: hidden;
    width: 90%;
    max-width: 520px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    position: relative;
    font-family: var(--font-body);
}

.info-modal-header {
    background: transparent;
    padding: 32px 36px 12px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: none;
}

.info-modal h3 {
    color: var(--color-stripe-orange);
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 5px 0;
    letter-spacing: 0;
    white-space: nowrap;
}

.info-modal .last-updated {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.85rem;
    margin: 0;
    font-style: italic;
    font-weight: 400;
}

.info-modal-body {
    padding: 16px 36px 24px;
    color: var(--color-text-light);
    line-height: 1.6;
    font-size: 0.95rem;
    max-height: 450px;
    overflow-y: auto;
}

.info-modal-body h4 {
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 700;
    margin-top: 25px;
    margin-bottom: 10px;
}

.info-modal-body p {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.info-modal-close {
    color: rgba(255, 255, 255, 0.35);
    font-size: 1.6rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    line-height: 1;
    padding: 4px;
    margin-top: -4px;
    border-radius: 6px;
}

.info-modal-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.modal-input-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 4px;
}

.modal-input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 0.95rem;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.modal-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 400;
}

.modal-input:focus {
    border-color: var(--color-stripe-orange);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(212, 133, 74, 0.15);
}

.info-modal-footer {
    padding: 8px 36px 32px;
    background: transparent;
    display: flex;
    justify-content: flex-end;
}

.modal-btn {
    background: var(--color-stripe-orange);
    color: white !important;
    border: none;
    padding: 13px 36px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
    box-shadow: none;
}

.modal-btn:hover {
    background: var(--color-stripe-salmon);
    transform: translateY(-2px);
    box-shadow: none;
}

.modal-btn:active {
    transform: translateY(0);
}

.info-modal--wide {
    max-width: 800px;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    font-size: 2.5rem;
    color: var(--color-dark);
}

.standard-hero-heading {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 8vw, 5.5rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
    text-align: center;
    line-height: 1.1;
}

.subpage-description {
    text-align: center;
    max-width: 100%;
    margin: 0 auto 40px;
    color: var(--color-text-light);
    font-size: 1.1rem;
    line-height: 1.6;
}

.section-title-light {
    color: var(--color-white);
}

.portfolio-cta {
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-xl);
    width: 100%;
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-stripe-green);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition-fast);
}

.portfolio-link:hover {
    color: var(--color-stripe-orange);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--color-stripe-orange);
    transition: all var(--transition-fast);
    margin-bottom: 20px;
}

.back-link:hover {
    color: var(--color-white) !important;
}

.back-arrow,
.btn-svg-arrow {
    width: 1.1rem;
    height: 1.1rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.3s ease;
    vertical-align: middle;
}

.back-arrow {
    margin-right: 8px;
}

.btn-svg-arrow {
    margin-left: 8px;
}


.back-link:hover .back-arrow,
.portfolio-link:hover .back-arrow {
    transform: translateX(-5px);
}

.youtube-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    min-height: 315px;
    
}







.portfolio-card-date {
    color: var(--color-stripe-orange);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.portfolio-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 0.75rem;
}

.portfolio-card-tag {
    display: inline-block;
    padding: 3px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(90, 143, 92, 0.15);
    color: var(--color-stripe-green);
    border-radius: 4px;
}



.footer-actions-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-actions-list .btn {
    font-size: 0.8rem;
    padding: 8px 16px;
    text-align: center;
}




.portfolio-header {
    margin-bottom: var(--spacing-xl);
}


.loading {
    text-align: center;
    color: var(--color-text-muted);
    padding: var(--spacing-xl);
    font-size: 1rem;
}






.search-wrapper {
    position: relative;
    max-width: 500px;
    margin: 0 auto var(--spacing-xl);
}

.search-input {
    width: 100%;
    padding: 14px 20px 14px 50px;
    font-size: 1rem;
    font-family: var(--font-body);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--color-white);
    outline: none;
    transition: all var(--transition-fast);
}

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

.search-input:focus {
    border-color: var(--color-stripe-orange);
    background: rgba(255, 255, 255, 0.08);
    outline: none;
}






.footer-nav,
.footer-connect {
    min-width: 0;
}

.blog-preview {
    min-width: 0;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.pulsing {
    animation: pulse 1.5s ease-in-out infinite;
}

.header-text {
    display: flex;
    flex-direction: column;
}

.tools-body {
    background-color: var(--color-dark);
}

.reading-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 9999;
    background: transparent;
}

.reading-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--color-stripe-green), var(--color-stripe-orange));
    transition: width 0.1s ease;
}

.error-message {
    color: var(--color-text-muted);
    font-size: 1.2rem;
    margin-top: var(--spacing-md);
}



.portfolio-card {
    background: rgba(255, 255, 255, 0.03);
    
    
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    
    flex-direction: column;
    
    height: 100%;
    
    cursor: pointer;
}




.portfolio-card-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.portfolio-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-card-image img {
    transform: scale(1.05);
}

.portfolio-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.portfolio-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-stripe-orange);
    margin-bottom: 15px;
}

.portfolio-card-description {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: calc(1.5em * 3);
}

.portfolio-card-link {
    display: inline-block;
    color: #d4854a;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: auto;
    
}

.portfolio-card-link:hover {
    color: var(--color-white);
    text-decoration: none;
}

.portfolio-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.portfolio-card-tag {
    display: inline-block;
    background: rgba(212, 133, 74, 0.1);
    color: #d4854a;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


.btn-waitlist {
    background: linear-gradient(135deg, var(--color-stripe-green), #2d4a2e);
    color: var(--color-white) !important;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
}

.btn-waitlist::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: all 0.6s;
}

.btn-waitlist:hover {
    background: linear-gradient(135deg, #5fb061, #1a2a1b);
}

.btn-waitlist:hover::before {
    left: 100%;
}


.arrow,
.btn-svg-arrow {
    transition: transform 0.3s ease;
}

.btn-waitlist:hover .arrow,
.portfolio-link:hover .arrow,
.back-link:hover .arrow,
.portfolio-card:hover .arrow,
.btn:hover .btn-svg-arrow,
.portfolio-card-link:hover .btn-svg-arrow,
.btn-waitlist:hover .btn-svg-arrow {
    transform: translateX(5px);
}

.back-link:hover .back-arrow {
    transform: translateX(-5px);
}


.waitlist-modal-card {
    background: rgba(18, 20, 19, 0.85) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 24px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8) !important;
    padding: 40px !important;
    position: relative;
}

.waitlist-input {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.waitlist-input:focus {
    border-color: var(--color-stripe-green);
    background: rgba(255, 255, 255, 0.08);
    outline: none;
}

.waitlist-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}


.relative {
    position: relative !important;
}

.reveal-content {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.reveal-content.is-visible {
    opacity: 1;
}





.tile-waitlist-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 5;
    pointer-events: none;
    
}

.portfolio-card:hover .tile-waitlist-overlay {
    opacity: 1;
    background: rgba(0, 0, 0, 0.4);
    pointer-events: auto;
}

.tile-waitlist-btn {
    pointer-events: auto;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.portfolio-card:hover .tile-waitlist-btn {
    transform: translateY(0);
}

.portfolio-card-image {
    position: relative;
    overflow: hidden;
}




.how-it-works-section {
    padding: 40px 0;
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.how-it-works-card {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    position: relative;
    transition: all var(--transition-medium);
}

.how-it-works-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(212, 133, 74, 0.3);
    transform: translateY(-4px);
}

.how-it-works-number {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-stripe-orange), var(--color-stripe-salmon));
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.how-it-works-icon {
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
}

.how-it-works-icon svg {
    transition: transform var(--transition-medium);
}

.how-it-works-card:hover .how-it-works-icon svg {
    transform: scale(1.1);
}

.how-it-works-card h3 {
    font-family: var(--font-heading);
    color: var(--color-white);
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.how-it-works-card p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}


.category-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 30px;
}

.category-filter-btn {
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    color: var(--color-text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: var(--font-body);
}

.category-filter-btn:hover {
    border-color: rgba(212, 133, 74, 0.5);
    color: var(--color-white);
    background: rgba(212, 133, 74, 0.1);
}

.category-filter-btn.active {
    background: linear-gradient(135deg, var(--color-stripe-orange), var(--color-stripe-salmon));
    color: #fff;
    border-color: transparent;
    font-weight: 600;
}


.sourcing-card .portfolio-card-content {
    display: flex;
    flex-direction: column;
}

.sourcing-company-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-stripe-orange);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.sourcing-category-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 50px;
    background: rgba(90, 143, 92, 0.15);
    border: 1px solid rgba(90, 143, 92, 0.25);
    color: var(--color-stripe-green);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    width: fit-content;
}

.sourcing-info-blur {
    filter: blur(5px);
    opacity: 0.6;
    user-select: none;
    pointer-events: none;
    margin-bottom: 15px;
}

.sourcing-recommended-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 12px;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    color: #fbbf24;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 2;
}


.sourcing-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 60px auto;
}

.source-it-cta-section {
    width: 100%;
    margin: 0;
    padding: 50px 30px;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
    transition: all var(--transition-medium);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.source-it-cta-section:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-stripe-orange);
    transform: translateY(-5px);
}

.source-it-cta-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.source-it-cta-section h2 {
    font-family: var(--font-heading);
    color: var(--color-stripe-orange);
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.source-it-cta-section p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}


@media (max-width: 992px) {
    .sourcing-cta-grid {
        grid-template-columns: 1fr;
        max-width: 700px;
    }
}




.project-gallery-slider {
    position: relative;
    max-width: 600px;
    margin: 40px auto;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    background: #000;
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.slide {
    flex: 0 0 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(4px);
}

.slider-btn:hover {
    background: var(--color-stripe-orange);
    color: white;
}

.slider-btn.prev {
    left: 15px;
}

.slider-btn.next {
    right: 15px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: white;
    transform: scale(1.3);
}


.zoom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    cursor: zoom-out;
}

.zoom-modal-overlay img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.zoom-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 40px;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
}

.zoom-close:hover {
    color: var(--color-stripe-orange);
}

.zoom-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2010;
    backdrop-filter: blur(10px);
}

.zoom-nav-btn:hover {
    background: var(--color-stripe-orange);
}

.zoom-nav-btn.prev {
    left: 40px;
}

.zoom-nav-btn.next {
    right: 40px;
}


.slide img {
    cursor: zoom-in;
}



#home-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
    align-items: stretch;
    min-height: 400px;
}

.portfolio-full-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    width: 100%;
    align-items: stretch;
    min-height: 400px;
    
}





@media (max-width: 1024px) {

    .hero,
    .hero-container {
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }

    .hero-description {
        margin: 0 auto var(--spacing-xl) !important;
    }

    .hero-title {
        font-size: clamp(2.5rem, 5vw, 4rem) !important;
    }

    .about-content {
        grid-template-columns: 1fr !important;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr !important;
        gap: var(--spacing-xl) !important;
    }
}


@media (max-width: 768px) {
    .hero {
        padding-top: 80px !important;
        min-height: auto !important;
        padding-bottom: var(--spacing-xl) !important;
    }

    .hero-title {
        font-size: 2.5rem !important;
    }

    .about-content {
        grid-template-columns: 1fr !important;
    }

    .footer-container {
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }

    .footer-logo {
        justify-content: center !important;
    }

    .footer-heading::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .footer-social,
    .platform-list {
        align-items: center !important;
    }

    .footer-bottom,
    .footer-bottom-container {
        flex-direction: column !important;
        gap: var(--spacing-md) !important;
        text-align: center !important;
    }

    .portfolio-card-title {
        font-size: 1.1rem !important;
    }

    .footer-actions-list {
        flex-direction: column !important;
        align-items: center !important;
    }

    .nav-close {
        top: 20px !important;
        right: 20px !important;
    }

    .search-input {
        font-size: 0.9rem !important;
        padding: 12px 16px 12px 44px !important;
    }

    .article-container {
        padding: 40px 20px !important;
        border-radius: 0 !important;
        margin: 0 !important;
    }

    .article-title {
        font-size: 2.2rem !important;
    }

    .article-content {
        font-size: 1.1rem !important;
        text-align: left !important;
    }

    .portfolio-grid,
    .saas-grid,
    .promo-grid,
    #home-tools-grid,
    #portfolio-grid,
    #productGrid,
    #sourcingGrid,
    #home-blog-grid {
        grid-template-columns: 1fr !important;
    }

    .how-it-works-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .category-filter-bar {
        gap: 6px !important;
    }

    .category-filter-btn {
        padding: 6px 14px !important;
        font-size: 0.8rem !important;
    }

    .zoom-nav-btn {
        width: 44px !important;
        height: 44px !important;
        font-size: 1.5rem !important;
    }

    .zoom-nav-btn.prev {
        left: 10px !important;
    }

    .zoom-nav-btn.next {
        right: 10px !important;
    }

    .zoom-close {
        top: 20px !important;
        right: 20px !important;
    }
}


.how-it-works-grid,
.source-it-cta-section {
    min-height: 250px;
}


.sourcing-cta-container {
    width: 100%;
    margin-top: 60px;
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
}

.sourcing-cta-card {
    flex: 1;
    background: rgba(42, 42, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sourcing-cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(212, 133, 74, 0.3);
}

.sourcing-cta-content h3 {
    color: var(--color-white);
    margin-bottom: 15px;
    font-family: var(--font-heading);
    font-size: 1.8rem;
}

.sourcing-cta-content p {
    color: var(--color-text-light);
    max-width: 100%;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

.sourcing-cta-content .btn {
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 220px;
}

@media (max-width: 850px) {
    .sourcing-cta-container {
        flex-direction: column;
        gap: 20px;
    }
}


.matlab-cta-box {
    margin-top: 50px !important;
    padding: 40px !important;
    background: rgba(58, 90, 60, 0.05) !important;
    border-radius: 20px !important;
    text-align: center !important;
    border: 1px solid rgba(58, 90, 60, 0.2) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

.matlab-cta-box h3 {
    margin-top: 0 !important;
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 1.8rem !important;
    color: #3A5A3C !important;
    margin-bottom: 20px !important;
    font-weight: 700 !important;
}

.matlab-cta-box p {
    margin-bottom: 25px !important;
    color: #666 !important;
    max-width: 650px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    line-height: 1.6 !important;
    font-size: 1.1rem !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}


.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.service-card--orange:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(212, 133, 74, 0.4);
}

.service-card--green:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(74, 94, 75, 0.5);
}

.service-card--salmon:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(201, 139, 123, 0.5);
}


.learning-track-widget {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
}
.track-header {
    margin-bottom: var(--spacing-md);
}
.track-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-stripe-orange);
    font-weight: 600;
}
.track-name {
    font-size: 1.5rem;
    margin: 5px 0;
    color: var(--color-white);
}
.track-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}
.track-list {
    margin-top: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
    list-style: none;
}
.track-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.2);
    transition: background var(--transition-fast);
}
.track-item:hover {
    background: rgba(255, 255, 255, 0.05);
}
.track-item.current {
    background: rgba(212, 133, 74, 0.1);
    border-left: 3px solid var(--color-stripe-orange);
}
.track-number {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-stripe-dark-green);
    color: var(--color-white);
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: bold;
    flex-shrink: 0;
}
.track-item.current .track-number {
    background: var(--color-stripe-orange);
}
.track-details {
    display: flex;
    align-items: center;
}
.track-title {
    font-weight: 500;
}
a.track-title {
    color: var(--color-text-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}
a.track-title:hover {
    color: var(--color-stripe-salmon);
}
span.track-title {
    color: var(--color-stripe-orange);
}


.related-blogs-section {
    margin: var(--spacing-2xl) 0 0 0;
    padding-top: var(--spacing-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.related-blogs-title {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-lg);
    font-family: var(--font-heading);
}


.learning-track-banner {
    background: linear-gradient(135deg, rgba(74, 94, 75, 0.1), rgba(212, 133, 74, 0.1));
    border: 1px solid rgba(212, 133, 74, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
    text-align: center;
}
.learning-track-banner h2 {
    font-size: 2rem;
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
}
.learning-track-banner p {
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
}
.learning-track-banner .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}


.article-page .learning-track-widget {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
.article-page .track-name {
    color: #1e293b;
}
.article-page .track-desc {
    color: #475569;
}
.article-page .track-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}
.article-page .track-item:hover {
    background: #f1f5f9;
}
.article-page a.track-title {
    color: #3b82f6;
}
.article-page a.track-title:hover {
    color: #2563eb;
    text-decoration: underline;
}
.article-page .track-item.current {
    background: #eff6ff;
    border-left: 3px solid #3b82f6;
}
.article-page .track-item.current .track-number {
    background: #3b82f6;
}

.article-page .related-blogs-section {
    border-top: 2px solid #e2e8f0;
}
.article-page .related-blogs-title {
    color: #1e293b;
}


.article-page .related-blogs-grid .portfolio-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.article-page .related-blogs-grid .portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.article-page .related-blogs-grid .portfolio-card-title {
    color: #1e293b;
    font-size: 1.15rem;
}
.article-page .related-blogs-grid .portfolio-card-description {
    color: #475569;
    font-size: 0.9rem;
}
.article-page .related-blogs-grid .portfolio-card-link {
    color: #3b82f6;
}
.article-page .related-blogs-grid .portfolio-card-link:hover {
    color: #2563eb;
}
.article-page .related-blogs-grid .portfolio-card-image {
    aspect-ratio: 1 / 1; 
    border-bottom: 1px solid #e2e8f0;
}


.related-blogs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 768px) {
    .related-blogs-grid {
        grid-template-columns: repeat(3, 1fr);
        
    }
}


.article-page .learning-track-widget {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
.article-page .track-name {
    color: #1e293b;
}
.article-page .track-desc {
    color: #475569;
}
.article-page .track-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}
.article-page .track-item:hover {
    background: #f1f5f9;
}
.article-page a.track-title {
    color: #3b82f6;
}
.article-page a.track-title:hover {
    color: #2563eb;
    text-decoration: underline;
}
.article-page .track-item.current {
    background: #eff6ff;
    border-left: 3px solid #3b82f6;
}
.article-page .track-item.current .track-number {
    background: #3b82f6;
}

/* --- Accessibility Utilities --- */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

