/*
Theme Name: Leadpot
Theme URI: https://leadpot.com
Author: Leadpot Team
Author URI: https://leadpot.com
Description: A premium B2B lead generation WordPress theme with seamless animations, modern dark design, and polished UI. Built for award-winning performance.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: leadpot
Tags: dark-mode, lead-generation, b2b, corporate, business, modern, animations
*/

/* ==========================================================================
   CSS Custom Properties (Design Tokens)
   ========================================================================== */
:root {
    /* Colors */
    --color-primary: #DC2626;
    --color-primary-hover: #B91C1C;
    --color-primary-dark: #991B1B;
    --color-accent-red: #FF3333;

    /* Backgrounds */
    --color-bg-dark: #000000;
    --color-bg-surface: #0a0a0a;
    --color-bg-card: #111111;
    --color-bg-light: #ffffff;
    --color-surface-light: #f3f4f6;
    --color-surface-dark: #151B2B;

    /* Text */
    --color-text-primary: #ffffff;
    --color-text-secondary: #94a3b8;
    --color-text-muted: #64748b;
    --color-text-dark: #0f172a;

    /* Borders */
    --color-border-light: rgba(255, 255, 255, 0.1);
    --color-border-dark: rgba(255, 255, 255, 0.05);

    /* Typography */
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 30px rgba(220, 38, 38, 0.3);
    --shadow-glow-strong: 0 0 50px rgba(220, 38, 38, 0.5);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    --transition-bounce: 500ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ==========================================================================
   Base Styles & Reset
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Selection */
::selection {
    background-color: var(--color-primary);
    color: var(--color-text-primary);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-dark);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Hide scrollbar utility */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--color-primary);
}

/* ==========================================================================
   Layout & Containers
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-narrow {
    max-width: 1024px;
}

.container-wide {
    max-width: 1536px;
}

/* Grid System */
.grid {
    display: grid;
    gap: var(--spacing-lg);
}

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

@media (max-width: 1024px) {
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    .md\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
}

/* Flex Utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* ==========================================================================
   Components - Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-text-primary);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    box-shadow: var(--shadow-glow-strong);
    transform: translateY(-2px);
    color: var(--color-text-primary);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text-primary);
    border: 1px solid var(--color-border-light);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--color-primary);
    color: var(--color-text-primary);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: var(--radius-xl);
}

.btn-pill {
    border-radius: var(--radius-full);
}

/* Magnetic Button Effect */
.magnetic-btn {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ==========================================================================
   Components - Cards
   ========================================================================== */
.card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    transition: all var(--transition-base);
}

