:root {
    --color-dark: #121413;
    --color-dark-green: #1a241b;
    --color-accent-green: #4A5E4B;
    --color-stripe-dark-green: #2D4A2E;
    --color-stripe-green: #5A8F5C;
    --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: linear-gradient(135deg, #0f1210 0%, #1a241b 100%);
    --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, var(--color-stripe-green), var(--color-stripe-orange));
    --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);
    --shadow-glow: 0 0 20px rgba(90, 143, 92, 0.2);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

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

/* ============================================
   HERO SECTION
   ============================================ */
.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;
    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);
}

.hero-video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transform: scale(1.02);
}

/* ============================================
   BG SHAPES (Decorative)
   ============================================ */
.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.04;
    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 SECTION
   ============================================ */
.about-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* ============================================
   PORTFOLIO / TOOLS / BLOG SECTIONS (Home Page)
   ============================================ */
.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;
}

/* Inherited styles from above */

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



/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.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;
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

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

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

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

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

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

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;
    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-block;
}

.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%;
}

@media (max-width:768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

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

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

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

.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;
}

.btn-primary,
.btn-dark {
    background: var(--gradient-btn);
    color: var(--color-white);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.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);
    box-shadow: 0 8px 25px rgba(212, 133, 74, 0.4);
}

.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);
}

/* Fix visibility on white article backgrounds */
.article-container .btn-outline {
    color: var(--color-dark);
    border: 1px solid rgba(0, 0, 0, 0.2);
}

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

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-dark);
    border-color: var(--color-white);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}



.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);
    box-shadow: 0 0 0 4px rgba(212, 133, 74, 0.1);
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    width: 20px;
    height: 20px;
}

.search-icon svg {
    width: 20px;
    height: 20px;
    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-2xl) 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);
}

/* Consolidated above */

.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-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-2xl) 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;
}

@media (max-width:1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-container {
        grid-template-columns: 1fr;
    }

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

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

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

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

.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;
    /* Increased padding for better reading */
    background-color: #ffffff;
    border-radius: 12px;
    /* Slightly less rounded for premium feel */
    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;
    /* Slightly larger text */
    line-height: 1.85;
    color: #2d3436;
    text-align: justify;
}

.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 ul,
.article-content ol {
    margin-bottom: 30px;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 12px;
}

.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);
    /* Reduced from 3.5rem max */
    font-weight: 700;
    color: #1a1f1c;
    margin-bottom: 40px;
    line-height: 1.2;
}

.hero-image-container {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 50px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.article-hero-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

/* Post Content Images */
.post-image {
    margin: 50px 0;
    text-align: center;
}

.post-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

/* Video Styling */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    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;
}

.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);
}

.portfolio-grid,
.saas-grid,
.promo-grid,
#home-tools-grid,
#portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    width: 100%;
    align-items: stretch;
}

#home-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: var(--spacing-lg);
    width: 100%;
    align-items: stretch;
}

@media (max-width:768px) {
    .article-container {
        padding: 40px 20px;
        border-radius: 0;
        margin: 0;
    }

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

    .article-content {
        font-size: 1.1rem;
    }
}

@media (max-width:768px) {

    .portfolio-grid,
    .saas-grid,
    .promo-grid,
    #home-tools-grid,
    #portfolio-grid {
        grid-template-columns: 1fr;
    }

    #home-blog-grid {
        grid-template-columns: 1fr !important;
    }
}

.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-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: #191919;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.9);
    border-radius: 4px;
    /* Sharper corners */
    overflow: hidden;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    position: relative;
    font-family: var(--font-body);
}

.info-modal-header {
    background: #191919;
    /* Match body for seamless look */
    padding: 30px 40px 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: none;
}

.info-modal h3 {
    color: #e6955b;
    /* Specific orange */
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0 0 5px 0;
    letter-spacing: 0;
}

.info-modal .last-updated {
    color: #888;
    font-size: 0.85rem;
    margin: 0;
    font-style: italic;
    font-weight: 400;
}

.info-modal-body {
    padding: 20px 40px 30px;
    color: #cccccc;
    line-height: 1.6;
    font-size: 0.95rem;
    max-height: 450px;
    overflow-y: auto;
}

.info-modal-body h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    margin-top: 25px;
    margin-bottom: 10px;
}

.info-modal-body p {
    margin-bottom: 15px;
}

.info-modal-close {
    color: #888;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1;
    padding: 0;
    margin-top: 0;
}

.info-modal-close:hover {
    color: #fff;
}

