@charset "utf-8";
/*

TemplateMo 592 glossy touch

https://templatemo.com/tm-592-glossy-touch

*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    button[type="submit"] {
        font-family: inherit;
        font-size: 16px;
    }
}
body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: radial-gradient(circle at 30% 20%, rgba(120,0,255,0.35), transparent 60%),
                radial-gradient(circle at 70% 80%, rgba(0,180,255,0.35), transparent 60%),
                linear-gradient(to bottom right, #05010a, #0a0f2d 40%, #090018);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
}
/* Animated background elements */
.bg-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}
.shape {
    position: absolute;
    /* use accent-tinted translucent shapes instead of pure white */
    background: rgba(56,189,248,0.06);
    animation: float calc(6s * var(--animation-speed, 1)) ease-in-out infinite;
    box-shadow: 0 8px 32px rgba(56,189,248,0.06);
}
.shape:nth-child(1) {
    width: 120px;
    height: 80px;
    border-radius: 15px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    transform: rotate(15deg);
}
.shape:nth-child(2) {
    width: 90px;
    height: 140px;
    border-radius: 12px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
    transform: rotate(-20deg);
}
.shape:nth-child(3) {
    width: 100px;
    height: 60px;
    border-radius: 10px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
    transform: rotate(25deg);
}
.shape:nth-child(4) {
    width: 80px;
    height: 120px;
    border-radius: 8px;
    top: 10%;
    right: 30%;
    animation-delay: 1s;
    transform: rotate(-10deg);
}
.shape:nth-child(5) {
    width: 110px;
    height: 70px;
    border-radius: 14px;
    bottom: 40%;
    right: 20%;
    animation-delay: 3s;
    transform: rotate(30deg);
}
.shape:nth-child(6) {
    width: 95px;
    height: 95px;
    border-radius: 20px;
    top: 40%;
    left: 5%;
    animation-delay: 5s;
    transform: rotate(-15deg);
}
@keyframes float {
    0%,
    100% {
        transform: translateY(0px) rotate(var(--start-rotation, 0deg));
    }
    50% {
        transform: translateY(-20px)
            rotate(calc(var(--start-rotation, 0deg) + 180deg));
    }
}
/* Glass container styles */
.glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.glass:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}
/* Header styles (compact, refined) */
header {
    padding: 10px 0;
    backdrop-filter: blur(8px);
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 18px;
}
/* Navigation styles (smaller, elegant) */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
}
.logo {
    font-size: 20px;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}
.logo-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-icon svg { width: 100%; height: 100%; transition: transform 0.25s ease, filter 0.25s ease; }
.logo:hover .logo-icon svg { transform: translateY(-2px) scale(1.05); filter: drop-shadow(0 6px 18px rgba(0,0,0,0.45)); }
.nav-links { 
  display: flex; 
  gap: 14px; 
  align-items: center; 
}

.nav-links a {
    color: #e5e7eb;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 11px 18px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.92rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    border: 1.5px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.nav-links a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
      rgba(56,189,248,0.2) 0%,
      rgba(99,102,241,0.2) 50%,
      rgba(168,85,247,0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #38bdf8, #a855f7, #ec4899);
    background-size: 200% 100%;
    transition: width 0.35s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: #ffffff;
    background: linear-gradient(135deg, 
      rgba(56,189,248,0.25) 0%,
      rgba(99,102,241,0.2) 50%,
      rgba(168,85,247,0.15) 100%);
    border-color: rgba(56,189,248,0.6);
    box-shadow: 0 12px 40px rgba(56, 189, 248, 0.25), 
                inset 0 1px 0 rgba(255,255,255,0.3),
                0 0 20px rgba(99,102,241,0.2);
    transform: translateY(-4px);
}

.nav-links a:hover::before {
    opacity: 1;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}
/* Page system */
.page {
    display: none;
    min-height: 100vh;
    padding: 40px 20px 20px;
}
.page.active {
    display: block;
}
/* Content wrapper to contain page content */
.content-wrapper {
    min-height: calc(100vh - 300px);
}
/* Home page styles */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 60px 40px;
    margin-bottom: 40px;
}
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-image img {
    width: 100%;
    max-width: 440px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}
