/* =============================================
   Neil Stephenson - Personal Portfolio
   Designer's Sketchbook Aesthetic
   Refined, warm, sophisticated
   ============================================= */

:root {
    /* Refined Color Palette - Muted & Sophisticated */
    --bg-warm: #FAF6F1;
    --bg-paper: #F5F0E8;
    --ink: #2D2A26;
    --ink-light: #5C5650;
    --ink-faded: #8A847B;

    /* Accent Colors - Dusty & Earthy */
    --terracotta: #C4725F;
    --terracotta-soft: #E8D4CF;
    --sage: #7A9E8E;
    --sage-soft: #D4E0DA;
    --sand: #D4B896;
    --sand-soft: #EDE4D6;
    --dusty-rose: #C9A9A6;
    --dusty-rose-soft: #EBE0DE;
    --slate: #8B9DA5;
    --slate-soft: #D8E0E3;

    /* Typography */
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, sans-serif;

    /* Spacing */
    --section-padding: 56px;
    --container-width: 1140px;

    /* Shadows - Soft & Natural */
    --shadow-sm: 0 2px 8px rgba(45, 42, 38, 0.06);
    --shadow-md: 0 4px 20px rgba(45, 42, 38, 0.08);
    --shadow-lg: 0 8px 40px rgba(45, 42, 38, 0.1);
    --shadow-lift: 0 12px 32px rgba(45, 42, 38, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-warm);
    color: var(--ink);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* Subtle paper texture overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.02;
    pointer-events: none;
    z-index: 1000;
}

/* =============================================
   Background Decorative Blobs - Softer, Subtler
   ============================================= */

.blob {
    position: fixed;
    border-radius: 50% 40% 60% 50%;
    z-index: -1;
    opacity: 0.35;
    filter: blur(60px);
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: var(--sand-soft);
    top: -150px;
    left: -200px;
    animation: blobFloat 25s ease-in-out infinite;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: var(--dusty-rose-soft);
    top: 25%;
    right: -150px;
    border-radius: 60% 40% 50% 60%;
    animation: blobFloat 30s ease-in-out infinite reverse;
}

.blob-3 {
    width: 450px;
    height: 450px;
    background: var(--sage-soft);
    bottom: 15%;
    left: -150px;
    border-radius: 40% 60% 50% 50%;
    animation: blobFloat 28s ease-in-out infinite;
}

.blob-4 {
    width: 350px;
    height: 350px;
    background: var(--slate-soft);
    bottom: -100px;
    right: 5%;
    border-radius: 50% 50% 40% 60%;
    animation: blobFloat 22s ease-in-out infinite reverse;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.02); }
    66% { transform: translate(-20px, 30px) scale(0.98); }
}

/* =============================================
   Header & Navigation
   ============================================= */

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 56px;
    position: relative;
    z-index: 100;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

.logo:hover {
    color: var(--terracotta);
}

.nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink-light);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.01em;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--terracotta);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--ink);
}

.nav-link:hover::after {
    width: 100%;
}

