.nav-link { @apply text-gray-300 hover:text-cyan-400 transition; }

.nav-dropdown-toggle { background: none; border: none; cursor: pointer; font: inherit; }
.nav-dropdown-link {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: rgb(209 213 219);
    transition: color 0.15s, background 0.15s;
}
.nav-dropdown-link:hover {
    color: rgb(34 211 238);
    background: rgba(255, 255, 255, 0.04);
}

/* Dark base + starfield IT icons (positions via JS in #starfield-bg) */
.site-body {
    position: relative;
    background-color: #0B0F19;
}

.site-body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 90% 60% at 50% 0%, rgba(59, 130, 246, 0.08), transparent 55%),
        radial-gradient(ellipse 70% 50% at 100% 100%, rgba(34, 211, 238, 0.05), transparent 50%),
        linear-gradient(180deg, rgba(11, 15, 25, 0.05) 0%, rgba(11, 15, 25, 0.45) 100%);
}

.site-body > main,
.site-body > footer,
.site-body > div:not(.fixed):not(#starfield-bg) {
    position: relative;
    z-index: 10;
}

.site-body > div.fixed.bottom-0 {
    position: fixed !important;
    z-index: 40;
}

:root {
    --site-header-height: 4rem;
}

@media (min-width: 640px) {
    :root {
        --site-header-height: 5rem;
    }
}

@media (min-width: 768px) {
    :root {
        --site-header-height: 5.625rem;
    }
}

body.site-body {
    padding-top: var(--site-header-height);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 50;
    background-color: rgba(11, 15, 25, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

#starfield-bg {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.starfield-item {
    position: absolute;
    pointer-events: none;
    color: #38bdf8;
    opacity: 0.12;
    will-change: opacity;
    animation: starfield-twinkle var(--twinkle-dur, 5s) ease-in-out infinite;
    animation-delay: var(--twinkle-delay, 0s);
}

.starfield-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.starfield-dot {
    border-radius: 50%;
    background: #22d3ee;
    box-shadow: 0 0 4px rgba(34, 211, 238, 0.35);
}

@keyframes starfield-twinkle {
    0%, 100% { opacity: 0.06; }
    45% { opacity: 0.32; }
    55% { opacity: 0.28; }
}

@media (prefers-reduced-motion: reduce) {
    .starfield-item {
        animation: none;
        opacity: 0.14;
    }
}

@media (max-width: 767px) {
    .starfield-icon {
        opacity: 0.1;
    }
}

#ripple-canvas {
    position: fixed;
    inset: 0;
    z-index: 20;
    pointer-events: none;
    width: 100%;
    height: 100%;
}

.glass-card {
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(17, 24, 39, 0.72);
    backdrop-filter: blur(16px);
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(34, 211, 238, 0.35);
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.12);
    transform: translateY(-4px);
}

.hero-glow {
    background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(59, 130, 246, 0.25), transparent);
}

.stat-card {
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(17, 24, 39, 0.62);
    backdrop-filter: blur(12px);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    color: white;
    transition: all 0.2s;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.4);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    color: white;
    transition: all 0.2s;
}

.btn-outline:hover {
    border-color: rgba(34, 211, 238, 0.5);
    color: #22D3EE;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
    animation: fadeUp 0.6s ease forwards;
}

.admin-input {
    width: 100%;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(17, 24, 39, 0.8);
    padding: 0.5rem 0.75rem;
    color: white;
}