.hero-content {
    text-align: left;
}
.hero h1 {
    font-size: 2.8rem;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
    white-space: nowrap;
}
.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.6;
}
.cta-button {
    display: inline-block;
    padding: 16px 44px;
    background: linear-gradient(135deg, #38bdf8 0%, #6366f1 50%, #a855f7 100%);
    background-size: 200% 100%;
    color: white;
    text-decoration: none;
    border-radius: 14px;
    font-weight: 700;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    font-size: 1rem;
    box-shadow: 0 8px 25px rgba(56, 189, 248, 0.3),
                inset 0 1px 1px rgba(255,255,255,0.2);
}

.cta-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 20%, rgba(255,255,255,0.3), transparent 80%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.cta-button::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-button:hover {
    background-position: 100% 0;
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 16px 45px rgba(56, 189, 248, 0.4),
        0 0 60px rgba(99, 102, 241, 0.3),
        inset 0 1px 0 rgba(255,255,255,0.3);
}

.cta-button:hover::before {
    transform: translateX(100%);
}

.cta-button:hover::after {
    opacity: 1;
}

.cta-button:active {
    transform: translateY(-2px) scale(0.98);
}
button[type="submit"] {
    font-family: inherit;
    font-size: 16px;
}
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}
.feature-card {
    padding: 40px 30px;
    text-align: center;
    color: white;
}
.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: white;
}
.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}
/* About page styles */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    align-items: center;
}
.about-text {
    padding: 40px;
    color: white;
}
.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}
.stat-card {
    text-align: center;
    padding: 30px;
    color: white;
}
.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 10px;
}
/* Team section styles */
.team-section {
    margin-bottom: 60px;
}
.team-section h2 {
    font-size: 2.5rem;
    color: white;
    text-align: center;
    margin-bottom: 50px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.team-member {
    padding: 40px 30px;
    text-align: center;
    color: white;
    transition: all 0.3s ease;
}
.team-member:hover {
    transform: translateY(-10px);
}
.team-avatar {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}
.team-member:hover .team-avatar {
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.25);
}
.team-member h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: white;
}
.team-member .role {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}
.team-member .bio {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}
.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}
.team-social a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.team-social a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    color: white;
}
/* Services page styles */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}
.service-card {
    padding: 40px 30px;
    color: white;
    text-align: left;
}
.service-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.service-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 15px;
}
.service-card h3 {
    font-size: 1.4rem;
    color: white;
}
.service-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
}
.service-features {
    list-style: none;
}
.service-features li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}
.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.9);
}
/* Contact page styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.contact-map-section {
    margin-top: 40px;
}
.contact-form {
    padding: 40px;
}
.contact-form h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
    font-weight: 500;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: white;
    font-size: 16px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}
.form-group textarea {
    height: 120px;
    resize: vertical;
    line-height: 1.5;
}
.contact-info {
    padding: 40px;
    color: white;
}
.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}
.contact-item-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 18px;
}
.contact-item-text h4 {
    color: white;
    margin-bottom: 5px;
}
.contact-item-text p {
    color: rgba(255, 255, 255, 0.8);
}
.contact-map {
    padding: 40px;
    color: white;
    width: 100%;
}
.contact-map h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
}
.map-container {
    width: 100%;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(10px);
}
.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}
.map-placeholder-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.7;
}
.map-placeholder p {
    margin: 8px 0;
    font-size: 16px;
}
.map-placeholder .address {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}
.map-placeholder .integration-note {
    font-size: 14px;
    opacity: 0.6;
    margin-top: 20px;
}
/* Footer styles */
#footer {
    margin-top: 60px;
    padding: 30px 0;
}
.footer-content {
    padding: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    padding: 5px 10px;
}
.footer-links a:hover {
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}
.copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}
.copyright a {
	color: rgba(255, 255, 255, 0.6);
	text-decoration: none;
}
/* Responsive design */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    /* Adjust padding for mobile */
    .page {
        padding: 30px 20px 20px;
    }
    .content-wrapper {
        min-height: auto;
    }
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
    .hero-content {
        text-align: center;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    nav {
        flex-direction: column;
        gap: 20px;
        padding: 20px 30px;
    }
    .nav-links {
        gap: 15px;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    .nav-links a {
        display: block;
        text-align: center;
        width: 100%;
        max-width: 200px;
        font-size: 14px;
        padding: 10px 20px;
    }
    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .footer-links {
        gap: 15px;
        flex-direction: column;
    }
    .footer-links a {
        display: block;
        text-align: center;
    }
    button[type="submit"] {
        width: 100%;
    }
    .map-container {
        height: 350px;
    }
    .logo-icon {
        width: 40px;
        height: 40px;
    }
    .logo {
        font-size: 22px;
    }
}
/* ---------------- HERO CINEMATIC ---------------- */
.hero-cinematic {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-bg-video {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    z-index: 1;
    filter: brightness(0.55);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1), rgba(0,0,0,0.35), rgba(0,0,0,1));
    z-index: 2;
}