.contact-btn {
    background: var(--ink);
    color: var(--bg-warm) !important;
    padding: 11px 24px;
    border-radius: 100px;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-btn::after {
    display: none;
}

.contact-btn:hover {
    background: var(--terracotta);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* =============================================
   Hero Section
   ============================================= */

.hero {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 32px 56px 56px;
    max-width: var(--container-width);
    margin: 0 auto;
    min-height: auto;
    position: relative;
}

.hero-content {
    position: relative;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4.5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.12;
    color: var(--ink);
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    animation: fadeInUp 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-button {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
    background: transparent;
    border: 1.5px solid var(--ink);
    padding: 16px 32px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.15s both;
    letter-spacing: -0.01em;
}

.cta-button:hover {
    background: var(--sand);
    border-color: var(--sand);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(212, 184, 150, 0.35);
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--ink-light);
    margin-bottom: 24px;
    line-height: 1.6;
    animation: fadeInUp 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both;
}

.hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cta-button-secondary {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink-light);
    background: transparent;
    padding: 16px 32px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: fadeInUp 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.cta-button-secondary:hover {
    color: var(--terracotta);
}

/* Hero Doodles */
.doodle {
    position: absolute;
    color: var(--ink-faded);
    opacity: 0.5;
}

.doodle-cloud {
    width: 50px;
    height: 35px;
    top: -10px;
    right: 45%;
    animation: float 5s ease-in-out infinite;
}

.doodle-stars {
    width: 20px;
    height: 20px;
    top: 25%;
    right: 25%;
    color: var(--sand);
    animation: twinkle 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes twinkle {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.85); }
}

/* Hero Illustration */
.hero-illustration {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.brain-svg {
    width: 100%;
    max-width: 380px;
    height: auto;
}

.brain-path {
    animation: brainPulse 5s ease-in-out infinite;
}

@keyframes brainPulse {
    0%, 100% { fill: #E8D4CF; }
    50% { fill: #EBE0DE; }
}

.gear {
    transform-origin: center;
}

.gear-1 {
    animation: rotateCW 12s linear infinite;
}

.gear-1 circle:first-child {
    fill: var(--sand);
}

.gear-2 {
    animation: rotateCCW 9s linear infinite;
}

.gear-2 circle:first-child {
    fill: var(--terracotta);
}

.gear-3 {
    animation: rotateCW 10s linear infinite;
}

.gear-3 circle:first-child {
    fill: var(--sage);
}

@keyframes rotateCW {
    from { transform: translate(200px, 60px) rotate(0deg); }
    to { transform: translate(200px, 60px) rotate(360deg); }
}

@keyframes rotateCCW {
    from { transform: translate(240px, 110px) rotate(0deg); }
    to { transform: translate(240px, 110px) rotate(-360deg); }
}

.squiggle {
    position: absolute;
    color: var(--ink-faded);
    opacity: 0.4;
}

.squiggle-1 {
    width: 80px;
    bottom: 10px;
    left: 15%;
    animation: squiggleWave 4s ease-in-out infinite;
}

@keyframes squiggleWave {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(6px); }
}

/* =============================================
   Section Styles
   ============================================= */

.section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.section-header.center {
    justify-content: center;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.5vw, 2rem);
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.arrow-doodle {
    width: 70px;
    height: 45px;
    color: var(--ink-faded);
    flex-shrink: 0;
    opacity: 0.5;
}

.arrow-left {
    transform: scaleX(-1);
}

/* =============================================
   What I'm Up To Section
   ============================================= */

.up-to-section {
    padding: var(--section-padding) 56px;
    max-width: var(--container-width);
    margin: 0 auto;
}

.cards-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.card {
    background: var(--bg-paper);
    border: 1.5px solid rgba(45, 42, 38, 0.08);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 20px 20px 0 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card-yellow::before { background: var(--sand); }
.card-teal::before { background: var(--sage); }
.card-coral::before { background: var(--terracotta); }

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lift);
    border-color: transparent;
}

.card:hover::before {
    opacity: 1;
}

.card > * {
    position: relative;
    z-index: 1;
}

.card-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
    background: var(--bg-warm);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon svg {
    width: 28px;
    height: 28px;
}

.card-yellow .card-icon svg circle,
.card-yellow .card-icon svg rect { fill: var(--terracotta); }
.card-teal .card-icon svg rect { fill: var(--ink); }
.card-coral .card-icon svg rect,
.card-coral .card-icon svg circle { fill: var(--sage); }

.card-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.card-desc {
    font-size: 0.85rem;
    color: var(--ink-light);
    margin-bottom: 14px;
    line-height: 1.55;
}

.card-link {
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.card-link:hover {
    color: var(--terracotta);
    gap: 10px;
}

/* =============================================
   My Projects Section
   ============================================= */

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

/* =============================================
   Featured Project Card (AdsPro)
   ============================================= */

.featured-project {
    display: block;
    position: relative;
    background: linear-gradient(135deg, var(--terracotta) 0%, #B85A47 100%);
    border-radius: 16px;
    padding: 28px 32px;
    margin-bottom: 20px;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(196, 114, 95, 0.25);
}

.featured-project::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
}

.featured-project:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(196, 114, 95, 0.35);
}

.featured-project-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 6px 12px;
    border-radius: 100px;
}

.featured-project-content {
    position: relative;
}

.featured-project-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.featured-project-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.featured-project-icon svg {
    width: 24px;
    height: 24px;
}

.featured-project-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: white;
    margin-bottom: 2px;
    letter-spacing: -0.01em;
}

.featured-project-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.featured-project-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0 0 16px 0;
    max-width: 600px;
}

.featured-project-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: var(--terracotta);
    padding: 10px 18px;
    border-radius: 8px;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.featured-project-cta svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.featured-project:hover .featured-project-cta svg {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .featured-project {
        padding: 24px;
    }

    .featured-project-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .featured-project-icon {
        display: none;
    }

    .featured-project-badge {
        position: static;
        display: inline-block;
        margin-bottom: 12px;
    }

    .featured-project-title {
        font-size: 1.2rem;
    }

    .featured-project-cta {
        width: 100%;
        justify-content: center;
    }
}

.projects-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.project-card {
    border: 1.5px solid rgba(45, 42, 38, 0.1);
    border-radius: 12px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.project-yellow { background: var(--sand-soft); }
.project-teal { background: var(--sage-soft); }
.project-coral { background: var(--terracotta-soft); }
.project-pink { background: var(--dusty-rose-soft); }

.project-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lift);
    border-color: transparent;
}

@media (max-width: 768px) {
    .project-desc {
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
        min-height: calc(1.5 * 0.85rem * 4);
    }
}

.project-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: rgba(255,255,255,0.6);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.project-icon svg {
    width: 24px;
    height: 24px;
}

.project-content {
    flex: 1;
}

.project-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.project-desc {
    font-size: 0.85rem;
    color: var(--ink-light);
    line-height: 1.5;
}

.projects-cta {
    margin-top: 24px;
    font-size: 0.95rem;
    color: var(--ink-light);
    text-align: center;
}

.projects-cta a {
    color: var(--terracotta);
    text-decoration: none;
    font-weight: 500;
}

.projects-cta a:hover {
    text-decoration: underline;
}

/* =============================================
   Blog Section
   ============================================= */

.blog-section {
    padding: var(--section-padding) 56px;
    max-width: var(--container-width);
    margin: 0 auto;
    position: relative;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 24px;
    align-items: start;
}

.blog-sidebar {
    background: var(--bg-paper);
    border: 1.5px solid rgba(45, 42, 38, 0.08);
    border-radius: 20px;
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.blog-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 45%;
    background: var(--sand-soft);
    z-index: 0;
}

