.device-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.device-hero {
    background: radial-gradient(circle at 20% 20%, rgba(105, 185, 255, 0.3), transparent),
        linear-gradient(135deg, #03122b 0%, #0a2754 55%, #0f3a7d 100%);
    color: #fff;
    padding: 140px 0 90px;
}

.hero-copy p a {
    color: #8ae3ff;
}

.hero-copy h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-copy p {
    font-size: 1.1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.85);
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.2rem;
    margin: 1.8rem 0;
}

.hero-metrics strong {
    display: block;
    font-size: 1.9rem;
    font-weight: 700;
    color: #7fe1ff;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.75);
}

.btn-primary {
    border: none;
    border-radius: 999px;
    background: linear-gradient(120deg, #00c8ff, #6b9bff);
    color: #031126;
    padding: 0.9rem 2.4rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 181, 255, 0.35);
}

.hero-board {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.board-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    padding: 1.5rem;
}

.board-card.highlight {
    background: rgba(0, 200, 255, 0.18);
    border-color: rgba(0, 200, 255, 0.45);
}

.device-insights {
    background: #f5f8ff;
    padding: 80px 0;
}

.section-head {
    text-align: center;
    margin-bottom: 2rem;
}

.section-head h2 {
    font-size: 2.4rem;
    margin-bottom: 0.6rem;
    color: #0b2450;
}

.section-head p {
    color: #4d5f73;
}

.section-head.light h2,
.section-head.light p {
    color: #fff;
}

.insight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
}

.insight-grid article {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid #d8e4ff;
    box-shadow: 0 12px 28px rgba(8, 25, 60, 0.08);
}

.device-pipeline {
    background: #fff;
    padding: 80px 0;
}

.pipeline-flow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.pipeline-flow article {
    border-radius: 20px;
    border: 1px dashed rgba(0, 136, 255, 0.4);
    background: #edf4ff;
    padding: 1.4rem;
}

.pipeline-flow .step {
    font-size: 0.85rem;
    color: #0d6efd;
    letter-spacing: 0.1em;
}

.device-capabilities {
    background: linear-gradient(120deg, #031533, #063866);
    color: #fff;
    padding: 80px 0;
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
}

.capability-grid article {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    padding: 1.6rem;
}

.device-proof {
    background: #f4f7fb;
    padding: 70px 0;
}

.proof-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
}

.proof-cards article {
    background: #fff;
    border-radius: 18px;
    padding: 1.8rem;
    border: 1px solid #dfe7ff;
    text-align: center;
    box-shadow: 0 12px 28px rgba(9, 22, 55, 0.08);
}

.proof-cards strong {
    font-size: 2.3rem;
    color: #0f3a7d;
    display: block;
    margin-bottom: 0.4rem;
}

.device-templates {
    background: #fff;
    padding: 80px 0;
}

.template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
}

.template-grid article {
    border-radius: 16px;
    border: 1px solid #d8e4ff;
    padding: 1.5rem;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.device-cta {
    background: linear-gradient(120deg, #0c1f3f, #1370c4);
    color: #fff;
    padding: 70px 0;
}

.device-cta .device-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

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

.cta-list li {
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.cta-list li::before {
    content: "✓";
    color: #7fe1ff;
    margin-right: 0.5rem;
}

.modal-qr img {
    width: 220px;
    border-radius: 10px;
    border: 3px solid rgba(0, 200, 255, 0.3);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(120deg, #00c8ff, #6b9bff);
    color: #031126;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(3, 17, 38, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .device-cta .device-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-ctas span {
        padding-left: 0;
    }

    .hero-board,
    .insight-grid,
    .pipeline-flow,
    .capability-grid,
    .proof-cards,
    .template-grid {
        grid-template-columns: 1fr;
    }
}