.card:hover {
    border-color: rgba(220, 38, 38, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.card-glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Source Card (Hero Section) */
.source-card {
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.source-card:hover {
    transform: translateX(4px);
    border-color: rgba(220, 38, 38, 0.4);
    background: #f8fafc;
}

/* Hover Lift Effect */
.hover-lift {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hover-lift:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.2);
}

/* ==========================================================================
   Components - Navigation
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: var(--color-bg-dark);
    border-bottom: 1px solid var(--color-border-light);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    position: relative; /* For megamenu dropdown positioning */
}

.site-logo img {
    height: 40px;
    width: auto;
}

.main-nav {
    display: none;
}

@media (min-width: 1024px) {
    .main-nav {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-primary);
    transition: color var(--transition-fast);
}

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

.nav-link.active {
    color: var(--color-primary);
}

/* Dropdown Navigation */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 50;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.nav-dropdown-content {
    background: var(--color-bg-light);
    border-top: 2px solid var(--color-bg-dark);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: 800px;
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.nav-dropdown-column h4 {
    font-size: 0.75rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.nav-dropdown-link {
    display: block;
    padding: 0.5rem 0;
    font-weight: 500;
    color: var(--color-text-dark);
    transition: color var(--transition-fast);
}

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

/* Simple Dropdown (for mobile/simple menus) */
.dropdown-simple {
    position: relative;
}

.dropdown-simple-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    width: 16rem;
    background: var(--color-bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: none;
}

.dropdown-simple:hover .dropdown-simple-menu {
    display: block;
}

.dropdown-simple-menu a {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: var(--color-text-primary);
    border-bottom: 1px solid var(--color-border-light);
    transition: all var(--transition-fast);
}

.dropdown-simple-menu a:last-child {
    border-bottom: none;
}

.dropdown-simple-menu a:hover {
    background: rgba(220, 38, 38, 0.2);
    color: var(--color-primary);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: flex;
    padding: 0.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
}

@media (min-width: 1024px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.mobile-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg-dark);
    padding: 1.5rem;
    transform: translateX(-100%);
    transition: transform var(--transition-base);
    z-index: 40;
}

.mobile-nav.active {
    transform: translateX(0);
}

/* ==========================================================================
   Components - Footer
   ========================================================================== */
.site-footer {
    background-color: var(--color-bg-dark);
    padding-top: 5rem;
    border-top: 1px solid var(--color-border-light);
}

/* Large Leadpot Branding */
.footer-branding {
    text-align: center;
    margin-bottom: 5rem;
}

.footer-branding h2 {
    font-size: clamp(80px, 15vw, 240px);
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.125em;
}

.letter-hover {
    position: relative;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.letter-text {
    color: transparent;
    background: linear-gradient(to right, #fff, #94a3b8, #fff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.1);
    transition: opacity 0.3s ease;
}

.letter-hover:hover .letter-text {
    opacity: 0;
}

.sales-object {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.letter-hover:hover .sales-object {
    opacity: 1;
    transform: scale(1);
}

.sales-object .material-symbols-outlined {
    color: var(--color-primary);
    font-size: 0.6em;
}

/* Footer Tagline */
.footer-tagline {
    color: var(--color-text-secondary);
    font-size: 1.125rem;
    margin-top: 2rem;
}

/* Footer CTA Grid */
.footer-cta-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
}

@media (min-width: 1024px) {
    .footer-cta-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8rem;
    }
}

.footer-cta h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.footer-cta h3 span {
    color: var(--color-primary);
}

/* Footer Links */
.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-links h4 {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

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

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--color-text-primary);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-primary);
}

/* Footer Bottom */
.footer-bottom {
    padding: 2rem 0;
    border-top: 1px solid var(--color-border-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.footer-logo span {
    color: var(--color-primary);
}

.footer-copyright {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
}

.footer-legal a:hover {
    color: var(--color-text-primary);
}

/* Country Flags Section */
.footer-flags {
    background: linear-gradient(to right, var(--color-primary), #b91c1c, var(--color-primary));
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

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

.footer-flags-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.footer-flags-title {
    font-weight: 700;
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.footer-flags-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.flag-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-lg);
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .flag-item {
        font-size: 2.5rem;
    }
}

.flag-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* ==========================================================================
   Animations
   ========================================================================== */
/* Float Animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Pulse Slow */
@keyframes pulse-slow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.animate-pulse-slow {
    animation: pulse-slow 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Flow Right */
@keyframes flowRight {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.animate-flow-right {
    animation: flowRight 2s linear infinite;
}

/* Dash Animation */
@keyframes dash {
    to { stroke-dashoffset: -20; }
}

.animate-dash {
    animation: dash 2s linear infinite;
}

/* Slide In Left */
@keyframes slideInLeft {
    0% { opacity: 0; transform: translateX(-30px); }
    100% { opacity: 1; transform: translateX(0); }
}

.animate-slide-in-left {
    animation: slideInLeft 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Scale Up Fade */
@keyframes scaleUpFade {
    0% { opacity: 0; transform: scale(0.95) translateX(10px); }
    100% { opacity: 1; transform: scale(1) translateX(0); }
}

.animate-scale-up-fade {
    animation: scaleUpFade 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Fade In Up */
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Scroll Left (Marquee) */
@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.animate-scroll-left {
    animation: scrollLeft 30s linear infinite;
}

/* Wave Animation */
@keyframes wave {
    0%, 100% { transform: rotate(-3deg) translateY(1px); }
    50% { transform: rotate(3deg) translateY(-1px); }
}

.animate-wave {
    animation: wave 2.5s ease-in-out infinite;
}

/* Frame Expand */
@keyframes frameExpand {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.02); }
}

/* Bright Pulse */
@keyframes brightPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.2); }
}

/* Morph Blob */
@keyframes morphBlob {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        border-radius: 50%;
    }
    33% {
        transform: translate(100px, -50px) scale(1.1) rotate(120deg);
        border-radius: 40% 60% 70% 30%;
    }
    66% {
        transform: translate(-50px, 100px) scale(0.9) rotate(240deg);
        border-radius: 70% 30% 50% 50%;
    }
}

/* Grid Move */
@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}

/* GSAP Scroll Reveal Classes */
.scroll-animate {
    opacity: 0;
    transform: translateY(60px);
}

.scroll-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animation Delays */
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }
.delay-600 { animation-delay: 600ms; }
.delay-700 { animation-delay: 700ms; }
.delay-1000 { animation-delay: 1000ms; }

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 800px;
    display: flex;
    align-items: center;
    padding: 3rem 0 6rem;
    overflow: hidden;
    background: var(--color-bg-light);
}