.hero-title {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    text-align: center;
}

.hero-title h1 {
    font-size: 4rem;
    font-weight: 900;
    text-shadow: 0 4px 25px black;
    color: white;
}

.hero-title p {
    font-size: 1.4rem;
    color: #d0d4da;
    margin-top: 10px;
}

/* HOME EXTENDED */
.home-extended {
    min-height: 200vh !important;
    padding-top: 50px;
}

/* STRONGER BACKGROUND ANIMATION */
.particle {
    animation-duration: 18s !important;
    opacity: 0.6 !important;
    filter: blur(4px) brightness(1.4);
}

/* ================== FIXED NAVBAR ================== */
.fixed-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.90), rgba(15, 23, 42, 0.80));
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    padding: 16px 0;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(56, 189, 248, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}
.fixed-nav:hover {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.85));
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(56, 189, 248, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.nav-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
}

.nav-brand{
    display:flex;
    align-items:center;
    gap:12px;
}

.brand-logo{
    width:60px;
    height:60px;
    border-radius:12px;
    border:1.5px solid rgba(56,189,248,0.4);
    background:linear-gradient(135deg, rgba(56,189,248,0.2), rgba(99,102,241,0.15));
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:
        0 8px 32px rgba(56, 189, 248, 0.3),
        0 0 20px rgba(99, 102, 241, 0.2),
        inset 0 1px 0 rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    animation: logo-glow 4s ease-in-out infinite;
}
.brand-logo:hover {
    border-color: rgba(56,189,248,0.6);
    box-shadow:
        0 10px 40px rgba(56, 189, 248, 0.5),
        0 0 30px rgba(99, 102, 241, 0.3),
        inset 0 1px 0 rgba(255,255,255,0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transform: scale(1.08) rotate(5deg);
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-auth a {
    position: relative;
    overflow: hidden;
}

.nav-auth a::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: left 0.5s ease;
}

.nav-auth a:hover::before {
    left: 100%;
}

.brand-icon{
    font-size:20px;
}

.brand-text{
    display:flex;
    flex-direction:row;
    align-items: center;
    line-height:1.15;
    gap: 12px;
    flex-wrap: nowrap;
}

.brand-title{
    font-weight:700;
    letter-spacing:0.04em;
    font-size:1rem;
    background: linear-gradient(135deg, #e5e7eb, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.brand-subtitle{
    font-size:1rem;
    font-weight: 700;
    opacity:0.75;
    color:rgba(148,163,184,0.85);
    letter-spacing: 0.04em;
    background: linear-gradient(135deg, #e5e7eb, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-auth{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:0.9rem;
}

.nav-auth a{
    color:#ffffff;
    text-decoration:none;
    padding: 8px 18px;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-weight: 500;
    border: 1px solid rgba(148, 163, 184, 0.3);
    position: relative;
    overflow: hidden;
    font-size: 0.85rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}

.nav-auth a::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.2), transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.nav-auth a:hover::after {
    transform: translateX(100%);
}

.nav-auth a:first-child {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.8) 0%, rgba(59, 130, 246, 0.8) 25%, rgba(99, 102, 241, 0.8) 50%, rgba(139, 92, 246, 0.8) 75%, rgba(168, 85, 247, 0.8) 100%);
    background-size: 300% 100%;
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow: 
        0 4px 16px rgba(56, 189, 248, 0.25),
        0 2px 8px rgba(99, 102, 241, 0.15),
        inset 0 1px 0 rgba(255,255,255,0.2),
        inset 0 -1px 0 rgba(0,0,0,0.1);
    border-radius: 16px;
    position: relative;
    animation: signin-pulse 4s ease-in-out infinite;
    padding-left: 32px;
    white-space: nowrap;
}

.nav-auth a:first-child::before {
    content: '🔓';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1em;
    opacity: 0.8;
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.nav-auth a:first-child::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.7s ease;
    border-radius: 16px;
    pointer-events: none;
}

