:root {
  /* Primary Brand Colors */
  --accent: #720824;
  --accent-rgb: 114, 8, 36;
  --sub-accent: #17647b;
  --sub-accent-rgb: 23, 100, 123;
  /* UI Palette */
  --color-1: #184672;
  --color-2: #CD9B18;
  --color-3: #e5e5e5;
  --logo-bg: #e5e5e5e8;
  --color-bg: #1a1a1a;
  /* Darker background to make floating icons pop */

  /* Trendy Effects */
  --glass: rgba(255, 255, 255, 0.95);
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background-color: var(--accent);
  /* Solid brand background */
}

/* Enhanced Background Effects */
body::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 90% 90%, rgba(0, 0, 0, 0.2) 0%, transparent 40%);
  z-index: -1;
}

/* Floating Background Icons - Higher Visibility */
.floating-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-icon {
  position: absolute;
  fill: rgba(255, 255, 255, 0.15);
  /* Increased opacity for visibility */
  animation: floatIcon var(--duration) ease-in-out infinite alternate;
}

@keyframes floatIcon {
  0% {
    transform: translateY(0) rotate(0deg) scale(1);
  }

  100% {
    transform: translateY(-40px) rotate(20deg) scale(1.1);
  }
}

.icon-1 {
  top: 4%;
  left: 8%;
  --duration: 6s;
  width: 120px;
}

.icon-2 {
  top: 22%;
  right: 10%;
  --duration: 8s;
  width: 90px;
}

.icon-3 {
  bottom: -12%;
  left: 15%;
  --duration: 7s;
  width: 140px;
}

.icon-4 {
  bottom: 12%;
  right: 12%;
  --duration: 9s;
  width: 110px;
}

.icon-5 {
  top: 45%;
  left: 5%;
  --duration: 11s;
  width: 70px;
}

.app-view {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  position: relative;
  z-index: 10;
}

.phone-frame {
  width: 100%;
  max-width: 800px;
  height: 100%;
  max-height: 820px;
  border-radius: 3rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  animation: appFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes appFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Inverted Header: White background so the Maroon Logo shows up */
.app-header {
  padding: 3rem 2rem 2.5rem;
  text-align: center;
  color: var(--accent);
  border-bottom: 4px solid var(--accent);
  position: relative;
  height: 30vh;
}

.logo-box {
  background: var(--logo-bg);
  border-radius: 1.5rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
  animation: logoFloat 4s ease-in-out infinite;
}

.logo-box img {
  width: auto;
  height: 20vh;
}

@keyframes logoFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(8px);
  }
}

.logo-box svg {
  width: 55px;
  fill: var(--accent);
}

h1 {
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--accent);
}

.subtitle {
  font-size: 0.7rem;
  color: #666;
  letter-spacing: 4px;
  margin-top: 0.6rem;
  font-weight: 700;
  display: block;
}

/* Body Area */
.app-body {
  flex: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-radius: 24px;
  justify-content: center;
  z-index: 2;
}

.action-card {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 1.0rem;
  background: white;
  padding: 1.0rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: var(--transition);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.action-card:hover {
  transform: translateX(5px);
  border-color: var(--accent);
  box-shadow: 0 10px 20px rgba(var(--accent-rgb), 0.1);
}

.icon-wrap {
  width: 48px;
  height: 48px;
  background: rgba(var(--accent-rgb), 0.06);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.action-card:hover .icon-wrap {
  background: var(--accent);
  transform: rotate(-5deg);
}

.action-card:hover .icon-wrap svg {
  fill: white;
}

.icon-wrap svg {
  width: 22px;
  fill: var(--color-1);
  transition: var(--transition);
}

.card-text {
  display: flex;
  flex-direction: column;
}

.card-label {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--sub-accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.card-value {
  font-size: 0.88rem;
  font-weight: 600;
  color: #333;
  line-height: 1.3;
}

/* Bottom Footer Area */
.app-footer {
  padding: 1.5rem;
  background: white;
  text-align: center;
  border-top: 1px solid #eee;
}

.motto {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 3px;
  color: #bbb;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.btn {
  text-decoration: none;
  padding: 1.1rem;
  border-radius: 1.2rem;
  font-weight: 800;
  font-size: 0.8rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 6px 15px rgba(var(--accent-rgb), 0.3);
}

.btn-secondary {
  background: #f0f0f0;
  color: var(--accent);
}

.btn:active {
  transform: scale(0.95);
}

@media (max-height: 700px) {
  .phone-frame {
    border-radius: 0;
    border: none;
    max-height: 100%;
  }

  .app-header {
    padding: 1.5rem 1rem;
  }

  .logo-box {
    margin-bottom: 0.8rem;
  }

  .logo-box svg {
    width: 35px;
  }

  .app-body {
    padding: 1rem;
  }
}