/**
 * Leadpot Custom CSS
 * Additional styles and responsive adjustments
 *
 * @package Leadpot
 */

/* ==========================================================================
   LeadPot Loading Animation
   ========================================================================== */

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

.preloader.preloader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

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

.preloader-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.1em;
    margin-bottom: 1.5rem;
}

.preloader-letter {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 700;
    color: #ffffff;
    opacity: 0;
    transform: translateY(40px) rotateX(-90deg);
    display: inline-block;
    animation: letterReveal 0.6s ease forwards;
}

.preloader-letter-accent {
    color: #DC2626;
}

/* Staggered animation delays for each letter */
.preloader-letter:nth-child(1) { animation-delay: 0.1s; }
.preloader-letter:nth-child(2) { animation-delay: 0.15s; }
.preloader-letter:nth-child(3) { animation-delay: 0.2s; }
.preloader-letter:nth-child(4) { animation-delay: 0.25s; }
.preloader-letter:nth-child(5) { animation-delay: 0.35s; }
.preloader-letter:nth-child(6) { animation-delay: 0.4s; }
.preloader-letter:nth-child(7) { animation-delay: 0.45s; }

@keyframes letterReveal {
    0% {
        opacity: 0;
        transform: translateY(40px) rotateX(-90deg);
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

.preloader-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #64748b;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.6s forwards;
    margin-bottom: 2rem;
}

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

.preloader-progress {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin: 0 auto;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 0.4s ease 0.8s forwards;
}

.preloader-progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #DC2626, #ef4444);
    border-radius: 3px;
    animation: progressFill 1.5s ease 1s forwards;
}

@keyframes progressFill {
    0% {
        width: 0%;
    }
    50% {
        width: 70%;
    }
    100% {
        width: 100%;
    }
}

/* Letter pulse effect after reveal */
.preloader-letter.revealed {
    animation: letterPulse 2s ease-in-out infinite;
}

@keyframes letterPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Glow effect for accent letters */
.preloader-letter-accent.revealed {
    text-shadow: 0 0 20px rgba(220, 38, 38, 0.5);
    animation: accentGlow 2s ease-in-out infinite;
}

@keyframes accentGlow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
    }
    50% {
        text-shadow: 0 0 40px rgba(220, 38, 38, 0.6), 0 0 60px rgba(220, 38, 38, 0.3);
    }
}

/* Exit animation */
.preloader.exit .preloader-letter {
    animation: letterExit 0.4s ease forwards;
}

.preloader.exit .preloader-letter:nth-child(7) { animation-delay: 0s; }
.preloader.exit .preloader-letter:nth-child(6) { animation-delay: 0.05s; }
.preloader.exit .preloader-letter:nth-child(5) { animation-delay: 0.1s; }
.preloader.exit .preloader-letter:nth-child(4) { animation-delay: 0.15s; }
.preloader.exit .preloader-letter:nth-child(3) { animation-delay: 0.2s; }
.preloader.exit .preloader-letter:nth-child(2) { animation-delay: 0.25s; }
.preloader.exit .preloader-letter:nth-child(1) { animation-delay: 0.3s; }

@keyframes letterExit {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-30px) scale(0.8);
    }
}

.preloader.exit .preloader-tagline,
.preloader.exit .preloader-progress {
    animation: fadeOut 0.3s ease forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* ==========================================================================
   Hero Data Flow Animation
   ========================================================================== */

.data-flow-panel {
    position: relative;
    height: 600px;
    background: #ffffff;
    border-radius: 1.5rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    display: block !important;
    min-width: 0;
}

.data-flow-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    padding: 2rem;
    gap: 1rem;
}

/* SVG Flow Lines */
.flow-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

.flow-path {
    animation: dashFlow 2s linear infinite;
}

@keyframes dashFlow {
    to {
        stroke-dashoffset: -20;
    }
}

/* Flow Columns */
.flow-column {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.flow-column-left {
    width: 30%;
    justify-content: center;
    gap: 0.75rem;
}

.flow-column-center {
    width: 22%;
    align-items: center;
    justify-content: center;
}

.flow-column-right {
    width: 40%;
    justify-content: center;
    gap: 0.75rem;
}

/* Flow Labels */
.flow-label {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #DC2626;
    background: rgba(220, 38, 38, 0.05);
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid rgba(220, 38, 38, 0.2);
    display: inline-block;
    margin-bottom: 0.75rem;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 6px -1px rgba(220, 38, 38, 0.05);
}

/* Source Cards */
.source-cards {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 520px;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.source-cards::-webkit-scrollbar {
    display: none;
}

.source-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem;
    background: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    cursor: default;
    overflow: hidden;
    opacity: 0;
    animation: slideInLeft 0.5s ease forwards;
    animation-delay: var(--delay, 0s);
    transition: all 0.3s ease;
}

.source-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--border-color, #DC2626);
}

.source-card:hover {
    transform: translateX(4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.source-icon {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.625rem;
    flex-shrink: 0;
    border: 1px solid;
}

.source-icon .material-symbols-outlined {
    font-size: 0.875rem;
}

.source-card > span {
    font-size: 0.6875rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

/* AI Processor */
.ai-processor {
    position: relative;
    width: 10rem;
    height: 10rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.processor-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed;
}

.processor-ring-outer {
    inset: 0;
    border-color: rgba(220, 38, 38, 0.3);
    animation: processSpin 20s linear infinite;
}

.processor-ring-inner {
    inset: 1rem;
    border-color: rgba(148, 163, 184, 0.3);
    animation: processSpin 15s linear infinite reverse;
}

@keyframes processSpin {
    to {
        transform: rotate(360deg);
    }
}

.processor-core {
    position: relative;
    width: 5rem;
    height: 6rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: floatCore 3s ease-in-out infinite;
    z-index: 10;
}

.processor-core::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.1) 0%, transparent 70%);
    border-radius: 0.75rem;
    z-index: -1;
}