.admin-input:focus {
    outline: none;
    border-color: #3B82F6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.admin-table th,
.admin-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.flash-success { background: rgba(16, 185, 129, 0.15); border: 1px solid rgba(16, 185, 129, 0.4); color: #6EE7B7; }
.flash-danger { background: rgba(239, 68, 68, 0.15); border: 1px solid rgba(239, 68, 68, 0.4); color: #FCA5A5; }

/* Admin panel — explicit colors (fallback if Tailwind CDN config fails) */
.admin-body {
    background-color: #0B0F19 !important;
    color: #e5e7eb !important;
}

.admin-body aside {
    background-color: #111827 !important;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-nav-link {
    color: #d1d5db !important;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.admin-nav-link:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}

.admin-nav-link.text-cyan-400 {
    color: #22d3ee !important;
}

.admin-nav-link.text-red-400 {
    color: #f87171 !important;
}

/* Mobile admin nav — horizontal wrapped pills, no nested scroll */
.admin-body .admin-mobile-nav {
    overflow: visible;
    max-height: none;
    overscroll-behavior: auto;
    -webkit-overflow-scrolling: auto;
}

.admin-body .admin-mobile-nav-links {
    align-content: flex-start;
    row-gap: 0.5rem;
}

.admin-body .admin-mobile-nav .admin-nav-link {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    white-space: nowrap;
    padding: 0.35rem 0.65rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    line-height: 1.25;
}

.admin-body .admin-mobile-nav .admin-nav-link:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.2);
}

.admin-body .admin-mobile-nav .admin-nav-link.text-cyan-400 {
    border-color: rgba(34, 211, 238, 0.35);
    background: rgba(34, 211, 238, 0.08);
}

.admin-body .admin-mobile-nav .admin-nav-link.text-red-400 {
    border-color: rgba(248, 113, 113, 0.35);
    background: rgba(248, 113, 113, 0.08);
}

.admin-main {
    background-color: #0B0F19 !important;
    color: #e5e7eb !important;
}

.admin-main h1,
.admin-main h2,
.admin-body h1,
.admin-body h2 {
    color: #ffffff !important;
}

.admin-main p,
.admin-main label,
.admin-body label {
    color: #9ca3af;
}

.admin-table th {
    color: #9ca3af !important;
}

.admin-table td {
    color: #d1d5db !important;
}

.admin-table td.text-white {
    color: #ffffff !important;
}

.admin-table a {
    color: #22d3ee;
}

.admin-table a.text-red-400 {
    color: #f87171 !important;
}

.admin-table a.text-blue-400 {
    color: #60a5fa !important;
}

.site-input {
    width: 100%;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(17, 24, 39, 0.6);
    padding: 0.625rem 0.875rem;
    color: #f3f4f6;
    font-size: 0.875rem;
}

.site-input:focus {
    outline: none;
    border-color: #22d3ee;
    box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.15);
}

.site-input::placeholder {
    color: #6b7280;
}

.captcha-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.captcha-widget {
    margin-top: 0.25rem;
}

.turnstile-wrap,
.captcha-widget .g-recaptcha {
    display: flex;
    justify-content: flex-start;
}

.captcha-fallback {
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(17, 24, 39, 0.35);
    padding: 0.875rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item[open] .faq-chevron {
    transform: rotate(45deg);
}

.pricing-featured {
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.12);
}

.site-logo {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
    max-width: 240px;
    min-width: 140px;
    object-fit: contain;
}

@media (min-width: 768px) {
    .site-logo {
        max-width: 280px;
    }
}

.default-promo-inner {
    background: linear-gradient(135deg, rgba(249, 157, 28, 0.12) 0%, rgba(27, 20, 100, 0.25) 50%, rgba(34, 211, 238, 0.08) 100%);
    border: 1px solid rgba(249, 157, 28, 0.2);
    border-radius: 1rem;
    position: relative;
    overflow: hidden;
}

.default-promo-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
    animation: promo-shine 4s ease-in-out infinite;
    pointer-events: none;
}

