/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: #1a0a10;
    color: #ffffff;
    overflow-x: hidden;
}

/* ===== GEOMETRIC BACKGROUND SHAPES ===== */
.geo-shape {
    position: absolute;
    opacity: 0.06;
    pointer-events: none;
}

.shape-circle-1 {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: #dc4561;
    top: -200px;
    right: -150px;
    animation: float-slow 20s ease-in-out infinite;
}

.shape-circle-2 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: #ff6f96;
    bottom: 10%;
    left: -100px;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.shape-square-1 {
    width: 200px;
    height: 200px;
    background: #dc4561;
    top: 40%;
    right: 5%;
    transform: rotate(45deg);
    animation: spin-slow 25s linear infinite;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid #ff6f96;
    top: 60%;
    left: 8%;
    animation: float-slow 18s ease-in-out infinite;
    opacity: 0.04;
}

.shape-diamond-1 {
    width: 120px;
    height: 120px;
    background: #dc4561;
    top: 25%;
    left: 15%;
    transform: rotate(45deg);
    animation: spin-slow 30s linear infinite reverse;
    opacity: 0.03;
}

.shape-ring-1 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 3px solid #ff6f96;
    bottom: 20%;
    right: 10%;
    animation: float-slow 22s ease-in-out infinite reverse;
    opacity: 0.05;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-30px) rotate(5deg); }
    66% { transform: translateY(15px) rotate(-3deg); }
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===== HERO GRID PATTERN ===== */
.hero-grid-pattern {
    background-image: 
        linear-gradient(rgba(220, 69, 97, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(220, 69, 97, 0.1) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* ===== NAVBAR ===== */
.navbar-scrolled {
    background: rgba(26, 10, 16, 0.9) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #dc4561, #ff6f96);
    transition: width 0.3s ease;
    border-radius: 1px;
}

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

.nav-link:hover {
    color: #ffffff !important;
}

.nav-icon, .close-icon {
    transition: all 0.3s ease;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    animation: slideDown 0.3s ease forwards;
}

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

.mobile-nav-link {
    display: block;
    transition: all 0.3s ease;
}

/* ===== FLOATING STAT CARDS ===== */
.stat-card-1 {
    animation: float-card-1 6s ease-in-out infinite;
}

.stat-card-2 {
    animation: float-card-2 7s ease-in-out infinite;
}

.stat-card-3 {
    animation: float-card-3 5s ease-in-out infinite;
}

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

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

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

/* ===== SERVICE CARDS ===== */
.service-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
}

/* ===== STEP CARDS ===== */
.step-card {
    transition: all 0.4s ease;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-card:hover .w-32 {
    box-shadow: 0 25px 50px -12px rgba(220, 69, 97, 0.4);
}

/* ===== SCROLL REVEAL (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .geo-shape {
        display: none;
    }

    .shape-circle-1, .shape-circle-2 {
        display: block;
        opacity: 0.03;
    }
}

/* ===== FOCUS STYLES ===== */
a:focus-visible, button:focus-visible {
    outline: 2px solid #ff6f96;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ===== SELECTION ===== */
::selection {
    background: rgba(220, 69, 97, 0.4);
    color: #ffffff;
}

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

::-webkit-scrollbar-track {
    background: #1a0a10;
}

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

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