:root {
    --primary-blue: #2563eb;
    --primary-blue-hover: #3b82f6;
    --dark-bg: #030303;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

body {
    background-color: var(--dark-bg);
}

a, button, input, textarea {
    cursor: pointer;
}

::selection {
    background: var(--primary-blue);
    color: white;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: #1a1a1a;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-blue);
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Service Cards Refinement */
.service-card {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-12px);
    border-color: rgba(37, 99, 235, 0.4);
    background: rgba(37, 99, 235, 0.02);
    box-shadow: 0 20px 40px -20px rgba(37, 99, 235, 0.2);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.1), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover::after {
    opacity: 1;
}

/* Portfolio Browser Frames */
.browser-frame {
    border-radius: 20px;
    background: #111;
    border: 1px solid var(--glass-border);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.8);
}

.browser-header {
    background: #0d0d0d;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--glass-border);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

.browser-address {
    background: #000;
    margin-left: 15px;
    flex-grow: 1;
    height: 24px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    color: #333;
    display: flex;
    align-items: center;
    padding-left: 12px;
    letter-spacing: 0.05em;
}

.portfolio-img {
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.browser-frame:hover {
    transform: scale(1.02);
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 50px 120px -30px rgba(37, 99, 235, 0.2);
}

.browser-frame:hover .portfolio-img {
    transform: scale(1.08);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
}

.reveal-step {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
}

#navbar.scrolled {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    background: rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Form Styles */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus {
    -webkit-text-fill-color: white;
    -webkit-box-shadow: 0 0 0px 1000px #111 inset;
    transition: background-color 5000s ease-in-out 0s;
}
