/* ===== RESET & BASE ===== */
*, *::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: 'Space Grotesk', sans-serif;
    background: #1a0a10;
    color: #fbcfe8;
    overflow-x: hidden;
}

/* ===== GEOMETRIC SHAPES ===== */
.geometric-shape {
    position: absolute;
    pointer-events: none;
}

.shape-circle-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(244, 114, 182, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-circle-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 10%;
    left: 5%;
    animation: float 10s ease-in-out infinite reverse;
}

.shape-square-1 {
    width: 120px;
    height: 120px;
    background: rgba(245, 158, 11, 0.08);
    border: 2px solid rgba(245, 158, 11, 0.15);
    top: 30%;
    right: 45%;
    transform: rotate(45deg);
    animation: spin 20s linear infinite;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(236, 72, 153, 0.1);
    top: 60%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.shape-ring-1 {
    width: 200px;
    height: 200px;
    border: 3px solid rgba(244, 114, 182, 0.12);
    border-radius: 50%;
    top: 40%;
    right: 10%;
    animation: pulse-ring 4s ease-in-out infinite;
}

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

@keyframes spin {
    from { transform: rotate(45deg); }
    to { transform: rotate(405deg); }
}

@keyframes pulse-ring {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* ===== NAVBAR ===== */
#navbar {
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

#navbar.scrolled {
    background: rgba(26, 10, 16, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ===== MOBILE MENU ===== */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

/* ===== SERVICE CARDS ===== */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f59e0b, #ec4899);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

/* ===== PROCESS STEPS ===== */
.process-step::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -1.5rem;
    width: 2rem;
    height: 2px;
    background: linear-gradient(90deg, #f59e0b, transparent);
    display: none;
}

@media (min-width: 1024px) {
    .process-step:not(:last-child)::after {
        display: block;
    }
}

/* ===== TESTIMONIAL CARDS ===== */
.testimonial-card {
    position: relative;
}

.testimonial-card::after {
    content: '"';
    position: absolute;
    top: -10px;
    right: 30px;
    font-family: 'Syne', sans-serif;
    font-size: 8rem;
    color: rgba(245, 158, 11, 0.06);
    line-height: 1;
    pointer-events: none;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== BUTTON HOVER EFFECTS ===== */
a, button {
    transition: all 0.2s ease;
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1a0a10;
}
::-webkit-scrollbar-thumb {
    background: #9d174d;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #be185d;
}

/* ===== SELECTION ===== */
::selection {
    background: rgba(245, 158, 11, 0.3);
    color: #fff;
}

/* ===== FOCUS STYLES ===== */
:focus-visible {
    outline: 2px solid #f59e0b;
    outline-offset: 2px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .shape-circle-1 {
        width: 300px;
        height: 300px;
    }
    .shape-circle-2 {
        width: 200px;
        height: 200px;
    }
    .shape-square-1 {
        width: 80px;
        height: 80px;
    }
    .shape-ring-1 {
        width: 120px;
        height: 120px;
    }
}
