/* --- Core Setup & Identity --- */
:root {
    --black: #000000;
    --white: #FFFFFF;
    --charcoal: #333333;
    --slate-gray: #646464;
    --warm-gray: #989795;
    --font-primary: 'Kdam Thmor Pro', sans-serif;
    --font-secondary: 'Plus Jakarta Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--black);
    color: var(--white);
    overflow-x: hidden;
    font-family: var(--font-secondary);
}

/* --- SIMPLE PRELOADER (NEW) --- */
/* ================================================== */

.simple-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.simple-preloader.fade-out {
    opacity: 0;
    transform: scale(1.1);
    pointer-events: none;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 40px;
    opacity: 0;
    transform: scale(0.9);
    animation: fadeInScale 1s ease forwards;
}

@keyframes fadeInScale {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ================================================== */
/* --- PRELOADER LOGO --- */
/* ================================================== */

.preloader-logo {
    opacity: 0;
    transform: translateY(-20px);
    animation: slideDown 0.8s ease 0.3s forwards;
}

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

.logo-img {
    width: 220px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

/* ================================================== */
/* --- PRELOADER TAGLINE --- */
/* ================================================== */

.preloader-tagline {
    margin-bottom: 10px;
    opacity: 0;
    animation: fadeIn 0.8s ease 0.6s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.tagline-text {
    font-size: 1.5rem;
    font-weight: 300;
    font-family: var(--font-primary);
    color: var(--white);
    letter-spacing: 2px;
    text-align: center;
    margin: 0;
}

/* ================================================== */
/* --- LOADING BAR --- */
/* ================================================== */

.loading-bar-container {
    width: 400px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    opacity: 0;
    animation: fadeIn 0.8s ease 0.9s forwards;
}

.loading-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #ffffff 0%, #d1d5db 100%);
    border-radius: 10px;
    transition: width 0.3s ease;
    position: relative;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.loading-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.6), 
        transparent
    );
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* ================================================== */
/* --- LOADING PERCENTAGE --- */
/* ================================================== */

.loading-percentage {
    font-size: 1.2rem;
    font-weight: 600;
    font-family: var(--font-secondary);
    color: var(--white);
    margin-top: 10px;
    opacity: 0;
    animation: fadeIn 0.8s ease 1.2s forwards;
}

.percentage-number {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-primary);
}

/* ================================================== */
/* --- RESPONSIVE DESIGN --- */
/* ================================================== */

@media (max-width: 768px) {
    .preloader-content {
        padding: 30px 20px;
        gap: 25px;
    }

    .logo-img {
        width: 180px;
    }

    .tagline-text {
        font-size: 1.2rem;
        letter-spacing: 1.5px;
    }

    .loading-bar-container {
        width: 300px;
    }

    .loading-percentage {
        font-size: 1rem;
    }

    .percentage-number {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .logo-img {
        width: 150px;
    }

    .tagline-text {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .loading-bar-container {
        width: 250px;
        height: 3px;
    }

    .loading-percentage {
        font-size: 0.9rem;
    }

    .percentage-number {
        font-size: 1.1rem;
    }
}

/* --- Reusable Components --- */
.cta-button {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--slate-gray);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-secondary);
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    position: relative; 
    z-index: 2; 
}

.cta-button:hover {
    background-color: var(--warm-gray);
    transform: translateY(-2px);
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-primary);
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
}

/* --- Header & Navigation --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
}

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

.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    height: 35px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    color: var(--warm-gray);
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-secondary);
    position: relative; 
    z-index: 2;
    padding: 10px 20px;
    border: 2px solid transparent;
    border-radius: 6px;
    transition: all 0.4s ease;
}

.nav-links a:hover {
    color: var(--white);
    border: 2px solid var(--white);
    box-shadow: 
        0 0 10px rgba(255, 255, 255, 0.6),
        0 0 20px rgba(255, 255, 255, 0.4),
        0 0 30px rgba(255, 255, 255, 0.3),
        inset 0 0 10px rgba(255, 255, 255, 0.2);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.mobile-menu-icon {
    display: none;
    cursor: pointer;
}

/* --- Hero Section --- */
main > section {
    position: relative;
    z-index: 1; 
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
    perspective: 300px;
}

.hero-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1400px;
    width: 100%;
    position: relative;
    z-index: 2;
    padding: 0 40px;
}

.hero-text-side {
    flex: 1;
    max-width: 600px;
}

.hero-heading {
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 700;
    font-family: var(--font-primary);
    line-height: 1.2;
    margin-bottom: 20px;
    text-align: left;
}

.hero-subheading {
    font-size: 1.1rem;
    font-family: var(--font-secondary);
    color: var(--warm-gray);
    margin-bottom: 40px;
    line-height: 1.7;
    text-align: left;
}

.hero-cta {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* Hide mobile get started button on desktop */
.mobile-get-started {
    display: none;
}

/* === Hero SERP Container === */
.hero-serp-container {
    flex: 1;
    max-width: 550px;
    min-height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.serp-mockup {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--charcoal) 0%, #1a1a1a 100%);
    border-radius: 16px;
    border: 2px solid var(--slate-gray);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(100, 100, 100, 0.2);
    overflow-y: auto;
    overflow-x: hidden;
    opacity: 0;
    transform: scale(0.9) translateY(30px);
    max-height: 600px;
}

.serp-mockup.active {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.serp-container {
    padding: 25px;
}

.serp-header {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--slate-gray);
}

.serp-logo {
    display: flex;
    justify-content: center;
}

.serp-logo-img {
    height: 35px;
    width: auto;
    filter: brightness(1.2);
}

.serp-search-bar {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--slate-gray);
    border-radius: 24px;
    padding: 12px 20px;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
}

.serp-search-bar:hover {
    border-color: var(--warm-gray);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 10px rgba(152, 151, 149, 0.2);
}

.serp-search-bar input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    font-family: var(--font-secondary);
    background: transparent;
    color: var(--white);
}

.search-icon {
    margin-left: 10px;
    flex-shrink: 0;
}

.serp-results {
    padding: 0 10px;
}

.serp-info {
    font-size: 13px;
    font-family: var(--font-secondary);
    color: var(--warm-gray);
    margin-bottom: 25px;
}

.serp-result {
    margin-bottom: 32px;
    position: relative;
    opacity: 0.4;
    transform: scale(0.97);
    transition: all 0.3s ease;
}

.serp-result-featured {
    opacity: 1;
    transform: scale(1);
    padding: 20px;
    background: linear-gradient(135deg, rgba(100, 100, 100, 0.2) 0%, rgba(51, 51, 51, 0.3) 100%);
    border-radius: 12px;
    border: 2px solid var(--slate-gray);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(100, 100, 100, 0.3);
    position: relative;
}

.serp-result-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.serp-favicon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: contain;
    background: var(--white);
    padding: 2px;
}

.serp-favicon-placeholder {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--slate-gray) 0%, var(--warm-gray) 100%);
}

.serp-result-meta {
    display: flex;
    flex-direction: column;
}

.serp-url {
    font-size: 13px;
    font-family: var(--font-secondary);
    color: var(--white);
    font-weight: 600;
}

.serp-breadcrumb {
    font-size: 11px;
    font-family: var(--font-secondary);
    color: var(--warm-gray);
}

.serp-result-title {
    font-size: 18px;
    font-weight: 600;
    font-family: var(--font-secondary);
    color: var(--warm-gray);
    margin-bottom: 6px;
    line-height: 1.3;
    cursor: pointer;
    transition: color 0.2s;
}

.serp-result-featured .serp-result-title {
    color: var(--white);
    font-weight: 700;
    font-size: 20px;
}

.serp-result-title:hover {
    color: var(--white);
}

.serp-result-desc {
    font-size: 13px;
    font-family: var(--font-secondary);
    color: var(--warm-gray);
    line-height: 1.58;
}

.serp-result-featured .serp-result-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}

.serp-rank-badge {
    position: absolute;
    top: -12px;
    right: -12px;
    background: linear-gradient(135deg, var(--slate-gray) 0%, var(--charcoal) 100%);
    color: var(--white);
    font-size: 22px;
    font-weight: 700;
    font-family: var(--font-primary);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--white);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 255, 255, 0.3);
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 255, 255, 0.3);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 8px 28px rgba(0, 0, 0, 0.7), 0 0 40px rgba(255, 255, 255, 0.5);
    }
}

/* --- Lens Image & Zoom Effect --- */
.lens-image {
    position: fixed;
    width: 150px;
    height: auto;
    z-index: 1001;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
    opacity: 0;
    pointer-events: none;
    will-change: transform;
    top: -300px;
    left: -300px;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}

.hero-text-container {
    display: inline-block;
    max-width: 100%;
}

.hero-text-word {
    display: inline-block;
    white-space: nowrap;
    margin-right: 0.3em;
}

.hero-text-word:last-child {
    margin-right: 0;
}

.hero-text-char {
    display: inline-block;
    transition: transform 0.2s ease-out;
}

/* === Trusted Companies Section === */
.trusted-companies-section {
    padding: 60px 0;
    background-color: var(--black);
    overflow: hidden;
    position: relative;
    z-index: 1;
    cursor: auto !important;
}

.trusted-companies-section * {
    cursor: auto !important;
}

.trusted-title {
    text-align: center;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: var(--font-secondary);
    color: var(--warm-gray);
    margin-bottom: 40px;
    letter-spacing: 0.5px;
}

.companies-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.companies-track {
    display: flex;
    align-items: center;
    gap: 80px;
    animation: scroll-companies 30s linear infinite;
    width: fit-content;
}

.company-name {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-primary);
    color: var(--white);
    white-space: nowrap;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.company-name:hover {
    opacity: 1;
}