.hero-section.dark {
    background: var(--color-bg-dark);
}

/* Grid Background Pattern */
.grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, #e5e7eb 1px, transparent 1px),
        linear-gradient(to bottom, #e5e7eb 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    opacity: 1;
    pointer-events: none;
}

/* Grid Pattern Dark */
.grid-pattern-dark {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Gradient Blobs */
.gradient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    pointer-events: none;
}

.blob-primary {
    background: linear-gradient(45deg, var(--color-primary), var(--color-primary-hover));
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    max-width: 600px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.hero-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-full);
    border: 1px solid;
    transition: background-color var(--transition-fast);
}

.hero-badge-blue {
    color: #2563eb;
    background: #eff6ff;
    border-color: #bfdbfe;
}

.hero-badge-purple {
    color: #7c3aed;
    background: #f5f3ff;
    border-color: #ddd6fe;
}

.hero-badge-orange {
    color: #ea580c;
    background: #fff7ed;
    border-color: #fed7aa;
}

.hero-badge-green {
    color: #16a34a;
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero-title .gradient-text {
    background: linear-gradient(to right, var(--color-primary), #ef4444, #f97316);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 680px;
    background: var(--color-bg-light);
    border-radius: var(--radius-2xl);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
}

/* ==========================================================================
   Section Styles
   ========================================================================== */
.section {
    padding: 5rem 0;
}

.section-lg {
    padding: 8rem 0;
}

.section-dark {
    background-color: var(--color-bg-dark);
}

.section-light {
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    background: rgba(220, 38, 38, 0.1);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(220, 38, 38, 0.2);
    margin-bottom: 1.5rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-description {
    color: var(--color-text-secondary);
    font-size: 1.125rem;
}

/* ==========================================================================
   Blog Styles
   ========================================================================== */
.blog-hero {
    padding: 6rem 0 4rem;
    background: var(--color-bg-dark);
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-hero h1 {
    font-family: var(--font-serif);
    margin-bottom: 1.5rem;
}

.blog-filters {
    position: sticky;
    top: 64px;
    z-index: 40;
    background: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
}

.blog-filters nav {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
}

.filter-btn {
    flex-shrink: 0;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--color-surface-dark);
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-bg-light);
    color: var(--color-text-dark);
    border-color: transparent;
}

/* Blog Card */
.blog-card {
    background: var(--color-surface-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-base);
}

.blog-card:hover {
    border-color: rgba(220, 38, 38, 0.3);
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.1);
}

.blog-card-image {
    height: 14rem;
    overflow: hidden;
}

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

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

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.blog-card-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-secondary);
}

.blog-card-time {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.blog-card-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    transition: color var(--transition-fast);
}

.blog-card:hover .blog-card-title {
    color: var(--color-primary);
}