.nav-auth a:first-child:hover::before {
    opacity: 1;
}

.nav-auth a:first-child:hover::after {
    left: 100%;
}

.nav-auth a:first-child:hover {
    background-position: 200% 0;
    border-color: rgba(168, 85, 247, 0.8);
    box-shadow: 
        0 8px 32px rgba(56, 189, 248, 0.4),
        0 4px 16px rgba(99, 102, 241, 0.3),
        0 0 40px rgba(168, 85, 247, 0.2),
        inset 0 1px 0 rgba(255,255,255,0.3),
        inset 0 -1px 0 rgba(0,0,0,0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transform: translateY(-3px) scale(1.02) rotate(-1deg);
}

.nav-auth a:first-child:hover::before {
    left: 100%;
}

.nav-auth a:last-child {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.6) 0%, rgba(52, 211, 153, 0.6) 50%, rgba(110, 231, 183, 0.6) 100%);
    background-size: 200% 100%;
    color: #ffffff;
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 3px 12px rgba(16, 185, 129, 0.2),
                inset 0 1px 0 rgba(255,255,255,0.1);
    border-radius: 22px;
}

.nav-auth a:last-child:hover{
    background-position: 100% 0;
    border-color: rgba(52, 211, 153, 0.7);
    box-shadow: 
        0 5px 18px rgba(16, 185, 129, 0.3),
        0 0 25px rgba(52, 211, 153, 0.2),
        inset 0 1px 0 rgba(255,255,255,0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transform: translateY(-2px) scale(1.01) rotate(0.5deg);
}

.nav-auth-divider{
    color:rgba(148,163,184,0.7);
}

.nav-toggle{
    display:none;
    width:40px;
    height:32px;
    border-radius:999px;
    border:1px solid rgba(148,163,184,0.6);
    background:rgba(15,23,42,0.8);
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:4px;
    cursor:pointer;
}

.nav-toggle span{
    display:block;
    width:18px;
    height:2px;
    border-radius:999px;
    background:rgba(226,232,240,0.9);
}

@media(max-width:900px){
    .nav-inner{
        gap:12px;
    }
    .nav-toggle{
        display:flex;
    }
    .nav-auth{
        display:none;
    }
    .main-nav .nav-links{
        position:absolute;
        right:18px;
        top:60px;
        flex-direction:column;
        align-items:flex-start;
        padding:10px 14px;
        border-radius:16px;
        background:rgba(15,23,42,0.98);
        box-shadow:0 24px 80px rgba(0,0,0,0.95);
        display:none;
    }
    body.nav-open .main-nav .nav-links{
        display:flex;
    }
}


/* ================== GHOST AURA FLOATING ================== */
.ghost-aura {
    position: fixed;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 70%);
    filter: blur(35px);
    opacity: 0.45;
    animation: ghost-float calc(18s * var(--animation-speed, 1)) infinite ease-in-out;
    pointer-events: none;
    z-index: 0;
}

.ghost1 { top: 15%; left: 10%; animation-duration: 22s; }
.ghost2 { top: 45%; right: 10%; animation-duration: 28s; }
.ghost3 { bottom: 10%; left: 40%; animation-duration: 25s; }

@keyframes ghost-float {
    0%   { transform: translateY(0px) scale(1) rotate(0deg); }
    50%  { transform: translateY(-60px) scale(1.15) rotate(12deg); }
    100% { transform: translateY(0px) scale(1) rotate(0deg); }
}

/* ================== NEON CYBER UI EFFECTS ================== */

a:hover, button:hover, .cta-button:hover {
    filter: brightness(1.4);
    box-shadow: 0 0 15px cyan, inset 0 0 10px rgba(0,255,255,0.4);
}

/* ================== CINEMATIC PAGE TRANSITIONS ================== */
.page {
    opacity: 0;
    transform: translateY(30px);
    animation: pageEnter calc(1.2s * var(--animation-speed, 1)) ease forwards;
}