@keyframes scroll-companies {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* --- Credibility Counters Section --- */
.credibility-section {
    padding: 100px 40px;
    position: relative;
    z-index: 1;
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.counter-item {
    opacity: 0;
    position: relative;
    z-index: 2; 
}

.counter-number {
    font-size: 6rem;
    font-weight: 700;
    font-family: var(--font-primary);
    line-height: 1;
}

.counter-item p {
    font-size: 1rem;
    font-family: var(--font-secondary);
    color: var(--warm-gray);
    margin-top: 10px;
}

/* === Karaoke Effect Styles === */
.karaoke-section {
    padding: 150px 40px 100px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

/* NBT Logo Reveal Effect */
.nbt-logo-reveal {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    /* تم حذف سطر opacity: 0; من هنا للسماح للـ JavaScript بإظهاره */
}

.nbt-main-logo {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    transition: all 0.5s ease;
    cursor: pointer;
}

.nbt-logo-reveal:hover .nbt-main-logo {
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8))
            drop-shadow(0 0 40px rgba(255, 255, 255, 0.5));
    transform: scale(1.05);
}

.nbt-fullname {
    display: flex;
    gap: 20px;
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.6s ease;
    pointer-events: none; /* Add this to prevent text from blocking hover on logo */
}

.nbt-logo-reveal:hover .nbt-fullname {
    opacity: 1;
    transform: translateY(0);
}

.nbt-word {
    display: inline-block;
    color: var(--white);
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 255, 255, 0.5),
        0 0 30px rgba(255, 255, 255, 0.3);
    animation: neon-flicker 3s ease-in-out infinite;
}

.nbt-word:nth-child(1) {
    animation-delay: 0s;
}

.nbt-word:nth-child(2) {
    animation-delay: 0.3s;
}

.nbt-word:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes neon-flicker {
    0%, 100% {
        text-shadow: 
            0 0 10px rgba(255, 255, 255, 0.8),
            0 0 20px rgba(255, 255, 255, 0.5),
            0 0 30px rgba(255, 255, 255, 0.3);
    }
    50% {
        text-shadow: 
            0 0 15px rgba(255, 255, 255, 1),
            0 0 30px rgba(255, 255, 255, 0.8),
            0 0 50px rgba(255, 255, 255, 0.5),
            0 0 70px rgba(255, 255, 255, 0.3);
    }
}

.karaoke-text {
    position: relative;
    font-size: 4rem;
    font-weight: 700;
    font-family: var(--font-primary);
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
    line-height: 1.3;
    z-index: 2;
}

.karaoke-base {
    color: var(--charcoal);
}

.karaoke-highlight {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: var(--white);
    clip-path: polygon(0 0, 0% 0, 0% 100%, 0 100%);
}

/* --- Services Overview Section --- */
.services-section {
    padding: 120px 40px;
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* === Service Cards with Neon Icons === */
.service-card {
    border: 1px solid var(--charcoal);
    padding: 40px;
    border-radius: 8px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s ease;
    position: relative; 
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-card:hover {
    background-color: #111;
    border-color: var(--slate-gray);
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.neon-icon {
    width: 100%;
    height: 100%;
    color: var(--white);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6))
            drop-shadow(0 0 15px rgba(255, 255, 255, 0.4))
            drop-shadow(0 0 25px rgba(255, 255, 255, 0.2));
    transition: all 0.4s ease;
}

.service-card:hover .neon-icon {
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.9))
            drop-shadow(0 0 25px rgba(255, 255, 255, 0.7))
            drop-shadow(0 0 40px rgba(255, 255, 255, 0.5))
            drop-shadow(0 0 60px rgba(255, 255, 255, 0.3));
    transform: scale(1.1) rotate(5deg);
    animation: neon-pulse 1.5s ease-in-out infinite;
}

@keyframes neon-pulse {
    0%, 100% {
        filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.9))
                drop-shadow(0 0 25px rgba(255, 255, 255, 0.7))
                drop-shadow(0 0 40px rgba(255, 255, 255, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 18px rgba(255, 255, 255, 1))
                drop-shadow(0 0 35px rgba(255, 255, 255, 0.9))
                drop-shadow(0 0 55px rgba(255, 255, 255, 0.7))
                drop-shadow(0 0 80px rgba(255, 255, 255, 0.4));
    }
}

.service-card h3 {
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-primary);
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: var(--white);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.service-card p {
    font-size: 1rem;
    font-family: var(--font-secondary);
    color: var(--warm-gray);
    line-height: 1.6;
    transition: color 0.3s ease;
}

.service-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* --- SEO Audit CTA Section --- */
.audit-cta-section {
    padding: 120px 40px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.audit-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.audit-cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 20%, 
        rgba(255, 255, 255, 0.3) 50%, 
        rgba(255, 255, 255, 0.1) 80%, 
        transparent 100%);
}

.audit-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.audit-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-primary);
    margin-bottom: 40px;
    opacity: 0;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-button-outline {
    display: inline-block;
    padding: 16px 40px;
    border: 2px solid var(--white);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    font-family: var(--font-secondary);
    border-radius: 6px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
    background: transparent;
}

.cta-button-outline:hover {
    background-color: var(--white);
    color: var(--black);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

/* --- Footer --- */
.main-footer {
    padding: 80px 40px 20px;
    border-top: 1px solid var(--charcoal);
    position: relative;
    z-index: 1;
    background-color: var(--black);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto 60px;
}

.footer-logo img {
    height: 35px;
}

.footer-links, .footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.2rem;
    font-weight: 700;
    font-family: var(--font-primary);
    margin-bottom: 10px;
    color: var(--white);
}

.footer-links a, .footer-contact a {
    color: var(--warm-gray);
    font-family: var(--font-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover, .footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--charcoal);
    max-width: 1400px;
    margin: 0 auto;
    color: var(--slate-gray);
    font-family: var(--font-secondary);
}

/* --- Media Queries for Responsiveness --- */
@media (max-width: 1024px) {
    .hero-content-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text-side {
        max-width: 100%;
    }
    
    .hero-heading, .hero-subheading {
        text-align: center;
    }
    
    .hero-serp-container {
        max-width: 100%;
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .nav-links, .main-header .cta-button { display: none; }
    .mobile-menu-icon { display: flex; flex-direction: column; gap: 5px; }
    .mobile-menu-icon span { display: block; width: 25px; height: 2px; background-color: var(--white); }
    
    /* Header with proper spacing from top and sides, no bottom margin */
    .main-header {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        padding-top: 15px !important; /* Add top padding */
        padding-left: 20px !important; /* Keep side padding */
        padding-right: 20px !important; /* Keep side padding */
    }
    
    /* Keep navbar side margins and add bottom padding for height */
    .navbar {
        margin: 0 auto !important; /* Keep horizontal centering */
        padding: 0 20px 15px 20px !important; /* Keep side padding + bottom padding */
    }
    
    /* ULTRA COMPACT MOBILE LAYOUT - NO BLACK SPACES */
    .hero-section {
        padding: 0 10px 0 10px !important; /* ZERO top/bottom padding */
        min-height: auto !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    
    .hero-content-wrapper {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important; /* NO GAPS - Elements directly under each other */
        padding: 0 !important;
        margin: 0 !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    /* Hide original content on mobile only */
    .hero-heading { 
        display: none !important;
    }
    .hero-subheading { 
        display: none !important;
    }
    
    /* Hide All In One Solutions text completely */
    .hero-text-side {
        display: none !important;
    }
    
    /* SEARCH RESULT FIRST - NO MARGINS */
    .hero-serp-container {
        display: block !important;
        order: 1;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Remove margins from SERP mockup */
    .serp-mockup {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* GET STARTED BUTTON SECOND - DIRECTLY UNDER SEARCH */
    .hero-cta {
        display: none !important; /* Hide the original button */
    }
    
    /* Mobile Get Started Button - Only visible on mobile */
    .mobile-get-started {
        display: block !important;
        text-align: center;
        padding: 5px 0 0 0 !important;
        margin: 0 !important;
    }
    
    /* INCREASE SEARCH BAR TEXT SIZE MORE - Make it very readable */
    .serp-search-bar input {
        font-size: 14px !important; /* Even bigger and more readable */
        max-width: 100% !important;
        padding: 10px 15px !important;
        white-space: nowrap !important;
        font-weight: 500 !important;
    }
    
    /* Make search bar container larger */
    .serp-search-bar {
        width: 100% !important;
        max-width: 320px !important;
        margin: 0 auto !important;
        padding: 12px 18px !important;
    }
    
    /* Ensure mockup is properly sized and visible */
    .serp-mockup {
        transform: scale(0.85) !important;
        margin: 0 auto !important;
    }
    
    /* Remove any extra spacing */
    .serp-container {
        padding: 20px !important;
    }
    
    .counter-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .counter-number { font-size: 4rem; }
    .section-title { font-size: 2rem; }
    .karaoke-text { font-size: 2.2rem; }
    .audit-content h2 { font-size: 1.8rem; }
    .footer-content { flex-direction: column; }
    .monitor-container-wrapper { width: 100%; padding: 0 10px; }
    .lens-image { display: none !important; }
    .company-name { font-size: 1.4rem; }
    .companies-track { gap: 50px; }
    .service-icon { width: 60px; height: 60px; margin-bottom: 20px; }
    .audit-cta-section { padding: 80px 20px; }
    .nbt-main-logo { height: 60px; }
    .nbt-fullname { font-size: 1.8rem; gap: 15px; }
}

/* Additional responsive adjustments for very small screens */
@media (max-width: 480px) {
    .hero-section {
        padding: 0 8px 0 8px !important; /* ZERO top/bottom padding */
    }
    
    .hero-content-wrapper {
        gap: 0 !important; /* NO GAPS */
    }
    
    .serp-search-bar input {
        font-size: 13px !important; /* Keep it readable */
    }
    
    .serp-search-bar {
        max-width: 300px !important;
        padding: 10px 15px !important;
    }
    
    .serp-mockup {
        transform: scale(0.8) !important;
    }
    
    .hero-cta {
        padding-top: 8px !important; /* Minimal spacing */
    }
}

@media (max-width: 360px) {
    .hero-section {
        padding: 0 5px 0 5px !important; /* ZERO top/bottom padding */
    }
    
    .hero-content-wrapper {
        gap: 0 !important; /* NO GAPS */
    }
    
    .serp-search-bar input {
        font-size: 12px !important; /* Still readable on smallest screens */
    }
    
    .serp-search-bar {
        max-width: 280px !important;
        padding: 8px 12px !important;
    }
    
    .serp-mockup {
        transform: scale(0.75) !important;
    }
    
    .hero-cta {
        padding-top: 5px !important; /* Minimal spacing */
    }
}

/* --- Retro Grid Effect --- */
.grid-container {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    transform: translate(-50%, -50%) rotateX(60deg);
    transform-origin: 50% 100%;
    z-index: 1;
}

.grid {
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(ellipse at 50% 0%, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 80%),
        linear-gradient(to right, rgba(255, 255, 255, 0.3) 2px, transparent 2px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.3) 2px, transparent 2px);
    background-size: 100% 100%, 100px 100%, 100px 100px;
    animation: move-grid 4s linear infinite;
}

@keyframes move-grid {
    from {
        background-position: 0 0, 0 0, 0 0;
    }
    to {
        background-position: 0 0, 0 0, 0 100px;
    }
}


/* ================================================== */
/* --- CONTACT PAGE STYLES --- */
/* ================================================== */

/* === Contact Hero Section === */
.contact-hero-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 40px 80px;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    position: relative;
    overflow: hidden;
}

.contact-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    animation: hero-glow 8s ease-in-out infinite;
}

@keyframes hero-glow {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

.contact-hero-content {
    max-width: 900px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.contact-hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    font-family: var(--font-primary);
    line-height: 1.2;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(30px);
}

.contact-hero-subtitle {
    font-size: 1.25rem;
    font-family: var(--font-secondary);
    color: var(--warm-gray);
    line-height: 1.7;
    opacity: 0;
    transform: translateY(30px);
}

/* === Contact Form Section === */
.contact-form-section {
    padding: 100px 40px;
    background-color: var(--black);
    position: relative;
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(51, 51, 51, 0.3) 0%, rgba(26, 26, 26, 0.5) 100%);
    border: 1px solid var(--charcoal);
    border-radius: 16px;
    padding: 60px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(50px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* === Form Groups === */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-secondary);
    color: var(--white);
    letter-spacing: 0.3px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group input[type="time"] {
    width: 100%;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--charcoal);
    border-radius: 8px;
    color: var(--white);
    font-size: 1rem;
    font-family: var(--font-secondary);
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--white);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.6);
}