.blog-card-excerpt {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Blog Post Single */
.blog-post-header {
    margin-bottom: 3rem;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.blog-post-category {
    padding: 0.25rem 0.5rem;
    background: rgba(220, 38, 38, 0.2);
    color: #f87171;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
}

.blog-post-date {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.blog-post-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.blog-post-summary {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    padding-left: 1.5rem;
    border-left: 4px solid var(--color-primary);
}

/* Table of Contents */
.toc {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.toc-link {
    display: block;
    padding: 0.25rem 0 0.25rem 0.75rem;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    border-left: 2px solid transparent;
    margin-left: -1px;
    transition: all var(--transition-fast);
}

.toc-link:hover {
    color: var(--color-text-primary);
    border-left-color: rgba(255, 255, 255, 0.3);
}

.toc-link.active {
    color: var(--color-primary);
    border-left-color: var(--color-primary);
    font-weight: 600;
}

/* Progress Bar */
#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--color-primary);
    z-index: 100;
    width: 0%;
    transition: width 0.1s;
}

/* ==========================================================================
   FAQ Styles
   ========================================================================== */
.faq-section {
    padding: 4rem 0;
}

.faq-sidebar {
    position: sticky;
    top: 6rem;
}

.faq-nav a {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-muted);
    border-left: 2px solid transparent;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    transition: all var(--transition-fast);
}

.faq-nav a:hover {
    color: var(--color-text-primary);
    background: rgba(255, 255, 255, 0.05);
    border-left-color: rgba(255, 255, 255, 0.3);
}

.faq-nav a.active {
    color: var(--color-text-primary);
    border-left-color: var(--color-primary);
}

/* Accordion */
.accordion-item {
    background: var(--color-surface-dark);
    border: 1px solid transparent;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.accordion-item:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.accordion-item.active {
    border-color: rgba(220, 38, 38, 0.3);
}

.accordion-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
}

.accordion-trigger span:first-child {
    font-weight: 500;
    font-size: 1.125rem;
}

.accordion-icon {
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    opacity: 1;
}

.accordion-content-inner {
    padding: 0 1.5rem 1.5rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ==========================================================================
   Lead Pages
   ========================================================================== */
.lead-hero {
    position: relative;
    padding: 8rem 0 6rem;
    background: var(--color-bg-dark);
    overflow: hidden;
}

.lead-hero .gradient-blob {
    animation: morphBlob 20s ease-in-out infinite;
}

.lead-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    background: rgba(220, 38, 38, 0.1);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(220, 38, 38, 0.2);
    margin-bottom: 1.5rem;
}

.lead-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
}

.lead-description {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    max-width: 600px;
}

/* ==========================================================================
   Contact Page
   ========================================================================== */
.contact-form {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-xl);
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: var(--color-text-primary);
    background: var(--color-bg-dark);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

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

/* ==========================================================================
   Custom Cursor
   ========================================================================== */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.15s ease;
    display: none;
}

.cursor-follower {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    display: none;
}

@media (min-width: 1024px) {
    body.has-custom-cursor {
        cursor: none;
    }

    body.has-custom-cursor .cursor,
    body.has-custom-cursor .cursor-follower {
        display: block;
    }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--color-primary); }
.text-white { color: var(--color-text-primary); }
.text-muted { color: var(--color-text-secondary); }

.bg-dark { background-color: var(--color-bg-dark); }
.bg-card { background-color: var(--color-bg-card); }
.bg-surface { background-color: var(--color-surface-dark); }

.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-2xl); }
.rounded-full { border-radius: var(--radius-full); }

.shadow { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.shadow-glow { box-shadow: var(--shadow-glow); }

.opacity-0 { opacity: 0; }
.opacity-50 { opacity: 0.5; }
.opacity-100 { opacity: 1; }

.w-full { width: 100%; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

.inset-0 { inset: 0; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }

.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

.overflow-hidden { overflow: hidden; }
.overflow-x-hidden { overflow-x: hidden; }

.pointer-events-none { pointer-events: none; }

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

/* Responsive visibility */
.hidden { display: none; }

@media (min-width: 768px) {
    .md\:block { display: block; }
    .md\:flex { display: flex; }
    .md\:hidden { display: none; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .lg\:block { display: block; }
    .lg\:flex { display: flex; }
    .lg\:hidden { display: none; }
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
}

/* ==========================================================================
   WordPress Core Styles
   ========================================================================== */
.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
}

.gallery {
    display: grid;
    gap: 1rem;
}

.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }

/* Screen Reader Text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* ==========================================================================
   Print Styles
   ========================================================================== */
@media print {
    *,
    *::before,
    *::after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]::after {
        content: " (" attr(href) ")";
    }

    img {
        max-width: 100% !important;
    }

    .site-header,
    .site-footer,
    .mobile-nav {
        display: none;
    }
}
