/* ============================================
   IntelloAI — Global Stylesheet
   Brand Blue: #2088C4 (from logo)
   ============================================ */

/* -- Accessibility -- */
.skip-to-content {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 9999;
    padding: 0.75rem 1.5rem;
    background: var(--brand-blue, #2088C4);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0 0 0.5rem 0;
}
.skip-to-content:focus {
    left: 0;
}
*:focus-visible {
    outline: 2px solid rgba(32, 136, 196, 0.8);
    outline-offset: 2px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid rgba(32, 136, 196, 0.8);
    outline-offset: 2px;
}

:root {
    --brand-blue: #2088C4;
    --brand-blue-light: #38a3d8;
    --brand-blue-dark: #186a9c;
    --purple: #8b5cf6;
    --cyan: #06b6d4;
    --pink: #f472b6;
    --green: #10b981;
    --bg-primary: #060610;
    --bg-card: rgba(255, 255, 255, 0.025);
    --bg-card-hover: rgba(255, 255, 255, 0.045);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.14);
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #71839b;
    --text-faint: #475569;
}

/* ---- Base ---- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; outline: none; background: transparent; font-family: inherit; }

/* ============================================
   Utility Classes (Tailwind CDN replacement)
   ============================================ */

/* -- Display -- */
.hidden { display: none; }
.block { display: block; }
.inline-flex { display: inline-flex; align-items: center; gap: 0.5rem; }
.flex { display: flex; }
.grid { display: grid; }

/* -- Flexbox -- */
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-shrink-0 { flex-shrink: 0; }

/* -- Grid -- */
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* -- Gap -- */
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-7 { gap: 1.75rem; }
.gap-10 { gap: 2.5rem; }