.form-group input::placeholder {
    color: var(--warm-gray);
}

/* === Form Row (for email and phone side by side) === */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* === Services Checkboxes === */
.services-checkboxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 12px;
    border: 1px solid var(--charcoal);
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.3);
}

.checkbox-wrapper:hover {
    border-color: var(--slate-gray);
    background: rgba(51, 51, 51, 0.4);
}

.checkbox-wrapper input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--white);
}

.checkbox-label {
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    color: var(--warm-gray);
    transition: color 0.3s;
}

.checkbox-wrapper:hover .checkbox-label {
    color: var(--white);
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkbox-label {
    color: var(--white);
    font-weight: 600;
}

/* === Radio Buttons === */
.radio-group {
    display: flex;
    gap: 20px;
}

.radio-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 12px 18px;
    border: 1px solid var(--charcoal);
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.3);
}

.radio-wrapper:hover {
    border-color: var(--slate-gray);
    background: rgba(51, 51, 51, 0.4);
}

.radio-wrapper input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--white);
}

.radio-label {
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    color: var(--warm-gray);
    transition: color 0.3s;
}

.radio-wrapper input[type="radio"]:checked + .radio-label {
    color: var(--white);
    font-weight: 600;
}

/* === Calendar Section === */
.calendar-group {
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.datetime-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.date-input,
.time-input {
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--charcoal);
    border-radius: 8px;
    color: var(--white);
    font-size: 1rem;
    font-family: var(--font-secondary);
    transition: all 0.3s ease;
}

.date-input:focus,
.time-input:focus {
    outline: none;
    border-color: var(--white);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

/* Date and Time input styling for Webkit browsers */
.date-input::-webkit-calendar-picker-indicator,
.time-input::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

/* === Error Messages === */
.error-message {
    font-size: 0.85rem;
    font-family: var(--font-secondary);
    color: #ff6b6b;
    font-weight: 500;
    display: none;
    margin-top: 5px;
}

.error-message.show {
    display: block;
    animation: shake 0.4s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

/* === Submit Button === */
.submit-button {
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--slate-gray) 0%, var(--charcoal) 100%);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.submit-button:hover::before {
    width: 300px;
    height: 300px;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(255, 255, 255, 0.2);
}

.submit-button:active {
    transform: translateY(-1px);
}

.button-text,
.button-loader {
    position: relative;
    z-index: 1;
}

.button-loader {
    display: inline-flex;
    gap: 8px;
}

.loader-dot {
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out;
}

.loader-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.loader-dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* === Success Message Section === */
.success-message-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 40px;
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 100%);
}

.success-content {
    text-align: center;
    max-width: 600px;
    opacity: 0;
    transform: scale(0.9);
}

.success-content.show {
    animation: successFadeIn 0.8s ease-out forwards;
}

@keyframes successFadeIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-icon {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
}

.checkmark {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    stroke-width: 3;
    stroke: var(--white);
    stroke-miterlimit: 10;
    animation: checkmark-fill 0.4s ease-in-out 0.4s forwards;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke: var(--slate-gray);
    animation: checkmark-stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke: var(--white);
    animation: checkmark-stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes checkmark-stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes checkmark-fill {
    100% {
        box-shadow: inset 0 0 0 50px var(--slate-gray);
    }
}

.success-title {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-primary);
    margin-bottom: 20px;
    color: var(--white);
}

.success-text {
    font-size: 1.1rem;
    font-family: var(--font-secondary);
    color: var(--warm-gray);
    line-height: 1.7;
    margin-bottom: 40px;
}

.success-home-btn {
    display: inline-block;
    padding: 16px 40px;
    background-color: var(--slate-gray);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-secondary);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.success-home-btn:hover {
    background-color: var(--white);
    color: var(--black);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

/* === Responsive Design for Contact Page === */
@media (max-width: 768px) {
    .contact-hero-section {
        padding: 120px 20px 60px;
        min-height: 50vh;
    }

    .contact-hero-title {
        font-size: 2rem;
    }

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

    .contact-form-container {
        padding: 40px 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .services-checkboxes {
        grid-template-columns: 1fr;
    }

    .radio-group {
        flex-direction: column;
    }

    .datetime-inputs {
        grid-template-columns: 1fr;
    }

    .success-title {
        font-size: 2rem;
    }

    .success-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-form-container {
        padding: 30px 20px;
        border-radius: 12px;
    }

    .contact-form {
        gap: 20px;
    }

    .submit-button {
        padding: 14px 30px;
        font-size: 1rem;
    }
}
/* === Footer Contact Items with Icons === */
.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--warm-gray);
    font-family: var(--font-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.footer-contact-item svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

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

.footer-contact-item:hover svg {
    transform: scale(1.15);
}

@media (max-width: 768px) {
    .footer-contact-item span {
        font-size: 0.9rem;
    }
}
/* ================================================== */
/* --- SEO AUDIT PAGE STYLES --- */
/* ================================================== */

/* === Audit Hero Section === */
.audit-hero-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 40px 80px;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    position: relative;
    overflow: hidden;
}

.audit-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    animation: hero-glow 8s ease-in-out infinite;
}

.audit-hero-content {
    max-width: 900px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.audit-hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    font-family: var(--font-primary);
    line-height: 1.2;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(30px);
}

.audit-hero-subtitle {
    font-size: 1.25rem;
    font-family: var(--font-secondary);
    color: var(--warm-gray);
    line-height: 1.7;
    opacity: 0;
    transform: translateY(30px);
}

/* === SEO Audit Form Section === */
.seo-audit-form-section {
    padding: 100px 40px;
    background-color: var(--black);
    position: relative;
}

.audit-form-container {
    max-width: 700px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(51, 51, 51, 0.3) 0%, rgba(26, 26, 26, 0.5) 100%);
    border: 1px solid var(--charcoal);
    border-radius: 16px;
    padding: 60px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(50px);
}

.audit-form-header {
    text-align: center;
    margin-bottom: 40px;
}

.audit-form-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-primary);
    color: var(--white);
    margin-bottom: 15px;
}

.audit-form-header p {
    font-size: 1.1rem;
    font-family: var(--font-secondary);
    color: var(--warm-gray);
    line-height: 1.6;
}

.audit-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* === Improved Input Styling with Icons === */
.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 18px;
    color: var(--warm-gray);
    pointer-events: none;
    transition: color 0.3s ease;
    z-index: 1;
}

.input-with-icon input {
    width: 100%;
    padding: 14px 18px 14px 50px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--charcoal);
    border-radius: 8px;
    color: var(--white);
    font-size: 1rem;
    font-family: var(--font-secondary);
    transition: all 0.3s ease;
}

.input-with-icon input:focus {
    outline: none;
    border-color: var(--white);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.6);
}

.input-with-icon input:focus + .input-icon,
.input-with-icon input:focus ~ .input-icon {
    color: var(--white);
}

/* Fix icon positioning */
.form-group .input-with-icon .input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
}

.input-with-icon input::placeholder {
    color: var(--warm-gray);
}

/* Error messages for validation */
.error-message {
    font-size: 0.85rem;
    font-family: var(--font-secondary);
    color: #ff6b6b;
    font-weight: 500;
    display: none;
    margin-top: 5px;
}

.error-message.show {
    display: block;
    animation: shake 0.4s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.audit-submit-button {
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--slate-gray) 0%, var(--charcoal) 100%);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
}

.audit-submit-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.audit-submit-button:hover::before {
    width: 300px;
    height: 300px;
}

.audit-submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(255, 255, 255, 0.2);
}

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

/* === Audit Results Section === */
.audit-results-section {
    padding: 100px 40px;
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 100%);
}

.results-container {
    max-width: 1200px;
    margin: 0 auto;
}

.results-header {
    text-align: center;
    margin-bottom: 60px;
}

.results-header h2 {
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-primary);
    color: var(--white);
    margin-bottom: 15px;
}