.blog-sidebar-right::before {
    background: var(--terracotta-soft);
}

.blog-sidebar > * {
    position: relative;
    z-index: 1;
}

.blog-sidebar-header {
    text-align: center;
    margin-bottom: 24px;
}

.robot-face {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 3px;
    margin-bottom: 10px;
    opacity: 0.6;
}

.sidebar-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
}

.recent-posts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.recent-post {
    background: var(--sage-soft);
    border: 1.5px solid rgba(45, 42, 38, 0.08);
    border-radius: 10px;
    height: 56px;
    transition: all 0.3s ease;
}

.recent-post:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.blog-featured {
    background: var(--sage-soft);
    border: 1.5px solid rgba(45, 42, 38, 0.08);
    border-radius: 16px;
    padding: 24px;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.4s ease;
}

.blog-featured:hover {
    box-shadow: var(--shadow-md);
}

.blog-featured-header {
    text-align: center;
    margin-bottom: 24px;
}

.blog-featured-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-featured-content h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.speech-bubbles {
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
}

.speech-bubble {
    width: 56px;
    height: 36px;
    border: 1.5px solid rgba(45, 42, 38, 0.15);
    border-radius: 18px;
    position: relative;
    transition: transform 0.3s ease;
}

.speech-bubble:hover {
    transform: scale(1.05);
}

.bubble-1 {
    background: var(--dusty-rose-soft);
}

.bubble-2 {
    background: var(--terracotta-soft);
}

.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -8px;
    width: 12px;
    height: 12px;
    border: 1.5px solid rgba(45, 42, 38, 0.15);
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

.bubble-1::after {
    left: 14px;
    background: var(--dusty-rose-soft);
}

.bubble-2::after {
    right: 14px;
    background: var(--terracotta-soft);
}

/* Plant Doodles */
.plant-doodle {
    position: absolute;
    width: 70px;
    height: 110px;
    bottom: 30px;
    opacity: 0.6;
}

.plant-doodle ellipse {
    fill: var(--sage);
    stroke: var(--ink-faded);
}

.plant-doodle path {
    stroke: var(--ink-faded);
}

.plant-left {
    left: 30px;
}

.plant-right {
    right: 30px;
    transform: scaleX(-1);
}

/* =============================================
   About Section
   ============================================= */

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

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.about-text .section-title {
    margin-bottom: 20px;
}

.about-text p {
    color: var(--ink-light);
    margin-bottom: 16px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.about-stats {
    display: flex;
    gap: 32px;
    margin-top: 28px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--terracotta);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--ink-faded);
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-image-photo {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg-paper);
    box-shadow: var(--shadow-md);
}

/* =============================================
   YouTube Section
   ============================================= */

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

.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.video-card {
    display: block;
    text-decoration: none;
    background: var(--bg-paper);
    border: 1.5px solid rgba(45, 42, 38, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lift);
    border-color: transparent;
}

.video-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    background: var(--ink);
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: rgba(45, 42, 38, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.video-play-btn svg {
    width: 22px;
    height: 22px;
    fill: var(--bg-warm);
    margin-left: 3px;
}

.video-card:hover .video-play-btn {
    background: var(--terracotta);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(45, 42, 38, 0.85);
    color: var(--bg-warm);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
}

.video-content {
    padding: 18px;
}

.video-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--ink-faded);
}

.video-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.video-meta svg {
    width: 14px;
    height: 14px;
}

/* =============================================
   Newsletter Section
   ============================================= */

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

.newsletter-content {
    background: var(--sage-soft);
    border: 1.5px solid rgba(45, 42, 38, 0.08);
    border-radius: 20px;
    padding: 48px;
    text-align: center;
}

.newsletter-text {
    max-width: 500px;
    margin: 0 auto 28px;
}

.newsletter-text .section-title {
    margin-bottom: 12px;
}

.newsletter-text p {
    color: var(--ink-light);
    font-size: 0.95rem;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 460px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 14px 20px;
    border: 1.5px solid rgba(45, 42, 38, 0.15);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: var(--bg-warm);
    color: var(--ink);
    transition: border-color 0.3s ease;
}

.newsletter-input::placeholder {
    color: var(--ink-faded);
}

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

.newsletter-button {
    padding: 14px 28px;
    background: var(--ink);
    color: var(--bg-warm);
    border: none;
    border-radius: 10px;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-button:hover {
    background: var(--terracotta);
    transform: translateY(-2px);
}

.newsletter-message {
    margin-top: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    min-height: 1.4em;
}

.newsletter-note {
    margin-top: 16px;
    font-size: 0.8rem;
    color: var(--ink-faded);
}

/* =============================================
   Articles Section
   ============================================= */

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

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.section-subtitle {
    color: var(--ink-faded);
    font-size: 0.9rem;
    margin-top: 4px;
}

.section-link {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.section-link:hover {
    color: var(--terracotta);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.article-card {
    background: var(--bg-paper);
    border: 1.5px solid rgba(45, 42, 38, 0.08);
    border-radius: 16px;
    padding: 24px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.article-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lift);
    border-color: transparent;
}

.article-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--terracotta);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.article-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 10px;
    line-height: 1.35;
}

.article-excerpt {
    font-size: 0.85rem;
    color: var(--ink-light);
    line-height: 1.55;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--ink-faded);
}

