:root {
  /* Oranges */
  --orange-primary: #E96D1C;
  --orange-shade-1: #EA7819;
  --orange-shade-2: #EB8317;
  --orange-yellow: #EEB00D;

  /* Greens - Group 1 */
  --green-primary: #87B13E;
  --green-shade-1: #A1B132;
  --green-shade-2: #BBB126;

  /* Greens - Group 2 */
  --green-tint-1: #9BB93E;
  --green-tint-2: #AEC23D;
  --green-light: #C2CA3D;

  --bg: #E9E9E9;
  --dark: #2D2D2D;
  --gray: #D1D1D1;
  --white: #FFFFFF;

  --font-display: 'Coolvetica', sans-serif;
  --font-ui: 'Montserrat', sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-ui);
  background-color: var(--bg);
  background-image: radial-gradient(var(--gray) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--dark);
}

body a {
  color: inherit;
}

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: var(--white);
  border-bottom: 1px solid var(--gray);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.tagline {
  font-weight: 700;
  font-style: italic;
  font-size: 0.85rem;
  color: var(--orange-primary);
}

.nav-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  transition: color 0.2s, background 0.2s;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
}

.nav-links a:hover {
  background: rgba(135, 177, 62, 0.1);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2.5rem;
  padding: 2rem;
  border-radius: 1.5rem;
  background-image: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.8));
  border: 1px solid rgba(209, 209, 209, 0.8);
  box-shadow: 0 24px 48px rgba(0,0,0,0.06);
}

.hero h1,
.card h2,
.section-grid h2,
.summary-card h3,
.settings-card h2 {
  font-family: var(--font-display);
  color: var(--orange-primary);
}

.hero h1 {
  font-size: clamp(2.25rem, 3vw, 3.5rem);
  margin-bottom: 0.75rem;
}

.hero h1 .orange {
  color: var(--orange-primary);
}

.hero p {
  font-size: 1.05rem;
  max-width: 34rem;
  margin-bottom: 1.25rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.badge {
  background: rgba(135, 177, 62, 0.12);
  color: var(--green-primary);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-image-frame {
  border-radius: 1.4rem;
  overflow: hidden;
  border: 1px solid rgba(209, 209, 209, 0.8);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  background: white;
}

.hero-image-frame img {
  display: block;
  width: 100%;
  max-width: 540px;
  height: auto;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.asset-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  align-items: center;
}

.asset-card img {
  width: 100%;
  max-width: 110px;
  border-radius: 12px;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.asset-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-mark {
  height: 4rem;

  object-fit: cover;

}

@media (max-width: 900px) {
  .hero,
  .section-grid,
  .settings-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 1.5rem;
  }

  .brand-mark {
    flex-direction: row;
  }

  .hero-image-frame img {
    max-width: 100%;
  }
}

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

.about-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.value-item {
  background: rgba(135, 177, 62, 0.05);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid rgba(135, 177, 62, 0.2);
}

.value-item h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  color: var(--green-primary);
}

.logo-explanation {
  background: rgba(233, 105, 28, 0.05);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid rgba(233, 105, 28, 0.2);
  text-align: left;
}

.footer {
  background: var(--dark);
  color: white;
  padding: 2rem 0;
  margin-top: 3rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-brand .logo-text {
  color: white;
}

.footer-brand .tagline {
  color: var(--orange-primary);
}

.footer-legal p {
  margin: 0.25rem 0;
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

.ops-grid,
.section-grid,
.summary-grid {
  display: grid;
  gap: 1.5rem;
}

.ops-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  margin-bottom: 2rem;
}

.section-grid {
  grid-template-columns: 1fr 1fr;
  margin-bottom: 2rem;
}

.summary-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 2rem;
}

.card,
.budget-table,
.settings-card {
  background: var(--white);
  border: 2px solid var(--dark);
  box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.05);
  padding: 1.75rem;
  border-radius: 2px;
}

.card h2,
.settings-card h2,
.budget-table h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--gray);
  border-radius: 4px;
  font-family: var(--font-ui);
  font-size: 1rem;
}

.form-group select {
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green-primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border: none;
  border-radius: 4px;
  padding: 0.85rem 1.4rem;
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font-ui);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.btn-primary {
  background: linear-gradient(to bottom, var(--green-tint-1), var(--green-primary));
  color: white;
  box-shadow: inset 0 1px 0 white;
}

.btn-secondary {
  background: var(--gray);
  color: var(--dark);
}

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

.system-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(209, 209, 209, 0.6);
}

.system-list li:last-child {
  border-bottom: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.pill.stable { background: var(--green-primary); color: white; }
.pill.provisioning { background: var(--orange-primary); color: white; }
.pill.active { background: var(--green-tint-2); color: white; }
.pill.maintenance { background: var(--gray); color: var(--dark); }

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 100%;
}

.data-table th,
.data-table td {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--gray);
  text-align: left;
}

.data-table th {
  background: rgba(233, 233, 233, 0.6);
  font-weight: 700;
}

.data-table tbody tr:hover {
  background: rgba(0,0,0,0.03);
}

.summary-card {
  text-align: center;
}

.summary-card h3 {
  margin-bottom: 1rem;
}

.amount {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
}

.amount.income { color: var(--green-primary); }
.amount.expense { color: var(--orange-primary); }
.amount.balance { color: var(--dark); }

.settings-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr 1fr;
}

.setting-panel h3 {
  margin-top: 0;
}

.preference {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.preference input {
  width: 18px;
  height: 18px;
}

@media (max-width: 900px) {
  .hero,
  .section-grid,
  .settings-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 1.5rem;
  }

  .brand-mark {
    flex-direction: row;
  }

  .hero-image-frame img {
    max-width: 100%;
  }
}

/* MangoCorp Symbol Placeholder */
.logo-placeholder {
  width: 40px; height: 40px;
  background: var(--orange-primary);
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); /* Hexagonal Mango-ish shape */
  border-left: 4px solid var(--orange-yellow); /* Bracket representation */
}
