:root {
    --nexus-primary: #0071e3;
    --nexus-dark: #1d1d1f;
    --nexus-light: #f5f5f7;
    --nexus-gray: #86868b;
    --nexus-success: #00aa4f;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    color: var(--nexus-dark);
    -webkit-font-smoothing: antialiased;
}

/* Navigation */
.nexus-navbar {
    /* background: rgba(0, 0, 0, 0.8); */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 0;
    transition: all 0.3s ease;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nexus-navbar .navbar-brand img {
    height: 60px !important; /* Premium, understated sizing */
    width: auto;
    /*filter: brightness(0) invert(1); /* Ensure logo is white on dark bg */
    transition: opacity 0.2s;
}

.nexus-navbar .navbar-brand:hover img {
    opacity: 0.8;
}

.nexus-navbar .nav-link {
    color:#727274 !important; /* Apple's nav gray */
    font-size: 1.2rem;
    font-weight: 400;
    padding: 8px 16px !important;
    border-radius: 6px;
    transition: color 0.2s ease;
    letter-spacing: -0.01em;
}

.nexus-navbar .nav-link:hover,
.nexus-navbar .nav-link.active {
    color: #202020 !important;
}

.nexus-navbar .btn-logout {
    background: none;
    border: none;
    padding: 0;
}

.nexus-navbar .navbar-toggler {
    border: none;
    padding: 0;
    color: #fff;
}

.nexus-navbar .navbar-toggler:focus {
    box-shadow: none;
}

/* Hero Section */
.nexus-hero {
    padding: 120px 0;
    background: #000;
    color: #fff;
    overflow: hidden;
    position: relative;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: float-shape 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.shape-1 {
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.4) 0%, rgba(0, 113, 227, 0) 70%);
}

.shape-2 {
    bottom: -10%;
    left: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(50, 215, 75, 0.2) 0%, rgba(50, 215, 75, 0) 70%);
    animation-delay: -5s;
}

.shape-3 {
    top: 40%;
    left: 40%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(94, 92, 230, 0.3) 0%, rgba(94, 92, 230, 0) 70%);
    animation-delay: -10s;
}

@keyframes float-shape {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -30px) scale(1.1); }
}

.live-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.nexus-hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 24px;
    color: #fff;
}

.text-gradient {
    background: linear-gradient(135deg, #2997ff 0%, #30b0c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.nexus-hero .lead {
    font-size: 1.35rem;
    color: #86868b;
    font-weight: 400;
    line-height: 1.5;
    max-width: 90%;
}

.visual-backdrop {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(41, 151, 255, 0.15) 0%, transparent 70%);
    z-index: -1;
}

.floating-visual {
    animation: float 8s ease-in-out infinite;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.5));
    border-radius: 20px;
    position: relative;
    z-index: 1;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Attached-style hero */
.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    padding: 10px 18px;
    border-radius: 999px;
    color: #b9d7ff;
    background: rgba(41,151,255,0.12);
    border: 1px solid rgba(41,151,255,0.25);
    font-weight: 600;
    font-size: 0.95rem;
}

.hero-headline {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: #e6f1ff;
    margin-bottom: 16px;
}

@media (min-width: 992px) {
    .hero-headline {
        font-size: 4.25rem;
    }
}

.text-gradient-glow {
    background: linear-gradient(90deg, #1fb6ff 0%, #3e7bff 50%, #9a6cff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.text-gradient-glow::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 24px;
    filter: blur(16px);
    background: radial-gradient(ellipse at center, rgba(62,123,255,0.35) 0%, rgba(62,123,255,0) 60%);
    pointer-events: none;
}

.hero-sublead {
    color: #8aa3b8;
    font-size: 1.1rem;
    max-width: 820px;
    margin: 0 auto 28px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 42px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.stat-item {
    display: grid;
    grid-template-columns: 28px auto;
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 2px;
    align-items: center;
    color: #cfe1f7;
}

.stat-icon {
    grid-row: 1 / span 2;
    color: #6fb6ff;
    font-size: 1.2rem;
}

.stat-value {
    font-weight: 800;
    font-size: 1.1rem;
    color: #e6f1ff;
}

.stat-label {
    font-size: 0.9rem;
    color: #91a8bf;
}

/* Recent Releases */
.recent-releases {
    background-color: #fbfbfd;
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--nexus-dark);
    letter-spacing: -0.01em;
}

.status-indicator {
    color: var(--nexus-success);
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    background: rgba(0, 170, 79, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--nexus-success);
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 0 4px rgba(0, 170, 79, 0.2);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(0, 170, 79, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(0, 170, 79, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 170, 79, 0); }
}

.release-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 24px;
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    
    position: relative;
    overflow: hidden;
}

.release-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--nexus-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.release-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: transparent;
}