.processor-core .material-symbols-outlined {
    font-size: 2rem;
    color: #DC2626;
    animation: pulse 2s ease-in-out infinite;
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* Outcome Cards */
.outcome-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.outcome-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 1rem;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    opacity: 0;
    animation: scaleUpFade 0.5s ease forwards;
    animation-delay: var(--delay, 0s);
    transition: all 0.3s ease;
}

.outcome-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--border-color, #DC2626);
}

.outcome-card:hover {
    border-color: var(--border-color, rgba(220, 38, 38, 0.5));
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.outcome-card-highlight {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05), #ffffff);
    border-color: rgba(220, 38, 38, 0.2);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.1);
}

.outcome-card-highlight:hover {
    box-shadow: 0 0 30px rgba(220, 38, 38, 0.15);
}

@keyframes scaleUpFade {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.outcome-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.outcome-header > span:first-child {
    font-size: 0.75rem;
    font-weight: 700;
    color: #0f172a;
}

.outcome-header .material-symbols-outlined {
    font-size: 0.875rem;
}

.outcome-badge {
    font-size: 0.5625rem;
    font-weight: 600;
    font-family: monospace;
    padding: 0.25rem 0.375rem;
    border-radius: 0.25rem;
    border: 1px solid;
}

.outcome-progress {
    width: 100%;
    height: 0.375rem;
    background: #f1f5f9;
    border-radius: 9999px;
    overflow: hidden;
}

.outcome-progress-bar {
    height: 100%;
    border-radius: 9999px;
    position: relative;
    animation: progressGrow 1.5s ease-out forwards;
    animation-delay: var(--delay, 0s);
}

.outcome-progress-bar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes progressGrow {
    from {
        width: 0%;
    }
}

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

.outcome-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.outcome-tag {
    font-size: 0.5625rem;
    color: #475569;
    background: #f1f5f9;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.outcome-tag:hover {
    background: #e2e8f0;
}

.outcome-icon-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.outcome-icon-row > span {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f172a;
}

.outcome-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.outcome-icon .material-symbols-outlined {
    font-size: 1.125rem;
}

.outcome-card-highlight .outcome-icon {
    animation: pulse 2s ease-in-out infinite;
}

/* Desktop Data Flow */
@media (min-width: 1280px) {
    .data-flow-panel {
        height: 680px;
    }

    .data-flow-container {
        padding: 2.5rem;
    }
}

/* Tablet Landscape */
@media (min-width: 1025px) and (max-width: 1279px) {
    .data-flow-panel {
        height: 580px;
    }

    .flow-column-left {
        width: 28%;
    }

    .flow-column-center {
        width: 20%;
    }

    .flow-column-right {
        width: 45%;
    }
}

/* Tablet Portrait - Data Flow */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .data-flow-panel {
        height: auto;
        min-height: auto;
        max-width: 100%;
    }

    .data-flow-container {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.5rem;
        height: auto;
    }

    .flow-column {
        width: 100% !important;
        height: auto;
    }

    .flow-column-center {
        order: -1;
        padding: 1rem 0;
    }

    .flow-lines {
        display: none;
    }

    .source-cards {
        flex-direction: row;
        flex-wrap: wrap;
        max-height: none;
        justify-content: center;
        gap: 0.5rem;
    }

    .source-card {
        flex: 0 0 auto;
        min-width: 140px;
    }

    .outcome-cards {
        flex-direction: column;
        gap: 0.75rem;
    }

    .outcome-card {
        width: 100%;
        max-width: 100%;
    }

    .ai-processor {
        width: 7rem;
        height: 7rem;
    }

    .processor-core {
        width: 3.5rem;
        height: 4.5rem;
    }

    .processor-core .material-symbols-outlined {
        font-size: 1.25rem;
    }

    .flow-label {
        font-size: 0.65rem;
        align-self: center;
    }
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */

/* Mobile Navigation */
@media (max-width: 1023px) {
    .main-nav {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: flex !important;
    }

    .mobile-nav {
        display: block;
    }

    /* Grid adjustments */
    .grid:not(.hero-grid) {
        grid-template-columns: 1fr !important;
    }

    /* Hero adjustments */
    .hero-visual.data-flow-panel {
        display: block !important;
        margin-top: 2rem;
    }

    .hero-content {
        max-width: 100% !important;
        text-align: center;
    }

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

    .hero-section .btn {
        width: 100%;
        justify-content: center;
    }

    /* Footer adjustments */
    .footer-cta-grid {
        grid-template-columns: 1fr !important;
    }

    .footer-branding h2 {
        font-size: 48px !important;
    }

    /* Section adjustments */
    .section {
        padding: 3rem 0 !important;
    }

    .section-header {
        padding: 0 1rem;
    }

    .section-title {
        font-size: clamp(1.5rem, 5vw, 2rem) !important;
    }
}

/* Tablet - 2 column grids */
@media (min-width: 768px) and (max-width: 1023px) {
    .grid:not(.hero-grid) {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (min-width: 1024px) {
    .grid[style*="grid-cols-3"] {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid[style*="grid-cols-4"] {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Small Phone Styles */
@media (max-width: 480px) {
    /* Hero */
    .hero-section {
        min-height: auto !important;
        padding: 5rem 0 3rem !important;
    }

    .hero-title {
        font-size: clamp(1.75rem, 8vw, 2.5rem) !important;
    }

    .hero-description {
        font-size: 1rem !important;
    }

    .hero-badges {
        gap: 0.5rem !important;
    }

    .hero-badge {
        font-size: 0.625rem !important;
        padding: 0.375rem 0.75rem !important;
    }

    /* Data Flow Panel */
    .data-flow-panel {
        border-radius: 1rem;
    }

    .data-flow-container {
        padding: 1rem;
        gap: 1rem;
    }

    .source-card {
        min-width: 120px;
        padding: 0.5rem;
    }

    .source-card > span {
        font-size: 0.625rem;
    }

    .source-icon {
        width: 1.5rem;
        height: 1.5rem;
    }

    .outcome-card {
        padding: 0.75rem;
    }

    .outcome-header > span:first-child {
        font-size: 0.6875rem;
    }

    .outcome-badge {
        font-size: 0.5rem;
        padding: 0.125rem 0.25rem;
    }

    .ai-processor {
        width: 5rem;
        height: 5rem;
    }

    .processor-core {
        width: 2.5rem;
        height: 3rem;
    }

    .processor-core .material-symbols-outlined {
        font-size: 1rem;
    }

    /* Cards and Sections */
    .card {
        padding: 1.25rem !important;
    }

    .section-badge {
        font-size: 0.625rem;
        padding: 0.375rem 0.75rem;
    }

    /* Buttons */
    .btn {
        padding: 0.75rem 1.25rem !important;
        font-size: 0.875rem !important;
    }

    .btn-lg {
        height: auto !important;
        padding: 1rem 1.5rem !important;
    }

    /* Contact Form */
    .contact-form {
        padding: 1.5rem;
    }

    /* Container */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Footer */
    .footer-branding h2 {
        font-size: 36px !important;
    }
}

/* Medium Phone Styles */
@media (min-width: 481px) and (max-width: 767px) {
    .hero-section {
        padding: 6rem 0 3rem !important;
    }

    .source-cards {
        justify-content: center;
    }

    .source-card {
        min-width: 150px;
    }
}

/* ==========================================================================
   Animation Enhancements
   ========================================================================== */

/* Seamless fade transitions */
.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Stagger animation delays */
.scroll-animate:nth-child(1) { transition-delay: 0s; }
.scroll-animate:nth-child(2) { transition-delay: 0.1s; }
.scroll-animate:nth-child(3) { transition-delay: 0.2s; }
.scroll-animate:nth-child(4) { transition-delay: 0.3s; }
.scroll-animate:nth-child(5) { transition-delay: 0.4s; }
.scroll-animate:nth-child(6) { transition-delay: 0.5s; }
.scroll-animate:nth-child(7) { transition-delay: 0.6s; }
.scroll-animate:nth-child(8) { transition-delay: 0.7s; }

/* Card hover enhancement */
.card {
    will-change: transform, box-shadow;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.15);
}

/* Blog card image zoom */
.blog-card-image img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Button ripple effect */
.btn {
    position: relative;
    overflow: hidden;
}

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

.btn:active::after {
    width: 300px;
    height: 300px;
}

/* ==========================================================================
   Navigation Enhancements
   ========================================================================== */

/* Dropdown animation */
.nav-dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease,
                visibility 0.3s ease,
                transform 0.3s ease;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Megamenu Styles */
.nav-dropdown-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
    min-width: 700px;
}

.nav-dropdown-column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-dropdown-column h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.nav-dropdown-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    margin: 0 -0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #0f172a;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.nav-dropdown-link:hover {
    background: #f8fafc;
    color: #DC2626;
}

.nav-dropdown-cta {
    border-radius: 0.75rem;
    padding: 1.5rem !important;
    margin: -1.5rem -1.5rem -1.5rem 0;
}

/* Active nav link indicator */
.nav-link.active {
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-primary);
    border-radius: 1px;
}

/* ==========================================================================
   Form Styling
   ========================================================================== */

.form-input,
.form-textarea {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Checkbox styling */
input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-border-light);
    border-radius: 4px;
    background: var(--color-bg-dark);
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
}

input[type="checkbox"]:checked {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* ==========================================================================
   Accordion Enhancements
   ========================================================================== */

.accordion-item {
    transition: all 0.3s ease;
}

.accordion-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease;
}

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

.accordion-icon {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* Letter hover glow effect */
.letter-hover {
    transition: all 0.3s ease;
}

.letter-hover:hover {
    filter: drop-shadow(0 0 20px rgba(220, 38, 38, 0.5));
}

/* Sales words floating animation */
.sales-word {
    animation: salesWordFloat 3s ease-in-out infinite;
}

@keyframes salesWordFloat {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

/* Flag hover effect */
.flag-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.flag-item:hover {
    transform: scale(1.15) translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

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

/* Gradient text animation */
.gradient-text {
    background-size: 200% auto;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

/* Hero badges animation */
.hero-badge {
    transition: all 0.3s ease;
}

.hero-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   Loading States
   ========================================================================== */

.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ==========================================================================
   Blog Post Content Styling
   ========================================================================== */

.prose {
    color: var(--color-text-secondary);
    line-height: 1.8;
}

.prose h2 {
    color: white;
    font-family: var(--font-serif);
    font-size: 1.75rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1rem;
}

.prose h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--color-primary);
    border-radius: 2px;
}

.prose h3 {
    color: white;
    font-family: var(--font-serif);
    font-size: 1.375rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.prose a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}

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

.prose blockquote {
    border-left: 4px solid var(--color-primary);
    padding: 1rem 0 1rem 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--color-text-secondary);
    background: rgba(220, 38, 38, 0.05);
    border-radius: 0 0.5rem 0.5rem 0;
}

.prose code {
    color: #f87171;
    background: rgba(220, 38, 38, 0.1);
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-size: 0.875em;
}

.prose pre {
    background: #1e293b;
    padding: 1.5rem;
    border-radius: 0.75rem;
    overflow-x: auto;
    margin: 2rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.prose ul,
.prose ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.prose li {
    margin-bottom: 0.75rem;
    position: relative;
}

.prose ul li::marker {
    color: var(--color-primary);
}

.prose ol li::marker {
    color: var(--color-primary);
    font-weight: 600;
}

.prose img {
    border-radius: 0.75rem;
    margin: 2rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.text-balance {
    text-wrap: balance;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Smooth page transitions */
.page-transition-enter {
    opacity: 0;
    transform: translateY(20px);
}

.page-transition-enter-active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s, transform 0.4s;
}

/* Focus visible styling for accessibility */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

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

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    .site-header,
    .site-footer,
    .mobile-nav,
    .btn,
    .scroll-animate {
        opacity: 1 !important;
        transform: none !important;
    }

    .cursor-pot,
    .cursor-pot-glow {
        display: none !important;
    }
}

/* ==========================================================================
   Pot-Shaped Custom Cursor
   ========================================================================== */

/* Hide default cursor on desktop */
@media (min-width: 1024px) {
    body.has-custom-cursor {
        cursor: none;
    }

    body.has-custom-cursor a,
    body.has-custom-cursor button,
    body.has-custom-cursor input,
    body.has-custom-cursor textarea,
    body.has-custom-cursor select,
    body.has-custom-cursor [role="button"] {
        cursor: none;
    }
}

/* Pot cursor container */
.cursor-pot {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}

.cursor-pot svg {
    width: 100%;
    height: 100%;
    transition: transform 0.2s ease;
}

/* Pot glow effect */
.cursor-pot-glow {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(220, 38, 38, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Cursor hover state - grows and fills */
.cursor-pot.cursor-hover svg {
    transform: scale(1.3);
}

.cursor-pot.cursor-hover svg path {
    stroke-width: 2.5;
}

.cursor-pot.cursor-hover svg circle {
    animation: steamBubble 0.6s ease-in-out infinite;
}

.cursor-pot-glow.cursor-hover {
    transform: translate(-50%, -50%) scale(1.5);
    background: radial-gradient(circle, rgba(220, 38, 38, 0.25) 0%, transparent 70%);
}

/* Cursor click state */
.cursor-pot.cursor-click svg {
    transform: scale(0.9);
}

.cursor-pot.cursor-click svg path,
.cursor-pot.cursor-click svg circle {
    stroke: #fff;
    fill: #DC2626;
}

/* Steam bubble animation */
@keyframes steamBubble {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-3px);
        opacity: 1;
    }
}

/* Idle animation for pot */
.cursor-pot svg circle:nth-child(4) {
    animation: steamFloat 2s ease-in-out infinite;
}

.cursor-pot svg circle:nth-child(5) {
    animation: steamFloat 2s ease-in-out infinite 0.3s;
}

.cursor-pot svg circle:nth-child(6) {
    animation: steamFloat 2s ease-in-out infinite 0.6s;
}

@keyframes steamFloat {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-2px);
        opacity: 1;
    }
}

/* ==========================================================================
   reCAPTCHA Badge Styling
   ========================================================================== */

/* Hide reCAPTCHA badge but keep it accessible */
.grecaptcha-badge {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    bottom: 14px;
    right: -190px;
    transition: right 0.3s ease, opacity 0.3s ease;
}

/* Show badge on form pages */
.page-template-page-contact .grecaptcha-badge,
.page-template-page-lead .grecaptcha-badge {
    visibility: visible;
    opacity: 1;
    right: 14px;
}

/* reCAPTCHA notice text */
.recaptcha-notice {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 1rem;
    text-align: center;
}

.recaptcha-notice a {
    color: var(--color-primary);
    text-decoration: underline;
}

/* ==========================================================================
   Form Protected Badge
   ========================================================================== */

.form-protected-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 2rem;
    font-size: 0.75rem;
    color: #22c55e;
    margin-bottom: 1.5rem;
}