@keyframes pageEnter {
    0% { opacity: 0; transform: translateY(35px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ============== TERMINAL INTRO OVERLAY ============== */
#boot-overlay {
    position: fixed;
    inset: 0;
    background: transparent !important;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.boot-terminal {
    width: min(700px, 90vw);
    max-height: 60vh;
    padding: 24px 22px;
    background: #020617;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    box-shadow: 0 25px 80px rgba(0,0,0,0.95);
    font-family: "Fira Code", monospace;
    color: #e5e7eb;
    font-size: 0.9rem;
    overflow: hidden;
}

.boot-line {
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    margin-bottom: 6px;
}

.boot-line.visible {
    opacity: 1;
    transform: translateX(0);
}

.boot-line.boot-ready {
    color: #4ade80;
}

#boot-overlay.boot-fade-out {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease-out;
}

/* ============== GHOST CURSOR TRAIL ============== */
.ghost-cursor-dot {
    position: fixed;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(240,249,255,0.95), rgba(56,189,248,0.1));
    box-shadow: 0 0 18px rgba(56,189,248,0.9), 0 0 45px rgba(59,130,246,0.8);
    pointer-events: none;
    z-index: 120;
}

/* ============== HUD GRID & NEON RAIN ============== */
.hud-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(148,163,184,0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148,163,184,0.12) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.28;
    mix-blend-mode: soft-light;
    pointer-events: none;
    z-index: 0;
}



/* ============== GHOST RADAR ============== */
.ghost-radar {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 170px;
    height: 170px;
    border-radius: 16px;
    background: radial-gradient(circle at top, rgba(15,23,42,0.95), rgba(15,23,42,0.7));
    border: 1px solid rgba(56,189,248,0.5);
    box-shadow: 0 18px 55px rgba(15,23,42,0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 40;
}

.ghost-radar .radar-circle {
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: 999px;
    border: 1px solid rgba(56,189,248,0.6);
    box-shadow: 0 0 20px rgba(56,189,248,0.8);
    overflow: hidden;
}

.radar-sweep {
    position: absolute;
    inset: 0;
    background: conic-gradient(from 180deg, rgba(56,189,248,0.45), transparent 55%);
    animation: radar-spin calc(3s * var(--animation-speed, 1)) linear infinite;
}

.radar-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 8px #22c55e;
    transform: translate(0, 0);
}

.radar-label {
    margin-top: 10px;
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #e5e7eb;
    opacity: 0.8;
}

@keyframes radar-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.ghost-radar-section {
    margin-top: 40px;
}

.ghost-radar-panel {
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
}

.ghost-radar-embed {
    margin: 16px auto;
}

.radar-circle.mini {
    width: 140px;
    height: 140px;
}

.radar-sweep.mini {
    animation-duration: 4s;
}

.radar-note {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Small screens: move radar top */
@media (max-width: 640px) {
    .ghost-radar {
        bottom: auto;
        top: 70px;
        right: 10px;
        width: 150px;
        height: 150px;
    }
}

/* Keep fixed nav above HUD */
.fixed-nav {
    z-index: 60;
}

/* New ghost-cyber nebula background */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(0,255,255,0.12), transparent 60%),
                radial-gradient(circle at 80% 70%, rgba(255,0,255,0.10), transparent 55%),
                url('assets/nebula_texture.png');
    background-size: cover;
    opacity: 0.45;
    pointer-events: none;
    z-index: -2;
}

/* ============== ANIMATED GHOST-CYBER BACKGROUND ============== */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(56,189,248,0.22), transparent 55%),
        radial-gradient(circle at 80% 80%, rgba(168,85,247,0.25), transparent 55%),
        radial-gradient(circle at 50% 10%, rgba(248,250,252,0.12), transparent 60%);
    background-color: #020617;
    animation: bg-shift calc(22s * var(--animation-speed, 1)) ease-in-out infinite alternate;
    opacity: 0.65;
    pointer-events: none;
    z-index: -2;
}

@keyframes bg-shift {
    0% {
        filter: blur(0px);
        transform: translate3d(0,0,0) scale(1);
    }
    50% {
        filter: blur(2px);
        transform: translate3d(-8px, 6px,0) scale(1.04);
    }
    100% {
        filter: blur(3px);
        transform: translate3d(10px,-8px,0) scale(1.06);
    }
}

/* ================= GHOST SYSTEMS UNIVERSE LAYOUT ================= */
.ghost-systems {
    max-width: 1180px;
    margin: 60px auto 80px;
    padding: 0 20px;
}

.systems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.systems-card {
    padding: 20px 18px;
    border-radius: 18px;
    position: relative;
}

.systems-wide {
    grid-column: 1 / -1;
}

