/* ================================================
   DEVICES PAGE — Hero Section CSS
   ================================================ */

.devices-hero {
  padding-top: 128px;
  padding-bottom: 96px;
  background: linear-gradient(135deg, #0a1628 0%, rgba(46, 139, 87, 0.85) 100%);
  color: #ffffff;
  overflow: hidden;
  position: relative;
}

.devices-hero__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
  position: relative;
  z-index: 10;
}
@media (min-width: 640px)  { .devices-hero__container { padding: 0 24px; } }
@media (min-width: 1024px) { .devices-hero__container { padding: 0 32px; } }

.devices-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1024px) {
  .devices-hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

.devices-hero__text h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 24px;
}

.devices-hero__text p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.70);
  margin-bottom: 32px;
  max-width: 560px;
  line-height: 1.75;
}

.devices-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: #2DA06D;
  color: #ffffff;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(45,160,109,0.28);
  transition: all 0.2s ease;
}
.devices-hero__cta:hover {
  background: rgba(45,160,109,0.90);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(45,160,109,0.40);
  color: #ffffff;
  text-decoration: none;
}

.devices-hero__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.40);
  border: 1px solid rgba(255,255,255,0.10);
}

@keyframes slideLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

.animate-slide-left {
  animation: slideLeft 0.5s ease both;
}

.animate-scale-in {
  animation: scaleIn 0.5s ease 0.2s both;
}

/* ================================================
   DEVICES PAGE — In-House Designed Devices CSS
   ================================================ */

.sec-inhouse {
  padding: 96px 0;
  background: #f7f9fb;
  border-bottom: 1px solid #e5e9ef;
}

.sec-inhouse .sec-header {
  text-align: center;
  margin-bottom: 64px;
}

.sec-inhouse .sec-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--riab-heading);
  line-height: 1.2;
  margin: 0;
}

.inhouse-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 640px)  { .inhouse-container { padding: 0 24px; } }
@media (min-width: 1024px) { .inhouse-container { padding: 0 32px; } }

.inhouse-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .inhouse-grid { grid-template-columns: repeat(2, 1fr); }
}

.device-card {
  background: #ffffff;
  border: 1px solid #e5e9ef;
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.device-card:hover {
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}

.device-card__inner {
  display: grid;
  grid-template-columns: 1fr;
  height: 100%;
}

@media (min-width: 768px) {
  .device-card__inner {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.device-card__content {
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.device-card__icon {
  width: 64px;
  height: 64px;
  background: rgba(45,160,109,0.10);
  color: #2DA06D;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
  flex-shrink: 0;
}

.device-card__content h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0a1628;
  margin-bottom: 12px;
}

.device-card__content > p {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 24px;
}

.device-card__features {
  margin-bottom: 28px;
}

.device-card__features h4 {
  font-size: 0.75rem;
  font-weight: 700;
  color: #1f2937;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.device-card__features ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.device-card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #6b7280;
}

.dot {
  width: 6px;
  height: 6px;
  background: #2DA06D;
  border-radius: 50%;
  flex-shrink: 0;
}

.device-card__badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(45,160,109,0.10);
  color: #2DA06D;
  font-weight: 600;
  font-size: 0.82rem;
  border-radius: 8px;
  border: 1px solid rgba(45,160,109,0.20);
  margin-top: auto;
}

.device-card__image {
  height: 100%;
  display: flex;
}
@media (min-width: 768px) {
  .device-card__image { min-height: 0; }
}

.device-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.device-card:hover .device-card__image img {
  transform: scale(1.04);
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================
   DEVICES PAGE — Supported Devices CSS
   ================================================ */
.supported-devices {
    padding: 100px 0;
    background: #ffffff;
}

.supported-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.sec-header {
    text-align: center;
    margin-bottom: 60px;
}

.sec-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #0f172a;
}

.devices-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.devices-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: 0.3s;
}

.devices-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.devices-icon {
    width: 60px;
    height: 60px;
    margin: auto;
    background: #ffffff;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.devices-icon i {
    font-size: 24px;
    color: #2DA06D;
}

.devices-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0f172a;
}

.devices-card p {
    font-size: 14px;
    color: #64748b;
}

@media (max-width: 1024px) {
    .devices-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .devices-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================
   DEVICES PAGE — Built from the Ground Up CSS
   ================================================ */
.built-section{
    padding:100px 0;
    background: linear-gradient(135deg, #0a1628 0%, rgba(46, 139, 87, 0.85) 100%);
    color:#fff;
}

.built-container{
    max-width:1200px;
    margin:auto;
    padding:0 20px;
}

.built-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

.built-content h2{
    font-size:36px;
    font-weight:700;
    margin-bottom:40px;
}

.built-list{
    list-style:none;
    padding:0;
}

.built-list li{
    display:flex;
    align-items:center;
    gap:16px;
    margin-bottom:22px;
    font-size:18px;
    color:rgba(255,255,255,0.8);
}

.check{
    width:32px;
    height:32px;
    border-radius:50%;
    background:rgba(255,255,255,0.1);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#22c55e;
    font-weight:bold;
}

.built-image{
    border-radius:24px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,0.1);
    box-shadow:0 20px 40px rgba(0,0,0,0.3);
}

.built-image img{
    width:100%;
    height:auto;
    display:block;
}

@media(max-width:992px){

.built-grid{
    grid-template-columns:1fr;
}

.built-content{
    text-align:center;
}

.built-list li{
    justify-content:center;
}

}