.form-protected-badge .material-symbols-outlined {
    font-size: 1rem;
}

/* ==========================================================================
   LeadPot Loading Animation
   ========================================================================== */

.leadpot-loader {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.05em;
    background: linear-gradient(
        90deg,
        #ffffff 0%,
        #ffffff 40%,
        #DC2626 50%,
        #ffffff 60%,
        #ffffff 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: leadpotShimmer 1.5s ease-in-out infinite;
}

@keyframes leadpotShimmer {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: -100% 0;
    }
}

/* Alternative pulsing version */
.leadpot-loader-pulse {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    color: #DC2626;
    animation: leadpotPulse 1s ease-in-out infinite;
}

@keyframes leadpotPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(0.98);
    }
}

/* Letter by letter animation */
.leadpot-loader-letters {
    display: inline-flex;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
}

.leadpot-loader-letters span {
    animation: leadpotBounce 0.6s ease-in-out infinite;
    color: #DC2626;
}

.leadpot-loader-letters span:nth-child(1) { animation-delay: 0s; }
.leadpot-loader-letters span:nth-child(2) { animation-delay: 0.1s; }
.leadpot-loader-letters span:nth-child(3) { animation-delay: 0.2s; }
.leadpot-loader-letters span:nth-child(4) { animation-delay: 0.3s; }
.leadpot-loader-letters span:nth-child(5) { animation-delay: 0.4s; }
.leadpot-loader-letters span:nth-child(6) { animation-delay: 0.5s; }
.leadpot-loader-letters span:nth-child(7) { animation-delay: 0.6s; }

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