/* AI HOLOGRAM GHOST */
.ai-ghost-stage {
    position: relative;
    height: 200px;
    margin-top: 10px;
    border-radius: 18px;
    background: radial-gradient(circle at center, rgba(15,23,42,0.2), rgba(15,23,42,0.9));
    overflow: hidden;
    border: 1px solid rgba(56,189,248,0.35);
    box-shadow: 0 18px 55px rgba(15,23,42,0.95);
}

.ai-ghost {
    position: absolute;
    width: 48px;
    height: 72px;
    border-radius: 24px 24px 34px 34px;
    background: radial-gradient(circle at 30% 20%, rgba(248,250,252,0.95), rgba(59,130,246,0.1));
    box-shadow:
        0 0 18px rgba(56,189,248,0.85),
        0 0 45px rgba(129,140,248,0.7);
    opacity: 0.85;
    transform-origin: center center;
    animation: ai-flicker calc(0.4s * var(--animation-speed, 1)) infinite alternate;
}

.ai-ghost::before,
.ai-ghost::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    top: 24px;
    border-radius: 999px;
    background: #020617;
}

.ai-ghost::before { left: 14px; }
.ai-ghost::after { right: 14px; }

.ai-ghost-base {
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 160px;
    height: 32px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(56,189,248,0.45), transparent 70%);
    filter: blur(6px);
}

@keyframes ai-flicker {
    0% { opacity: 0.75; transform: translate3d(0,0,0) scaleY(1); }
    100% { opacity: 1; transform: translate3d(0,-2px,0) scaleY(1.03); }
}

/* MINI GAME */
.game-panel {
    margin-top: 10px;
}

.game-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    opacity: 0.85;
    margin-bottom: 8px;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-bottom: 10px;
}

.game-cell {
    height: 46px;
    border-radius: 10px;
    background: rgba(15,23,42,0.9);
    border: 1px solid rgba(148,163,184,0.45);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.game-cell.ghost {
    background: radial-gradient(circle at center, rgba(56,189,248,0.35), rgba(15,23,42,1));
    box-shadow: 0 0 12px rgba(56,189,248,0.7);
}

.game-cell.ghost::after {
    content: "";
    position: absolute;
    inset: 16%;
    border-radius: 50%;
    border: 1px solid rgba(248,250,252,0.8);
    opacity: 0.8;
}

/* LOG PANEL */
.log-panel {
    margin-top: 10px;
    max-height: 180px;
    overflow-y: auto;
    font-size: 0.82rem;
}

.log-list {
    list-style: none;
    padding: 0;
    margin: 0;
}


}

/* WORLD MAP HEATMAP */
.world-map {
    position: relative;
    height: 200px;
    border-radius: 16px;
    background:
        radial-gradient(circle at 20% 20%, rgba(56,189,248,0.2), transparent 60%),
        radial-gradient(circle at 70% 80%, rgba(248,250,252,0.15), transparent 55%),
        linear-gradient(135deg, rgba(15,23,42,0.95), rgba(15,23,42,0.9));
    overflow: hidden;
}

.heat-dot {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(239,68,68,0.85), transparent 65%);
    box-shadow: 0 0 22px rgba(248,113,113,0.9);
    animation: heat-pulse calc(2.6s * var(--animation-speed, 1)) infinite ease-in-out;
}

.heat-dot.hd1 { top: 38%; left: 32%; }
.heat-dot.hd2 { top: 52%; left: 60%; animation-delay: 0.6s; }
.heat-dot.hd3 { top: 26%; left: 72%; animation-delay: 1.1s; }
.heat-dot.hd4 { top: 68%; left: 20%; animation-delay: 1.6s; }

@keyframes heat-pulse {
    0% { transform: scale(0.8); opacity: 0.6; }
    50% { transform: scale(1.25); opacity: 1; }
    100% { transform: scale(0.8); opacity: 0.6; }
}

/* CHAT TERMINAL */
.chat-terminal {
    margin-top: 12px;
    border-radius: 14px;
    border: 1px solid rgba(148,163,184,0.45);
    background: radial-gradient(circle at top, rgba(15,23,42,0.95), rgba(15,23,42,0.9));
    max-height: 260px;
    display: flex;
    flex-direction: column;
}

.chat-log {
    flex: 1;
    padding: 10px 12px;
    overflow-y: auto;
    font-family: "Fira Code", monospace;
    font-size: 0.8rem;
}

.chat-line {
    margin-bottom: 4px;
}

.chat-line.user {
    color: #e5e7eb;
}

