/* =========================================================
   GLOBAL STYLES
   ========================================================= */

body {
    background: #0D0D17;
    font-family: "Poppins", sans-serif;
    overflow-x: hidden;
    color: #ffffff;
}

/* =========================================================
   PARTICLE BACKGROUND
   ========================================================= */

.particles {
    position: fixed;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    z-index: -10;
    overflow: hidden;
}

.particles span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(0, 255, 255, 0.45);
    border-radius: 50%;
    animation: floatUp 12s linear infinite;
    filter: blur(1px);
}

@keyframes floatUp {
    from { transform: translateY(100vh); opacity: 0; }
    to { transform: translateY(-10vh); opacity: 1; }
}

.particles span:nth-child(1) { left: 8%; animation-duration: 10s; }
.particles span:nth-child(2) { left: 22%; animation-duration: 14s; }
.particles span:nth-child(3) { left: 40%; animation-duration: 12s; }
.particles span:nth-child(4) { left: 58%; animation-duration: 16s; }
.particles span:nth-child(5) { left: 75%; animation-duration: 11s; }
.particles span:nth-child(6) { left: 92%; animation-duration: 15s; }

/* =========================================================
   NAVBAR
   ========================================================= */

nav.navbar {
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-link:hover {
    color: #00eaff !important;
    transition: 0.3s ease;
}

/* Logo fix */
.navbar-brand img {
    object-fit: contain;
}

.footer {
    background: transparent;
    color: #d7faff;
    font-size: 0.95rem;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(0,255,255,0), rgba(0,255,255,0.5), rgba(0,255,255,0));
    margin: 0 auto;
}

.footer-text {
    color: #9fe7ff;
    text-shadow: 0 0 8px rgba(0,255,255,0.2);
}

.footer-social .footer-icon {
    color: #00eaff;
    font-size: 1.3rem;
    margin: 0 10px;
    transition: 0.3s;
}

.footer-social .footer-icon:hover {
    color: white;
    text-shadow: 0 0 8px rgba(0,255,255,0.6);
    transform: translateY(-3px);
}


.logo-text {
    font-family: 'Orbitron', 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;  /* Increase for bigger logo */
    letter-spacing: 2px;

    /* Exact gradient extracted from logo */
    background: linear-gradient(90deg, #00E5FF 0%, #00C8FF 40%, #0095FF 100%);
    -webkit-background-clip: text;
    color: transparent;
}

/* Smaller "Labs" text */
.logo-text .logo-sub {
    font-size: 1.2rem;
    margin-left: 8px;
    opacity: 0.8;
}

/* =========================================================
   PROJECT CARDS
   ========================================================= */

.project-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    overflow: hidden;
    transition: 0.35s ease;
    border: 1px solid rgba(0,255,255,0.1);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 20px rgba(0,255,255,0.25);
    border-color: rgba(0,255,255,0.4);
}

.project-media {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.project-info {
    padding: 15px;
}

.project-info h5 {
    color: #00eaff;
    text-shadow: 0 0 10px rgba(0,255,255,0.3);
}

.project-info p {
    color: #bfefff;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Keep navbar content aligned */
.navbar {
    white-space: nowrap;
}

/* Limit logo width so it doesn't break layout */
.logo-text {
    display: inline-block;
    max-width: 220px;   /* Adjust until perfect */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Align menu items cleanly */
.navbar-nav {
    align-items: center;
    gap: 18px; /* spacing between items */
}

/* Push left & right sections apart evenly */
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Prevent wrapping of nav-items */
.navbar-nav .nav-item {
    white-space: nowrap;
}

/* AUTH buttons alignment */
.navbar-nav:last-child {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* =========================================================
   PRICING CARDS (UPGRADED)
   ========================================================= */

.pricing-card {
    transition: all 0.25s ease;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border: 1px solid rgba(0,255,255,0.15);
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    border-color: rgba(0,255,255,0.6) !important;
}

/* Highlighted middle card */
.highlight-card {
    background: rgba(0, 153, 255, 0.12) !important;
    border: 2px solid #009dff !important;
    box-shadow: 0 8px 25px rgba(0, 153, 255, 0.25);
}

/* "Most Popular" badge */
.badge-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #009dff, #7a4bff);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.75rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
    z-index: 10;
}

/* Superscript fine tuning for prices */
.price-sup {
    font-size: 0.55em;
    top: -0.6em;
    position: relative;
}

/* Currency text */
.currency {
    font-size: 0.4em;
    font-weight: 400;
    margin-left: 2px;
    opacity: 0.7;
}