/* ==========================================================================
   Lead Pages Text Visibility Fixes
   ========================================================================== */

/* Lead Hero Section */
.lead-hero {
    background: #000000;
    padding: 8rem 0 4rem;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.lead-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border: 1px solid rgba(220, 38, 38, 0.3);
    background: rgba(220, 38, 38, 0.1);
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #DC2626;
    margin-bottom: 1.5rem;
}

.lead-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.lead-description {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #e2e8f0;
    max-width: 600px;
}

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

@keyframes morphBlob {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    33% {
        transform: scale(1.1) rotate(120deg);
    }
    66% {
        transform: scale(0.9) rotate(240deg);
    }
}

@keyframes gridMove {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(50px);
    }
}

/* Section styling for lead pages */
.section-dark {
    background: #000000;
    padding: 5rem 0;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: #ffffff;
}

.section-dark p {
    color: #cbd5e1;
}

/* Card text visibility */
.card {
    background: rgba(17, 17, 17, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.card h3,
.card h4 {
    color: #ffffff;
    font-weight: 600;
}

.card p {
    color: #94a3b8;
}

/* Section header styling */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border: 1px solid rgba(220, 38, 38, 0.3);
    background: rgba(220, 38, 38, 0.1);
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #DC2626;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: #94a3b8;
    line-height: 1.7;
}

/* Form visibility on dark backgrounds */
.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #e2e8f0;
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.5rem;
    color: #ffffff;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #64748b;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #DC2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

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

/* Contact form container */
.contact-form {
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.9), rgba(0, 0, 0, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2.5rem;
    backdrop-filter: blur(20px);
}

.contact-form h3 {
    color: #ffffff;
    font-family: var(--font-display);
}

/* Accordion for FAQ */
.accordion-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

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

.accordion-trigger:hover {
    background: rgba(255, 255, 255, 0.03);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

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

.accordion-content-inner {
    padding: 0 1.5rem 1.25rem;
    color: #94a3b8;
    line-height: 1.7;
}

/* Grid layout */
.grid {
    display: grid;
    gap: 2rem;
}

@media (max-width: 768px) {
    .lead-hero {
        padding: 6rem 0 3rem;
    }

    .grid {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================================
   Internal Linking Components
   ========================================================================== */

/* Related Services Section */
.related-services {
    margin: 4rem 0;
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.related-services h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.service-card {
    display: block;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-card:hover {
    background: rgba(220, 38, 38, 0.05);
    border-color: rgba(220, 38, 38, 0.3);
    transform: translateY(-4px);
}

.service-card h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.service-card p {
    font-size: 0.875rem;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0;
}

/* Country Links Section */
.country-links {
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
}

.country-links h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.country-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.country-grid a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    font-size: 0.875rem;
    color: #e2e8f0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.country-grid a:hover {
    background: rgba(220, 38, 38, 0.1);
    border-color: rgba(220, 38, 38, 0.3);
    color: #DC2626;
}

/* ==========================================================================
   FAQ Section with Schema
   ========================================================================== */

.faq-section {
    margin: 5rem 0;
    padding: 4rem 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(17, 17, 17, 0.5) 100%);
}

.faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.faq-header p {
    font-size: 1.125rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
}

.faq-grid {
    display: grid;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

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

.faq-question h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    padding-right: 1rem;
}

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 38, 38, 0.1);
    border-radius: 50%;
    color: #DC2626;
    transition: transform 0.3s ease, background 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: rgba(220, 38, 38, 0.2);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-inner {
    padding: 0 1.5rem 1.5rem;
    color: #94a3b8;
    line-height: 1.8;
    font-size: 0.9375rem;
}

/* ==========================================================================
   CTA Sections
   ========================================================================== */

.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
    text-align: center;
}

.cta-section h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   Trust Badges
   ========================================================================== */

.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 2rem 0;
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #94a3b8;
}

.trust-badge .material-symbols-outlined {
    color: #22c55e;
    font-size: 1.25rem;
}

@media (max-width: 640px) {
    .trust-badges {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ==========================================================================
   Stats Section
   ========================================================================== */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 3rem 0;
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #DC2626;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9375rem;
    color: #94a3b8;
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */

.breadcrumbs {
    padding: 1rem 0;
    font-size: 0.875rem;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

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

.breadcrumbs li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: #64748b;
}

.breadcrumbs a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumbs a:hover {
    color: #DC2626;
}

.breadcrumbs span {
    color: #64748b;
}

/* ==========================================================================
   Blog SEO Enhancements
   ========================================================================== */

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #94a3b8;
}

.article-meta-item .material-symbols-outlined {
    font-size: 1rem;
    color: #64748b;
}

.author-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    margin-top: 3rem;
}

.author-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #DC2626 0%, #991b1b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
}