.analyzed-url {
    font-size: 1.1rem;
    font-family: var(--font-secondary);
    color: var(--warm-gray);
}

.analyzed-url span {
    color: var(--white);
    font-weight: 600;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.result-card {
    background: linear-gradient(135deg, rgba(51, 51, 51, 0.4) 0%, rgba(26, 26, 26, 0.6) 100%);
    border: 1px solid var(--charcoal);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.result-card:hover {
    transform: translateY(-10px);
    border-color: var(--slate-gray);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.result-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.result-card:hover .result-icon {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.result-icon svg {
    width: 32px;
    height: 32px;
    color: var(--white);
}

.result-title {
    font-size: 1.5rem;
    font-weight: 600;
    font-family: var(--font-secondary);
    color: var(--white);
    margin-bottom: 20px;
}

.result-score {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 20px;
    gap: 5px;
}

.score-value {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: var(--font-primary);
}

.score-label {
    font-size: 1.5rem;
    font-weight: 500;
    font-family: var(--font-secondary);
    color: var(--warm-gray);
}

.score-success .score-value {
    color: #4ade80;
}

.score-warning .score-value {
    color: #fbbf24;
}

.score-danger .score-value {
    color: #f87171;
}

.result-description {
    font-size: 1rem;
    font-family: var(--font-secondary);
    color: var(--warm-gray);
    line-height: 1.6;
}

/* === Results CTA === */
.results-cta {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(51, 51, 51, 0.3) 0%, rgba(26, 26, 26, 0.5) 100%);
    border: 1px solid var(--charcoal);
    border-radius: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.results-cta h3 {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-primary);
    color: var(--white);
    margin-bottom: 20px;
}

.results-cta p {
    font-size: 1.2rem;
    font-family: var(--font-secondary);
    color: var(--warm-gray);
    line-height: 1.7;
    margin-bottom: 30px;
}

.cta-button-large {
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(135deg, var(--slate-gray) 0%, var(--charcoal) 100%);
    color: var(--white);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    border-radius: 8px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.cta-button-large::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button-large:hover::before {
    width: 400px;
    height: 400px;
}

.cta-button-large:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(255, 255, 255, 0.2);
}

/* === Why SEO Section === */
.why-seo-section {
    padding: 100px 40px;
    background-color: var(--black);
}

.why-seo-content {
    max-width: 1200px;
    margin: 0 auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.benefit-card {
    background: linear-gradient(135deg, rgba(51, 51, 51, 0.3) 0%, rgba(26, 26, 26, 0.5) 100%);
    border: 1px solid var(--charcoal);
    border-radius: 16px;
    padding: 40px 30px;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.benefit-card:hover {
    transform: translateY(-10px);
    border-color: var(--slate-gray);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.benefit-number {
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-primary);
    color: var(--slate-gray);
    margin-bottom: 20px;
    opacity: 0.3;
}

.benefit-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    font-family: var(--font-secondary);
    color: var(--white);
    margin-bottom: 15px;
}

.benefit-card p {
    font-size: 1rem;
    font-family: var(--font-secondary);
    color: var(--warm-gray);
    line-height: 1.7;
}

/* === Responsive Design === */
@media (max-width: 768px) {
    .audit-hero-section {
        padding: 120px 20px 60px;
        min-height: 50vh;
    }

    .audit-hero-title {
        font-size: 2rem;
    }

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

    .audit-form-container {
        padding: 40px 30px;
    }

    .audit-form-header h2 {
        font-size: 2rem;
    }

    .results-header h2 {
        font-size: 2rem;
    }

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

    .results-cta h3 {
        font-size: 1.8rem;
    }

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

@media (max-width: 480px) {
    .audit-form-container {
        padding: 30px 20px;
        border-radius: 12px;
    }

    .audit-submit-button {
        padding: 14px 30px;
        font-size: 1rem;
    }

    .result-card {
        padding: 30px 20px;
    }

    .score-value {
        font-size: 2.5rem;
    }
}
/* ================================================== */
/* --- INTERACTIVE SERVICES SECTION --- */
/* ================================================== */

.services-section-interactive {
    padding: 120px 40px;
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 100%);
    position: relative;
    overflow: hidden;
}

.services-section-interactive .section-title {
    text-align: center;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    font-family: var(--font-primary);
    color: var(--white);
    margin-bottom: 80px;
    opacity: 1;
}

.services-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 35% 65%;
    gap: 80px;
    align-items: start;
}

/* === Left Column: Services List === */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: sticky;
    top: 120px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px 25px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 3px solid transparent;
    position: relative;
    opacity: 1 !important;
}

.service-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--slate-gray) 0%, var(--charcoal) 100%);
    transform: scaleY(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: top;
}

.service-item.active::before {
    transform: scaleY(1);
}

.service-number {
    font-size: 1.2rem;
    font-weight: 700;
    font-family: var(--font-primary);
    color: var(--warm-gray);
    transition: all 0.4s ease;
    min-width: 40px;
    opacity: 1 !important;
}

.service-name {
    font-size: 1.8rem;
    font-weight: 600;
    font-family: var(--font-secondary);
    color: var(--warm-gray);
    transition: all 0.4s ease;
    margin: 0;
    opacity: 1 !important;
}

.service-item:hover .service-name,
.service-item:hover .service-number {
    color: rgba(255, 255, 255, 0.8);
}

.service-item.active .service-name {
    color: var(--white);
    font-weight: 700;
}

.service-item.active .service-number {
    color: var(--white);
}

/* === Right Column: Service Display === */
.service-display-area {
    background: linear-gradient(135deg, rgba(51, 51, 51, 0.3) 0%, rgba(26, 26, 26, 0.5) 100%);
    border: 1px solid var(--charcoal);
    border-radius: 20px;
    padding: 60px 50px;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    transition: opacity 0.3s ease, transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-display-area::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

/* Service Icon */
.service-icon-large {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s ease;
    cursor: pointer;
}

.service-icon-large::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.service-icon-large:hover::after {
    width: 120%;
    height: 120%;
}

.service-icon-large svg {
    width: 50px;
    height: 50px;
    color: var(--white);
    transition: all 0.3s ease;
    position: absolute;
}

.service-icon-large:hover svg {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.service-icon-large svg.active-icon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.service-icon-large svg.hidden-icon {
    opacity: 0;
    transform: scale(0.5) rotate(-90deg);
}

.service-display-area:hover .service-icon-large {
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.05);
}

/* Service Tags */
.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.chip {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    font-family: var(--font-secondary);
    transition: all 0.3s ease;
    cursor: default;
}

.chip:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Service Description */
.service-description {
    font-size: 1.15rem;
    font-family: var(--font-secondary);
    color: var(--warm-gray);
    line-height: 1.8;
    margin: 0;
}

/* Service Link */
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-secondary);
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.service-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: width 0.4s ease;
}

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

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

/* Service Item Hover Enhancement */
.service-item {
    user-select: none;
}

.service-item:active {
    transform: translateX(5px);
}

/* === Responsive Design === */
@media (max-width: 1024px) {
    .services-container {
        grid-template-columns: 40% 60%;
        gap: 40px;
    }

    .service-name {
        font-size: 1.5rem;
    }

    .service-display-area {
        padding: 40px 35px;
    }
}

@media (max-width: 768px) {
    .services-section-interactive {
        padding: 80px 20px;
    }

    .services-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .services-list {
        position: relative;
        top: 0;
    }

    .service-item {
        padding: 20px 15px;
    }

    .service-name {
        font-size: 1.3rem;
    }

    .service-number {
        font-size: 1rem;
    }

    .service-display-area {
        padding: 40px 30px;
        min-height: 400px;
    }

    .service-icon-large {
        width: 80px;
        height: 80px;
    }

    .service-icon-large svg {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .service-item {
        padding: 15px 10px;
    }

    .service-name {
        font-size: 1.1rem;
    }

    .service-display-area {
        padding: 30px 20px;
    }

    .service-description {
        font-size: 1rem;
    }
}
/* ================================================== */
/* --- PORTFOLIO SECTION --- */
/* ================================================== */

.portfolio-section {
    padding: 120px 40px;
    background: linear-gradient(180deg, #0a0a0a 0%, #000000 100%);
    position: relative;
    overflow: hidden;
}

/* Portfolio Header */
.portfolio-header {
    max-width: 800px;
    margin: 0 auto 80px;
    text-align: center;
}

.portfolio-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    font-family: var(--font-primary);
    color: var(--white);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.title-icon {
    font-size: 3rem;
    animation: float 3s ease-in-out infinite;
}

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

.portfolio-subtitle {
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 600;
    font-family: var(--font-primary);
    color: var(--white);
    margin-bottom: 15px;
}

.portfolio-description {
    font-size: 1.15rem;
    font-family: var(--font-secondary);
    color: var(--warm-gray);
    line-height: 1.6;
}

/* Portfolio Grid */
.portfolio-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(550px, 1fr));
    gap: 40px;
}

/* Portfolio Item */
.portfolio-item {
    background: linear-gradient(135deg, rgba(51, 51, 51, 0.3) 0%, rgba(26, 26, 26, 0.5) 100%);
    border: 1px solid var(--charcoal);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    border-color: var(--slate-gray);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

/* Portfolio Image Container */
.portfolio-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: #000;
}

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

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

/* Portfolio Badge */
.portfolio-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    color: var(--black);
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    padding: 8px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(74, 222, 128, 0.4);
}

/* Portfolio Content */
.portfolio-content {
    padding: 30px;
    background: rgba(0, 0, 0, 0.5);
}

.portfolio-item-title {
    font-size: 1.5rem;
    font-weight: 600;
    font-family: var(--font-secondary);
    color: var(--white);
    line-height: 1.4;
    margin: 0;
    transition: color 0.3s ease;
}

.portfolio-item:hover .portfolio-item-title {
    color: #4ade80;
}