.chat-line.ghost {
    color: #38bdf8;
}

.chat-form {
    display: flex;
    gap: 6px;
    padding: 8px 10px;
    border-top: 1px solid rgba(30,64,175,0.6);
}

.chat-form input {
    flex: 1;
    padding: 6px 8px;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.6);
    background: rgba(15,23,42,0.9);
    color: #e5e7eb;
    font-size: 0.82rem;
}

/* CCTV FILTER CLASSES */
.hero-bg-video.cctv-night {
    filter: brightness(0.7) contrast(1.3) hue-rotate(90deg) saturate(1.6);
}

.hero-bg-video.cctv-thermal {
    filter: contrast(1.4) saturate(2.2) hue-rotate(210deg);
}

.hero-bg-video.cctv-glitch {
    filter: hue-rotate(-40deg) saturate(1.8) contrast(1.4);
}

/* Make sure hero video base class has smoother default */
.hero-bg-video {
    transition: filter 0.25s ease-out;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .hero-title h1 {
        font-size: 2.4rem;
    }
    .hero-title p {
        font-size: 1rem;
    }
}

/* REMOVE old background animation */
body::before {
    content: none !important;
}

/* New Cyber-Ghost Background Wave */
#ghostWaveBG {
    position: fixed;
    inset: 0;
    z-index: -3;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* === Holographic Starfield (Cyber Space) Background === */
body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: radial-gradient(circle at 30% 20%, rgba(120,0,255,0.35), transparent 60%),
                radial-gradient(circle at 70% 80%, rgba(0,180,255,0.35), transparent 60%),
                linear-gradient(to bottom right, #05010a, #0a0f2d 40%, #090018);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Remove any previous body::before overlays */
body::before {
    content: none !important;
}

/* ===== FULLSCREEN BACKGROUND VIDEO (HIDDEN - Using Glassmorphism) ===== */
.bg-video {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -5;
    filter: brightness(0.55) contrast(1.2) saturate(1.25);
}

/* ===== BLUR OVERLAY FOR TEXT ===== */
.bg-blur-mask {
    position: fixed;
    inset: 0;
    backdrop-filter: blur(8px);
    background: rgba(0,0,0,0.30);
    z-index: -4;
    pointer-events: none;
}

/* Remove old background */
body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: radial-gradient(circle at 30% 20%, rgba(120,0,255,0.35), transparent 60%),
                radial-gradient(circle at 70% 80%, rgba(0,180,255,0.35), transparent 60%),
                linear-gradient(to bottom right, #05010a, #0a0f2d 40%, #090018);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Tools grid styling */
.ghost-tools {
    max-width: 1180px;
    margin: 60px auto;
    padding: 0 20px;
}
.ghost-tools-inner {
    padding: 20px 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(4,10,20,0.55), rgba(4,10,20,0.45));
    border: 1px solid rgba(56,189,248,0.06);
}
.ghost-tools h2 {
    font-size: 1.4rem;
    color: #e6f7ff; /* brighter heading */
    letter-spacing: 0.2px;
    margin: 0 0 6px 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.45);
}
.ghost-tools .desc {
    color: rgba(230,247,255,0.8);
    margin-bottom: 12px;
}
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 18px;
}
.tool-card {
    padding: 18px 16px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(6,12,20,0.48), rgba(6,12,20,0.38));
    border: 1px solid rgba(56,189,248,0.04);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}
.tool-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(2,6,23,0.6), 0 6px 18px rgba(56,189,248,0.06);
}
.tool-card h3 {
    font-size: 1.08rem;
    margin-bottom: 6px;
    color: #ffffff;
    font-weight: 700;
}
.tool-card p {
    font-size: 0.95rem;
    opacity: 0.95;
    color: rgba(230,235,240,0.9);
    margin: 8px 0 12px 0;
}
.tool-card .category {
    font-size: 0.78rem;
    color: rgba(180,220,255,0.9);
    font-weight: 600;
}

/* Emphasize search/filter area hint above tools */
.tools-filter-hint{
    display:flex;align-items:center;gap:10px;margin-bottom:12px;color:rgba(230,247,255,0.9);font-size:0.95rem;
}
.tools-filter-hint .hint-key { background:rgba(255,255,255,0.03);padding:6px 8px;border-radius:6px;border:1px solid rgba(255,255,255,0.03);font-weight:600;color:var(--accent-color); }