/* =============================================
   Contact Section
   ============================================= */

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

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

.contact-content .section-title {
    margin-bottom: 12px;
}

.contact-subtitle {
    color: var(--ink-light);
    font-size: 0.95rem;
    max-width: 500px;
    margin: 0 auto 36px;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-card {
    background: var(--bg-paper);
    border: 1.5px solid rgba(45, 42, 38, 0.08);
    border-radius: 16px;
    padding: 28px 24px;
    text-decoration: none;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lift);
    border-color: transparent;
}

.contact-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    color: var(--terracotta);
}

.contact-icon svg {
    width: 100%;
    height: 100%;
}

.contact-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 6px;
}

.contact-card p {
    font-size: 0.85rem;
    color: var(--ink-faded);
}

/* =============================================
   Blog Page Styles
   ============================================= */

.blog-hero {
    padding: 48px 56px 32px;
    max-width: var(--container-width);
    margin: 0 auto;
    text-align: center;
}

.blog-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 12px;
    letter-spacing: -0.03em;
}

.blog-hero-subtitle {
    font-size: 1.05rem;
    color: var(--ink-light);
    max-width: 500px;
    margin: 0 auto;
}

/* Featured Article */
.featured-article-section {
    padding: 32px 56px;
    max-width: var(--container-width);
    margin: 0 auto;
}

.featured-article {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 0;
    background: var(--bg-paper);
    border: 2px solid rgba(45, 42, 38, 0.1);
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
}

.featured-article:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--terracotta);
}

.featured-article-image {
    background: linear-gradient(135deg, var(--sage-soft) 0%, var(--dusty-rose-soft) 100%);
    min-height: 320px;
    position: relative;
}

.featured-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--terracotta);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 4px 12px rgba(196, 114, 95, 0.3);
}

.featured-article-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-article-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 16px;
    line-height: 1.25;
}

.featured-article-excerpt {
    font-size: 1rem;
    color: var(--ink-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Blog Filters */
.blog-filters {
    padding: 16px 56px 32px;
    max-width: var(--container-width);
    margin: 0 auto;
}

.filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 10px 20px;
    background: transparent;
    border: 1.5px solid rgba(45, 42, 38, 0.12);
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tab:hover {
    border-color: var(--ink);
    color: var(--ink);
}

.filter-tab.active {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--bg-warm);
}

/* Blog Articles Grid */
.blog-articles-section {
    padding: 0 56px 56px;
    max-width: var(--container-width);
    margin: 0 auto;
}

.blog-articles-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 48px;
}

.blog-articles-grid .article-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 28px;
    padding: 0;
    overflow: hidden;
}

.blog-articles-grid .article-card .article-image {
    background: var(--sage-soft);
    min-height: 160px;
    border-radius: 12px 0 0 12px;
}

.blog-articles-grid .article-card .article-body {
    padding: 24px 28px 24px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-articles-grid .article-card .article-title {
    font-size: 1.35rem;
    margin-bottom: 12px;
    line-height: 1.3;
}

.blog-articles-grid .article-card .article-excerpt {
    margin-bottom: 16px;
    -webkit-line-clamp: 3;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive blog articles */
@media (max-width: 768px) {
    .blog-articles-grid .article-card {
        grid-template-columns: 140px 1fr;
        gap: 20px;
    }

    .blog-articles-grid .article-card .article-image {
        min-height: 140px;
    }

    .blog-articles-grid .article-card .article-body {
        padding: 20px 20px 20px 0;
    }

    .blog-articles-grid .article-card .article-title {
        font-size: 1.15rem;
    }

    .featured-article {
        grid-template-columns: 1fr;
    }

    .featured-article-image {
        min-height: 200px;
    }

    .featured-article-content {
        padding: 24px;
    }

    .featured-article-title {
        font-size: 1.35rem;
    }
}

@media (max-width: 480px) {
    .blog-articles-grid .article-card {
        grid-template-columns: 1fr;
    }

    .blog-articles-grid .article-card .article-image {
        min-height: 180px;
        border-radius: 16px 16px 0 0;
    }

    .blog-articles-grid .article-card .article-body {
        padding: 20px;
    }

    .blog-articles-grid .article-card .article-title {
        font-size: 1.2rem;
    }
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.pagination-btn {
    padding: 10px 20px;
    background: transparent;
    border: 1.5px solid rgba(45, 42, 38, 0.12);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(.disabled) {
    border-color: var(--ink);
    color: var(--ink);
}

.pagination-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-num {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-num:hover {
    background: var(--bg-paper);
    color: var(--ink);
}

.pagination-num.active {
    background: var(--ink);
    color: var(--bg-warm);
}

.pagination-dots {
    color: var(--ink-faded);
}

/* =============================================
   Article Page Styles
   ============================================= */

.article-page {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px;
}

.article-header {
    padding: 32px 0 24px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--ink-light);
    text-decoration: none;
    margin-bottom: 24px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--terracotta);
}

.article-page-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--ink);
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.article-page-excerpt {
    font-size: 1.15rem;
    color: var(--ink-light);
    line-height: 1.6;
    margin-bottom: 24px;
}

.article-page-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(45, 42, 38, 0.08);
}

.author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-paper);
    overflow: hidden;
}

