/* services-global.css - Clean Global Styles for Service Pages Only */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Variables */
    --primary-text: #1a1a1a;
    --secondary-text: #4a5568;
    --accent-primary: #3B82F6;
    --accent-secondary: #F472B6;

    /* Typography */
    --font-primary: 'Livvic', 'Inter', 'Segoe UI', 'system-ui', sans-serif;
    --font-display: 'Livvic', 'Space Grotesk', 'Inter', sans-serif;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 20px;

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-normal);
    background: #FFEEE8;
    color: var(--primary-text);
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
    min-height: 100vh;
    font-size: 16px;
    letter-spacing: 0.01em;
    cursor: none;
}

/* Custom Cursor */
.cursor {
    position: fixed;
    width: 12px;
    height: 12px;
    background: var(--accent-secondary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    will-change: transform;
    box-shadow: 0 0 20px rgba(244, 114, 182, 0.6);
    mix-blend-mode: difference;
    transition: none;
}

.cursor.hover {
    width: 28px;
    height: 28px;
    background: transparent;
    border: 2px solid var(--accent-primary);
    box-shadow:
        0 0 25px rgba(59, 130, 246, 0.8),
        inset 0 0 20px rgba(59, 130, 246, 0.2);
    transform: scale(1);
    transition: none;
}

.cursor.hover::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.8);
}

.cursor.card-hover {
    width: 20px;
    height: 20px;
    background: transparent;
    border: 2px solid var(--accent-secondary);
    border-radius: 6px;
    box-shadow:
        0 0 30px rgba(244, 114, 182, 0.8),
        0 0 15px rgba(59, 130, 246, 0.4),
        inset 0 0 15px rgba(244, 114, 182, 0.3);
    transform: rotate(45deg);
    transition: none;
}

.cursor.card-hover::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    background: var(--primary-text);
    border-radius: 2px;
    transform: translate(-50%, -50%) rotate(-45deg);
    box-shadow: 0 0 8px rgba(26, 26, 26, 0.6);
}

/* Interactive Elements */
a, button, .clickable, [role="button"], .glass-card, .glass-button {
    cursor: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    line-height: 1.2;
    font-weight: var(--font-weight-semibold);
    color: var(--primary-text);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: var(--font-weight-bold);
}
h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: var(--font-weight-bold);
}
h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: var(--font-weight-semibold);
}
h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: var(--font-weight-semibold);
}

/* Background Animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.4;
    animation: float 25s infinite ease-in-out;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 192, 203, 0.3), rgba(255, 235, 205, 0.2), transparent);
    top: -150px;
    left: -150px;
    animation-delay: 0s;
}

.orb-2 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 218, 185, 0.25), rgba(255, 245, 238, 0.2), transparent);
    bottom: -250px;
    right: -250px;
    animation-delay: 8s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 245, 220, 0.35), rgba(255, 240, 245, 0.15), transparent);
    top: 40%;
    left: 60%;
    transform: translate(-50%, -50%);
    animation-delay: 16s;
}

.noise-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.02) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(244, 114, 182, 0.02) 1px, transparent 1px);
    background-size: 150px 150px, 200px 200px;
    animation: drift 40s linear infinite;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.05);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

@keyframes drift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-15px, -15px); }
}

/* Glass Effects */
.glass-card {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.95),
        rgba(248, 249, 255, 0.9),
        rgba(59, 130, 246, 0.08)
    );
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 24px;
    box-shadow:
        0 8px 32px 0 rgba(59, 130, 246, 0.1),
        0 0 20px rgba(59, 130, 246, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    transition: var(--transition-smooth);
    position: relative;
    overflow: visible;
    color: #0f172a;
    z-index: 2;
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 60px 0 rgba(59, 130, 246, 0.15),
        0 0 40px rgba(59, 130, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: rgba(59, 130, 246, 0.5);
}

.glass-button {
    background: linear-gradient(135deg,
        rgba(59, 130, 246, 0.1),
        rgba(250, 250, 251, 0.8),
        rgba(59, 130, 246, 0.05)
    );
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 50px;
    color: var(--primary-text);
    padding: 14px 32px;
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.2);
    text-decoration: none;
    cursor: pointer;
}

.glass-button:hover {
    background: linear-gradient(135deg,
        rgba(244, 114, 182, 0.15),
        rgba(59, 130, 246, 0.12),
        rgba(250, 250, 251, 0.85)
    );
    border-color: rgba(244, 114, 182, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 0 35px rgba(244, 114, 182, 0.3);
    color: var(--primary-text);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    color: var(--accent-secondary);
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    position: relative;
}

.section-tag::before,
.section-tag::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    opacity: 0.6;
}

.section-tag::before { left: -40px; }
.section-tag::after { right: -40px; }

.section-title {
    margin-bottom: 20px;
    color: var(--primary-text);
}

.section-title .highlight {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    color: #1e293b;
    font-weight: 500;
    line-height: 1.7;
}

/* Utility Classes */
.highlight {
    color: var(--accent-primary);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(59, 130, 246, 0.1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

/* Focus styles for accessibility */
*:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    body {
        font-size: 15px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-tag::before,
    .section-tag::after {
        display: none;
    }

    .orb-1, .orb-2, .orb-3 {
        opacity: 0.2;
    }

    .glass-card {
        border-radius: 20px;
    }

    .glass-button {
        padding: 12px 28px;
        font-size: 15px;
    }

    h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    h2 {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

    h3 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
}

@media (max-width: 480px) {
    .glass-card {
        border-radius: 20px;
        padding: 20px;
    }

    .glass-button {
        padding: 10px 24px;
        font-size: 14px;
        border-radius: 40px;
    }

    .section-description {
        font-size: 16px;
        line-height: 1.6;
    }

    .orb-1, .orb-2, .orb-3 {
        opacity: 0.15;
        filter: blur(160px);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Print styles */
@media print {
    .background-animation,
    .noise-overlay,
    .gradient-orb {
        display: none !important;
    }

    .glass-card,
    .glass-button {
        background: white !important;
        border: 1px solid #ccc !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }
}