:root {
    --bg-deep: #050508;
    --bg-surface: rgba(15, 15, 25, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.03);
    --accent-cyan: #00f2ff;
    --accent-purple: #bd34fe;
    --accent-pink: #ff0080;
    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b0;
    --text-muted: #606070;
    --success: #00e5a0;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-deep);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

/* Animated background orbs */
.bg-orbs {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--accent-purple);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-cyan);
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
    animation-duration: 25s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--accent-pink);
    top: 40%;
    left: 50%;
    animation-delay: -10s;
    animation-duration: 22s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -30px) scale(1.1); }
    50% { transform: translate(-30px, 50px) scale(0.95); }
    75% { transform: translate(20px, 20px) scale(1.05); }
}

/* Subtle noise texture */
.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.03;
    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.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Main container */
.container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 100%;
    background: var(--bg-surface);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 60px 48px;
    text-align: center;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.02) inset,
        0 40px 80px -20px rgba(0,0,0,0.6),
        0 0 100px -20px rgba(189, 52, 254, 0.15);
    animation: fadeInUp 1s ease-out;
}

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

/* Header */
.header {
    margin-bottom: 48px;
    animation: fadeInUp 1s ease-out 0.1s both;
}

.avatar-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 28px;
}

.avatar {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 242, 255, 0.15) 0%, rgba(189, 52, 254, 0.15) 100%);
    border: 2px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    position: relative;
    z-index: 2;
    transition: var(--transition);
    box-shadow: 0 0 40px rgba(0, 242, 255, 0.15);
}

.avatar:hover {
    transform: scale(1.05) rotate(-5deg);
    box-shadow: 0 0 60px rgba(189, 52, 254, 0.25);
    border-color: rgba(255,255,255,0.2);
}

.avatar-glow {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple), var(--accent-pink));
    opacity: 0.5;
    filter: blur(12px);
    z-index: 1;
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

h1 {
    font-size: 42px;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #c0c0d0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 400;
    min-height: 28px;
}

.cursor {
    display: inline-block;
    width: 2px;
    height: 20px;
    background: var(--accent-cyan);
    margin-left: 4px;
    animation: blink 1s infinite;
    vertical-align: middle;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(0, 229, 160, 0.1);
    color: var(--success);
    border: 1px solid rgba(0, 229, 160, 0.2);
    margin-top: 16px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 229, 160, 0.4); }
    50% { box-shadow: 0 0 0 6px rgba(0, 229, 160, 0); }
}

/* Services */
.services {
    background: var(--glass-highlight);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 36px 32px;
    margin-bottom: 40px;
    text-align: left;
    animation: fadeInUp 1s ease-out 0.2s both;
    transition: var(--transition);
}

.services:hover {
    border-color: rgba(255,255,255,0.12);
    box-shadow: 0 0 40px rgba(0,0,0,0.2);
}

.services h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.services h2::before,
.services h2::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
    max-width: 60px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    margin-bottom: 10px;
    font-size: 15px;
    color: var(--text-secondary);
    background: rgba(255,255,255,0.02);
    border-radius: 14px;
    border: 1px solid transparent;
    transition: var(--transition);
    cursor: default;
}

.service-item:last-child {
    margin-bottom: 0;
}

.service-item:hover {
    background: rgba(255,255,255,0.04);
    border-color: rgba(0, 242, 255, 0.15);
    transform: translateX(6px);
    color: var(--text-primary);
}

.service-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(0, 242, 255, 0.1), rgba(189, 52, 254, 0.1));
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}

.service-item:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.2);
}

/* Contact section */
.contact-section {
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.contact-section h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-section h2::before,
.contact-section h2::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
    max-width: 60px;
}

.contacts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.contact-item {
    background: var(--glass-highlight);
    padding: 24px 20px;
    border-radius: 20px;
    text-decoration: none;
    color: var(--text-secondary);
    transition: var(--transition);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-align: left;
}

.contact-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 242, 255, 0.1), rgba(189, 52, 254, 0.1));
    opacity: 0;
    transition: var(--transition);
}

.contact-item:hover::before {
    opacity: 1;
}

.contact-item:hover {
    border-color: rgba(0, 242, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 30px rgba(0, 242, 255, 0.1);
    color: var(--text-primary);
}

.contact-item > * {
    position: relative;
    z-index: 1;
}

.contact-icon {
    font-size: 28px;
    margin-bottom: 12px;
    display: inline-block;
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    transform: scale(1.15);
}

.contact-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
    opacity: 0.7;
    font-weight: 600;
    color: var(--accent-cyan);
}

.contact-value {
    font-size: 14px;
    font-weight: 600;
    word-break: break-all;
    color: var(--text-primary);
}

.copy-hint {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(0, 242, 255, 0.15);
    color: var(--accent-cyan);
    opacity: 0;
    transform: translateY(-4px);
    transition: var(--transition);
    font-weight: 600;
    pointer-events: none;
}

.contact-item:hover .copy-hint {
    opacity: 1;
    transform: translateY(0);
}

.copy-hint.copied {
    background: rgba(0, 229, 160, 0.15);
    color: var(--success);
}

/* Social */
.social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 28px;
}

.social-btn {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: var(--glass-highlight);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 242, 255, 0.2), rgba(189, 52, 254, 0.2));
    opacity: 0;
    transition: var(--transition);
}

.social-btn:hover::before {
    opacity: 1;
}

.social-btn:hover {
    color: #fff;
    transform: translateY(-4px) scale(1.05);
    border-color: rgba(0, 242, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 242, 255, 0.15);
}

.social-btn img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    filter: brightness(1.4) grayscale(0.3);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.social-btn:hover img {
    filter: brightness(1.8) grayscale(0);
    transform: scale(1.1);
}

.social-btn > * {
    position: relative;
    z-index: 1;
}

/* Footer */
.footer {
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 36px;
    padding-top: 32px;
    border-top: 1px solid var(--glass-border);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.footer p {
    margin-bottom: 6px;
}

.heart {
    color: var(--accent-pink);
    display: inline-block;
    animation: heartbeat 2s infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    15% { transform: scale(1.15); }
    30% { transform: scale(1); }
    45% { transform: scale(1.15); }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.2);
}

/* Responsive */
@media (max-width: 640px) {
    .container {
        padding: 40px 24px;
        border-radius: 24px;
    }

    h1 {
        font-size: 32px;
    }

    .contacts {
        grid-template-columns: 1fr;
    }

    .avatar {
        width: 110px;
        height: 110px;
        font-size: 52px;
    }

    .services {
        padding: 28px 20px;
    }

    .service-item {
        font-size: 14px;
    }
}
