/* --- FONTS & VARIABLES --- */
/* Font loading moved to HTML for performance */

:root {
    --bg-color: #000000;
    --card-bg: #141414;
    --card-glass: rgba(10, 10, 10, 0.85);
    --text-color: #ffffff;
    --text-muted: #9CA3AF;
    --border-color: #333;

    --col-particulier: #FF9F1C;
    --col-creative: #FF0055;
    --col-kmo: #00F0FF;
    --col-managed: #39FF14;
    --col-synergy: #9900ff;

    --font-main: 'Outfit', sans-serif;
    --container-width: 1200px;
    --container-wide: 1400px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

/* --- VANTA BACKGROUND --- */
#vanta-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background-color: #000000;
    /* Prevent flash of unstyled content/white background */
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.container-wide {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 20px;
}

/* KNOP STIJLEN (Algemeen) */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-align: center;
    background: white;
    color: black;
    margin-top: 25px;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

/* --- MODERN NAVIGATION MENU --- */
.main-nav {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Always Visible Buttons */
.nav-visible {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-btn {
    height: 48px;
    padding: 0 20px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

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

.logo-btn {
    padding: 0 2px;
    height: 48px;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-btn img {
    height: 96px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-btn:hover img {
    transform: scale(1.05);
}

.help-btn {
    width: 48px;
    padding: 0;
    font-size: 1.2rem;
}

.contact-btn {
    text-decoration: none;
}

.help-btn.hidden {
    display: none !important;
}

/* Expandable Menu */
.nav-expandable {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    opacity: 0;
    transform: translateX(-20px) scale(0.95);
    pointer-events: none;
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 0;
    overflow: hidden;
}

.main-nav:hover .nav-expandable,
.main-nav.is-open .nav-expandable {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
    max-width: 2000px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.nav-link {
    height: 48px;
    padding: 0 18px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    color: white;
    transform: translateY(-2px);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
    padding-left: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-action-btn {
    height: 48px;
    padding: 0 16px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.nav-action-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    color: white;
    transform: translateY(-2px);
}

.nav-action-btn.active {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
}

/* Stagger animation for menu items */
.main-nav:hover .nav-link,
.main-nav.is-open .nav-link {
    animation: navItemFadeIn 0.4s ease forwards;
    opacity: 0;
}

.main-nav:hover .nav-link:nth-child(1),
.main-nav.is-open .nav-link:nth-child(1) {
    animation-delay: 0.05s;
}

.main-nav:hover .nav-link:nth-child(2),
.main-nav.is-open .nav-link:nth-child(2) {
    animation-delay: 0.1s;
}

.main-nav:hover .nav-link:nth-child(3),
.main-nav.is-open .nav-link:nth-child(3) {
    animation-delay: 0.15s;
}

.main-nav:hover .nav-link:nth-child(4),
.main-nav.is-open .nav-link:nth-child(4) {
    animation-delay: 0.2s;
}

.main-nav:hover .nav-link:nth-child(5),
.main-nav.is-open .nav-link:nth-child(5) {
    animation-delay: 0.25s;
}

@keyframes navItemFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

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

/* Mobile Styles */
@media (max-width: 900px) {
    .main-nav {
        left: 60px;
        top: 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .nav-visible {
        gap: 8px;
    }

    .nav-btn {
        height: 44px;
        padding: 0 16px;
        font-size: 0.85rem;
    }

    .help-btn {
        width: 44px;
        font-size: 1.1rem;
    }

    .nav-expandable {
        position: absolute;
        top: 100%;
        left: 0;
        margin-top: 12px;
        flex-direction: column;
        align-items: stretch;
        width: calc(100vw - 80px);
        max-width: 320px;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 16px;
        padding: 12px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
        transform: translateY(-10px) scale(0.98);
        max-width: none;
    }

    .main-nav.is-open .nav-expandable {
        transform: translateY(0) scale(1);
    }

    .nav-menu-items {
        flex-direction: column;
        gap: 6px;
        width: 100%;
    }

    .nav-link {
        width: 100%;
        justify-content: flex-start;
        padding: 0 16px;
        height: 44px;
        border-radius: 10px;
    }

    .nav-actions {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 12px;
        margin-top: 8px;
        width: 100%;
    }

    .nav-action-btn {
        flex: 1;
        min-width: 80px;
        height: 40px;
        font-size: 0.8rem;
    }

    .logo-btn {
        height: 48px;
        overflow: visible;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .logo-btn img {
        height: 80px;
    }

    .main-nav {
        left: 15px;
    }
}

@media (max-width: 480px) {
    .main-nav {
        left: 12px;
        top: 12px;
    }

    .nav-btn {
        height: 40px;
        padding: 0 12px;
        font-size: 0.8rem;
    }

    .logo-btn {
        padding: 0 3px;
        height: 40px;
        overflow: visible;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .logo-btn img {
        height: 70px;
    }

    .help-btn {
        width: 40px;
        font-size: 1rem;
    }

    .nav-expandable {
        width: calc(100vw - 70px);
        max-width: 280px;
    }
}

@media (min-width: 901px) {
    .mobile-only {
        display: none;
    }
}


/* --- HERO --- */
.hero-wrapper {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 0 60px;
    overflow: hidden;
}

.intro-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    text-align: left;
    position: relative;
    z-index: 10;
}

.tom-photo {
    width: 280px;
    height: auto;
    object-fit: contain;
    z-index: 10;
    opacity: 1 !important;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.9));
    margin-right: -20px;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 1);
}

.hero-text .subtitle {
    font-size: 1.3rem;
    color: #e5e5e5;
    max-width: 650px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 1);
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text .subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text .subtitle {
        font-size: 1rem;
    }
}

/* --- BENTO GRID --- */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
    position: relative;
    z-index: 10;
}

@media (min-width: 600px) {
    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }

    .span-2-tablet {
        grid-column: span 2;
    }
}

@media (min-width: 1100px) {
    .bento-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    .span-2-desktop {
        grid-column: span 4;
        text-align: center;
    }

    .span-2-desktop .bento-content {
        justify-content: center;
    }
}

.bento-card {
    background: var(--card-glass);
    backdrop-filter: blur(12px);
    border: 1px solid #333;
    padding: 30px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 220px;
    transition: transform 0.3s, background 0.3s;
    text-decoration: none;
    color: inherit;
}

.bento-card>div:last-child {
    display: flex;
    flex-direction: column;
    flex: 1;
}

@media (max-width: 480px) {
    .bento-card {
        padding: 20px;
        min-height: 180px;
    }

    .bento-card h3 {
        font-size: 1.3rem;
    }

    .bento-card p {
        font-size: 0.9rem;
    }

    .bento-extra {
        font-size: 0.8rem;
    }
}

.bento-card:hover {
    transform: translateY(-5px);
    background: rgba(30, 30, 30, 0.9);
    border-color: rgba(255, 255, 255, 0.3);
}

.bento-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    margin-top: 0;
}

.bento-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.bento-extra {
    font-size: 0.85rem;
    margin-top: auto;
    padding-top: 15px;
    color: #fff;
    font-weight: 600;
    opacity: 0.8;
}

/* --- PARTICULIER HERO --- */
.part-hero {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 60px;
}

@media(min-width: 900px) {
    .part-hero {
        flex-direction: row;
        align-items: stretch;
    }
}

.part-hero-content {
    flex: 1;
    background: var(--card-glass);
    backdrop-filter: blur(10px);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
    border: 1px solid var(--border-color);
    border-right: none;
}

.part-hero-img {
    flex: 1;
    position: relative;
    min-height: 450px;
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-left: none;
}

.part-hero-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media(max-width: 899px) {
    .part-hero-content {
        border-radius: 16px 16px 0 0;
        border: 1px solid #333;
        border-bottom: none;
        padding: 30px;
    }

    .part-hero-img {
        border-radius: 0 0 16px 16px;
        border: 1px solid #333;
        border-top: none;
        height: 300px;
    }
}

@media (max-width: 480px) {
    .part-hero-content {
        padding: 20px;
    }

    .part-hero-content h1 {
        font-size: 2rem !important;
    }

    .part-hero-content h2 {
        font-size: 1rem !important;
    }

    .part-hero-content h3 {
        font-size: 1.1rem !important;
    }

    .part-hero-img {
        height: 250px;
    }
}

/* --- SERVICE BLOKKEN (Uniform voor Home & Sub) --- */
.service-block {
    background: var(--card-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
}

a.service-block {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
    /* Ensure it sits above background elements */
}

a.service-block:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 40px;
    grid-template-columns: repeat(auto-fit, minmax(550px, 1fr));
}

@media (max-width: 600px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
}

@media(min-width: 900px) {
    .service-block {
        flex-direction: row;
        align-items: stretch;
    }

    .service-block:nth-child(even) {
        flex-direction: row-reverse;
    }

    .service-text {
        flex: 1;
        padding: 60px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .service-img-box {
        flex: 1;
        position: relative;
        min-height: 400px;
    }

    .service-img-box img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media(max-width: 899px) {
    .service-text {
        padding: 30px;
    }

    .service-img-box {
        height: 250px;
        width: 100%;
        position: relative;
    }

    .service-img-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media (max-width: 480px) {
    .service-text {
        padding: 20px;
    }

    .service-text h3 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .service-img-box {
        height: 200px;
    }
}

.service-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    margin-top: 0;
}

.service-text ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.service-text li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    color: #ccc;
}

.service-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Panels (FAQ/Tarieven) - Zelfde breedte als service-block */
.panel-box {
    background: var(--card-glass);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 60px;
    backdrop-filter: blur(10px);
    width: 100%;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .panel-box {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .panel-box {
        padding: 20px 15px;
    }
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.pricing-table th,
.pricing-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #333;
    color: white;
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

@media (max-width: 768px) {
    .pricing-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 12px 8px;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .pricing-table th:first-child,
    .pricing-table td:first-child {
        position: sticky;
        left: 0;
        background: var(--card-glass);
        z-index: 1;
    }
}

@media (max-width: 480px) {

    .pricing-table th,
    .pricing-table td {
        padding: 10px 6px;
        font-size: 0.85rem;
    }
}

/* --- STICKY CTA --- */
.sticky-cta {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 90%;
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid #333;
    border-radius: 50px;
    padding: 8px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1900;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

@media (max-width: 480px) {
    .sticky-cta {
        bottom: 20px;
        max-width: 95%;
        padding: 6px 8px;
    }

    .cta-button {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

.sticky-cta.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 20px);
}

.cta-button {
    background: #fff;
    color: #000;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: block;
    margin-top: 0;
}

/* --- FOOTER --- */
.site-footer {
    background: rgba(5, 5, 5, 0.5);
    color: var(--text-muted);
    padding: 120px 0 60px;
    border-top: 1px solid #222;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    position: relative;
    z-index: 2;
}

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

.footer-col h4 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 25px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background: var(--col-synergy);
    border-radius: 2px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    transition: 0.2s;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.contact-link {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px dotted #666;
    transition: 0.3s;
    font-size: 1.2rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
}

.contact-link:hover {
    color: var(--col-synergy);
    border-bottom-color: var(--col-synergy);
    transform: translateX(5px);
}

.contact-link[href^="tel:"]::before {
    content: '📞';
    font-size: 1.2rem;
}

.contact-link[href^="mailto:"]::before {
    content: '✉️';
    font-size: 1.2rem;
}

.footer-form input,
.footer-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    background: #1a1a1a;
    border: 1px solid #333;
    color: white;
    border-radius: 4px;
}

.footer-form button {
    width: 100%;
    padding: 14px;
    background: var(--col-synergy);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 800;
    cursor: pointer;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    margin-top: 10px;
}

.footer-form button:hover {
    background: #fff;
    color: var(--col-synergy);
    box-shadow: 0 0 15px var(--col-synergy);
    transform: translateY(-2px);
}

.footer-watermark {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8rem;
    font-weight: 900;
    color: #111;
    z-index: 1;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0.5;
}

/* Cookie Float - GDPR Compliant */
#cookie-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 90%;
    max-width: 450px;
    background: var(--card-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 25px;
    z-index: 3000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transform: translateY(150%);
    transition: transform 0.5s;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#cookie-float.show {
    transform: translateY(0);
}

#cookie-float.hidden {
    display: none;
}

.cookie-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.cookie-icon {
    font-size: 2rem;
}

.cookie-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    margin: 0;
}

.cookie-text {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.5;
    margin-bottom: 5px;
}

.cookie-text a {
    color: var(--col-synergy);
    text-decoration: underline;
}

.cookie-options {
    display: none;
    flex-direction: column;
    gap: 15px;
    margin: 15px 0;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 1px solid #333;
}

.cookie-options.show {
    display: flex;
}

.cookie-option {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cookie-option-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
}

.cookie-option-desc {
    font-size: 0.85rem;
    color: #aaa;
    margin-left: 30px;
}

.cookie-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    background: #333;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.3s;
}

.cookie-toggle.active {
    background: var(--col-kmo);
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s;
}

.cookie-toggle.active .cookie-slider {
    transform: translateX(20px);
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 5px;
}

.cookie-btn {
    flex: 1;
    min-width: 100px;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    transition: all 0.3s;
    text-align: center;
}

.cookie-btn-primary {
    background: var(--col-kmo);
    color: black;
}

.cookie-btn-primary:hover {
    background: var(--col-kmo);
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.3);
}

.cookie-btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid #555;
}

.cookie-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #777;
}