.author-avatar svg {
    width: 100%;
    height: 100%;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--ink);
    font-size: 0.95rem;
}

.article-date {
    font-size: 0.85rem;
    color: var(--ink-faded);
}

.share-buttons {
    display: flex;
    gap: 8px;
}

.share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-paper);
    border: none;
    border-radius: 50%;
    color: var(--ink-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-btn svg {
    width: 18px;
    height: 18px;
}

.share-btn:hover {
    background: var(--ink);
    color: var(--bg-warm);
}

/* Article Featured Image */
.article-featured-image {
    margin: 0 -24px 40px;
    max-width: calc(100% + 48px);
}

.image-placeholder {
    background: var(--sage-soft);
    border-radius: 16px;
    height: 400px;
}

/* Article Content */
.article-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--ink);
}

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

.article-content .lead {
    font-size: 1.2rem;
    color: var(--ink-light);
    line-height: 1.7;
}

.article-content h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--ink);
    margin: 48px 0 20px;
    letter-spacing: -0.01em;
}

.article-content h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ink);
    margin: 36px 0 16px;
}

.article-content ul,
.article-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

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

.article-content blockquote {
    margin: 32px 0;
    padding: 24px 28px;
    background: var(--bg-paper);
    border-left: 4px solid var(--terracotta);
    border-radius: 0 12px 12px 0;
}

.article-content blockquote p {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--ink);
}

/* Code Block */
.code-block {
    margin: 28px 0;
    background: var(--ink);
    border-radius: 12px;
    overflow: hidden;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
}

.code-lang {
    font-size: 0.8rem;
    color: var(--ink-faded);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.code-copy {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--bg-warm);
    cursor: pointer;
    transition: background 0.3s ease;
}

.code-copy:hover {
    background: rgba(255, 255, 255, 0.2);
}

.code-block pre {
    padding: 20px;
    margin: 0;
    overflow-x: auto;
}

.code-block code {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.9rem;
    color: var(--bg-warm);
    line-height: 1.6;
}

/* Callout Boxes */
.callout {
    display: flex;
    gap: 16px;
    margin: 28px 0;
    padding: 20px;
    border-radius: 12px;
}

.callout-info {
    background: var(--sage-soft);
    border: 1px solid rgba(122, 158, 142, 0.3);
}

.callout-warning {
    background: var(--sand-soft);
    border: 1px solid rgba(212, 184, 150, 0.4);
}

.callout-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--sage);
}

.callout-warning .callout-icon {
    color: var(--terracotta);
}

.callout-icon svg {
    width: 100%;
    height: 100%;
}

.callout-content {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Results Grid */
.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 32px 0;
}

.result-card {
    background: var(--bg-paper);
    border: 1.5px solid rgba(45, 42, 38, 0.08);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.result-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--terracotta);
    letter-spacing: -0.02em;
}

.result-label {
    font-size: 0.85rem;
    color: var(--ink-faded);
}

/* Article Footer */
.article-footer {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(45, 42, 38, 0.08);
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

.tag {
    padding: 6px 14px;
    background: var(--bg-paper);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--ink-light);
}

.article-share {
    margin-bottom: 32px;
}

.share-label {
    display: block;
    font-size: 0.9rem;
    color: var(--ink-faded);
    margin-bottom: 12px;
}

.share-buttons-large {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.share-btn-large {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--bg-paper);
    border: 1.5px solid rgba(45, 42, 38, 0.08);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-btn-large svg {
    width: 18px;
    height: 18px;
}

.share-btn-large:hover {
    border-color: var(--ink);
}

/* Author Box */
.author-box {
    display: flex;
    gap: 24px;
    padding: 28px;
    background: var(--bg-paper);
    border-radius: 16px;
    margin-bottom: 48px;
}

.author-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-warm);
    flex-shrink: 0;
    overflow: hidden;
}

.author-avatar-large svg {
    width: 100%;
    height: 100%;
}

.author-box-content h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
}

.author-box-content p {
    font-size: 0.95rem;
    color: var(--ink-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.author-links {
    display: flex;
    gap: 16px;
}

.author-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--terracotta);
    text-decoration: none;
}

.author-link:hover {
    text-decoration: underline;
}

/* Related Articles */
.related-articles {
    padding: 56px;
    max-width: var(--container-width);
    margin: 0 auto;
}

.related-articles .section-title {
    margin-bottom: 28px;
}

/* =============================================
   Footer
   ============================================= */

.footer {
    padding: 32px 56px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(45, 42, 38, 0.08);
    margin-top: 40px;
}

