:root {
    --bg: #0c1116;
    --surface: #121923;
    --text: #e6eef8;
    --muted: #9ab0c3;
    --primary: #1141dd;
    --primary-700: #0e3fdf;
    --accent: #0044ff;
    --card: #0f1520;
    --border: #1f2a37;
    
    /* Glass effect variables */
    --glass-bg: rgba(7, 49, 146, 0.6);
    --glass-border: rgb(6, 48, 185);
    --glass-shadow: 0 8px 32px rgba(41, 12, 209, 0.452);
}

* {
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji', 'Segoe UI Emoji';
    background: 
        radial-gradient(1200px 600px at 80% -10%, rgba(58, 176, 255, 0.15) 0%, rgba(0, 0, 0, 0) 60%),
        radial-gradient(800px 800px at 20% 60%, rgba(0, 255, 163, 0.1) 0%, rgba(0, 0, 0, 0) 60%),
        var(--bg);
    background-attachment: flex;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    margin-left: 1rem;
}

body.menu-open {
    overflow: hidden;
}

::selection {
    background: var(--primary);
    color: #001018;
}

.container {
    width: min(1100px, 92%);
    margin: 0 auto;
}

.site-header {
    background: rgba(9, 83, 194, 0.295);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(31, 42, 55, 0.5);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    flex-wrap: wrap;
}

.site-header.compact {
    background: rgba(3, 50, 121, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.site-header.compact .nav {
    padding: 10px 0;
}

.site-header.compact .hero {
    padding: 40px 0 32px;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    position: relative;
    transition: padding 0.3s ease;

}

.mobile-menu-btn {
    background: none;
    border: none;
    color: var(--text);
    font-size: 24px;
    cursor: pointer;
    z-index: 100;
    transition: color 0.3s ease;
    display: none;
    line-height: 1;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav__links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100px;
        height: 100vh;
        background: rgba(255,255,255,0.1);
        backdrop-filter: blur(15px) saturate(180%);
        -webkit-backdrop-filter: blur(15px) saturate(180%);
        border-left: 1px solid rgba(255, 255, 255, 0.3);
        flex-direction: column;
        padding: 80px 20px 30px;
        z-index: 90;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        transition: right 0.3s ease;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        align-items: center;

    }
    
    .nav__links.active {
        right: 0;
    }
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.brand__logo {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
}

.brand__logo:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(58, 176, 255, 0.5);
    border-color: var(--primary);
}

.brand__name {
    font-size: 18px;
}

.nav__links {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
    transition: all 0.3s ease;
}

.nav__links a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav__links a:hover,
.nav__links a.active {
    color: var(--text);
    text-shadow: 0 0 8px rgba(58, 176, 255, 0.4);
    right: 0;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
    position: relative;
}

a:hover {
    color: #00ffa3;
    transform: scale(1.1);
    text-shadow: 0 0 8px rgba(0, 255, 163, 0.3);
}

a:not(.btn):not(.nav__links a)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s ease;
}

a:not(.btn):not(.nav__links a):hover::after {
    width: 100%;
    box-shadow: 0 0 10px rgba(0, 255, 163, 0.5);
}

.nav__links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.3s ease;
}

.nav__links a:hover::after,
.nav__links a.active::after {
    width: 100%;
}

.hero {
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg) 0%, rgba(18, 44, 83, 0.95) 100%);
    border-radius: 16px;
    width: 100%;
    text-wrap: balance;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(2, 68, 155, 0.651) 0%, rgba(1, 68, 145, 0.603) 70%);
    z-index: -1;
    animation: pulse 8s ease-in-out infinite alternate;
    text-align: center;
}

.hero::after {
    content: '';
    position: relative;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 89, 255, 0.575) 0%, rgba(49, 3, 214, 0.616) 70%);
    z-index: -1;
    animation: pulse 10s ease-in-out infinite alternate-reverse;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 0.8; }
}

/* Cursor glow effect */
.cursor-glow {
    position: fixed;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(58, 176, 255, 0.3) 0%, rgba(0, 255, 163, 0.1) 70%, transparent 100%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    opacity: 0.5;
    transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
}

.cursor-glow--active {
    width: 50px;
    height: 50px;
    opacity: 0.8;
    background: radial-gradient(circle, rgba(0, 255, 163, 0.4) 0%, rgba(58, 176, 255, 0.2) 70%, transparent 100%);
}

