/* ===== Root Variables ===== */
:root {
    --gradient-start: #4e4376;
    --gradient-end: #2b5876;
    --dark-bg: rgb(20, 20, 20);
    --text-light: #f3f3f3;
    --navbar-height: 76px;
}

/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    overflow-x: hidden;
}

/* ===== Typography ===== */
.hero-title {
    font-family: 'Space Mono', monospace;
    font-size: clamp(3.5rem, 12vw, 7rem);
    letter-spacing: 0.1em;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

/* ===== Navbar ===== */
.navbar {
    background: transparent;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    padding: 1.5rem 0;
    z-index: 1000;
    opacity: 0;
    -webkit-animation: fadeIn 1.5s ease forwards;
    -moz-animation: fadeIn 1.5s ease forwards;
    animation: fadeIn 1.5s ease forwards;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.navbar-brand img {
    display: inline-block;
    transition: transform 0.3s ease;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-drag: none;
}

.navbar-brand {
    pointer-events: auto;
}

.navbar-brand:hover img {
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
}

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

.navbar-brand img.spinning {
    animation: logoSpin 0.33333s ease-in-out;
    transform-origin: 50% 50%;
    transform-box: fill-box;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-family: 'Space Mono', monospace;
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin: 0 1.5rem;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: white !important;
}

/* Hide dropdown arrow on desktop */
.navbar-nav .dropdown-toggle::after {
    display: none;
}


/* ===== Dropdown Menu ===== */
.nav-item.dropdown::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 1rem;
    z-index: 999;
}

.dropdown-menu {
    display: none;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    margin-top: 1rem;
    padding: 0.75rem;
    min-width: 250px;
    position: absolute;
    left: 50%;
    opacity: 0;
    transform: translateX(-50%) translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(255, 255, 255, 0.95);
}

.dropdown-menu.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}


.dropdown-item {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    position: relative;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    color: #333;
}

.dropdown-item i:not(.dropdown-arrow),
.dropdown-item span {
    display: inline-block;
    transition: transform 0.2s ease;
    transform: translateX(0);
}

.dropdown-item .dropdown-arrow {
    display: inline-block;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.2s ease 0.05s, transform 0.2s ease 0.05s, color 0.2s ease;
    margin-left: auto;
    color: var(--gradient-start);
}

.dropdown-item:hover {
    background: rgba(43, 88, 118, 0.1);
    color: var(--gradient-end);
}

.dropdown-item:hover i {
    color: var(--gradient-end);
}

.dropdown-item:hover i:not(.dropdown-arrow),
.dropdown-item:hover span {
    transform: translateX(5px);
}