.footer p {
    font-size: 0.85rem;
    color: var(--ink-faded);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-light);
    transition: all 0.3s ease;
    border-radius: 50%;
    background: var(--bg-paper);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.social-link:hover {
    color: var(--terracotta);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

/* =============================================
   Animations
   ============================================= */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(24px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll animations */
.card,
.project-card,
.blog-sidebar,
.blog-featured {
    opacity: 0;
    transform: translateY(24px);
    animation: fadeInUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.cards-row .card:nth-child(1) { animation-delay: 0.1s; }
.cards-row .card:nth-child(2) { animation-delay: 0.2s; }
.cards-row .card:nth-child(3) { animation-delay: 0.3s; }

.projects-grid .project-card:nth-child(1) { animation-delay: 0.1s; }
.projects-grid .project-card:nth-child(2) { animation-delay: 0.2s; }
.projects-grid .project-card:nth-child(3) { animation-delay: 0.3s; }
.projects-grid .project-card:nth-child(4) { animation-delay: 0.4s; }

/* =============================================
   Responsive Design
   ============================================= */

@media (max-width: 968px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 32px 28px;
        gap: 32px;
    }

    .hero-content {
        order: 2;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-illustration {
        order: 1;
    }

    .brain-svg {
        max-width: 240px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .blog-sidebar-right {
        order: 3;
    }

    .videos-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

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

    .about-image {
        order: -1;
    }

    .about-stats {
        justify-content: center;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-options {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 20px 24px;
        flex-wrap: wrap;
        gap: 12px;
    }

    .nav {
        gap: 20px;
    }

    .up-to-section,
    .projects-section,
    .blog-section,
    .youtube-section {
        padding: 40px 24px;
    }

    .footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 28px 24px;
    }

    .plant-doodle {
        display: none;
    }

    .videos-grid {
        grid-template-columns: 1fr;
    }

    .about-section,
    .newsletter-section,
    .articles-section,
    .contact-section {
        padding: 40px 24px;
    }

    .newsletter-content {
        padding: 32px 24px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .about-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nav-link:not(.contact-btn) {
        display: none;
    }

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

    .section-title {
        font-size: 1.6rem;
    }

    .arrow-doodle {
        width: 45px;
    }

    .cards-row {
        gap: 20px;
    }

    .card {
        padding: 24px;
    }
}

/* =============================================
   Accessibility Utilities
   ============================================= */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--terracotta);
    outline-offset: 2px;
}

/* =============================================
   Breadcrumb Navigation
   ============================================= */

.breadcrumb {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 1rem 24px;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--ink-faded);
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: var(--ink-faded);
}

.breadcrumb a {
    color: var(--ink-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: var(--terracotta);
}

.breadcrumb [aria-current="page"] {
    color: var(--ink);
    font-weight: 500;
}

/* =============================================
   CSS Custom Properties for 404 page
   ============================================= */

.accent-coral {
    color: var(--terracotta);
}

.text-secondary {
    color: var(--ink-light);
}

/* =============================================
   AdsPro Landing Page Styles
   ============================================= */

/* Ads Hero Section */
.ads-hero {
    padding: 80px 56px 100px;
    max-width: var(--container-width);
    margin: 0 auto;
    text-align: center;
}

.ads-hero-content {
    max-width: 820px;
    margin: 0 auto;
}

.ads-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-paper);
    border: 2px solid var(--terracotta);
    padding: 12px 24px;
    border-radius: 100px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-md);
}

.ads-hero-badge svg {
    width: 20px;
    height: 20px;
    color: var(--terracotta);
    fill: var(--terracotta);
}

.ads-hero-badge span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
}

.ads-hero-badge .badge-note {
    color: var(--ink-faded);
    font-weight: 400;
}

.ads-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.12;
    color: var(--ink);
    margin-bottom: 28px;
    letter-spacing: -0.03em;
}

.ads-hero-title .highlight {
    display: block;
    color: var(--terracotta);
    margin-top: 8px;
}

.ads-hero-subtitle {
    font-size: 1.15rem;
    color: var(--ink-light);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.ads-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 1.5px solid var(--ink);
    color: var(--ink);
    padding: 16px 32px;
    border-radius: 10px;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ads-cta-primary svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.ads-cta-primary:hover {
    background: var(--sand);
    border-color: var(--sand);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(212, 184, 150, 0.35);
}

.ads-cta-primary:hover svg {
    transform: translateX(4px);
}

.ads-cta-primary.large {
    padding: 18px 36px;
    font-size: 1rem;
}

.ads-hero-checks {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    margin-bottom: 40px;
}

.ads-check {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ink-light);
    font-size: 0.95rem;
}

.ads-check svg {
    width: 20px;
    height: 20px;
    color: var(--sage);
}

/* Ads Engine Section */
.ads-engine-section {
    padding: 80px 24px;
}

.ads-engine-content {
    max-width: 900px;
    margin: 0 auto;
}

.ads-engine-text .section-title {
    text-align: center;
    margin-bottom: 20px;
}

.ads-engine-intro {
    font-size: 1.1rem;
    color: var(--ink-light);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

/* Ads About Section */
.ads-about-section {
    padding: var(--section-padding) 56px;
    background: var(--bg-paper);
}

.ads-about-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    gap: 48px;
    align-items: flex-start;
}

.ads-about-image img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

.ads-about-text .section-title {
    margin-bottom: 12px;
}

.ads-about-headline {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--terracotta);
    margin-bottom: 24px;
}

.ads-about-body p {
    font-size: 1rem;
    color: var(--ink-light);
    line-height: 1.75;
    margin-bottom: 16px;
}

.ads-about-body .highlight-text {
    font-weight: 600;
    color: var(--ink);
}

/* Ads Custom Section */
.ads-custom-section {
    padding: var(--section-padding) 56px;
    background: var(--ink);
    color: var(--bg-warm);
}

.ads-custom-content {
    max-width: 800px;
    margin: 0 auto;
}

.ads-custom-content .section-title {
    color: var(--bg-warm);
    margin-bottom: 24px;
}