.hero h1 {
    font-size: clamp(32px, 5vw, 56px);
    margin: 14px 0;
    letter-spacing: -0.5px;
    background: linear-gradient(90deg, var(--text) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    text-align: center;
}

.hero__subtitle {
    color: var(--muted);
    font-size: clamp(14px, 2.5vw, 18px);
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
}

.hero__cta {
    display: flex;
    gap: 12px;
    margin-top: 18px;
    text-align: center;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.3px;
    border: 1px solid transparent;
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #001018;
    position: relative;
    transition: all 0.3s ease, box-shadow 0.3s ease;
}

.btn--primary:hover {
    box-shadow: 0 0 20px rgba(58, 176, 255, 0.5);
    transform: translateY(-2px);
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(58, 176, 255, 0.3);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.btn--primary:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    transition: left 0.3s ease;
    z-index: -1;
}

.btn--primary:hover {
    box-shadow: 0 6px 20px rgba(58, 176, 255, 0.4);
    transform: translateY(-2px);
}

.btn--primary:hover:before {
    left: 0;
}

.btn--light {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
    transition: all 0.3s ease, box-shadow 0.3s ease;
}

.btn--light:hover {
    background: #121923;
    box-shadow: 0 0 15px rgba(230, 238, 248, 0.2);
    transform: translateY(-2px);
    border-color: var(--muted);
}

.section {
    padding: 56px 0;
    width: auto;
    margin: auto;
}

.section--alt {
    background: 
        linear-gradient(180deg, rgba(18, 25, 35, 0.35), rgba(18, 25, 35, 0.65)),
        radial-gradient(1000px 800px at 10% 50%, rgba(58, 176, 255, 0.03) 0%, rgba(0, 0, 0, 0) 70%),
        radial-gradient(1000px 800px at 90% 20%, rgba(0, 255, 163, 0.03) 0%, rgba(0, 0, 0, 0) 70%);
    border-top: 1px solid rgba(31, 42, 55, 0.6);
    border-bottom: 1px solid rgba(31, 42, 55, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    margin: 0 -20px;
}

.section h2 {
    font-size: clamp(24px, 4vw, 36px);
    margin: 0 auto;
}

.grid {
    display: grid;
    gap: 18px;
}

.grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 800px) {
    .grid.two {
        grid-template-columns: 1fr;
    }
}

.cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.services-cta {
    margin: 40px auto;
    text-align: center;
}

.services-cta .btn--primary {
    font-size: 18px;
    padding: 14px 28px;
    box-shadow: 0 0 20px rgba(58, 176, 255, 0.3);
}

@media (max-width: 1000px) {
    .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .cards {
        grid-template-columns: 1fr;
    }
}

.card {
    background: linear-gradient(145deg, rgba(15, 21, 32, 0.8), rgba(18, 25, 35, 0.4));
    border: 1px solid rgba(31, 42, 55, 0.6);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.25) inset,
        0 1px 1px rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(58, 176, 255, 0.3);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.3) inset, 
        0 5px 15px rgba(58, 176, 255, 0.1),
        0 0 0 1px rgba(58, 176, 255, 0.1);
}

.card h3 {
    margin: 0 0 10px;
    font-size: 18px;
}

.card ul {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
}

.panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px;
}

.panel h3 {
    margin-top: 0;
}

.form {
    display: grid;
    gap: 12px;
}

.form__row {
    display: grid;
    gap: 8px;
    margin-bottom: 8px;
}

.form label {
    font-weight: 600;
    color: var(--muted);
}

.form input,
.form textarea {
    background: #0b1320;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 12px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.form input:hover,
.form textarea:hover {
    border-color: rgba(58, 176, 255, 0.5);
}

.form input:focus,
.form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(58, 176, 255, 0.2);
    transform: translateY(-2px);
    outline: none;
}

.form__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form__status {
    color: var(--muted);
    font-size: 14px;
}

.site-footer {
    padding: 24px 0 48px;
    border-top: 1px solid var(--border);
    color: var(--muted);
}

.footer__content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: center;
}


/* Small helper */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Adjust based on your header height */
}

/* Animation effects */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.section {
    animation: fadeIn 0.8s ease-out forwards;
    position: relative;
    margin: auto;
}

.section:not(.section--alt)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(800px 800px at 80% 50%, rgba(58, 176, 255, 0.05) 0%, rgba(0, 0, 0, 0) 60%),
        radial-gradient(600px 600px at 20% 30%, rgba(0, 255, 163, 0.03) 0%, rgba(0, 0, 0, 0) 60%);
    pointer-events: none;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

img:hover {
    transform: scale(1.02);
    filter: brightness(1.05);
}