.release-card:hover::before {
    opacity: 1;
}

.release-icon-wrapper {
    width: 64px;
    height: 64px;
    background: var(--nexus-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.release-icon-wrapper img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.release-version {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--nexus-dark);
    margin-bottom: 4px;
}

.release-build {
    font-size: 0.9rem;
    color: var(--nexus-gray);
    font-family: "SF Mono", "Menlo", "Monaco", "Courier New", monospace;
    background: #f5f5f7;
    padding: 2px 8px;
    border-radius: 6px;
}

.release-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.release-info-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--nexus-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.release-info-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--nexus-dark);
}

.btn-download {
    background-color: var(--nexus-primary);
    color: #fff;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.2s ease;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 24px;
}

.btn-download:hover {
    background-color: #0077ed; /* Slightly lighter blue */
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
    color: #fff;
}

/* Hardware Selection */
.hardware-selection {
    background-color: #fff;
    padding: 100px 0;
}

.device-card {
    display: block;
    background: #f5f5f7;
    border-radius: 24px;
    padding: 40px 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid transparent;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.device-card:hover {
    background: #fff;
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: rgba(0,0,0,0.05);
}

.device-icon-wrapper {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: transform 0.4s ease;
}

.device-card:hover .device-icon-wrapper {
    transform: scale(1.1);
}

.device-icon-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

.device-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--nexus-dark);
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.device-card:hover .device-name {
    color: var(--nexus-primary);
}

.device-action {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--nexus-primary);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.device-card:hover .device-action {
    opacity: 1;
    transform: translateY(0);
}

/* Installation Process */
.installation-process {
    background-color: #000;
    color: #fff;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.installation-process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.process-card {
    background: #1d1d1f;
    border-radius: 24px;
    padding: 40px 30px;
    height: 100%;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border-color: rgba(255,255,255,0.1);
}

.process-number {
    font-size: 4rem;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.2);
    opacity: 0.5;
    position: absolute;
    top: 20px;
    right: 30px;
    line-height: 1;
}

.process-icon {
    font-size: 2.5rem;
    color: var(--nexus-primary);
    margin-bottom: 24px;
    display: inline-block;
}

.process-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff;
}

.process-description {
    color: #86868b;
    line-height: 1.6;
    font-size: 1.05rem;
    margin-bottom: 0;
}

/* Connective line for desktop */
@media (min-width: 992px) {
    .process-card::after {
        content: '';
        position: absolute;
        top: 50%;
        right: -30px;
        width: 30px;
        height: 2px;
        background: rgba(255,255,255,0.1);
        display: none; /* Hidden by default, enable if we want connected look */
    }
}

/* Expert Insights & FAQ */
.expert-insights {
    background-color: #fff;
    padding: 100px 0;
}

.insight-grid-card {
    background-color: var(--nexus-light);
    border-radius: 24px;
    padding: 32px;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid transparent;
}

.insight-grid-card:hover {
    background-color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border-color: rgba(0,0,0,0.05);
}

.insight-icon {
    width: 48px;
    height: 48px;
    background-color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nexus-primary);
    font-size: 1.25rem;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.insight-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--nexus-dark);
}

.insight-content {
    color: #434344;
    line-height: 1.6;
    font-size: 1rem;
}

.insight-content strong {
    color: var(--nexus-dark);
    font-weight: 600;
}

.insight-content a {
    color: var(--nexus-primary);
    text-decoration: none;
    font-weight: 500;
}

.insight-content a:hover {
    text-decoration: underline;
}

/* Slick Customization */
.slick-dots li button:before {
    font-size: 10px;
    color: var(--nexus-gray);
}
.slick-dots li.slick-active button:before {
    color: var(--nexus-primary);
}
.slick-track {
    display: flex !important;
}
.slick-slide {
    height: auto !important;
}

/* Bootstrap Overrides/Extensions */
.bg-success-subtle {
    background-color: #d1e7dd !important;
}
.text-success {
    color: #0f5132 !important;
}
.border-success-subtle {
    border-color: #a3cfbb !important;
}
.nexus-footer {
    background: #000;
    color: #a1a1a6;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}
.nexus-footer .footer-brand img {
    height: 60px;
    filter: brightness(0) invert(1);
}
.nexus-footer .footer-links a {
    color: #a1a1a6;
    text-decoration: none;
    margin: 0 12px;
    font-size: 0.95rem;
}
.nexus-footer .footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}
.nexus-footer .footer-note {
    color: #6e6e73;
    margin-top: 16px;
    font-size: 0.95rem;
}
.nexus-footer .footer-legal {
    color: #6e6e73;
    font-style: italic;
    margin-top: 8px;
}
.nexus-footer .footer-copy {
    margin-top: 16px;
    color: #6e6e73;
}
