:root {
    --bg-dark: #0a0a0f;
    --bg-card: rgba(20, 20, 30, 0.6);
    --text-main: #f0f0eb;
    --text-muted: #94a3b8;
    --accent-purple: #8b5cf6;
    --accent-cyan: #06b6d4;
    --glow: rgba(139, 92, 246, 0.15);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

body::before {
    content: ''; position: absolute; width: 600px; height: 600px;
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
    top: -10%; left: -10%; opacity: 0.3; z-index: 0; filter: blur(80px);
}
body::after {
    content: ''; position: absolute; width: 500px; height: 500px;
    background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
    bottom: -10%; right: -10%; opacity: 0.2; z-index: 0; filter: blur(100px);
}

.card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 48px;
    width: 90%;
    max-width: 480px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    z-index: 1;
    transition: transform 0.4s ease, box-shadow 0.4s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 40px var(--glow);
    border-color: rgba(139, 92, 246, 0.3);
}

.domain {
    font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.2em;
    color: var(--accent-cyan); margin-bottom: 16px; font-weight: 700;
}

h1 {
    font-size: 2.5rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 8px;
    background: linear-gradient(135deg, #fff 30%, var(--text-muted));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.subtitle { font-size: 1.1rem; color: var(--accent-purple); font-weight: 500; margin-bottom: 32px; }

.tech-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.tech-badge {
    background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 16px; border-radius: 12px; font-size: 0.9rem; font-weight: 500; transition: all 0.3s ease; cursor: default;
}
.tech-badge:hover { background: rgba(255, 255, 255, 0.1); transform: scale(1.05); color: #fff; }
.tech-badge.cpp:hover { border-color: #00599C; box-shadow: 0 0 15px rgba(0,89,156,0.3); }
.tech-badge.python:hover { border-color: #3776AB; box-shadow: 0 0 15px rgba(55,118,171,0.3); }
.tech-badge.java:hover { border-color: #ED8B00; box-shadow: 0 0 15px rgba(237,139,0,0.3); }
.tech-badge.android:hover { border-color: #3DDC84; box-shadow: 0 0 15px rgba(61,220,132,0.3); }
.tech-badge.php:hover { border-color: #777BB4; box-shadow: 0 0 15px rgba(119,123,180,0.3); }

.cta-button {
    display: inline-flex; align-items: center; justify-content: center;
    width: 100%; padding: 16px 32px; background: linear-gradient(135deg, var(--accent-purple), #6366f1);
    color: white; border: none; font-weight: 600; font-size: 1rem; border-radius: 14px;
    transition: all 0.3s ease; box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3); cursor: pointer;
}
.cta-button:hover {
    background: linear-gradient(135deg, #9333ea, #4f46e5);
    box-shadow: 0 6px 24px rgba(139, 92, 246, 0.5); transform: scale(1.01);
}

.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(5, 5, 10, 0.8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    display: flex; justify-content: center; align-items: center; z-index: 10;
    opacity: 0; pointer-events: none; transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-content {
    background: #111118; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 24px;
    padding: 40px; width: 90%; max-width: 440px; position: relative;
    transform: scale(0.9) translateY(20px); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 30px 60px rgba(0,0,0,0.8);
}
.modal-overlay.active .modal-content { transform: scale(1) translateY(0); }
.close-button {
    position: absolute; top: 20px; right: 20px; background: none; border: none;
    color: var(--text-muted); font-size: 1.5rem; cursor: pointer; transition: color 0.2s; line-height: 1;
}
.close-button:hover { color: #fff; }
.modal-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 24px; text-align: left; }

.form-group { margin-bottom: 20px; text-align: left; }
.form-group label { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; font-weight: 500; }
.form-input, .form-textarea {
    width: 100%; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px; padding: 14px 16px; color: #fff; font-size: 1rem; transition: all 0.3s;
}
.form-input:focus, .form-textarea:focus {
    outline: none; border-color: var(--accent-purple); background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.15);
}
.form-textarea { resize: none; height: 120px; }

.form-status { margin-bottom: 15px; font-size: 0.95rem; font-weight: 500; display: none; text-align: left;}
.form-status.success { color: #3ddc84; display: block; }
.form-status.error { color: #ef4444; display: block; }

h1, .subtitle, .domain, .tech-badge {
  user-select: none;
  cursor: default;
}

@media (max-width: 480px) {
    .card, .modal-content { padding: 32px 24px; }
    h1 { font-size: 2rem; }
}