.info-modal-footer {
    padding: 20px 40px 30px;
    background: #191919;
    display: flex;
    justify-content: flex-end;
}

.modal-btn {
    background: #e6955b;
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 2px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s;
    box-shadow: none;
}



.modal-btn:hover {
    background: #d4854a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 133, 74, 0.3);
}

/* Added for Tools Section Fix */
.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: 800px;
    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-block;
    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);
}

.back-arrow,
.btn-svg-arrow {
    width: 1.1rem;
    height: 1.1rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    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);
}

/* --- PROMO CODES PAGE --- */
.promo-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.promo-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-orange);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.promo-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #fff;
    /* White background for logos usually looks better */
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-image {
    width: 60%;
    height: 60%;
    object-fit: contain;
    transition: transform 0.6s ease;
}

.promo-card:hover .promo-image {
    transform: scale(1.1);
}

.promo-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--color-orange);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(212, 133, 74, 0.3);
    z-index: 2;
}

.promo-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.promo-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: white;
}

.promo-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.promo-coupon-section {
    margin-bottom: 1.5rem;
}

.promo-code-box {
    background: rgba(212, 133, 74, 0.05);
    border: 2px dashed rgba(212, 133, 74, 0.3);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.promo-code-box:hover {
    background: rgba(212, 133, 74, 0.1);
    border-color: var(--color-orange);
}

.promo-code-box.copied {
    background: rgba(16, 185, 129, 0.1);
    border-color: #10b981;
}

.code-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-orange);
    margin-bottom: 4px;
    font-weight: 600;
}

.promo-code-box.copied .code-label {
    color: #10b981;
}

.code-value {
    font-family: 'Inter', monospace;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: white;
    margin-bottom: 4px;
}

.copy-hint {
    font-size: 0.6rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.promo-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.promo-btn:hover {
    background: white;
    color: black;
    border-color: white;
}

.promo-btn svg {
    opacity: 0.6;
    transition: transform 0.3s ease;
}

.promo-btn:hover svg {
    opacity: 1;
    transform: translate(2px, -2px);
}



/* ============================================
   PORTFOLIO CARD (Dynamic Content Cards)
   ============================================ */
/* .portfolio-card moved to end of file */

.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
   ============================================ */
.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-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

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

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

@media (max-width: 768px) {
    .portfolio-card-title {
        font-size: 1.1rem;
    }

    .footer-actions-list {
        flex-direction: column;
    }

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




/* ============================================
   SEARCH BAR (Internal Pages)
   ============================================ */
.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);
    box-shadow: 0 0 20px rgba(212, 133, 74, 0.1);
}


/* ============================================
   RESPONSIVE FOOTER
   ============================================ */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-xl);
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
    }

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

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

/* ============================================
   REMAINING MISSING CLASSES
   ============================================ */
.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);
}

/* ============================================ 
   Standardized Card Styles
   ============================================ */

.portfolio-card {
    background: rgba(255, 255, 255, 0.03);
    /* Slightly lighter for contrast */
    /* Slightly lighter for contrast */
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    /* NEW: Flexbox */
    flex-direction: column;
    /* NEW: Column */
    height: 100%;
    /* NEW: Full height */
    cursor: pointer;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.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-white);
    margin-bottom: 10px;
    line-height: 1.3;
}

.portfolio-card-description {
    font-size: 0.95rem;
    color: var(--color-text-light);
    /* Standardized color */
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    /* Pushes button to bottom */
}

.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;
    /* Ensures it sits at bottom if flex-grow fails */
}

.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;
}

/* ============================================
   WAITLIST PREMIUM UI
   ============================================ */
.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;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), var(--shadow-glow);
    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 {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 25px rgba(90, 143, 92, 0.5);
    background: linear-gradient(135deg, #5fb061, #1a2a1b);
}

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

/* Standardized Arrow Animations */
.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);
}

/* Glassmorphism Waitlist Modal */
.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);
    box-shadow: 0 0 15px rgba(90, 143, 92, 0.2);
    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;
}

.pulse-glow {
    animation: pulseGlow 3s infinite;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 5px rgba(90, 143, 92, 0.2);
    }

    50% {
        box-shadow: 0 0 20px rgba(90, 143, 92, 0.6);
    }

    100% {
        box-shadow: 0 0 5px rgba(90, 143, 92, 0.2);
    }
}

/* Tile Waitlist Overlay */
.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;
    /* Let clicks pass through unless hovering */
}

.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;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

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

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