/* -- Width / Height -- */
.w-full { width: 100%; }
.w-fit { width: fit-content; }
.w-1\.5 { width: 0.375rem; }
.w-2 { width: 0.5rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-7 { width: 1.75rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-7 { height: 1.75rem; }
.h-1\.5 { height: 0.375rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }

/* -- Max Width -- */
.max-w-7xl { max-width: 80rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-sm { max-width: 24rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* -- Padding -- */
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-6 { padding: 1.5rem; }
.p-7 { padding: 1.75rem; }
.p-8 { padding: 2rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.pt-32 { padding-top: 8rem; }
.pb-16 { padding-bottom: 4rem; }
.pb-20 { padding-bottom: 5rem; }

/* -- Margin -- */
.mb-1\.5 { margin-bottom: 0.375rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-7 { margin-bottom: 1.75rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-14 { margin-bottom: 3.5rem; }
.mb-16 { margin-bottom: 4rem; }
.mb-20 { margin-bottom: 5rem; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-20 { margin-top: 5rem; }
.my-4 { margin-top: 1rem; margin-bottom: 1rem; }

/* -- Typography -- */
.font-sans { font-family: 'Inter', system-ui, -apple-system, sans-serif; }
.text-white { color: #ffffff; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.text-center { text-align: center; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.leading-relaxed { line-height: 1.625; }
.leading-\[1\.1\] { line-height: 1.1; }
.tracking-wide { letter-spacing: 0.025em; }
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.overflow-x-hidden { overflow-x: hidden; }
.whitespace-nowrap { white-space: nowrap; }
.text-\[10px\] { font-size: 10px; }

/* -- Colors -- */
.text-slate-300 { color: #cbd5e1; }
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-purple-300 { color: #d8b4fe; }
.text-purple-400 { color: #c084fc; }
.text-cyan-300 { color: #67e8f9; }
.text-cyan-400 { color: #22d3ee; }
.text-pink-300 { color: #f9a8d4; }
.text-pink-400 { color: #f472b6; }
.text-emerald-300 { color: #6ee7b7; }
.text-emerald-400 { color: #34d399; }
.text-blue-400 { color: #60a5fa; }
.text-green-400 { color: #4ade80; }
.text-amber-400 { color: #fbbf24; }
.text-rose-400 { color: #fb7185; }
.text-yellow-400 { color: #facc15; }
.text-\[\#2088C4\] { color: #2088C4; }
.text-\[\#38a3d8\] { color: #38a3d8; }

/* -- Backgrounds -- */
.bg-purple-500\/10 { background: rgba(168, 85, 247, 0.1); }
.bg-purple-500\/20 { background: rgba(168, 85, 247, 0.2); }
.bg-cyan-500\/10 { background: rgba(6, 182, 212, 0.1); }
.bg-cyan-500\/20 { background: rgba(6, 182, 212, 0.2); }
.bg-pink-500\/10 { background: rgba(236, 72, 153, 0.1); }
.bg-emerald-500\/10 { background: rgba(16, 185, 129, 0.1); }
.bg-emerald-400 { background: #34d399; }
.bg-yellow-400 { background: #facc15; }
.bg-blue-500\/10 { background: rgba(59, 130, 246, 0.1); }
.bg-green-500\/10 { background: rgba(34, 197, 94, 0.1); }
.bg-amber-500\/10 { background: rgba(245, 158, 11, 0.1); }
.bg-rose-500\/10 { background: rgba(244, 63, 94, 0.1); }
.bg-white\/\[0\.02\] { background: rgba(255, 255, 255, 0.02); }

/* -- Border -- */
.border { border-width: 1px; border-style: solid; }
.border-white\/\[0\.04\] { border-color: rgba(255, 255, 255, 0.04); }
.border-emerald-500\/20 { border-color: rgba(16, 185, 129, 0.2); }
.rounded-full { border-radius: 9999px; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }

/* -- Positioning -- */
.relative { position: relative; }
.z-10 { z-index: 10; }

/* -- Effects -- */
.opacity-40 { opacity: 0.4; }
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

/* -- List Styles -- */
.list-disc { list-style-type: disc; }
.list-none { list-style-type: none; }
.pl-5 { padding-left: 1.25rem; }

/* -- Hover -- */
.hover\:underline:hover { text-decoration: underline; }

/* -- Responsive Utilities -- */
@media (min-width: 640px) {
    .sm\:flex-row { flex-direction: row; }
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sm\:text-5xl { font-size: 3rem; line-height: 1; }
}
@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .md\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
    .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
    .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
    .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
    .md\:p-10 { padding: 2.5rem; }
    .md\:p-12 { padding: 3rem; }
    .md\:flex-row { flex-direction: row; }
    .md\:w-64 { width: 16rem; }
}
@media (min-width: 1024px) {
    .lg\:flex { display: flex; }
    .lg\:hidden { display: none; }
    .lg\:inline-flex { display: inline-flex; align-items: center; gap: 0.5rem; }
    .lg\:flex-row { flex-direction: row; }
    .lg\:flex-row-reverse { flex-direction: row-reverse; }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .lg\:col-span-2 { grid-column: span 2 / span 2; }
    .lg\:col-span-3 { grid-column: span 3 / span 3; }
    .lg\:w-\[380px\] { width: 380px; }
}

/* -- Animation -- */
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.animate-pulse-dot { animation: pulse 1.5s ease-in-out infinite; }

/* ---- Gradient Texts ---- */
.gradient-text-brand {
    background: linear-gradient(135deg, var(--brand-blue), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.gradient-text-purple {
    background: linear-gradient(135deg, var(--purple), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.gradient-text-warm {
    background: linear-gradient(135deg, var(--purple), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.gradient-text-animated {
    background: linear-gradient(270deg, var(--brand-blue), var(--purple), var(--cyan), var(--brand-blue));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 6s ease infinite;
}
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ---- Glass Effect ---- */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
}
.glass-strong {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ---- Background Elements ---- */
.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(32, 136, 196, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(32, 136, 196, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}
.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(150px);
    pointer-events: none;
    z-index: 0;
}
.bg-glow-1 { top: -300px; left: -200px; width: 700px; height: 700px; background: rgba(32, 136, 196, 0.08); }
.bg-glow-2 { bottom: -300px; right: -200px; width: 700px; height: 700px; background: rgba(124, 58, 237, 0.06); }
.bg-glow-3 { top: 50%; left: 50%; transform: translate(-50%, -50%); width: 800px; height: 800px; background: rgba(6, 182, 212, 0.03); }

/* ---- Animations ---- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes pulseGlow {
    0%, 100% { opacity: 0.08; }
    50% { opacity: 0.15; }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes countUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-pulse-glow { animation: pulseGlow 4s ease-in-out infinite; }
.animate-float { animation: float 6s ease-in-out infinite; }
.animate-pulse-dot { animation: pulse 1.5s ease-in-out infinite; }

/* Page load */
@keyframes pageLoad {
    from { opacity: 0; }
    to { opacity: 1; }
}
body { animation: pageLoad 0.5s ease-out both; }

/* Shimmer sweep */
@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Scroll-triggered animations */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.95); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* Stagger children */
.stagger-children .reveal:nth-child(1) { transition-delay: 0.05s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.15s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.2s; }
.stagger-children .reveal:nth-child(5) { transition-delay: 0.25s; }
.stagger-children .reveal:nth-child(6) { transition-delay: 0.3s; }
.stagger-children .reveal:nth-child(7) { transition-delay: 0.35s; }
.stagger-children .reveal:nth-child(8) { transition-delay: 0.4s; }

/* ---- Cards ---- */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 1.25rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(32, 136, 196, 0.06), transparent 40%);
}
.card:hover::before { opacity: 1; }
.card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255,255,255,0.05);
}
.card-glow-blue:hover { box-shadow: 0 12px 60px rgba(32, 136, 196, 0.15), 0 0 0 1px rgba(32, 136, 196, 0.25); border-color: rgba(32, 136, 196, 0.3); }
.card-glow-blue:hover::before { background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(32, 136, 196, 0.08), transparent 40%); }
.card-glow-purple:hover { box-shadow: 0 12px 60px rgba(139, 92, 246, 0.15), 0 0 0 1px rgba(139, 92, 246, 0.25); border-color: rgba(139, 92, 246, 0.3); }
.card-glow-purple:hover::before { background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(139, 92, 246, 0.08), transparent 40%); }
.card-glow-cyan:hover { box-shadow: 0 12px 60px rgba(6, 182, 212, 0.15), 0 0 0 1px rgba(6, 182, 212, 0.25); border-color: rgba(6, 182, 212, 0.3); }
.card-glow-cyan:hover::before { background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(6, 182, 212, 0.08), transparent 40%); }
.card-glow-pink:hover { box-shadow: 0 12px 60px rgba(244, 114, 182, 0.15), 0 0 0 1px rgba(244, 114, 182, 0.25); border-color: rgba(244, 114, 182, 0.3); }
.card-glow-pink:hover::before { background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(244, 114, 182, 0.08), transparent 40%); }

/* ---- Navigation ---- */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    flex-shrink: 0;
}
@media (max-width: 1023px) {
    .nav {
        background: rgba(6, 6, 16, 0.85);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }
    .nav > div {
        justify-content: center;
        position: relative;
        min-height: 3.5rem;
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }
    .nav > div > .nav-brand {
        position: absolute;
        left: 1.5rem;
        top: 50%;
        transform: translateY(-50%);
        display: flex !important;
        z-index: 2;
    }
    .nav > div > button#menu-btn {
        position: absolute;
        right: 1.5rem;
        top: 50%;
        transform: translateY(-50%);
        display: flex !important;
        align-items: center;
        justify-content: center;
        z-index: 2;
        width: 44px;
        height: 44px;
    }
    .nav .btn-primary,
    .nav .hidden.lg\:flex {
        display: none !important;
    }
}

/* -- Mobile Image Handling -- */
.product-card-img {
    width: 100%;
}
@media (max-width: 767px) {
    .hidden-mobile {
        display: none !important;
    }
    .product-card-img {
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .hidden-mobile {
        display: none !important;
    }
    .product-card-img {
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 767px) {
    .hero {
        padding-top: 6rem;
        padding-bottom: 3rem;
    }
    .hero-headline {
        font-size: 1.75rem;
        line-height: 1.15;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
}
.nav-brand img {
    height: 42px;
    width: auto;
    border-radius: 6px;
    mix-blend-mode: screen;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}
.nav-brand .wordmark {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    white-space: nowrap;
}
.nav-brand .wordmark span {
    color: var(--brand-blue);
}
@media (min-width: 768px) {
    .nav-brand img { height: 40px; }
    .nav-brand .wordmark { font-size: 1.3rem; }
}
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(6, 6, 16, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
    will-change: transform;
}
.nav.scrolled {
    background: rgba(6, 6, 16, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-link {
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    position: relative;
}
.nav-link:hover { color: var(--text-primary); }
.nav-link.active { color: var(--brand-blue); }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-blue), var(--cyan));
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

/* Products dropdown trigger */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.25rem 0;
}
.nav-dropdown-trigger:hover { color: var(--text-primary); }
.nav-dropdown-trigger svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}
.nav-dropdown:hover .nav-dropdown-trigger svg {
    transform: rotate(180deg);
}
.nav-dropdown:hover .nav-dropdown-trigger { color: var(--text-primary); }

/* Rich dropdown menu */
.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 320px;
    background: rgba(10, 10, 22, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.04);
}
/* Invisible bridge to keep hover active while moving from trigger to menu */
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -16px;
    left: 0;
    right: 0;
    height: 16px;
}
.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.nav-dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
    text-decoration: none;
}
.nav-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
}
.nav-dropdown-item .dd-icon {
    width: 36px;
    height: 36px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.nav-dropdown-item .dd-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.nav-dropdown-item .dd-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.2s;
}
.nav-dropdown-item:hover .dd-title { color: var(--brand-blue-light); }
.nav-dropdown-item .dd-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* CTA button glow */
.nav .btn-primary.btn-small {
    box-shadow: 0 0 20px rgba(32, 136, 196, 0.25), 0 0 6px rgba(139, 92, 246, 0.15);
    transition: all 0.3s ease;
}
.nav .btn-primary.btn-small:hover {
    box-shadow: 0 0 30px rgba(32, 136, 196, 0.4), 0 0 12px rgba(139, 92, 246, 0.25);
    transform: translateY(-1px);
}

/* ---- Premium Project Cards ---- */
.project-card {
    position: relative;
    display: block;
    text-decoration: none;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-top: 2px solid var(--accent);
    overflow: hidden;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.45s ease, border-color 0.3s ease;
    cursor: pointer;
}
.project-card:hover {
    transform: translateY(-8px) scale(1.015);
    border-color: rgba(var(--accent-rgb), 0.3);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(var(--accent-rgb), 0.1);
}

/* Glow layer behind card */
.project-card-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(var(--accent-rgb), 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}
.project-card:hover .project-card-glow { opacity: 1; }

/* Animated shine sweep */
.project-card-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.04) 50%, transparent 70%);
    pointer-events: none;
    transition: none;
}
.project-card:hover .project-card-shine {
    animation: cardShine 0.8s ease forwards;
}
@keyframes cardShine {
    to { left: 150%; }
}

/* Inner content */
.project-card-inner {
    position: relative;
    z-index: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Header: icon + status */
.project-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}
.project-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}
.project-card:hover .project-card-icon {
    transform: scale(1.1) rotate(-3deg);
}

/* Status badge with pulse */
.project-card-status {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #34d399;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.project-card-status--dev { color: #facc15; }
.project-card-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #34d399;
    animation: statusPulse 2s ease-in-out infinite;
}
@keyframes statusPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
}

/* Title */
.project-card-title {
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.625rem;
    transition: color 0.3s ease;
    letter-spacing: -0.01em;
}
.project-card:hover .project-card-title {
    text-shadow: 0 0 20px rgba(var(--accent-rgb), 0.3);
}

/* Description */
.project-card-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

/* Tags */
.project-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.project-card-tags span {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--accent);
    background: rgba(var(--accent-rgb), 0.08);
    border: 1px solid rgba(var(--accent-rgb), 0.15);
    transition: all 0.3s ease;
}
.project-card:hover .project-card-tags span {
    background: rgba(var(--accent-rgb), 0.14);
    border-color: rgba(var(--accent-rgb), 0.3);
}

/* CTA */
.project-card-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    opacity: 0.6;
    transform: translateX(0);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.project-card:hover .project-card-cta {
    opacity: 1;
    transform: translateX(6px);
}
.project-card-cta svg {
    transition: transform 0.35s ease;
}
.project-card:hover .project-card-cta svg {
    transform: translateX(4px);
}

/* ---- Buttons ---- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, var(--brand-blue), var(--purple));
    color: white;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: hidden;
}
.btn-primary::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.6s ease;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(32, 136, 196, 0.3); }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    background: transparent;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9375rem;
    border: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
}
.btn-secondary:hover { color: var(--text-primary); border-color: var(--border-hover); background: rgba(255,255,255,0.04); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2); }

.btn-small {
    padding: 0.5rem 1.25rem;
    font-size: 0.8125rem;
}

/* ---- Section Styles ---- */
.section { position: relative; z-index: 1; padding: 5.5rem 1.5rem; }
.section-tight { padding: 3.5rem 1.5rem; }
.container { max-width: 1200px; margin: 0 auto; }
.container-narrow { max-width: 800px; margin: 0 auto; }

/* ---- Breadcrumbs ---- */
.breadcrumb {
    position: absolute;
    top: 5.5rem;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 0 1.5rem;
    font-size: 0.8125rem;
}
.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.breadcrumb a {
    color: var(--text-muted);
    transition: color 0.2s;
}
.breadcrumb a:hover {
    color: var(--brand-blue-light);
}
.breadcrumb span[aria-hidden] {
    color: var(--text-faint);
    font-size: 0.75rem;
}
.breadcrumb span[aria-current] {
    color: var(--text-secondary);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: rgba(32, 136, 196, 0.08);
    border: 1px solid rgba(32, 136, 196, 0.15);
    font-size: 0.75rem;
    color: var(--brand-blue-light);
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
}
.section-label .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-blue);
    animation: pulse 1.5s ease-in-out infinite;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}
.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 680px;
}

/* ---- Stat Cards ---- */
.stat-card {
    text-align: center;
    padding: 1.5rem;
    border-radius: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.stat-card:hover {
    background: rgba(32, 136, 196, 0.06);
    border-color: rgba(32, 136, 196, 0.2);
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 16px 40px rgba(32, 136, 196, 0.08);
}
.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    background: linear-gradient(135deg, #fff, var(--brand-blue-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

/* ---- Section Divider ---- */
.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(32, 136, 196, 0.2), rgba(139, 92, 246, 0.15), transparent);
    margin: 0;
    border: none;
}

/* ---- Glow Orb (hero accent) ---- */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    pointer-events: none;
    animation: float 8s ease-in-out infinite;
}
.hero-orb-1 {
    width: 400px;
    height: 400px;
    background: var(--brand-blue);
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}
.hero-orb-2 {
    width: 300px;
    height: 300px;
    background: var(--purple);
    top: 30%;
    right: -3%;
    animation-delay: -3s;
}
.hero-orb-3 {
    width: 250px;
    height: 250px;
    background: var(--cyan);
    bottom: 10%;
    left: 20%;
    animation-delay: -5s;
    opacity: 0.1;
}

/* ---- Hero Section ---- */
.hero {
    position: relative;
    padding-top: 7rem;
    padding-bottom: 4rem;
    overflow: hidden;
}
@media (min-width: 768px) {
    .hero {
        min-height: 80vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-top: 7rem;
    }
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    opacity: 0.45;
    pointer-events: none;
    z-index: 0;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 250px;
    background: linear-gradient(to bottom, transparent, var(--bg-primary));
    pointer-events: none;
    z-index: 0;
}
.hero > *:not(.hero-orb) { position: relative; z-index: 1; }

/* Page-specific hero backgrounds */
.hero-home::before { background-image: url('../images/hero-bg.jpg'); }
.hero-platform::before { background-image: url('../images/hero-platform.png'); }
.hero-swiftpay::before { background-image: url('../images/hero-swiftpay.png'); }
.hero-office::before { background-image: url('../images/hero-office.png'); }
.hero-projects::before { background-image: url('../images/hero-projects.png'); }
.hero-about::before { background-image: url('../images/hero-about.png'); }
.hero-contact::before { background-image: url('../images/hero-contact.png'); }

/* Subpage heroes — shorter height */
.hero-platform, .hero-swiftpay, .hero-office,
.hero-projects, .hero-about, .hero-contact {
    padding-top: 8rem;
    padding-bottom: 5rem;
}
@media (min-width: 768px) {
    .hero-platform, .hero-swiftpay, .hero-office,
    .hero-projects, .hero-about, .hero-contact {
        min-height: 48vh;
    }
}

.hero-headline {
    font-size: clamp(2.5rem, 6vw, 4.25rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.025em;
    color: #fff;
    margin-bottom: 1.5rem;
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
}
.hero-headline .highlight {
    color: var(--brand-blue-light);
}
.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 40rem;
    margin: 0 auto 2.5rem;
}
@media (min-width: 768px) {
    .hero-subtitle { font-size: 1.25rem; }
}

/* ---- Image Styles ---- */
.feature-block img {
    border-radius: 1rem;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.6s ease;
    will-change: transform;
}
.feature-block img:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
section img {
    border-radius: 1rem;
}

/* ---- Tags / Badges ---- */
.tag {
    display: inline-flex;
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}
.tag-blue { background: rgba(32, 136, 196, 0.1); color: var(--brand-blue-light); }
.tag-purple { background: rgba(124, 58, 237, 0.1); color: #a78bfa; }
.tag-cyan { background: rgba(6, 182, 212, 0.1); color: #22d3ee; }
.tag-pink { background: rgba(236, 72, 153, 0.1); color: #f472b6; }
.tag-green { background: rgba(16, 185, 129, 0.1); color: #34d399; }

/* ---- Product Status Badge ---- */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 500;
}
.status-active { background: rgba(16, 185, 129, 0.1); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.2); }
.status-development { background: rgba(234, 179, 8, 0.1); color: #fbbf24; border: 1px solid rgba(234, 179, 8, 0.2); }
.status-planning { background: rgba(124, 58, 237, 0.1); color: #a78bfa; border: 1px solid rgba(124, 58, 237, 0.2); }

/* ---- Divider ---- */
.divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
    margin: 0 auto;
}

/* ---- Feature Blocks ---- */
.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
}
.feature-block.reverse { direction: rtl; }
.feature-block.reverse > * { direction: ltr; }

.feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

/* ---- Comparison Table ---- */
.compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}
.compare-table th {
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.8125rem;
    font-weight: 600;
    text-align: left;
    border-bottom: 1px solid var(--border-subtle);
}
.compare-table td {
    padding: 0.875rem 1.25rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-subtle);
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .highlight { background: rgba(32, 136, 196, 0.04); }

/* ---- Timeline ---- */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--brand-blue), var(--purple), var(--pink));
}
.timeline-item { position: relative; padding-bottom: 3rem; }
.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.25rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--brand-blue);
    border: 2px solid var(--bg-primary);
    transform: translateX(-4px);
}

/* ---- Footer ---- */
.footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border-subtle);
    padding: 4rem 1.5rem 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-link {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-bottom: 0.625rem;
    transition: color 0.2s ease, padding-left 0.25s ease;
}
.footer-link:hover { color: var(--text-primary); padding-left: 4px; }
.footer-heading {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1.25rem;
}
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* ---- Mobile Menu ---- */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(6, 6, 16, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}
.mobile-menu-overlay.open {
    transform: translateX(0);
}
@media (min-width: 1024px) {
    .mobile-menu-overlay { display: none; }
}
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}
.mobile-menu-body {
    flex: 1;
    overflow-y: auto;
    padding: 2rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
    align-content: start;
}
.mobile-menu-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.mobile-menu-link {
    display: block;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-subtle);
    transition: color 0.2s ease, padding-left 0.2s ease;
}
.mobile-menu-link:hover,
.mobile-menu-link.active { color: var(--text-primary); padding-left: 4px; }
.mobile-menu-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-subtle);
}

