:root {
    --ink: #f3f4f6;
    --muted: #9ca3af;
    --line: rgba(255, 255, 255, 0.05);
    --soft: #060913;
    --panel: rgba(17, 24, 39, 0.45);
    --navy: #0f2c4c;
    --blue: #3b82f6;
    --cyan: #06b6d4;
    --green: #10b981;
    --orange: #f59e0b;
    --shadow: 0 18px 48px rgba(0, 0, 0, 0.5);
}

* {
    letter-spacing: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--ink);
    background-color: var(--soft);
    background-image: 
        radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.12) 0px, transparent 45%),
        radial-gradient(at 100% 100%, rgba(16, 185, 129, 0.08) 0px, transparent 45%);
    background-attachment: fixed;
}

/* ── Translucent Navbar ── */
.navbar {
    background: rgba(6, 9, 19, 0.75) !important;
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}

.navbar-brand img {
    height: 58px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
}

.nav-link {
    color: var(--muted) !important;
    font-weight: 700;
    font-size: 0.94rem;
}

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

/* ── Buttons ── */
.btn-brand {
    background: linear-gradient(135deg, var(--blue), var(--green));
    border: 0;
    color: #fff;
    box-shadow: 0 12px 28px rgba(59, 130, 246, 0.35);
}

.btn-brand:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(59, 130, 246, 0.45);
}

.btn-soft {
    background: rgba(59, 130, 246, 0.1);
    color: white;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.btn-soft:hover {
    background: rgba(59, 130, 246, 0.2);
    color: white;
}

.btn-outline-light {
    color: white;
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
}

.btn-outline-light:hover {
    color: var(--soft);
    background: white;
    border-color: white;
}

.section {
    padding: 84px 0;
}

.section-tight {
    padding: 64px 0;
}

/* ── Glowing Hero Section ── */
.hero {
    position: relative;
    color: var(--ink);
    background: linear-gradient(135deg, rgba(6, 9, 19, 0.95), rgba(17, 24, 39, 0.82)), url('smart-home-control.jpg') center/cover no-repeat;
    overflow: hidden;
}

.page-hero {
    color: var(--ink);
    background: linear-gradient(135deg, rgba(6, 9, 19, 0.95), rgba(17, 24, 39, 0.82)), url('smart-home-control.jpg') center/cover no-repeat;
}

.hero .section {
    min-height: 680px;
    display: flex;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(6, 182, 212, 0.15);
    color: var(--cyan);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
    font-size: clamp(2.6rem, 5vw, 5rem);
    line-height: 1.05;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(to right, #ffffff, #e5e7eb, #9ca3af);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p,
.page-hero p {
    color: var(--muted);
    max-width: 760px;
}

.quick-strip {
    margin-top: -44px;
    position: relative;
    z-index: 2;
}

/* ── Glassmorphic Cards ── */
.quick-card,
.card-clean,
.service-card,
.catalog-card,
.blog-card,
.trust-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.quick-card {
    padding: 28px;
    height: 100%;
}

.quick-card:hover,
.service-card:hover,
.catalog-card:hover,
.blog-card:hover,
.trust-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.quick-card strong {
    display: block;
    font-size: 1.05rem;
    color: white;
}

.section-title {
    max-width: 760px;
}

.section-title h2 {
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: white;
}

.service-card {
    padding: 32px;
}

.service-card h3,
.catalog-card h3,
.blog-card h3,
.trust-card h3 {
    color: white;
    font-family: 'Outfit', sans-serif;
}

.service-card p,
.catalog-card p,
.blog-card p,
.trust-card p {
    color: var(--muted);
}

.icon-box {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--blue);
    font-size: 1.2rem;
    margin-bottom: 18px;
}

.catalog-card img,
.blog-card img,
.wide-image {
    width: 100%;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--line);
}

.catalog-card img,
.blog-card img {
    height: 235px;
}

/* ── Prose and Articles ── */
.article-prose {
    font-size: 1.04rem;
    line-height: 1.9;
}

.article-prose h2,
.article-prose h3 {
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: white;
    margin-top: 34px;
}

.article-prose p,
.article-prose li {
    color: var(--muted);
}

.article-note {
    border-left: 4px solid var(--blue);
    background: rgba(59, 130, 246, 0.08);
    border-radius: 12px;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    border-right: 1px solid rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.card-body-pad {
    padding: 28px;
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 800;
}

/* ── Glowing Dark Band ── */
.dark-band {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.06), rgba(16, 185, 129, 0.06));
    color: var(--ink);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.dark-band p,
.dark-band li {
    color: var(--muted);
}

.protocol-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.protocol-item {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--panel);
    color: var(--ink);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.contact-card {
    padding: 32px;
}

/* ── Form Inputs ── */
.form-control,
.form-select {
    background: rgba(6, 9, 19, 0.6);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px 15px;
    color: white;
}

.form-control:focus,
.form-select:focus {
    background: rgba(6, 9, 19, 0.8);
    border-color: var(--blue);
    color: white;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.25);
}

/* ── Premium Aligned Footer ── */
.footer {
    background: rgba(4, 6, 12, 0.85);
    color: var(--muted);
    border-top: 1px solid var(--line);
}

.footer a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer a:hover {
    color: white;
}

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    text-decoration: none;
    box-shadow: 0 16px 30px rgba(37, 211, 102, 0.3);
    z-index: 1000;
}

@media (max-width: 991.98px) {
    .hero .section {
        min-height: auto;
        padding-top: 92px;
        padding-bottom: 120px;
    }

    .protocol-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .section {
        padding: 64px 0;
    }

    .protocol-grid {
        grid-template-columns: 1fr;
    }
}