.ads-custom-intro {
    font-size: 1.15rem;
    color: rgba(250, 246, 241, 0.75);
    margin-bottom: 32px;
    line-height: 1.7;
}

.ads-custom-subhead {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--bg-warm);
    margin-bottom: 24px;
}

.ads-custom-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.ads-custom-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 1.1rem;
    color: var(--bg-warm);
    margin-bottom: 16px;
    line-height: 1.5;
}

.ads-custom-list svg {
    width: 24px;
    height: 24px;
    color: var(--sage);
    flex-shrink: 0;
    margin-top: 2px;
}

.ads-custom-outro {
    font-size: 1.15rem;
    color: rgba(250, 246, 241, 0.75);
    line-height: 1.7;
}

/* Ads Process Section */
.ads-process-section {
    padding: var(--section-padding) 56px;
    background: var(--bg-warm);
}

.ads-process-content {
    max-width: 800px;
    margin: 0 auto;
}

.ads-process-content .section-title {
    text-align: center;
    margin-bottom: 48px;
}

.ads-process-steps {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.ads-process-step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.step-number {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    background: var(--terracotta);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
}

.step-content h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
}

.step-content p {
    font-size: 1rem;
    color: var(--ink-light);
    line-height: 1.6;
}

/* Ads Final CTA Section */
.ads-final-cta-section {
    padding: var(--section-padding) 56px;
    background: linear-gradient(135deg, var(--sage-soft) 0%, var(--dusty-rose-soft) 100%);
}

.ads-final-cta-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-warm);
    border: 2px solid var(--terracotta);
    border-radius: 24px;
    padding: 56px 48px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.ads-final-cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 16px;
}

.ads-final-cta-subtitle {
    font-size: 1.1rem;
    color: var(--ink-light);
    max-width: 600px;
    margin: 0 auto 40px;
}

.ads-final-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(45, 42, 38, 0.1);
}

.ads-final-stat {
    text-align: center;
}

.ads-final-stat .stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--terracotta);
    margin-bottom: 4px;
}

.ads-final-stat .stat-label {
    font-size: 0.9rem;
    color: var(--ink-faded);
}

.ads-final-next {
    margin-top: 48px;
}

.ads-final-next h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 20px;
}

.ads-next-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
    max-width: 560px;
    margin: 0 auto;
}

.ads-next-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.next-step-num {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    background: var(--terracotta-soft);
    color: var(--terracotta);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
}

.ads-next-step p {
    font-size: 0.95rem;
    color: var(--ink-light);
    line-height: 1.6;
    padding-top: 3px;
    margin: 0;
}

/* Ads Page Responsive */
@media (max-width: 968px) {
    .ads-about-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .ads-final-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .ads-hero {
        padding: 56px 24px 72px;
    }

    .ads-hero-title {
        font-size: clamp(1.85rem, 7vw, 2.4rem);
        margin-bottom: 20px;
    }

    .ads-hero-subtitle {
        font-size: 1.02rem;
        margin-bottom: 32px;
    }

    .ads-hero-checks {
        flex-direction: column;
        gap: 14px;
        align-items: flex-start;
        text-align: left;
        max-width: 260px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 36px;
    }

    .ads-check {
        font-size: 0.9rem;
    }

    .ads-cta-primary {
        width: 100%;
        justify-content: center;
        padding: 16px 28px;
        font-size: 0.95rem;
    }

    .ads-cta-primary.large {
        padding: 18px 32px;
        font-size: 1rem;
    }

    .ads-hero-urgency {
        font-size: 0.85rem;
        margin-top: 20px;
    }

    .ads-engine-section,
    .ads-about-section,
    .ads-custom-section,
    .ads-process-section,
    .ads-final-cta-section {
        padding: 56px 24px;
    }

    .ads-engine-intro {
        font-size: 1rem;
    }

    .ads-process-step {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        align-items: center;
    }

    .ads-final-cta-content {
        padding: 36px 24px;
    }

    .ads-next-steps {
        text-align: center;
    }

    .ads-next-step {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}

/* =============================================
   Application Modal Styles
   ============================================= */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(45, 42, 38, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.modal-container {
    background: var(--bg-warm);
    border-radius: 20px;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s ease;
    box-shadow: 0 24px 64px rgba(45, 42, 38, 0.3);
}

.modal-overlay.active .modal-container {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--ink-faded);
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--ink);
}

.modal-close svg {
    width: 24px;
    height: 24px;
}

.modal-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
    padding-right: 40px;
}

.modal-subtitle {
    font-size: 0.95rem;
    color: var(--ink-faded);
    margin-bottom: 28px;
}

/* Form Styles */
.application-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 14px 16px;
    border: 1.5px solid rgba(45, 42, 38, 0.15);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--ink);
    background: white;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--ink-faded);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--terracotta);
    box-shadow: 0 0 0 3px rgba(196, 114, 95, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.select-wrapper {
    position: relative;
}

.select-wrapper select {
    appearance: none;
    padding-right: 44px;
    cursor: pointer;
}

.select-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--ink-faded);
    pointer-events: none;
}