/* ---- Forms ---- */
.form-input {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-size: 0.875rem;
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
}
.form-input:focus { border-color: rgba(32, 136, 196, 0.4); background: rgba(255, 255, 255, 0.04); }
.form-input::placeholder { color: var(--text-faint); }
select.form-input { appearance: none; cursor: pointer; }
select.form-input option, select option { color: #1e293b; background: #fff; }
textarea.form-input { resize: vertical; min-height: 120px; }

/* ---- Scroll-to-Top Button ---- */
.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 90;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(32, 136, 196, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(32, 136, 196, 0.25);
    color: var(--brand-blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    cursor: pointer;
}
.scroll-top-btn.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.scroll-top-btn:hover {
    background: rgba(32, 136, 196, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(32, 136, 196, 0.2);
}

/* ---- Responsive ---- */

/* Desktop+ */
@media (min-width: 1280px) {
    .container { max-width: 1200px; }
}

/* Laptop / Small desktop */
@media (max-width: 1024px) {
    .feature-block { grid-template-columns: 1fr; gap: 2rem; }
    .feature-block.reverse { direction: ltr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .section { padding: 4.5rem 1.5rem; }
    .section-tight { padding: 3rem 1.5rem; }
}

/* Tablet */
@media (max-width: 768px) {
    .section { padding: 3rem 1.25rem; }
    .section-tight { padding: 2rem 1.25rem; }
    .section-title { margin-bottom: 1rem; }
    .section-subtitle { font-size: 1rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .footer { padding: 3rem 1.25rem 1.5rem; }
    .compare-table th,
    .compare-table td { padding: 0.625rem 0.75rem; font-size: 0.75rem; }
    .stat-number { font-size: 1.5rem; }
    .stat-card { padding: 1.25rem; }
    .timeline { padding-left: 1.5rem; }
    .timeline-item { padding-bottom: 2rem; }
    .btn-primary,
    .btn-secondary { padding: 0.75rem 1.5rem; font-size: 0.875rem; }
    .card { border-radius: 1rem; }
    .feature-block { padding: 2.5rem 0; }
    .nav-link::after { display: none; }
    .scroll-top-btn { bottom: 1.5rem; right: 1.5rem; width: 40px; height: 40px; }
}

/* Mobile */
@media (max-width: 480px) {
    .section { padding: 3rem 1rem; }
    .section-tight { padding: 2rem 1rem; }
    .section-title { font-size: 1.5rem; }
    .section-subtitle { font-size: 0.9375rem; }
    .footer { padding: 2.5rem 1rem 1.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .card { border-radius: 0.875rem; }
    .stat-card { padding: 1rem; }
    .stat-number { font-size: 1.25rem; }
    .stat-label { font-size: 0.6875rem; }
    .tag { font-size: 0.625rem; padding: 0.25rem 0.5rem; }
    .btn-primary,
    .btn-secondary { width: 100%; justify-content: center; padding: 0.875rem 1.5rem; }
    .compare-table th,
    .compare-table td { padding: 0.5rem 0.5rem; font-size: 0.6875rem; }
    .timeline { padding-left: 1.25rem; }
    .timeline-item::before { left: -1.25rem; }
    .feature-block { padding: 2rem 0; gap: 1.5rem; }
    .scroll-top-btn { bottom: 1rem; right: 1rem; }
}

/* Touch device — disable hover transforms */
@media (hover: none) {
    .card:hover { transform: none; box-shadow: none; }
    .feature-block img:hover { transform: none; box-shadow: none; }
    .btn-primary:hover { transform: none; }
    .btn-primary::before { display: none; }
    .btn-secondary:hover { transform: none; box-shadow: none; }
    .stat-card:hover { transform: none; }
    .footer-link:hover { padding-left: 0; }
}

/* Table responsive wrapper */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 1rem;
}

/* Selection color */
::selection {
    background: rgba(32, 136, 196, 0.3);
    color: #fff;
}
