﻿body {
    background-color: #ffffff;
    color: #1A1A2E;
    font-family: 'DM Sans', sans-serif;
    overflow-x: hidden;
}

/* Custom cursor */
.cursor {
    width: 12px;
    height: 12px;
    background: #C8102E;
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: multiply;
}

.cursor-ring {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(200,16,46,0.5);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.4s ease, width 0.3s, height 0.3s;
}

/* Noise overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1000;
    opacity: 0.15;
}

/* Gold shimmer text */
.shimmer-gold {
    background: linear-gradient(90deg, #C9A84C 0%, #F5E6A3 40%, #C9A84C 60%, #8B6914 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

/* ECG line SVG animation */
.ecg-path {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: ecgDraw 2s ease forwards 0.5s;
}

@keyframes ecgDraw {
    to {
        stroke-dashoffset: 0;
    }
}

/* Section reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* Horizontal divider line */
.gold-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, #f78094, transparent);
}

/* Nav glass */
nav.scrolled {
    background: rgba(255,255,255,0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201,168,76,0.3);
}

/* Card hover */
.service-card:hover .card-inner {
    border-color: rgba(200,16,46,0.6);
    background: rgba(200,16,46,0.06);
}

.service-card:hover .card-icon {
    color: #C8102E;
    transform: scale(1.1);
}

.service-card:hover .card-num {
    -webkit-text-fill-color: rgba(200,16,46,0.2);
}

/* Stat counter */
.stat-box {
    border: 1px solid rgba(201,168,76,0.35);
    background: linear-gradient(135deg, rgba(201,168,76,0.08) 0%, transparent 100%);
}

/* Gradient mesh bg */
.mesh-bg {
    background: #ffffff;
}

/* Map continent */
.continent-glow {
    filter: drop-shadow(0 0 20px rgba(200,16,46,0.4)) drop-shadow(0 0 60px rgba(200,16,46,0.15));
}

/* Timeline */
.timeline-item::before {
    content: '';
    position: absolute;
    left: -1px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, #C8102E, transparent);
}

/* Button glow */
.btn-primary {
    position: relative;
    overflow: hidden;
}

    .btn-primary::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
        opacity: 0;
        transition: opacity 0.3s;
    }

    .btn-primary:hover::before {
        opacity: 1;
    }

    .btn-primary::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    }

/* Scroll indicator */
@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }
}

/* Image placeholder shimmer */
.img-placeholder {
    background: linear-gradient(135deg, rgba(200,16,46,0.06) 0%, rgba(230,228,222,0.8) 50%, rgba(201,168,76,0.08) 100%);
}

/* Floating badge */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(-2deg);
    }

    50% {
        transform: translateY(-12px) rotate(2deg);
    }
}

.floating {
    animation: float 5s ease-in-out infinite;
}

/* Quote */
.quote-mark {
    font-family: 'Cormorant Garamond', serif;
    font-size: 10rem;
    line-height: 0.8;
    color: rgba(200,16,46,0.15);
    user-select: none;
}
