/* CSS-in əsasını təşkil edən müasir təkmilləşdirmələr */
@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

:root {
    /* Palette: primary blue theme */
    --bg-color: #ffffff; /* page background */
    --primary-orange: #0056C1; /* primary color (kept var name for compatibility) */
    --secondary-orange: #4DA8FF; /* lighter accent */
    --text-light: #0b1b2b; /* main text on white background */
    --text-dark: #556170; /* subdued/muted text */
    --border-color: rgba(0, 86, 193, 0.08); /* subtle primary-tinted border */
}

::selection {
    background-color: var(--primary-orange);
    color: white;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f4f7fb; /* subtle light track on white pages */
}

::-webkit-scrollbar-thumb {
    background: var(--primary-orange);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-orange);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-light);
    overflow-x: hidden;
}

#cursor-aura {
    position: fixed;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 86, 193, 0.10) 0%, rgba(0, 86, 193, 0) 60%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
    z-index: -2;
}

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.glass-morphism {
    /* light glass on white background */
    background: rgba(255, 255, 255, 0.6);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    transition: background 0.3s, border-color 0.3s, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-glow {
    position: relative;
}

.card-glow::before,
.card-glow::after {
    content: '';
    position: absolute;
    left: -1px;
    top: -1px;
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    border-radius: inherit;
    animation: rotate 6s linear infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.card-glow:hover::before,
.card-glow:hover::after {
    opacity: 1;
}

@keyframes rotate {
    to {
        --angle: 360deg;
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.gradient-text {
    background: linear-gradient(125deg, var(--primary-orange) 0%, var(--secondary-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.accordion-icon {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.accordion-btn.active .accordion-icon {
    transform: rotate(135deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out;
}

.accordion-content.active {
    max-height: 20rem;
    padding-bottom: 1.5rem;
}