.default-promo-title {
    background: linear-gradient(90deg, #f99d1c, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes promo-shine {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

@keyframes bounce-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.animate-bounce-slow {
    animation: bounce-slow 2.5s ease-in-out infinite;
}

.event-banner-strip {
    background: rgba(11, 15, 25, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.banner-live {
    border-color: rgba(34, 211, 238, 0.15);
    box-shadow: 0 8px 32px rgba(34, 211, 238, 0.08);
}

.banner-upcoming {
    border: 2px dashed rgba(249, 157, 28, 0.45);
    background: linear-gradient(135deg, rgba(249, 157, 28, 0.06) 0%, rgba(11, 15, 25, 0.4) 100%);
    position: relative;
}

.banner-coming-soon {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2;
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1b1464;
    background: linear-gradient(135deg, #f99d1c, #ffb84d);
    border-radius: 9999px;
    box-shadow: 0 2px 8px rgba(249, 157, 28, 0.35);
}

.banner-upcoming-placeholder {
    position: relative;
    min-height: 10rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.5rem 1.5rem;
    text-align: center;
}

.banner-upcoming-content {
    max-width: 36rem;
}

.banner-upcoming-title {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(90deg, #f99d1c, #ffb84d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .banner-upcoming-title {
        font-size: 1.5rem;
    }
}

.banner-upcoming-subtitle {
    color: #9ca3af;
    font-size: 0.9rem;
    line-height: 1.5;
}

.banner-upcoming-dates {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #f99d1c;
    letter-spacing: 0.02em;
}

/* Trusted partners — products page */
.trusted-partners {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.partner-panel {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.partner-panel:hover {
    border-color: rgba(34, 211, 238, 0.25);
    box-shadow: 0 0 24px rgba(34, 211, 238, 0.08);
}

.partner-panel-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.2);
    font-size: 1.125rem;
    line-height: 1;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 640px) {
    .partner-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.partner-grid--software {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 640px) {
    .partner-grid--software {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 4.5rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(11, 15, 25, 0.45);
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.partner-item:hover {
    border-color: rgba(34, 211, 238, 0.3);
    background: rgba(34, 211, 238, 0.06);
    transform: translateY(-2px);
}

.partner-logo {
    display: block;
    width: auto;
    max-width: 100%;
    height: 2rem;
    object-fit: contain;
    opacity: 0.88;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
    transition: opacity 0.25s ease;
}

.partner-item:hover .partner-logo {
    opacity: 1;
}

@media (min-width: 768px) {
    .partner-logo {
        height: 2.25rem;
    }
}

/* B2B enterprise — dual gate hero & schematics */
.hero-gate {
    transition: border-color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.hero-gate:hover {
    transform: translateY(-6px);
}

.hero-gate--enterprise {
    border-color: rgba(34, 211, 238, 0.15);
}

.hero-gate--enterprise:hover {
    border-color: rgba(34, 211, 238, 0.45);
    box-shadow: 0 0 40px rgba(34, 211, 238, 0.1);
}

.hero-gate-visual {
    pointer-events: none;
}

.enterprise-schematic-bg {
    background:
        linear-gradient(135deg, rgba(34, 211, 238, 0.04) 0%, transparent 50%),
        repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(59, 130, 246, 0.06) 19px, rgba(59, 130, 246, 0.06) 20px),
        repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(59, 130, 246, 0.06) 19px, rgba(59, 130, 246, 0.06) 20px);
}

.enterprise-industry-card .enterprise-schematic svg {
    filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.15));
}

.estimator-slider {
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

.estimator-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22D3EE, #3B82F6);
    cursor: pointer;
    box-shadow: 0 0 12px rgba(34, 211, 238, 0.4);
}

.estimator-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22D3EE, #3B82F6);
    cursor: pointer;
    border: none;
}

.google-g-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    background: conic-gradient(from 180deg, #4285f4, #34a853, #fbbc05, #ea4335, #4285f4);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.google-g-icon--sm {
    width: 1.1rem;
    height: 1.1rem;
    font-size: 0.58rem;
}

.google-reviews-summary {
    border-color: rgba(34, 211, 238, 0.2);
}

.google-review-card:hover {
    border-color: rgba(251, 188, 5, 0.35);
    box-shadow: 0 0 24px rgba(251, 188, 5, 0.08);
}