.author-info h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: 0.875rem;
    color: #94a3b8;
    margin: 0;
}

/* ==========================================================================
   Table of Contents
   ========================================================================== */

.toc {
    position: sticky;
    top: 100px;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
}

.toc h4 {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

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

.toc li {
    margin-bottom: 0.5rem;
}

.toc a {
    display: block;
    padding: 0.375rem 0;
    font-size: 0.875rem;
    color: #94a3b8;
    text-decoration: none;
    border-left: 2px solid transparent;
    padding-left: 0.75rem;
    transition: all 0.2s ease;
}

.toc a:hover,
.toc a.active {
    color: #DC2626;
    border-left-color: #DC2626;
}

/* ==========================================================================
   Schema-Ready Content Blocks
   ========================================================================== */

.definition-block {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(220, 38, 38, 0.05);
    border-left: 4px solid #DC2626;
    border-radius: 0 0.5rem 0.5rem 0;
}

.definition-block h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: #DC2626;
    margin-bottom: 0.5rem;
}

.definition-block p {
    font-size: 0.9375rem;
    color: #e2e8f0;
    line-height: 1.7;
    margin: 0;
}

.highlight-box {
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.8), rgba(0, 0, 0, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
}

.highlight-box h4 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.highlight-box ul {
    margin: 0;
    padding-left: 1.25rem;
}

