/* --- SECTION CONTAINER --- */
.app-section {
  background: linear-gradient(135deg, var(--brand-red), #990000);
  color: white;
  padding: 80px 0;
  overflow: hidden;
  position: relative;
}

/* Background Texture Overlay */
.app-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  background-image: url("https://www.transparenttextures.com/patterns/carbon-fibre.png");
  pointer-events: none;
}

.app-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 2;
}

/* --- TEXT CONTENT --- */
.app-content h2 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.1;
}
.app-desc {
  font-size: 18px;
  color: white;
  margin-bottom: 32px;
  max-width: 450px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-weight: 500;
  font-size: 15px;
}
.check-list i {
  font-size: 20px;
  color: white;
}

/* --- STORE BUTTONS --- */
.store-buttons {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.btn-store {
  background: black;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.btn-store:hover {
  background: #1a1a1a;
  transform: translateY(-3px);
}
.btn-store i {
  font-size: 28px;
}
.store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}
.store-text span {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.8;
}
.store-text strong {
  font-size: 14px;
  margin-top: 2px;
}

/* --- RIGHT SIDE: CSS PHONE MOCKUP --- */
.app-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.css-phone {
  position: relative;
  width: 280px;
  height: 500px;
  background-color: #111827; /* Gray 900 */
  border: 14px solid #111827;
  border-radius: 2.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); /* Deep Shadow */
  margin: 0 auto;
  /* Optional: Add float animation here if desired */
  /* animation: floatPhone 6s ease-in-out infinite; */
}

/* Hardware Buttons */
.phone-btn {
  position: absolute;
  background-color: #1f2937; /* Gray 800 */
  border-radius: 4px;
}
.btn-silent {
  width: 3px;
  height: 32px;
  left: -17px;
  top: 72px;
}
.btn-vol-up {
  width: 3px;
  height: 46px;
  left: -17px;
  top: 124px;
}
.btn-vol-down {
  width: 3px;
  height: 46px;
  left: -17px;
  top: 178px;
}
.btn-power {
  width: 3px;
  height: 64px;
  right: -17px;
  top: 142px;
}

/* Screen */
.phone-screen {
  width: 100%;
  height: 100%;
  background-color: white;
  border-radius: 2rem;
  overflow: hidden;
  position: relative;
}

.screen-content {
  background-color: #f8fafc; /* Slate 50 */
  height: 100%;
  padding: 16px;
  display: flex;
  flex-direction: column;
}

/* App Header UI */
.app-ui-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  color: #1e293b;
}

.app-ui-header i {
  font-size: 20px;
}
.app-logo-text {
  font-weight: 800;
  color: var(--brand-red);
  font-size: 14px;
  letter-spacing: 0.5px;
}

/* App Active Card */
.app-ui-card {
  background-color: var(--brand-red);
  color: white;
  padding: 16px;
  border-radius: 16px;
  margin-bottom: 16px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.app-ui-card h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}
.app-ui-card p {
  font-size: 11px;
  color: #fecaca;
  margin-bottom: 12px;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  overflow: hidden;
}

.progress-fill {
  width: 65%;
  height: 100%;
  background-color: white;
  border-radius: 10px;
}

/* App Grid UI */
.app-ui-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.grid-item {
  background-color: white;
  border-radius: 12px;
  height: 100px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
  .app-split {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .store-buttons {
    justify-content: center;
  }
  .check-list {
    display: inline-block;
    text-align: left;
  }
  .css-phone {
    margin-top: 20px;
  }
}