/* === Responsive Design === */
@media (max-width: 1200px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
        gap: 30px;
    }

    .portfolio-image {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .portfolio-section {
        padding: 80px 20px;
    }

    .portfolio-header {
        margin-bottom: 50px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .portfolio-image {
        height: 300px;
    }

    .portfolio-item-title {
        font-size: 1.25rem;
    }

    .portfolio-content {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .portfolio-title {
        flex-direction: column;
        gap: 10px;
    }

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

    .portfolio-image {
        height: 250px;
    }

    .portfolio-item-title {
        font-size: 1.1rem;
    }

    .portfolio-badge {
        font-size: 0.7rem;
        padding: 6px 12px;
    }
}
/* ================================================== */
/* --- MOBILE OPTIMIZATIONS FOR HERO SECTION --- */
/* ================================================== */

/* Hide lens on mobile devices */
@media (max-width: 768px) {
    .lens-image {
        display: none !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    /* Ensure hero text is not affected by lens on mobile */
    .hero-text-char {
        transform: scale(1) !important;
    }

    /* Make hero section more mobile-friendly */
    .hero-content-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .hero-text-side {
        width: 100%;
        text-align: center;
    }

    .hero-serp-container {
        width: 100%;
        display: block !important;
    }
}

/* Mobile SERP Mockup Styles */
@media (max-width: 768px) {
    .serp-mockup {
        max-width: 100%;
        margin: 0 auto;
        transform: scale(0.9);
    }

    .serp-container {
        border-radius: 12px;
        padding: 15px;
    }

    .serp-header {
        padding: 12px;
        gap: 10px;
    }

    .serp-logo-img {
        height: 25px;
    }

    .serp-search-bar {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .search-icon {
        width: 16px;
        height: 16px;
    }

    .serp-results {
        padding: 12px;
    }

    .serp-info {
        font-size: 0.7rem;
        margin-bottom: 15px;
    }

    .serp-result {
        padding: 12px;
        margin-bottom: 12px;
    }

    .serp-result-featured {
        padding: 15px;
    }

    .serp-url {
        font-size: 0.75rem;
    }

    .serp-breadcrumb {
        font-size: 0.65rem;
    }

    .serp-result-title {
        font-size: 1rem;
        margin: 6px 0;
    }

    .serp-result-desc {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .serp-rank-badge {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        bottom: 8px;
        right: 8px;
    }

    .serp-favicon,
    .serp-favicon-placeholder {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .serp-mockup {
        transform: scale(0.85);
    }

    .serp-container {
        border-radius: 10px;
        padding: 10px;
    }

    .serp-header {
        padding: 10px;
    }

    .serp-logo-img {
        height: 20px;
    }

    .serp-search-bar {
        padding: 6px 10px;
        font-size: 0.8rem;
    }

    .serp-result-title {
        font-size: 0.9rem;
    }

    .serp-result-desc {
        font-size: 0.75rem;
    }

    .serp-rank-badge {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
}/* ================================================== */
/* --- MOBILE HERO SECTION FIX --- */
/* Fix text going above screen on mobile */
/* ================================================== */

@media (max-width: 768px) {
    /* Fix Hero Section padding and positioning */
    .hero-section {
        padding: 0 10px 0 10px !important; /* Use our compact layout */
        min-height: auto !important;
        height: auto !important;
    }

    .hero-content-wrapper {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    .hero-text-side {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    .hero-title {
        margin-top: 0 !important;
        padding-top: 0 !important;
        font-size: clamp(1.8rem, 6vw, 2.5rem) !important;
        line-height: 1.2 !important;
    }

    .hero-subtitle {
        font-size: 1rem !important;
        margin-top: 15px !important;
    }

    .hero-text-container {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    /* Ensure SERP mockup is visible */
    .hero-serp-container {
        margin-top: 40px !important;
        width: 100%;
    }

    .serp-mockup {
        max-width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 0 8px 0 8px !important; /* Use our compact layout */
    }

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

    .hero-subtitle {
        font-size: 0.9rem !important;
    }
}
/* ================================================== */
/* --- MOBILE MENU STYLES (FIXED) --- */
/* ================================================== */

/* Mobile Menu Icon (Hamburger) */
.mobile-menu-icon {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 9999;
    position: relative;
}

.mobile-menu-icon span {
    width: 100%;
    height: 3px;
    background-color: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

/* Hamburger Animation when active */
.mobile-menu-icon.active {
    position: fixed;
    top: 30px;
    right: 20px;
    z-index: 9999;
}

.mobile-menu-icon.active span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.mobile-menu-icon.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-icon.active span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(10px);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    overflow: hidden;
}

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

/* Mobile Navigation */
.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
    padding: 40px 20px;
    width: 100%;
    max-width: 400px;
}

.mobile-nav-link {
    font-size: 1.5rem;
    font-weight: 600;
    font-family: var(--font-secondary);
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    text-align: center;
}

.mobile-menu-overlay.active .mobile-nav-link {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation */
.mobile-menu-overlay.active .mobile-nav-link:nth-child(1) { 
    transition: all 0.4s ease 0.1s; 
}
.mobile-menu-overlay.active .mobile-nav-link:nth-child(2) { 
    transition: all 0.4s ease 0.15s; 
}
.mobile-menu-overlay.active .mobile-nav-link:nth-child(3) { 
    transition: all 0.4s ease 0.2s; 
}
.mobile-menu-overlay.active .mobile-nav-link:nth-child(4) { 
    transition: all 0.4s ease 0.25s; 
}
.mobile-menu-overlay.active .mobile-nav-link:nth-child(5) { 
    transition: all 0.4s ease 0.3s; 
}
.mobile-menu-overlay.active .mobile-cta-button { 
    transition: all 0.4s ease 0.35s; 
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
    color: var(--slate-gray);
    transform: scale(1.05);
}

.mobile-cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--slate-gray) 0%, var(--charcoal) 100%);
    color: var(--white);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(30px);
    text-align: center;
}

.mobile-menu-overlay.active .mobile-cta-button {
    opacity: 1;
    transform: translateY(0);
}

.mobile-cta-button:hover,
.mobile-cta-button:active {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

/* Show hamburger on mobile */
@media (max-width: 768px) {
    .mobile-menu-icon {
        display: flex;
    }

    .nav-links,
    .navbar > .cta-button {
        display: none;
    }

    /* Ensure proper stacking */
    .main-header {
        position: relative;
        z-index: 100;
    }
}

@media (max-width: 480px) {
    .mobile-nav-link {
        font-size: 1.3rem;
    }

    .mobile-cta-button {
        font-size: 1.1rem;
        padding: 12px 35px;
    }

    .mobile-nav {
        gap: 20px;
    }
}
/* ================================================== */
/* --- HOW WE WORK SECTION --- */
/* ================================================== */

.how-we-work-section {
    padding: 120px 40px;
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 100%);
    position: relative;
    overflow: hidden;
}

.how-we-work-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    font-family: var(--font-primary);
    color: var(--white);
    margin-bottom: 20px;
    opacity: 0;
}

.section-subtitle {
    font-size: 1.15rem;
    font-family: var(--font-secondary);
    color: var(--warm-gray);
    line-height: 1.6;
    opacity: 0;
}

/* Process Steps */
.process-steps {
    display: grid;
    gap: 40px;
    position: relative;
}

/* Connecting Line */
.process-steps::before {
    content: '';
    position: absolute;
    left: 45px;
    top: 80px;
    bottom: 80px;
    width: 2px;
    background: linear-gradient(180deg, var(--slate-gray) 0%, var(--charcoal) 100%);
    opacity: 0.3;
}

/* Individual Step */
.process-step {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 40px;
    align-items: start;
    opacity: 0;
    transform: translateY(30px);
}

.step-number {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(51, 51, 51, 0.5) 0%, rgba(26, 26, 26, 0.8) 100%);
    border: 2px solid var(--charcoal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-primary);
    color: var(--white);
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.process-step:hover .step-number {
    background: linear-gradient(135deg, var(--slate-gray) 0%, var(--charcoal) 100%);
    border-color: var(--slate-gray);
    transform: scale(1.1);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.1);
}

/* Step Content */
.step-content {
    background: linear-gradient(135deg, rgba(51, 51, 51, 0.3) 0%, rgba(26, 26, 26, 0.5) 100%);
    border: 1px solid var(--charcoal);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.4s ease;
}

.process-step:hover .step-content {
    border-color: var(--slate-gray);
    transform: translateX(10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.step-icon svg {
    width: 30px;
    height: 30px;
    color: var(--white);
    transition: all 0.3s ease;
}

.process-step:hover .step-icon {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.process-step:hover .step-icon svg {
    transform: scale(1.2);
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    color: var(--white);
    margin-bottom: 15px;
    line-height: 1.4;
}

.step-description {
    font-size: 1rem;
    font-family: var(--font-secondary);
    color: var(--warm-gray);
    line-height: 1.8;
    margin: 0;
}

/* === Responsive Design === */
@media (max-width: 768px) {
    .how-we-work-section {
        padding: 80px 20px;
    }

    .section-header {
        margin-bottom: 60px;
    }

    .process-steps::before {
        left: 35px;
    }

    .process-step {
        grid-template-columns: 70px 1fr;
        gap: 20px;
    }

    .step-number {
        width: 70px;
        height: 70px;
        font-size: 1.5rem;
    }

    .step-content {
        padding: 30px 25px;
    }

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

    .step-description {
        font-size: 0.95rem;
    }

    .step-icon {
        width: 50px;
        height: 50px;
    }

    .step-icon svg {
        width: 25px;
        height: 25px;
    }
}

@media (max-width: 480px) {
    .process-steps::before {
        left: 30px;
    }

    .process-step {
        grid-template-columns: 60px 1fr;
        gap: 15px;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.3rem;
    }

    .step-content {
        padding: 25px 20px;
    }

    .step-title {
        font-size: 1.1rem;
    }

    .step-description {
        font-size: 0.9rem;
    }
}
/* ================================================== */
/* --- RECOMMENDATIONS SECTION --- */
/* ================================================== */

.recommendations-section {
    padding: 120px 40px;
    background: linear-gradient(180deg, #0a0a0a 0%, #000000 100%);
    position: relative;
    overflow: hidden;
}

.recommendations-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Section Header */
.recommendations-section .section-header {
    text-align: center;
    margin-bottom: 80px;
}

.recommendations-section .section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    font-family: var(--font-primary);
    color: var(--white);
    margin-bottom: 20px;
    opacity: 0;
}

.recommendations-section .section-subtitle {
    font-size: 1.15rem;
    font-family: var(--font-secondary);
    color: var(--warm-gray);
    line-height: 1.6;
    opacity: 0;
}

/* Recommendations Grid */
.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 30px;
}

/* Recommendation Item */
.recommendation-item {
    background: linear-gradient(135deg, rgba(51, 51, 51, 0.3) 0%, rgba(26, 26, 26, 0.5) 100%);
    border: 1px solid var(--charcoal);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
    position: relative;
    overflow: hidden;
}

.recommendation-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--slate-gray);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s ease;
}

.recommendation-item:hover {
    border-color: var(--slate-gray);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.recommendation-item:hover::before {
    transform: scaleY(1);
}

/* Priority Colors */
.recommendation-item.high-priority::before {
    background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%);
}

.recommendation-item.medium-priority::before {
    background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
}

.recommendation-item.low-priority::before {
    background: linear-gradient(180deg, #10b981 0%, #059669 100%);
}

/* Recommendation Header */
.recommendation-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.recommendation-title {
    font-size: 1.15rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    color: var(--white);
    line-height: 1.4;
    margin: 0;
    flex: 1;
}
.recommendation-item {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.recommendations-section .section-title,
.recommendations-section .section-subtitle {
    opacity: 1 !important;
}


/* Priority Badge */
.priority-badge {
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    padding: 6px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    flex-shrink: 0;
}

.priority-badge.high {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.priority-badge.medium {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.priority-badge.low {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Recommendation Category */
.recommendation-category {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-secondary);
    color: var(--slate-gray);
    background: rgba(255, 255, 255, 0.05);
    padding: 5px 12px;
    border-radius: 6px;
    margin-bottom: 15px;
}

/* Recommendation Description */
.recommendation-description {
    font-size: 0.95rem;
    font-family: var(--font-secondary);
    color: var(--warm-gray);
    line-height: 1.7;
    margin: 0;
}

/* === Responsive Design === */
@media (max-width: 1200px) {
    .recommendations-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .recommendations-section {
        padding: 80px 20px;
    }

    .recommendations-section .section-header {
        margin-bottom: 60px;
    }

    .recommendations-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .recommendation-item {
        padding: 25px;
    }

    .recommendation-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .recommendation-title {
        font-size: 1.05rem;
    }

    .recommendation-description {
        font-size: 0.9rem;
    }
}

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

    .recommendation-title {
        font-size: 1rem;
    }

    .priority-badge {
        font-size: 0.7rem;
        padding: 5px 10px;
    }

    .recommendation-category {
        font-size: 0.8rem;
        padding: 4px 10px;
    }
}
/* ================================================== */
/* --- SEO AUDIT RESULTS SECTION (UPDATED) --- */
/* ================================================== */

.audit-results-section {
    padding: 100px 40px;
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 100%);
    min-height: 100vh;
}

.audit-results-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Results Header */
.results-header {
    text-align: center;
    margin-bottom: 60px;
}

.results-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    font-family: var(--font-primary);
    color: var(--white);
    margin-bottom: 20px;
}

.results-analyzed {
    font-size: 1.1rem;
    font-family: var(--font-secondary);
    color: var(--warm-gray);
}

.results-analyzed span {
    color: var(--white);
    font-weight: 600;
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

/* Metric Card */
.metric-card {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.6) 0%, rgba(20, 20, 20, 0.8) 100%);
    border: 1px solid var(--charcoal);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--white) 0%, var(--warm-gray) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.metric-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.metric-card:hover::before {
    transform: scaleX(1);
}

/* Metric Icon */
.metric-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.metric-icon svg {
    width: 40px;
    height: 40px;
    color: var(--white);
    transition: all 0.3s ease;
}

.metric-card:hover .metric-icon {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.metric-card:hover .metric-icon svg {
    transform: scale(1.2);
}

/* Metric Title */
.metric-title {
    font-size: 1.3rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    color: var(--white);
    margin-bottom: 20px;
}

/* Metric Score */
.metric-score {
    margin-bottom: 20px;
}

.score-number {
    font-size: 4rem;
    font-weight: 800;
    font-family: var(--font-primary);
    line-height: 1;
}

.score-max {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--warm-gray);
}

/* Dynamic Score Colors Based on Values */
.score-number.score-red {
    color: #ef4444 !important; /* Red for scores 0-61 */
}

.score-number.score-yellow {
    color: #f59e0b !important; /* Yellow for scores 62-84 */
}

.score-number.score-green {
    color: #10b981 !important; /* Green for scores 85-100 */
}

/* Legacy colors (will be overridden by dynamic classes) */
.speed-score .score-number {
    color: #f59e0b;
}

.seo-score .score-number {
    color: #ef4444;
}

.mobile-score .score-number {
    color: #10b981;
}

/* Load Time */
.metric-load-time {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 10px 20px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 30px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.load-icon {
    font-size: 1.2rem;
}

.load-text {
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    color: #f59e0b;
}

/* Metric Description */
.metric-description {
    font-size: 0.95rem;
    font-family: var(--font-secondary);
    color: var(--warm-gray);
    line-height: 1.6;
    margin: 0;
}

/* Radar Chart Section */
.radar-chart-section {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.6) 0%, rgba(20, 20, 20, 0.8) 100%);
    border: 1px solid var(--charcoal);
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 60px;
    text-align: center;
}

.chart-title {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    color: var(--white);
    margin-bottom: 40px;
}

.radar-chart-container {
    max-width: 600px;
    height: 400px;
    margin: 0 auto 30px;
    position: relative;
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
}
.legend-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #6b7280; /* رصاصي */
}


.legend-text {
    font-size: 1rem;
    font-family: var(--font-secondary);
    color: var(--white);
}

/* Report Info */
.report-info {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
}

.report-date {
    font-size: 1rem;
    font-family: var(--font-secondary);
    color: var(--warm-gray);
    margin-bottom: 20px;
}

.report-date span {
    color: var(--white);
    font-weight: 600;
}

.refresh-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.refresh-button svg {
    width: 20px;
    height: 20px;
}

.refresh-button:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

/* === Responsive Design === */
@media (max-width: 1024px) {
    .metrics-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }

    .radar-chart-container {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .audit-results-section {
        padding: 80px 20px;
    }

    .results-header {
        margin-bottom: 40px;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .radar-chart-section {
        padding: 30px 20px;
    }

    .radar-chart-container {
        height: 300px;
    }

    .score-number {
        font-size: 3.5rem;
    }

    .metric-card {
        padding: 35px 25px;
    }
}

@media (max-width: 480px) {
    .metric-icon {
        width: 70px;
        height: 70px;
    }

    .metric-icon svg {
        width: 35px;
        height: 35px;
    }

    .score-number {
        font-size: 3rem;
    }

    .metric-title {
        font-size: 1.2rem;
    }

    .refresh-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

/* ================================================== */
/* --- RECOMMENDATIONS SECTION (UPDATED - RED HIGH PRIORITY) --- */
/* ================================================== */

.recommendations-section {
    padding: 120px 40px;
    background: linear-gradient(180deg, #0a0a0a 0%, #000000 100%);
    position: relative;
    overflow: hidden;
}

.recommendations-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Section Header */
.recommendations-section .section-header {
    text-align: center;
    margin-bottom: 80px;
}

.recommendations-section .section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    font-family: var(--font-primary);
    color: var(--white);
    margin-bottom: 20px;
    opacity: 0;
}

.recommendations-section .section-subtitle {
    font-size: 1.15rem;
    font-family: var(--font-secondary);
    color: var(--warm-gray);
    line-height: 1.6;
    opacity: 0;
}

/* ================================================== */
/* --- HIGH PRIORITY CARDS (RED BADGES) --- */
/* ================================================== */

.high-priority-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.priority-card {
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.6) 0%, rgba(25, 25, 25, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 35px;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
    position: relative;
    overflow: hidden;
}

.priority-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.priority-card:hover {
    transform: translateY(-10px);
    border-color: rgba(239, 68, 68, 0.4);
    box-shadow: 0 20px 60px rgba(239, 68, 68, 0.2);
}

.priority-card:hover::before {
    transform: scaleX(1);
}

/* Card Header */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.card-icon {
    width: 50px;
    height: 50px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

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

.priority-card:hover .card-icon {
    background: rgba(239, 68, 68, 0.2);
    transform: scale(1.1);
}

.priority-badge {
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    padding: 6px 14px;
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Card Title & Description */
.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.4;
}

.card-description {
    font-size: 0.95rem;
    font-family: var(--font-secondary);
    color: var(--warm-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Card Metric (Big Number) */
.card-metric {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(239, 68, 68, 0.05);
    border-radius: 12px;
    border-left: 3px solid #ef4444;
}

.metric-number {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-primary);
    color: #ef4444;
    line-height: 1;
}

.metric-label {
    font-size: 0.9rem;
    font-family: var(--font-secondary);
    color: var(--warm-gray);
}

/* Card Stats (for backlinks card) */
.card-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: rgba(239, 68, 68, 0.05);
    border-radius: 10px;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-primary);
    color: #ef4444;
    margin-bottom: 5px;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    font-family: var(--font-secondary);
    color: var(--warm-gray);
}

/* Card Category */
.card-category {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-secondary);
    color: var(--warm-gray);
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 14px;
    border-radius: 6px;
}

/* ================================================== */
/* --- OTHER ISSUES LIST (Medium & Low Priority) --- */
/* ================================================== */

.other-issues-section {
    margin-top: 80px;
}

.issues-list-title {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    color: var(--white);
    margin-bottom: 30px;
    text-align: center;
}

.issues-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Issue Item (List style, not cards) */
.issue-item {
    display: grid;
    grid-template-columns: 4px 1fr;
    gap: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-20px);
}

.issue-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

/* Issue Indicator (Left border color) */
.issue-indicator {
    width: 4px;
    background: var(--warm-gray);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.issue-item.medium .issue-indicator {
    background: linear-gradient(180deg, #d1d5db 0%, #9ca3af 100%);
}

.issue-item.low .issue-indicator {
    background: linear-gradient(180deg, #6b7280 0%, #4b5563 100%);
}

.issue-item:hover .issue-indicator {
    background: var(--white);
}

/* Issue Content */
.issue-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.issue-title {
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-secondary);
    color: var(--white);
    margin: 0;
}

.issue-description {
    font-size: 0.9rem;
    font-family: var(--font-secondary);
    color: var(--warm-gray);
    line-height: 1.6;
    margin: 0;
}

/* Issue Meta (Count + Category) */
.issue-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 8px;
}

.issue-count {
    font-size: 0.85rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    padding: 4px 12px;
    border-radius: 6px;
}

.issue-category {
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-secondary);
    color: var(--warm-gray);
}

/* === Responsive Design === */
@media (max-width: 1024px) {
    .high-priority-cards {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .recommendations-section {
        padding: 80px 20px;
    }

    .recommendations-section .section-header {
        margin-bottom: 60px;
    }

    .high-priority-cards {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 60px;
    }

    .priority-card {
        padding: 30px 25px;
    }

    .card-title {
        font-size: 1.2rem;
    }

    .metric-number {
        font-size: 2.5rem;
    }

    .card-stats {
        grid-template-columns: 1fr;
    }

    .issues-list-title {
        font-size: 1.5rem;
    }

    .issue-item {
        padding: 18px;
    }

    .issue-title {
        font-size: 1rem;
    }

    .issue-description {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .priority-card {
        padding: 25px 20px;
    }

    .card-header {
        flex-direction: column;
        gap: 15px;
    }

    .card-icon {
        width: 45px;
        height: 45px;
    }

    .metric-number {
        font-size: 2.2rem;
    }

    .stat-value {
        font-size: 1.8rem;
    }

    .issue-item {
        grid-template-columns: 3px 1fr;
        gap: 15px;
        padding: 15px;
    }

    .issue-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}.detailed-analysis-section {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.analysis-section-title {
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    color: var(--white);
    text-align: center;
    margin-bottom: 50px;
}

/* Analysis Card */
.analysis-card {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.6) 0%, rgba(20, 20, 20, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 35px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.analysis-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Analysis Header */
.analysis-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.analysis-title {
    font-size: 1.4rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    color: var(--white);
    margin: 0;
}

.analysis-status {
    font-size: 0.8rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    padding: 6px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.analysis-status.success {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.analysis-status.warning {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.analysis-status.error {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.analysis-description {
    font-size: 0.95rem;
    font-family: var(--font-secondary);
    color: var(--warm-gray);
    line-height: 1.7;
    margin-bottom: 25px;
}

/* ================================================== */
/* --- HEADER TAGS GRID --- */
/* ================================================== */

.header-tags-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
}

.header-tag-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.header-tag-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.tag-name {
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-secondary);
    color: var(--warm-gray);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.tag-count {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-primary);
    color: var(--white);
    line-height: 1;
}

.tag-count.success {
    color: #10b981;
}

.tag-count.error {
    color: #ef4444;
}

/* ================================================== */
/* --- LINK STATS GRID --- */
/* ================================================== */

.link-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
}

.link-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.link-stat-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-primary);
    color: var(--white);
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    font-family: var(--font-secondary);
    color: var(--warm-gray);
    text-align: center;
    line-height: 1.4;
}

/* ================================================== */
/* --- CONTENT METRIC --- */
/* ================================================== */

.content-metric {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border-left: 4px solid #10b981;
}

.content-metric .metric-label {
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-secondary);
    color: var(--warm-gray);
}

.content-metric .metric-value {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: var(--font-primary);
    color: #10b981;
}

/* ================================================== */
/* --- META TAGS LIST --- */
/* ================================================== */

.meta-tags-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.meta-tag-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.meta-tag-row:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.meta-tag-name {
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-secondary);
    color: var(--white);
}

.meta-tag-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-secondary);
}

.meta-tag-status svg {
    width: 20px;
    height: 20px;
}

.meta-tag-status.success {
    color: #10b981;
}

.meta-tag-status.error {
    color: #ef4444;
}

.meta-tag-status.warning {
    color: #f59e0b;
}

/* === Responsive Design for Analysis Section === */

@media (max-width: 768px) {
    .detailed-analysis-section {
        margin-top: 60px;
        padding-top: 40px;
    }

    .analysis-section-title {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }

    .analysis-card {
        padding: 25px 20px;
    }

    .analysis-title {
        font-size: 1.2rem;
    }

    .header-tags-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .link-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .meta-tag-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .analysis-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-tags-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tag-count {
        font-size: 2rem;
    }

    .link-stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2rem;
    }

    .content-metric {
        flex-direction: column;
        gap: 10px;
    }

    .content-metric .metric-value {
        font-size: 1.5rem;
    }
}
.legend-dot {
    background: #6b7280 !important; /* رصاصي */
}
/* ================================================== */
/* --- FOOTER SECTION --- */
/* ================================================== */

.main-footer {
    background: linear-gradient(180deg, #0a0a0a 0%, #000000 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 80px 40px 30px;
    position: relative;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    margin-bottom: 60px;
}

/* ================================================== */
/* --- FOOTER LEFT SIDE (Logo + Tagline) --- */
/* ================================================== */

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-logo-img {
    width: 180px;
    height: auto;
}

.footer-tagline {
    max-width: 500px;
}

.tagline-title {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-primary);
    color: var(--white);
    margin-bottom: 15px;
    line-height: 1.3;
}

.tagline-text {
    font-size: 1.05rem;
    font-family: var(--font-secondary);
    color: var(--warm-gray);
    line-height: 1.7;
    margin: 0;
}

/* ================================================== */
/* --- FOOTER RIGHT SIDE (Links + Contact) --- */
/* ================================================== */

.footer-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

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

.footer-column-title {
    font-size: 1.2rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    color: var(--white);
    margin: 0 0 10px 0;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    font-size: 0.95rem;
    font-family: var(--font-secondary);
    color: var(--warm-gray);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

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

/* Footer Contact */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-item svg {
    width: 20px;
    height: 20px;
    color: var(--warm-gray);
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.contact-link {
    font-size: 0.95rem;
    font-family: var(--font-secondary);
    color: var(--warm-gray);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item:hover svg,
.contact-item:hover .contact-link {
    color: var(--white);
}

/* ================================================== */
/* --- FOOTER BOTTOM --- */
/* ================================================== */

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-copyright {
    font-size: 0.9rem;
    font-family: var(--font-secondary);
    color: var(--warm-gray);
    margin: 0;
}

/* ================================================== */
/* --- RESPONSIVE DESIGN --- */
/* ================================================== */

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

    .footer-right {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .main-footer {
        padding: 60px 20px 25px;
    }

    .footer-container {
        gap: 40px;
    }

    .footer-logo-img {
        width: 150px;
    }

    .tagline-title {
        font-size: 1.5rem;
    }

    .tagline-text {
        font-size: 0.95rem;
    }

    .footer-right {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

@media (max-width: 480px) {
    .main-footer {
        padding: 50px 15px 20px;
    }

    .footer-logo-img {
        width: 130px;
    }

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

    .footer-column-title {
        font-size: 1.1rem;
    }

    .footer-link,
    .contact-link {
        font-size: 0.9rem;
    }
}


/* ================================================== */
/* FIX: Contact Page - Date & Time Inputs on Mobile */
/* ================================================== */

@media (max-width: 768px) {
    /* Make date/time inputs stack vertically */
    .datetime-inputs {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .date-input,
    .time-input {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 16px !important; /* Prevent zoom on iOS */
    }

    /* Ensure calendar group container fits */
    .calendar-group {
        width: 100% !important;
        overflow: hidden !important;
    }

    /* Fix form container padding */
    .contact-form-container {
        padding: 40px 25px !important;
    }

    /* Ensure all inputs are responsive */
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group input[type="date"],
    .form-group input[type="time"] {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 480px) {
    /* Extra small screens */
    .contact-form-container {
        padding: 30px 20px !important;
        border-radius: 12px !important;
    }

    .datetime-inputs {
        gap: 12px !important;
    }

    .date-input,
    .time-input {
        padding: 12px 16px !important;
        font-size: 16px !important;
    }
}

/* Dynamic Badge Colors for SEO Analysis */
.priority-badge.excellent {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    border: 1px solid #22c55e;
}

.priority-badge.needs-improvement {
    background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
    color: white;
    border: 1px solid #eab308;
}

.priority-badge.high-priority {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: 1px solid #ef4444;
}

.priority-badge.analyzing {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: white;
    border: 1px solid #6b7280;
}

/* Dynamic Score Colors */
.metric-number.excellent {
    color: #22c55e !important;
}

.metric-number.needs-improvement {
    color: #eab308 !important;
}

.metric-number.high-priority {
    color: #ef4444 !important;
}

.metric-number.analyzing {
    color: #6b7280 !important;
}

/* Dynamic Card Metric Background and Border */
.card-metric.excellent {
    background: rgba(34, 197, 94, 0.05) !important;
    border-left: 3px solid #22c55e !important;
}

.card-metric.needs-improvement {
    background: rgba(234, 179, 8, 0.05) !important;
    border-left: 3px solid #eab308 !important;
}

.card-metric.high-priority {
    background: rgba(239, 68, 68, 0.05) !important;
    border-left: 3px solid #ef4444 !important;
}

.card-metric.analyzing {
    background: rgba(107, 114, 128, 0.05) !important;
    border-left: 3px solid #6b7280 !important;
}

/* Dynamic Card Icon Colors */
.priority-card.excellent .card-icon {
    background: rgba(34, 197, 94, 0.1) !important;
}

.priority-card.excellent .card-icon svg {
    color: #22c55e !important;
}

.priority-card.needs-improvement .card-icon {
    background: rgba(234, 179, 8, 0.1) !important;
}

.priority-card.needs-improvement .card-icon svg {
    color: #eab308 !important;
}

.priority-card.high-priority .card-icon {
    background: rgba(239, 68, 68, 0.1) !important;
}

.priority-card.high-priority .card-icon svg {
    color: #ef4444 !important;
}

.priority-card.analyzing .card-icon {
    background: rgba(107, 114, 128, 0.1) !important;
}

.priority-card.analyzing .card-icon svg {
    color: #6b7280 !important;
}

/* Dynamic Hover Effects */
.priority-card.excellent:hover {
    border-color: rgba(34, 197, 94, 0.4) !important;
    box-shadow: 0 20px 60px rgba(34, 197, 94, 0.2) !important;
}

.priority-card.excellent:hover .card-icon {
    background: rgba(34, 197, 94, 0.2) !important;
    transform: scale(1.1);
}

.priority-card.needs-improvement:hover {
    border-color: rgba(234, 179, 8, 0.4) !important;
    box-shadow: 0 20px 60px rgba(234, 179, 8, 0.2) !important;
}

.priority-card.needs-improvement:hover .card-icon {
    background: rgba(234, 179, 8, 0.2) !important;
    transform: scale(1.1);
}

.priority-card.high-priority:hover {
    border-color: rgba(239, 68, 68, 0.4) !important;
    box-shadow: 0 20px 60px rgba(239, 68, 68, 0.2) !important;
}

.priority-card.high-priority:hover .card-icon {
    background: rgba(239, 68, 68, 0.2) !important;
    transform: scale(1.1);
}

.priority-card.analyzing:hover {
    border-color: rgba(107, 114, 128, 0.4) !important;
    box-shadow: 0 20px 60px rgba(107, 114, 128, 0.2) !important;
}

.priority-card.analyzing:hover .card-icon {
    background: rgba(107, 114, 128, 0.2) !important;
    transform: scale(1.1);
}

/* Dynamic Top Line Colors */
.priority-card.excellent::before {
    background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%) !important;
}

.priority-card.needs-improvement::before {
    background: linear-gradient(90deg, #eab308 0%, #ca8a04 100%) !important;
}

.priority-card.high-priority::before {
    background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%) !important;
}

.priority-card.analyzing::before {
    background: linear-gradient(90deg, #6b7280 0%, #4b5563 100%) !important;
}

/* ================================================== */
/* --- CONTACT CTA SECTION --- */
/* ================================================== */

.contact-cta-section {
    margin: 40px 0;
    padding: 0 20px;
}

.contact-cta-card {
    background: linear-gradient(135deg, rgba(255, 87, 51, 0.1) 0%, rgba(255, 87, 51, 0.05) 100%);
    border: 2px solid rgba(255, 87, 51, 0.3);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.contact-cta-card:hover {
    border-color: rgba(255, 87, 51, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 87, 51, 0.2);
}

.cta-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.cta-content {
    flex: 1;
}

.cta-title {
    color: #ff5733;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.cta-description {
    color: var(--text-light);
    font-size: 1.1rem;
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.cta-button-primary {
    display: inline-block;
    background: linear-gradient(135deg, #ff5733 0%, #ff8c42 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 87, 51, 0.3);
}

.cta-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 87, 51, 0.4);
    background: linear-gradient(135deg, #ff8c42 0%, #ff5733 100%);
}

@media (max-width: 768px) {
    .contact-cta-card {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }
    
    .cta-icon {
        font-size: 2.5rem;
    }
    
    .cta-title {
        font-size: 1.3rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
}

/* ================================================== */
/* --- GDPR COOKIE CONSENT BANNER --- */
/* ================================================== */

.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.98) 0%, rgba(15, 15, 15, 0.99) 100%);
    backdrop-filter: blur(25px);
    border-top: 2px solid rgba(255, 255, 255, 0.15);
    padding: 30px 25px;
    z-index: 10000;
    transform: translateY(100%);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.5), 0 -5px 15px rgba(255, 255, 255, 0.05);
    border-radius: 20px 20px 0 0;
}

.cookie-consent-banner.show {
    transform: translateY(0);
}

.cookie-consent-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.9) 100%);
    backdrop-filter: blur(8px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-consent-overlay.show {
    opacity: 1;
    visibility: visible;
}

.cookie-consent-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    position: relative;
}


.cookie-consent-content {
    flex: 1;
    color: var(--white);
}

.cookie-consent-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--white);
    font-family: var(--font-primary);
    letter-spacing: 1px;
}

.cookie-consent-text {
    font-size: 1rem;
    color: var(--warm-gray);
    line-height: 1.6;
    margin-bottom: 0;
    font-weight: 400;
}

.cookie-consent-text a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    border-bottom: 1px solid transparent;
}

.cookie-consent-text a:hover {
    color: var(--warm-gray);
    border-bottom-color: var(--warm-gray);
}

.cookie-consent-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
    align-items: center;
}

.cookie-consent-btn {
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

.cookie-consent-btn.accept-all {
    background: linear-gradient(135deg, var(--slate-gray) 0%, var(--charcoal) 100%);
    color: var(--white);
    border: 2px solid transparent;
}

.cookie-consent-btn.accept-all:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(100, 100, 100, 0.4), 0 0 20px rgba(100, 100, 100, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.cookie-consent-btn.essentials {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid var(--slate-gray);
    backdrop-filter: blur(10px);
}

.cookie-consent-btn.essentials:hover {
    background: var(--white);
    color: var(--charcoal);
    transform: translateY(-3px) scale(1.02);
    border-color: var(--white);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.cookie-consent-btn.customize {
    background: rgba(255, 255, 255, 0.05);
    color: var(--warm-gray);
    border: 2px solid var(--warm-gray);
    backdrop-filter: blur(10px);
}

.cookie-consent-btn.customize:hover {
    background: var(--warm-gray);
    color: var(--black);
    transform: translateY(-3px) scale(1.02);
    border-color: var(--warm-gray);
    box-shadow: 0 8px 25px rgba(152, 151, 149, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cookie-consent-banner {
        padding: 25px 20px;
        border-radius: 15px 15px 0 0;
    }
    
    .cookie-consent-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    
    .cookie-consent-buttons {
        width: 100%;
        flex-direction: column;
        gap: 12px;
    }
    
    .cookie-consent-btn {
        width: 100%;
        min-width: auto;
        padding: 12px 20px;
    }
    
    .cookie-consent-title {
        font-size: 1.3rem;
    }
    
    .cookie-consent-text {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .cookie-consent-banner {
        padding: 20px 15px;
        border-radius: 12px 12px 0 0;
    }
    
    
    .cookie-consent-title {
        font-size: 1.2rem;
    }
    
    .cookie-consent-text {
        font-size: 0.9rem;
    }
    
    .cookie-consent-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
        border-radius: 10px;
    }
}

/* ================================================== */
/* --- NEW RECOMMENDATIONS SECTION --- */
/* ================================================== */

.recommendations-section-new {
    padding: 80px 0;
    background: var(--black);
    position: relative;
    overflow: hidden;
}

.recommendations-container-new {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 2;
}

.section-header-new {
    margin-bottom: 50px;
}

.section-title-new {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-primary);
    color: var(--white);
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-subtitle-new {
    font-size: 1.1rem;
    color: var(--warm-gray);
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
}

.recommendations-list-new {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: transparent;
    padding: 0;
    margin-top: 40px;
}

.recommendation-item-new {
    display: block;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    background: transparent;
}

.recommendation-item-new:last-child {
    border-bottom: none;
}

.recommendation-item-new:hover {
    background: rgba(255, 255, 255, 0.02);
    padding-left: 10px;
}

.recommendation-title-new {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin: 0 0 8px 0;
    font-family: var(--font-secondary);
    line-height: 1.4;
}

.recommendation-meta-new {
    display: flex;
    align-items: center;
    gap: 20px;
}

.category-badge-new {
    display: inline-block;
    padding: 0;
    background: transparent;
    color: var(--warm-gray);
    border-radius: 0;
    font-size: 0.9rem;
    font-weight: 400;
    border: none;
}

.priority-badge-new {
    display: inline-block;
    padding: 0;
    border-radius: 0;
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    border: none;
    color: var(--warm-gray);
    min-width: auto;
    text-align: left;
}

.priority-badge-new.high-priority-new {
    background: transparent;
    color: var(--warm-gray);
    box-shadow: none;
}

.priority-badge-new.medium-priority-new {
    background: transparent;
    color: var(--warm-gray);
    box-shadow: none;
}

.priority-badge-new.low-priority-new {
    background: transparent;
    color: var(--warm-gray);
    box-shadow: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .recommendations-section-new {
        padding: 60px 0;
    }
    
    .section-title-new {
        font-size: 2rem;
        letter-spacing: 0.5px;
    }
    
    .section-subtitle-new {
        font-size: 1rem;
    }
    
    .recommendations-container-new {
        padding: 0 20px;
    }
    
    .recommendation-item-new {
        padding: 15px 0;
    }
    
    .recommendation-title-new {
        font-size: 1.1rem;
    }
    
    .recommendation-meta-new {
        gap: 15px;
    }
    
    .category-badge-new {
        font-size: 0.85rem;
    }
    
    .priority-badge-new {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .recommendations-section-new {
        padding: 40px 0;
    }
    
    .section-title-new {
        font-size: 1.6rem;
    }
    
    .section-subtitle-new {
        font-size: 0.95rem;
    }
    
    .recommendations-container-new {
        padding: 0 15px;
    }
    
    .recommendation-item-new {
        padding: 12px 0;
    }
    
    .recommendation-title-new {
        font-size: 1rem;
    }
    
    .recommendation-meta-new {
        gap: 12px;
    }
    
    .category-badge-new {
        font-size: 0.8rem;
    }
    
    .priority-badge-new {
        font-size: 0.8rem;
    }
}

/* --- Adjust CTA button position on mobile --- */
@media (max-width: 768px) {
  .mobile-get-started {
    margin-top: -80px !important;
    padding: 0 !important;
  }
  
  a.mobile-cta-button {
    margin-top: 0;
    margin-bottom: 0;
  }
}