.highlight-box li {
    color: #94a3b8;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* ==========================================================================
   DIY/DFY Programs Section - Responsive Styles
   ========================================================================== */

@media (max-width: 1024px) {
    /* Lead page hero grid */
    .lead-hero .container > div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

@media (max-width: 768px) {
    /* DIY/DFY program cards - stack on mobile */
    section[style*="padding: 4rem 0"] .grid[style*="grid-template-columns: repeat(2, 1fr)"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    /* Comparison table - allow horizontal scroll */
    .card[style*="overflow-x: auto"] table {
        min-width: 500px;
    }

    /* Lead hero section */
    .lead-hero {
        padding-top: 2rem !important;
    }

    .lead-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem) !important;
    }

    .lead-description {
        font-size: 1rem !important;
    }

    /* Trust badges stack */
    .trust-badges {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.75rem !important;
    }

    /* Stats grid on lead pages */
    .lead-hero .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }

    /* How it works - 2 columns on tablet */
    #how-it-works .grid[style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }

    /* Benefits section with form */
    section[style*="background: linear-gradient(180deg, #000 0%, #0a0a0a 100%)"] .grid[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

@media (max-width: 480px) {
    /* Single column on small phones */
    #how-it-works .grid[style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: 1fr !important;
    }

    .lead-hero .stats-grid {
        grid-template-columns: 1fr !important;
    }

    /* DIY/DFY cards - smaller padding */
    .card[style*="padding: 2.5rem"] {
        padding: 1.5rem !important;
    }

    /* Program badges */
    section[style*="padding: 4rem 0"] h3[style*="font-size: 1.75rem"] {
        font-size: 1.25rem !important;
    }

    /* Section headers */
    .section-header .section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    /* CTA section */
    .cta-section h2 {
        font-size: clamp(1.5rem, 5vw, 2rem) !important;
    }

    .cta-buttons {
        flex-direction: column !important;
        width: 100%;
    }

    .cta-buttons .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* ==========================================================================
   Related Services Grid - Responsive
   ========================================================================== */

.related-services .grid[style*="grid-template-columns: repeat(4, 1fr)"] {
    display: grid;
}

.related-services .service-card:hover {
    border-color: #DC2626 !important;
    transform: translateY(-4px);
}

@media (max-width: 1024px) {
    .related-services .grid[style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 640px) {
    .related-services .grid[style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
}

/* Country Links - Responsive */
.country-links .country-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

@media (max-width: 640px) {
    .country-links .country-grid {
        gap: 0.5rem;
    }

    .country-links .country-link {
        padding: 0.375rem 0.75rem !important;
        font-size: 0.875rem;
    }

    .country-links .country-link span:first-child {
        font-size: 1rem !important;
    }
}

/* ==========================================================================
   Full Width Mega Menu
   ========================================================================== */

.nav-megamenu {
    position: static;
}

.nav-megamenu-dropdown {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%; /* Position directly below the header */
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 1rem 1rem; /* Rounded bottom corners */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    max-height: calc(100vh - 100px);
    overflow: hidden;
}

.nav-megamenu:hover .nav-megamenu-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 3 Column Grid Layout: Links | Featured Posts | Video */
.megamenu-content {
    display: grid;
    grid-template-columns: 1fr 280px 220px;
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    border-radius: 0 0 1rem 1rem; /* Match parent rounded corners */
    overflow: hidden;
}

/* 3 columns for leads (General, Development, Marketing) */
.megamenu-leads {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem 2.5rem;
    background: #ffffff;
    border-radius: 0 0 0 1rem; /* Rounded bottom-left corner */
}

.megamenu-column {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.megamenu-column h4 {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #64748b;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.megamenu-column .nav-dropdown-link {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 0.75rem;
    margin: 0 -0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #0f172a;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.megamenu-column .nav-dropdown-link:hover {
    background: #f8fafc;
    color: #DC2626;
}

.megamenu-column .nav-dropdown-link .material-symbols-outlined {
    font-size: 1.125rem;
}

/* Featured Posts Section - 2nd column */
.megamenu-posts-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Video Section - 3rd column */
.megamenu-video-section {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border-radius: 0 0 1rem 0; /* Rounded bottom-right corner */
}

/* Legacy wrapper - keep for backwards compatibility */
.megamenu-featured {
    display: contents; /* This makes children flow into parent grid */
}

.megamenu-featured-label {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #DC2626;
    margin-bottom: 0.75rem;
    display: block;
}

.megamenu-featured-post {
    flex: 1;
}

.megamenu-post-card {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.megamenu-post-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(220, 38, 38, 0.3);
}

.megamenu-post-image {
    width: 60px;
    height: 45px;
    border-radius: 0.375rem;
    overflow: hidden;
    flex-shrink: 0;
}

.megamenu-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.megamenu-post-content h5 {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.125rem;
    line-height: 1.3;
}

.megamenu-post-meta {
    font-size: 0.6875rem;
    color: #94a3b8;
}

.megamenu-cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.megamenu-video-thumb {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.megamenu-video-thumb:hover {
    background: rgba(220, 38, 38, 0.2);
    border-color: rgba(220, 38, 38, 0.4);
}

.megamenu-video-play .material-symbols-outlined {
    font-size: 2.5rem;
    color: #DC2626;
}

.megamenu-video-info h5 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.125rem;
}

.megamenu-video-info span {
    font-size: 0.75rem;
    color: #94a3b8;
}

.megamenu-video-thumb .material-symbols-outlined {
    font-size: 2rem;
    color: #DC2626;
}

.megamenu-video-thumb span:last-child {
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
}

.megamenu-cta-btn {
    width: 100%;
    justify-content: center;
}

/* Mega Menu Mobile */
@media (max-width: 1023px) {
    .nav-megamenu-dropdown {
        display: none;
    }
}

/* ==========================================================================
   Insights Page - Clean Card Design
   ========================================================================== */

.post-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #DC2626;
}

.post-card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #f1f5f9;
}

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

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

.post-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: #ffffff;
}

.post-card-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.post-card-category {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #DC2626;
    background: rgba(220, 38, 38, 0.1);
    padding: 0.25rem 0.625rem;
    border-radius: 2rem;
}

.post-card-date {
    font-size: 0.75rem;
    color: #64748b;
}

.post-card-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.post-card-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.post-card-title a:hover {
    color: #DC2626;
}

.post-card-excerpt {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1rem;
}

.post-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.post-card-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-card-author img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.post-card-author span {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #0f172a;
}

.post-card-read-time {
    font-size: 0.75rem;
    color: #94a3b8;
}

/* Insights Page Grid - Consistent Spacing */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ==========================================================================
   White/Black Contrast Sections
   ========================================================================== */

/* White sections with dark text */
.section-light {
    background: #ffffff;
    color: #0f172a;
}

.section-light h2,
.section-light h3,
.section-light h4 {
    color: #0f172a;
}

.section-light p {
    color: #475569;
}

/* Dark sections with white text */
.section-dark {
    background: #000000;
    color: #ffffff;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: #ffffff;
}

.section-dark p {
    color: #94a3b8;
}

/* Alternating Section Pattern */
.section-alt-white {
    background: #ffffff;
}

.section-alt-black {
    background: #0a0a0a;
}

/* ==========================================================================
   Reduced Section Spacing
   ========================================================================== */

.section-compact {
    padding: 3rem 0;
}

.section-tight {
    padding: 2rem 0;
}

/* FAQ to Lead Types spacing */
.faq-section + .lead-types-section,
.lead-types-section + .global-reach-section {
    margin-top: 0;
    padding-top: 2rem;
}

/* General tighter section gaps */
.section + .section {
    margin-top: 0;
}

/* ==========================================================================
   Pricing Cards - DIY & DFY
   ========================================================================== */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

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

.pricing-card {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 1.5rem;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: #DC2626;
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.1);
}

.pricing-card-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.pricing-card-badge {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.375rem 1rem;
    border-radius: 2rem;
    margin-bottom: 1rem;
}

.pricing-card-badge.diy {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.pricing-card-badge.dfy {
    background: rgba(220, 38, 38, 0.1);
    color: #DC2626;
}

.pricing-card-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.pricing-card-price {
    font-size: 0.9375rem;
    color: #64748b;
}

.pricing-card-price strong {
    font-size: 1.25rem;
    color: #0f172a;
}

.pricing-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.pricing-card-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.625rem 0;
    font-size: 0.9375rem;
    color: #475569;
}

.pricing-card-features li .material-symbols-outlined {
    color: #22c55e;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.pricing-card-cta {
    width: 100%;
    justify-content: center;
}

/* Fix btn-secondary on light backgrounds */
.pricing-card .btn-secondary {
    background: #0f172a;
    color: #ffffff;
    border: 2px solid #0f172a;
}

.pricing-card .btn-secondary:hover {
    background: #1e293b;
    border-color: #1e293b;
}

/* ==========================================================================
   Growth Signal Cursor
   ========================================================================== */

.cursor-growth {
    position: fixed;
    width: 32px;
    height: 32px;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cursor-growth svg {
    width: 100%;
    height: 100%;
}

.cursor-growth-glow {
    position: fixed;
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.15s ease;
}

/* Growth line animation */
.growth-line {
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
    animation: drawGrowth 2s ease-in-out infinite;
}

@keyframes drawGrowth {
    0% {
        stroke-dashoffset: 60;
    }
    50% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

/* Pulse animation for signal dot */
.growth-pulse {
    animation: signalPulse 1.5s ease-in-out infinite;
    transform-origin: center;
}

@keyframes signalPulse {
    0%, 100% {
        r: 2;
        opacity: 1;
    }
    50% {
        r: 3;
        opacity: 0.7;
    }
}

/* Show cursor on desktop */
@media (min-width: 1024px) and (pointer: fine) {
    body {
        cursor: none;
    }

    body * {
        cursor: none !important;
    }

    .cursor-growth,
    .cursor-growth-glow {
        opacity: 1;
    }

    /* Hide on buttons and links for better UX */
    a:hover ~ .cursor-growth,
    button:hover ~ .cursor-growth,
    .btn:hover ~ .cursor-growth {
        transform: translate(-50%, -50%) scale(1.2);
    }

    a:hover ~ .cursor-growth-glow,
    button:hover ~ .cursor-growth-glow,
    .btn:hover ~ .cursor-growth-glow {
        transform: translate(-50%, -50%) scale(1.5);
    }
}

/* Cursor hover state */
.cursor-growth.cursor-hover {
    transform: translate(-50%, -50%) scale(1.3);
}

.cursor-growth.cursor-hover svg {
    filter: drop-shadow(0 0 8px rgba(220, 38, 38, 0.5));
}

.cursor-growth-glow.cursor-hover {
    transform: translate(-50%, -50%) scale(1.8);
    background: radial-gradient(circle, rgba(220, 38, 38, 0.25) 0%, transparent 70%);
}

/* Cursor click state */
.cursor-growth.cursor-click {
    transform: translate(-50%, -50%) scale(0.9);
}

.cursor-growth-glow.cursor-click {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0.8;
}

/* Hide custom cursor on touch devices */
@media (pointer: coarse) {
    .cursor-growth,
    .cursor-growth-glow {
        display: none !important;
    }

    body,
    body * {
        cursor: auto !important;
    }
}

/* Show default cursor on modal forms for better usability */
.leadpot-modal-overlay,
.leadpot-modal-overlay *,
.leadpot-modal,
.leadpot-modal *,
.leadpot-modal-form-fields,
.leadpot-modal-form-fields * {
    cursor: auto !important;
}

.leadpot-modal input,
.leadpot-modal select,
.leadpot-modal textarea {
    cursor: text !important;
}

.leadpot-modal select {
    cursor: pointer !important;
}

.leadpot-modal button,
.leadpot-modal .btn,
.leadpot-modal-close {
    cursor: pointer !important;
}

/* ==========================================================================
   LeadPot Popup Modal Forms
   ========================================================================== */

.leadpot-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

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

.leadpot-modal {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

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

.leadpot-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.leadpot-modal-close:hover {
    background: rgba(220, 38, 38, 0.2);
    border-color: rgba(220, 38, 38, 0.4);
}

.leadpot-modal-close .material-symbols-outlined {
    color: #ffffff;
    font-size: 1.25rem;
}

.leadpot-modal-content {
    padding: 2.5rem;
}

.leadpot-modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.leadpot-modal-header h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0.75rem 0 0.5rem;
}

.leadpot-modal-header p {
    font-size: 0.9375rem;
    color: #94a3b8;
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.6;
}

.leadpot-modal-form-fields .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 576px) {
    .leadpot-modal-form-fields .form-row {
        grid-template-columns: 1fr;
    }

    .leadpot-modal-content {
        padding: 1.5rem;
    }

    .leadpot-modal-header h3 {
        font-size: 1.5rem;
    }
}

.leadpot-modal-form-fields .form-group {
    margin-bottom: 1rem;
}

.leadpot-modal-form-fields .form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #e2e8f0;
    margin-bottom: 0.375rem;
}

.leadpot-modal-form-fields .form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.5rem;
    color: #ffffff;
    font-size: 0.9375rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.leadpot-modal-form-fields .form-input::placeholder {
    color: #64748b;
}

.leadpot-modal-form-fields .form-input:focus {
    outline: none;
    border-color: #DC2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

/* Error state for invalid form fields */
.leadpot-modal-form-fields .form-input.form-input-error,
.form-input.form-input-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
    animation: shake 0.3s ease-in-out;
}

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

/* Checkbox error state */
input[type="checkbox"].form-input-error {
    outline: 2px solid #ef4444 !important;
    outline-offset: 2px;
    animation: shake 0.3s ease-in-out;
}

/* Highlight label next to checkbox when error */
input[type="checkbox"].form-input-error + label {
    color: #ef4444 !important;
}

.leadpot-modal-form-fields select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

.leadpot-modal-form-fields .btn {
    margin-top: 0.5rem;
}

.leadpot-modal-form-fields .recaptcha-notice {
    margin-top: 1rem;
    font-size: 0.75rem;
    color: #64748b;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
}

.leadpot-modal-form-fields .recaptcha-notice .material-symbols-outlined {
    color: #22c55e;
}

/* Google reCAPTCHA badge positioning */
.grecaptcha-badge {
    visibility: visible !important;
    z-index: 9999;
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Form loading spinner */
.btn-loading-spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: btn-spin 0.8s linear infinite;
    margin-right: 0.5rem;
    vertical-align: middle;
}

@keyframes btn-spin {
    to { transform: rotate(360deg); }
}

/* Form success message */
.form-success-message {
    text-align: center;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.form-inline-success {
    animation: fadeIn 0.3s ease-in;
}

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

/* Fix modal form alignment */
.leadpot-modal-form-fields .form-group {
    margin-bottom: 1rem;
}

.leadpot-modal-form-fields .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 0;
}

.leadpot-modal-form-fields .form-row .form-group {
    margin-bottom: 0;
}

/* Ensure proper vertical spacing between rows */
.leadpot-modal-form-fields .form-row + .form-row {
    margin-top: 1rem;
}

.leadpot-modal-form-fields .form-row + .btn,
.leadpot-modal-form-fields .form-group + .btn {
    margin-top: 1.5rem;
}

/* ==========================================================================
   CTA Section Text Visibility Fix
   ========================================================================== */

/* Ensure CTA sections have visible text on colored backgrounds */
.cta-section {
    color: #ffffff;
}

.cta-section h2,
.cta-section > .container h2,
.cta-section > .container > div h2 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.cta-section p,
.cta-section > .container p,
.cta-section > .container > div p {
    color: rgba(255, 255, 255, 0.95) !important;
    opacity: 1;
}

/* Specific fix for lead page CTA sections with dynamic colors */
section[style*="background: linear-gradient"] {
    color: #ffffff;
}

section[style*="background: linear-gradient"] h2 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

section[style*="background: linear-gradient"] p {
    color: rgba(255, 255, 255, 0.95) !important;
}

section[style*="background: linear-gradient"] .scroll-animate p {
    color: rgba(255, 255, 255, 0.95) !important;
}

/* Ensure buttons in CTA sections are visible */
.cta-section .btn-secondary,
section[style*="background: linear-gradient"] .btn-secondary {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.cta-section .btn-secondary:hover,
section[style*="background: linear-gradient"] .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

/* CTA buttons container */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