/* Make filter inputs/selects darker to avoid white-on-white issues */
.tools-filter-hint input, .tools-filter-hint select, .tools-filter-hint .hint-key {
    background: rgba(6,12,20,0.5);
    border: 1px solid rgba(56,189,248,0.08);
    color: rgba(230,247,255,0.95);
}

/* Standalone pages (login/register/page.php) */
.page-standalone {
    background:#020617;
    min-height:100vh;
    margin:0;
}
.standalone-wrapper {
    max-width:800px;
    margin:40px auto;
    padding:0 18px 40px;
}
.standalone-header {
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:18px;
}
.standalone-main {
    padding:22px 20px;
    border-radius:18px;
}

/* Removed stray transparent body overrides to preserve global theme */
/* (previously removed duplicate transparent background lines) */
/* ===== PROFESSIONAL ANIMATIONS ===== */

/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Slide-up animation */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slide-down animation */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slide-left animation */
@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Slide-right animation */
@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Bounce animation */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Pulse animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Glow animation */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(20, 184, 166, 0.3),
                    0 0 20px rgba(20, 184, 166, 0.1);
    }
    50% {
        box-shadow: 0 0 10px rgba(20, 184, 166, 0.5),
                    0 0 30px rgba(20, 184, 166, 0.2);
    }
}

@keyframes logo-glow {
    0%, 100% {
        transform: scale(1);
        box-shadow:
            0 8px 32px rgba(56, 189, 248, 0.3),
            0 0 20px rgba(99, 102, 241, 0.2),
            inset 0 1px 0 rgba(255,255,255,0.2);
    }
    50% {
        transform: scale(1.1);
        box-shadow:
            0 8px 35px rgba(56, 189, 248, 0.4),
            0 0 25px rgba(99, 102, 241, 0.3),
            inset 0 1px 0 rgba(255,255,255,0.25);
    }
}

@keyframes nav-button-glow {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
    }
}

@keyframes signin-pulse {
    0%, 100% {
        box-shadow: 
            0 4px 16px rgba(56, 189, 248, 0.25),
            0 2px 8px rgba(99, 102, 241, 0.15),
            inset 0 1px 0 rgba(255,255,255,0.2),
            inset 0 -1px 0 rgba(0,0,0,0.1);
    }
    50% {
        box-shadow: 
            0 6px 20px rgba(56, 189, 248, 0.35),
            0 3px 12px rgba(99, 102, 241, 0.25),
            inset 0 1px 0 rgba(255,255,255,0.25),
            inset 0 -1px 0 rgba(0,0,0,0.05);
    }
}

/* Gradient shift animation */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Scale animation */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Rotate animation */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Apply animations to common elements */
.tool-card {
    animation: fadeIn 0.6s ease-out, slideUp 0.6s ease-out;
}

.tool-card:hover {
    animation: glow 2s ease-in-out infinite;
}

button, .btn, input[type="submit"] {
    animation: fadeIn 0.4s ease-out;
    transition: all 0.3s ease;
}

button:hover, .btn:hover, input[type="submit"]:hover {
    animation: glow 2s ease-in-out infinite;
    transform: translateY(-2px);
}

header, nav {
    animation: slideDown 0.5s ease-out;
}

.hero-section, .hero {
    animation: fadeIn 0.8s ease-out;
}

.container, .content-wrapper {
    animation: slideUp 0.6s ease-out;
}

.modal, .popup {
    animation: scaleIn 0.3s ease-out;
}

.alert, .notification {
    animation: slideDown 0.4s ease-out;
}

/* Loading spinner animation */
.spinner {
    animation: rotate 1s linear infinite;
}

/* Pulse effect for important elements */
.badge, .highlight {
    animation: pulse 2s ease-in-out infinite;
}

/* Stagger animation for lists */
.item-list li {
    animation: slideUp 0.5s ease-out;
    animation-fill-mode: both;
}

.item-list li:nth-child(1) { animation-delay: 0.1s; }
.item-list li:nth-child(2) { animation-delay: 0.2s; }
.item-list li:nth-child(3) { animation-delay: 0.3s; }
.item-list li:nth-child(4) { animation-delay: 0.4s; }
.item-list li:nth-child(5) { animation-delay: 0.5s; }
.item-list li:nth-child(n+6) { animation-delay: 0.6s; }

/* Gradient animation for backgrounds */
.gradient-bg {
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}