.form-submit {
    margin-top: 8px;
    padding: 16px 24px;
    background: var(--ink);
    color: var(--bg-warm);
    border: none;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.form-submit:hover:not(:disabled) {
    background: var(--terracotta);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(45, 42, 38, 0.08);
}

.form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.submit-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.spinner {
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Form Messages */
.form-message {
    text-align: center;
    padding: 20px;
}

.form-message svg {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
}

.form-message.success svg {
    color: var(--sage);
}

.form-message.error svg {
    color: var(--terracotta);
}

.form-message h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
}

.form-message p {
    font-size: 0.95rem;
    color: var(--ink-light);
}

@media (max-width: 600px) {
    .modal-container {
        padding: 28px 24px;
    }

    .modal-title {
        font-size: 1.3rem;
    }
}

/* =============================================
   AdsPro Page - New Sections Styles
   ============================================= */

/* Hero Section Updates */
.ads-hero-urgency {
    margin-top: 20px;
    font-size: 0.95rem;
    color: var(--ink-faded);
}

/* Problem Section */
.ads-problem-section {
    padding: 80px 24px;
    background: rgba(45, 42, 38, 0.03);
}

.ads-problem-content {
    max-width: 900px;
    margin: 0 auto;
}

.ads-problem-content .section-title {
    text-align: center;
    margin-bottom: 48px;
}

.ads-problem-cards {
    display: grid;
    gap: 24px;
}

.ads-problem-card {
    background: var(--bg-warm);
    border-radius: 16px;
    padding: 28px 32px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    box-shadow: 0 2px 12px rgba(45, 42, 38, 0.06);
}

.problem-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--terracotta);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
}

.ads-problem-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ink-light);
    margin: 0;
}

.ads-problem-card em {
    font-style: italic;
}

.ads-problem-transition {
    text-align: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ink);
    margin-top: 48px;
}

/* Solution Cards (within Engine Section) */
.ads-solution-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 32px 0;
}

.ads-solution-card {
    background: rgba(45, 42, 38, 0.03);
    border-radius: 16px;
    padding: 28px;
}

.ads-solution-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 16px;
}

.ads-solution-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ads-solution-card li {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--ink-light);
    padding-left: 20px;
    position: relative;
}

.ads-solution-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--terracotta);
    font-weight: bold;
}

.ads-engine-closing {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ink);
    text-align: center;
    margin-top: 32px;
}

/* Differentiation Section */
.ads-diff-section {
    padding: 80px 24px;
    background: rgba(45, 42, 38, 0.03);
}

.ads-diff-content {
    max-width: 800px;
    margin: 0 auto;
}

.ads-diff-content .section-title {
    text-align: center;
    margin-bottom: 40px;
}

.ads-diff-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--ink-light);
}

.ads-diff-body p {
    margin-bottom: 20px;
}

.ads-diff-body p:last-child {
    margin-bottom: 0;
}

.ads-diff-body strong {
    color: var(--ink);
}

/* Who This Is For Section */
.ads-fit-section {
    padding: 80px 24px;
}

.ads-fit-content {
    max-width: 1000px;
    margin: 0 auto;
}

.ads-fit-content .section-title {
    text-align: center;
    margin-bottom: 48px;
}

.ads-fit-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.ads-fit-column {
    background: var(--bg-warm);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(45, 42, 38, 0.06);
}

.ads-fit-column h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.ads-fit-for h3 {
    color: var(--sage);
}

.ads-fit-not h3 {
    color: var(--terracotta);
}

.ads-fit-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ads-fit-column li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--ink-light);
}

.fit-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.fit-icon.fit-yes {
    color: var(--sage);
}

.fit-icon.fit-no {
    color: var(--terracotta);
}

/* FAQ Section */
.ads-faq-section {
    padding: 80px 24px;
    background: rgba(45, 42, 38, 0.03);
}

.ads-faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.ads-faq-content .section-title {
    text-align: center;
    margin-bottom: 48px;
}

.ads-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ads-faq-item {
    background: var(--bg-warm);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(45, 42, 38, 0.04);
}

.ads-faq-item summary {
    padding: 20px 24px;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: background 0.2s ease;
}

.ads-faq-item summary::-webkit-details-marker {
    display: none;
}

.ads-faq-item summary::after {
    content: "+";
    flex-shrink: 0;
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--ink-faded);
    transition: transform 0.2s ease;
}

.ads-faq-item[open] summary::after {
    transform: rotate(45deg);
}

.ads-faq-item summary:hover {
    background: rgba(45, 42, 38, 0.02);
}

.ads-faq-item p {
    padding: 0 24px 20px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--ink-light);
    margin: 0;
}

/* Testimonials Section */
.ads-testimonials-section {
    padding: 80px 24px;
}

.ads-testimonials-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.ads-testimonials-content .section-title {
    margin-bottom: 24px;
}

.ads-testimonials-note {
    font-size: 1rem;
    color: var(--ink-faded);
    font-style: italic;
}

/* Responsive Adjustments for New Sections */
@media (max-width: 768px) {
    .ads-problem-section,
    .ads-diff-section,
    .ads-fit-section,
    .ads-faq-section,
    .ads-testimonials-section {
        padding: 48px 24px;
    }

    .ads-problem-card {
        padding: 20px 24px;
    }

    .ads-problem-transition {
        font-size: 1.25rem;
        margin-top: 32px;
    }

    .ads-solution-cards {
        grid-template-columns: 1fr;
    }

    .ads-fit-columns {
        grid-template-columns: 1fr;
    }

    .ads-fit-column {
        padding: 24px;
    }

    .ads-engine-closing {
        font-size: 1.1rem;
    }
}