.dropdown-item:hover .dropdown-arrow {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

.dropdown-item i {
    color: var(--gradient-start);
    transition: color 0.2s ease;
}

.dropdown-divider {
    margin: 0.5rem 0;
    opacity: 0.1;
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    position: relative;
}

.hero-content {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

#starCanvas {
    z-index: 1;
    opacity: 0.8;
    -webkit-animation: fadeIn 1.5s ease;
    animation: fadeIn 1.5s ease;
}

.hero-content {
    z-index: 2;
    will-change: opacity, transform;
    -webkit-animation: fadeInUp 1.5s ease;
    animation: fadeInUp 1.5s ease;
}

@-webkit-keyframes fadeInUp {
    from {
        opacity: 0;
        -webkit-transform: translateY(30px);
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        -webkit-transform: translateY(30px);
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero-divider {
    width: 100px;
    height: 3px;
    background: white;
    opacity: 0.8;
}

/* ===== Scroll Down Indicator ===== */
.scroll-down {
    z-index: 2;
    cursor: pointer;
    transition: opacity 0.3s ease;
    text-decoration: none;
    opacity: 0;
    animation: fadeInInitial 1.5s ease forwards;
}

@-webkit-keyframes fadeInInitial {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInInitial {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animated-bounce {
    animation: bounce 2s infinite 1.5s;
}

@-webkit-keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    40% {
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px);
    }
    60% {
        -webkit-transform: translateY(-5px);
        transform: translateY(-5px);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    40% {
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px);
    }
    60% {
        -webkit-transform: translateY(-5px);
        transform: translateY(-5px);
    }
}

.scroll-down:hover {
    opacity: 0.7;
}

.scroll-down:hover i {
    transform: translateY(5px);
}

/* ===== Data Bar ===== */
.data-bar {
    width: 95%;
    max-width: 1200px;
    background: rgb(32, 32, 32);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: stretch;
    padding: 1.5rem 0;
    margin: 5rem auto 2rem auto;
}

.data-bar-item {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 1.5rem;
    min-width: 0;
}

.data-bar-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 80%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.data-bar-icon {
    color: var(--gradient-start);
    font-size: 1.2rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.data-bar-item:nth-child(odd) .data-bar-icon {
    color: var(--gradient-end);
}

.data-bar-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.data-bar-content p {
    color: #f3f3f3;
    font-size: 0.95rem;
    font-weight: 300;
    margin: 0;
    white-space: nowrap;
}

.data-bar-content p b {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
}

/* ===== Products Section ===== */
.products-section {
    background: var(--dark-bg);
    padding: 3rem 0 5rem 0;
    position: relative;
}

.section-title {
    font-family: 'Space Mono', monospace;
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    margin-bottom: 1rem;
}

.section-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    font-weight: 300;
}

.product-card {
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.product-card:hover {
    -webkit-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-icon {
    margin-bottom: 1.5rem;
    position: relative;
}

.product-icon i {
    background: -webkit-linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    background: -moz-linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-background-clip: text;
    -moz-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.product-card:hover .product-icon i,
.product-card:hover .product-title > i {
    animation: gradientMove 2s ease infinite;
}

@-webkit-keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.product-title {
    font-family: 'Space Mono', monospace;
    color: var(--text-light);
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.product-title > i {
    font-size: 2.5rem;
    background: -webkit-linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    background: -moz-linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    flex-shrink: 0;
}

.badge-wip {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    background: rgba(255, 165, 0, 0.2);
    border: 1px solid rgba(255, 165, 0, 0.4);
    color: rgba(255, 165, 0, 0.9);
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    user-select: none;
}

.badge-version {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    background: rgba(40, 167, 69, 0.2);
    border: 1px solid rgba(40, 167, 69, 0.4);
    color: rgba(40, 167, 69, 0.9);
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: lowercase;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.product-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.product-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.product-features li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    padding: 0.6rem 0;
    display: flex;
    align-items: center;
}

.product-features i {
    color: var(--gradient-end);
    font-size: 0.8rem;
}

.product-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.btn-product {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border: none;
    padding: 0.8rem 1.6rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

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

.btn-product:hover {
    -webkit-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
    color: white;
}

.btn-product:hover::before {
    animation: shimmer 0.6s ease-out forwards;
}

@-webkit-keyframes shimmer {
    0% { left: -100%; }
    100% { left: 200%; }
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 200%; }
}

.btn-product i.fa-arrow-right {
    transition: transform 0.3s ease;
}

.btn-product:hover i.fa-arrow-right {
    transform: translateX(5px);
}

.btn-outline-product {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.8rem 1.6rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-outline-product:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

/* Disabled/Coming Soon button styles */
.btn-product.disabled,
.btn-product:disabled {
    background: linear-gradient(135deg, #4a4a4a, #3a3a3a);
    color: rgba(255, 255, 255, 0.5);
    cursor: not-allowed;
    pointer-events: none;
}

.btn-product.disabled::before,
.btn-product:disabled::before {
    display: none;
}

/* Shake bell icon when hovering Get Notified button */
.btn-outline-product:hover .fa-bell {
    animation: vigorousShake 0.5s ease;
}

@-webkit-keyframes vigorousShake {
    0%, 100% { -webkit-transform: translateX(0); transform: translateX(0); }
    10% { -webkit-transform: translateX(-2px) rotate(10deg); transform: translateX(-2px) rotate(10deg); }
    20% { -webkit-transform: translateX(2px) rotate(-10deg); transform: translateX(2px) rotate(-10deg); }
    30% { -webkit-transform: translateX(-2px) rotate(10deg); transform: translateX(-2px) rotate(10deg); }
    40% { -webkit-transform: translateX(2px) rotate(-10deg); transform: translateX(2px) rotate(-10deg); }
    50% { -webkit-transform: translateX(-1.5px) rotate(7deg); transform: translateX(-1.5px) rotate(7deg); }
    60% { -webkit-transform: translateX(1.5px) rotate(-7deg); transform: translateX(1.5px) rotate(-7deg); }
    70% { -webkit-transform: translateX(-1px) rotate(5deg); transform: translateX(-1px) rotate(5deg); }
    80% { -webkit-transform: translateX(1px) rotate(-5deg); transform: translateX(1px) rotate(-5deg); }
    90% { -webkit-transform: translateX(-0.5px); transform: translateX(-0.5px); }
}

@keyframes vigorousShake {
    0%, 100% { transform: translateX(0); }
    10% { transform: translateX(-2px) rotate(10deg); }
    20% { transform: translateX(2px) rotate(-10deg); }
    30% { transform: translateX(-2px) rotate(10deg); }
    40% { transform: translateX(2px) rotate(-10deg); }
    50% { transform: translateX(-1.5px) rotate(7deg); }
    60% { transform: translateX(1.5px) rotate(-7deg); }
    70% { transform: translateX(-1px) rotate(5deg); }
    80% { transform: translateX(1px) rotate(-5deg); }
    90% { transform: translateX(-0.5px); }
}

/* Scroll animation */
.product-card {
    opacity: 0;
    will-change: opacity, transform;
    -webkit-transform: translateY(30px);
    -ms-transform: translateY(30px);
    transform: translateY(30px);
}

.product-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

/* ===== Development Section ===== */
.development-section {
    background: var(--dark-bg);
    padding: 5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.benchmark-container {
    background: rgba(255, 255, 255, 0.03);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.benchmark-header h3 {
    color: var(--text-light);
    font-family: 'Space Mono', monospace;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.benchmark-header p,
.benchmark-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.benchmark-chart {
    margin: 2rem 0;
}

.benchmark-item {
    margin-bottom: 1.5rem;
}

.benchmark-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.benchmark-name {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 500;
}

.benchmark-value {
    color: var(--gradient-end);
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    font-weight: 600;
}

.benchmark-bar-container {
    width: 100%;
    height: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.benchmark-bar {
    height: 100%;
    background: -webkit-linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    border-radius: 15px;
    width: 0%;
    will-change: width;
    -webkit-transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.benchmark-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
    border-radius: 15px 15px 0 0;
}

.benchmark-bar.animate {
    width: var(--bar-width);
}

.stat-item {
    padding: 1.5rem;
    color: var(--text-light);
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--gradient-start);
    margin-bottom: 1rem;
}

.benchmark-footer .col-md-4:nth-child(2) .stat-item i {
    color: var(--gradient-end);
}

.stat-item h4 {
    font-family: 'Space Mono', monospace;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    margin: 0;
}

/* ===== Contact Section ===== */
.contact-section {
    background: var(--dark-bg);
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-container {
    background: linear-gradient(135deg, rgba(78, 67, 118, 0.1), rgba(43, 88, 118, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

/* Bokeh Lights */
.bokeh {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    mix-blend-mode: screen;
    will-change: transform, opacity;
    opacity: 0;
    transition: opacity 2s ease;
}

.contact-container.illuminated .bokeh {
    animation-play-state: running;
}

.contact-container.illuminated .bokeh-1 {
    opacity: 0.6;
}

.contact-container.illuminated .bokeh-2 {
    opacity: 0.5;
}

.contact-container.illuminated .bokeh-3 {
    opacity: 0.4;
}

.contact-container.illuminated .bokeh-4 {
    opacity: 0.5;
}

.contact-container.illuminated .bokeh-5 {
    opacity: 0.4;
}

.contact-container.illuminated .bokeh-6 {
    opacity: 0.6;
}

/* Purple bokeh on left */
.bokeh-1 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(78, 67, 118, 0.3) 0%, rgba(78, 67, 118, 0.08) 40%, transparent 70%);
    filter: blur(8px);
    top: 5%;
    left: 5%;
    animation: bokeh-float-1 8s ease-in-out infinite;
}

.bokeh-2 {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(78, 67, 118, 0.35) 0%, rgba(78, 67, 118, 0.1) 40%, transparent 70%);
    filter: blur(10px);
    top: 35%;
    left: 0%;
    animation: bokeh-float-2 10s ease-in-out infinite;
}

.bokeh-3 {
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(78, 67, 118, 0.25) 0%, rgba(78, 67, 118, 0.08) 40%, transparent 70%);
    filter: blur(6px);
    bottom: 15%;
    left: 10%;
    animation: bokeh-float-3 12s ease-in-out infinite;
}

/* Blue bokeh on right */
.bokeh-4 {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(43, 88, 118, 0.3) 0%, rgba(43, 88, 118, 0.08) 40%, transparent 70%);
    filter: blur(9px);
    top: 10%;
    right: 5%;
    animation: bokeh-float-4 9s ease-in-out infinite;
}

.bokeh-5 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(43, 88, 118, 0.25) 0%, rgba(43, 88, 118, 0.08) 40%, transparent 70%);
    filter: blur(12px);
    top: 30%;
    right: 0%;
    animation: bokeh-float-5 11s ease-in-out infinite;
}

.bokeh-6 {
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(43, 88, 118, 0.35) 0%, rgba(43, 88, 118, 0.1) 40%, transparent 70%);
    filter: blur(7px);
    bottom: 20%;
    right: 15%;
    animation: bokeh-float-6 7s ease-in-out infinite;
}

/* Bokeh Animations */
@keyframes bokeh-float-1 {
    0%, 100% { 
        transform: translate(0, 0) scale(1); 
    }
    33% { 
        transform: translate(20px, -15px) scale(1.1); 
    }
    66% { 
        transform: translate(-10px, 10px) scale(0.95); 
    }
}

@keyframes bokeh-float-2 {
    0%, 100% { 
        transform: translate(0, 0) scale(1); 
    }
    50% { 
        transform: translate(15px, -20px) scale(1.15); 
    }
}

@keyframes bokeh-float-3 {
    0%, 100% { 
        transform: translate(0, 0) scale(1); 
    }
    25% { 
        transform: translate(-15px, -10px) scale(0.9); 
    }
    75% { 
        transform: translate(10px, 15px) scale(1.1); 
    }
}

@keyframes bokeh-float-4 {
    0%, 100% { 
        transform: translate(0, 0) scale(1); 
    }
    40% { 
        transform: translate(-20px, 10px) scale(1.1); 
    }
    70% { 
        transform: translate(15px, -15px) scale(0.95); 
    }
}

@keyframes bokeh-float-5 {
    0%, 100% { 
        transform: translate(0, 0) scale(1); 
    }
    50% { 
        transform: translate(-25px, -15px) scale(1.05); 
    }
}

@keyframes bokeh-float-6 {
    0%, 100% { 
        transform: translate(0, 0) scale(1); 
    }
    35% { 
        transform: translate(10px, -20px) scale(0.9); 
    }
    70% { 
        transform: translate(-15px, 10px) scale(1.15); 
    }
}

/* Webkit prefixes for animations */
@-webkit-keyframes bokeh-float-1 {
    0%, 100% { 
        -webkit-transform: translate(0, 0) scale(1); 
    }
    33% { 
        -webkit-transform: translate(20px, -15px) scale(1.1); 
    }
    66% { 
        -webkit-transform: translate(-10px, 10px) scale(0.95); 
    }
}

@-webkit-keyframes bokeh-float-2 {
    0%, 100% { 
        -webkit-transform: translate(0, 0) scale(1); 
    }
    50% { 
        -webkit-transform: translate(15px, -20px) scale(1.15); 
    }
}

@-webkit-keyframes bokeh-float-3 {
    0%, 100% { 
        -webkit-transform: translate(0, 0) scale(1); 
    }
    25% { 
        -webkit-transform: translate(-15px, -10px) scale(0.9); 
    }
    75% { 
        -webkit-transform: translate(10px, 15px) scale(1.1); 
    }
}

@-webkit-keyframes bokeh-float-4 {
    0%, 100% { 
        -webkit-transform: translate(0, 0) scale(1); 
    }
    40% { 
        -webkit-transform: translate(-20px, 10px) scale(1.1); 
    }
    70% { 
        -webkit-transform: translate(15px, -15px) scale(0.95); 
    }
}

@-webkit-keyframes bokeh-float-5 {
    0%, 100% { 
        -webkit-transform: translate(0, 0) scale(1); 
    }
    50% { 
        -webkit-transform: translate(-25px, -15px) scale(1.05); 
    }
}

@-webkit-keyframes bokeh-float-6 {
    0%, 100% { 
        -webkit-transform: translate(0, 0) scale(1); 
    }
    35% { 
        -webkit-transform: translate(10px, -20px) scale(0.9); 
    }
    70% { 
        -webkit-transform: translate(-15px, 10px) scale(1.15); 
    }
}

.contact-title {
    font-family: 'Space Mono', monospace;
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.contact-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    margin-bottom: 0;
    line-height: 1.6;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-end;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
}

.contact-link i {
    font-size: 1.5rem;
    color: var(--gradient-start);
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: white;
    transform: translateX(-5px);
}

.contact-link:hover i {
    color: var(--gradient-end);
    transform: rotate(10deg) scale(1.1);
}

.contact-link span {
    font-family: 'Space Mono', monospace;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

@media (max-width: 991px) {
    .contact-links {
        align-items: center;
        margin-top: 2rem;
    }
    
    .contact-container {
        padding: 2rem;
    }
    
    .contact-title {
        font-size: 1.75rem;
        text-align: center;
    }
    
    .contact-subtitle {
        text-align: center;
    }
    
    /* Larger bokeh lights on mobile */
    .bokeh-1 {
        width: 450px;
        height: 450px;
    }
    
    .bokeh-2 {
        width: 380px;
        height: 380px;
    }
    
    .bokeh-3 {
        width: 320px;
        height: 320px;
    }
    
    .bokeh-4 {
        width: 420px;
        height: 420px;
    }
    
    .bokeh-5 {
        width: 500px;
        height: 500px;
    }
    
    .bokeh-6 {
        width: 360px;
        height: 360px;
    }
}

/* ===== Footer ===== */
.footer {
    background: rgb(16, 16, 16);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 0 2rem 0;
    margin-top: 0;
}

.footer-brand a {
    display: inline-block;
    perspective: 1000px;
    text-decoration: none !important;
    color: inherit !important;
}

.footer-brand a:link,
.footer-brand a:visited,
.footer-brand a:hover,
.footer-brand a:active {
    text-decoration: none !important;
}

.footer-brand-name {
    font-family: 'Space Mono', monospace;
    color: var(--text-light) !important;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
    text-decoration: none !important;
}

.footer-brand a:hover .footer-brand-name {
    color: white !important;
}

.footer-brand img {
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.15s ease-out;
    transform-style: preserve-3d;
    will-change: transform;
}

.footer-brand img:hover {
    opacity: 1;
}

.footer-description {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 992px) {
    .footer-socials {
        justify-content: flex-start;
    }
}

.social-link {
    width: 40px;
    height: 40px;
    display: -webkit-flex !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-align-items: center !important;
    -ms-flex-align: center !important;
    align-items: center !important;
    -webkit-justify-content: center !important;
    -ms-flex-pack: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link i {
    font-size: 1.2rem !important;
    line-height: 1 !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

.social-link:hover {
    background: rgba(43, 88, 118, 0.2);
    border-color: var(--gradient-end);
    color: white;
    -webkit-transform: translateY(-3px);
    -ms-transform: translateY(-3px);
    transform: translateY(-3px);
}

.footer-title {
    font-family: 'Space Mono', monospace;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-newsletter-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.btn-newsletter {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.btn-newsletter:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(78, 67, 118, 0.3);
}

.btn-newsletter:hover::before {
    animation: shimmer 0.6s ease-out forwards;
}

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 3rem 0 2rem 0;
}

.footer-bottom {
    padding-top: 1rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 0;
}

.footer-tagline {
    margin: 0;
    font-size: 0.9rem;
}

.gradient-text {
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 500;
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 1.5rem 0;
    }
    
    .footer-bottom .row {
        text-align: center;
    }
    
    .footer-bottom .col-md-6 {
        display: inline;
    }
    
    .footer-bottom .copyright,
    .footer-bottom .footer-tagline {
        display: inline;
        margin: 0;
    }
    
    .footer-title {
        margin-top: 1.5rem;
    }
    
    .footer-brand .footer-title {
        margin-top: 0;
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 991px) {
    .navbar-nav {
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(10px);
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 12px;
    }
    
    .navbar-nav .nav-link {
        margin: 0.5rem 0;
        padding: 0.5rem 1rem;
    }
    
    /* Hide desktop dropdown arrow on mobile */
    .navbar-nav .dropdown-toggle::after {
        display: none;
    }
    
    /* Mobile dropdown styles */
    .nav-item.dropdown::before {
        display: none;
    }
    
    .dropdown-menu {
        display: block !important;
        position: static !important;
        transform: none !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease !important;
    }
    
    .dropdown-menu.show {
        max-height: 300px;
        opacity: 1;
    }
    
    .dropdown-menu::before {
        display: none;
    }
    
    .dropdown-item {
        background: rgba(255, 255, 255, 0.05);
        color: white !important;
        margin: 0.25rem 0;
        padding: 0.75rem 1.5rem;
        border-left: 3px solid var(--gradient-start);
        transform: translateY(0);
        opacity: 1;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }
    
    .dropdown-divider {
        display: none !important;
    }
    
    .dropdown-menu:not(.show) .dropdown-item {
        transform: translateY(-10px);
        opacity: 0;
        transition-delay: 0s;
    }
    
    .dropdown-menu.show .dropdown-item {
        transform: translateY(0);
        opacity: 1;
    }
    
    .dropdown-menu.show .dropdown-item:nth-child(1) {
        transition-delay: 0.05s;
    }
    
    .dropdown-menu.show .dropdown-item:nth-child(2) {
        transition-delay: 0.1s;
    }
    
    .dropdown-menu.show .dropdown-item:nth-child(4) {
        transition-delay: 0.15s;
    }
    
    .dropdown-menu:not(.show) .dropdown-item:nth-child(1) {
        transition-delay: 0.09s;
    }
    
    .dropdown-menu:not(.show) .dropdown-item:nth-child(2) {
        transition-delay: 0.06s;
    }
    
    .dropdown-menu:not(.show) .dropdown-item:nth-child(4) {
        transition-delay: 0.03s;
    }
    
    .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .dropdown-item i,
    .dropdown-item span {
        transform: none !important;
    }
    
    .dropdown-arrow {
        display: none !important;
    }
    
    .hero-title {
        font-size: clamp(3.5rem, 12vw, 5.5rem);
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    /* Data bar mobile */
    .data-bar {
        flex-direction: column;
        padding: 1rem;
        width: 90%;
    }
    
    .data-bar-item {
        width: 100%;
        padding: 0.75rem 0;
        justify-content: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .data-bar-item:first-child {
        padding-top: 0;
    }
    
    .data-bar-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .data-bar-item::after {
        display: none;
    }
    
    .data-bar-content {
        align-items: center;
        text-align: center;
    }
    
    .data-bar-content p {
        white-space: normal;
    }
}

/* ===== Email Subscription Modal ===== */
.modal-content {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(22, 33, 62, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid transparent;
    border-radius: 16px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Animated gradient border */
.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(45deg, #667eea, #764ba2, #f093fb, #667eea);
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, 
                  linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: gradientShift 4s ease infinite;
    opacity: 0.5;
    pointer-events: none;
}

@keyframes gradientShift {
    0%, 100% { background-position: 100% 50%; }
    50% { background-position: 0% 50%; }
}

/* Floating particles background */
.modal-content::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image: 
        radial-gradient(circle, rgba(102, 126, 234, 0.1) 1px, transparent 1px),
        radial-gradient(circle, rgba(118, 75, 162, 0.1) 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px;
    background-position: 0 0, 25px 25px;
    animation: floatParticles 20s linear infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes floatParticles {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-50px, -50px) rotate(360deg); }
}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 1.5rem;
}

.modal-title {
    font-weight: 600;
    font-size: 1.25rem;
    color: #fff;
    background: linear-gradient(45deg, #fff, var(--gradient-end), #fff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerText 3s linear infinite;
}

@keyframes shimmerText {
    to { background-position: -200% center; }
}

/* Modal entrance animation */
.modal.fade .modal-dialog {
    transform: scale(0.7) translateY(-50px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal.show .modal-dialog {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.modal-body {
    padding: 1.5rem;
}

.modal-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 1.5rem;
}

.form-label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: transparent;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.5),
                0 0 20px rgba(102, 126, 234, 0.3);
    color: #fff;
    outline: none;
}

/* Animated focus glow */
.form-control:focus::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 10px;
    background: linear-gradient(45deg, #667eea, #764ba2, #f093fb);
    opacity: 0.5;
    filter: blur(10px);
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-check-input {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.form-check-input:checked {
    background-color: var(--gradient-end);
    border-color: var(--gradient-end);
}

.form-check-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.modal .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

.modal .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.modal .btn-primary {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border: none;
    color: #fff;
    font-weight: 500;
}

.modal .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.modal .alert {
    border-radius: 8px;
    border: none;
}

.modal .alert-success {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.15), rgba(40, 167, 69, 0.25));
    color: #5cb85c;
    border-left: 3px solid #5cb85c;
    animation: slideInRight 0.5s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.modal .alert-danger {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.15), rgba(220, 53, 69, 0.25));
    color: #dc3545;
    border-left: 3px solid #dc3545;
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Success checkmark animation */
.success-checkmark {
    display: none;
    text-align: center;
    padding: 40px;
}

.success-checkmark.show {
    display: block;
    animation: fadeInScale 0.5s ease;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.checkmark-circle {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #28a745, #5cb85c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.3);
}

.checkmark-circle svg {
    width: 50px;
    height: 50px;
}

.checkmark-circle .checkmark-path {
    stroke: white;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: drawCheckmark 0.6s ease 0.3s forwards;
}

@keyframes drawCheckmark {
    to {
        stroke-dashoffset: 0;
    }
}

.success-message {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.success-submessage {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
}