.cookie-btn-accept {
    background: var(--col-kmo);
    color: black;
}

.cookie-btn-accept:hover {
    background: var(--col-kmo);
    opacity: 0.9;
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.3);
}

.cookie-btn-reject {
    background: var(--col-creative);
    color: white;
}

.cookie-btn-reject:hover {
    background: var(--col-creative);
    opacity: 0.9;
    box-shadow: 0 4px 15px rgba(255, 0, 85, 0.3);
}

@media (max-width: 768px) {
    #cookie-float {
        left: 5%;
        width: 90%;
        max-width: none;
        bottom: 10px;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .intro-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .tom-photo {
        margin-right: 0;
        width: 220px;
    }

    .footer-watermark {
        font-size: 4rem;
    }

    /* Ensure proper padding for content below fixed header */
    .hero-wrapper {
        padding-top: 100px !important;
    }

    div[style*="padding-top: 140px"] {
        padding-top: 100px !important;
    }

    /* Portfolio grid optimization for tablets */
    div[style*="grid-template-columns: repeat(auto-fit, minmax(300px, 1fr))"] {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
        gap: 20px !important;
    }

    /* FAQ grid optimization for tablets */
    div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
}

/* Extra small phones */
@media (max-width: 480px) {
    .hero-wrapper {
        padding-top: 90px !important;
    }

    div[style*="padding-top: 140px"] {
        padding-top: 90px !important;
    }

    /* Portfolio grid optimization */
    div[style*="grid-template-columns: repeat(auto-fit, minmax(300px, 1fr))"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .portfolio-item {
        padding: 20px !important;
    }

    .portfolio-item div[style*="height: 200px"] {
        height: 150px !important;
        font-size: 2rem !important;
    }

    /* FAQ grid optimization */
    div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    /* Section headings */
    h2[style*="font-size: 2.5rem"] {
        font-size: 2rem !important;
        margin-bottom: 30px !important;
    }
}

/* --- TOM COOL POPUP GREETINGS --- */
.tom-photo {
    cursor: pointer;
    transition: transform 0.2s ease;
    user-select: none;
}

.tom-photo:hover {
    transform: scale(1.05);
}

.tom-greeting-popup {
    position: fixed;
    background: rgba(10, 10, 10, 0.95);
    /* Deeper black for better readability */
    backdrop-filter: blur(12px);
    border: 1px solid var(--col-synergy);
    border-radius: 12px;
    padding: 16px 20px;
    max-width: 300px;
    min-width: 200px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.1);
    z-index: 10000;
    pointer-events: none;
    animation: popupAppear 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    font-family: var(--font-main);
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: center;
    font-weight: 500;
}

/* Mobile optimizations for popup */
@media (max-width: 768px) {
    .tom-greeting-popup {
        max-width: 90vw !important;
        /* Prevent cutoff */
        font-size: 0.9rem;
        padding: 14px 18px;
        border-width: 1px;
    }
}

@keyframes popupAppear {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.tom-greeting-popup.fade-out {
    animation: popupFadeOut 0.3s ease-out forwards;
}

@keyframes popupFadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

/* --- PORTFOLIO TITLE --- */
.section-title-glass {
    text-align: center;
    font-size: 2.5rem;
    margin: 0 auto 50px;
    color: var(--accent-color);
    background: var(--card-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 15px 40px;
    width: fit-content;
    max-width: 95%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .section-title-glass {
        font-size: 2rem;
        padding: 15px 25px;
        width: 100%;
        border-radius: 12px;
    }
}