/* ========================================
   Amanah Essentials – Global Stylesheet
   ======================================== */

:root {
  --bg-page: #f5f5f5;
  --bg-card: #ffffff;
  --bg-accent: #f7f2e9;
  --border-soft: #e5e5e5;
  --text-main: #1f2933;
  --text-muted: #5f6c72;
  --brand-teal: #0f7f85;
  --brand-gold: #f0c75e;
  --radius-lg: 16px;
  --shadow-soft: 0 12px 30px rgba(15, 33, 37, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: var(--bg-page);
  color: var(--text-main);
}

/* Layout root background */
.app-root {
  min-height: 100vh;
  background: radial-gradient(
    circle at top left,
    #f7f2e9 0,
    #f5f5f5 40%,
    #f5f5f5 100%
  );
}

.page-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px 40px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ========================================
   Header
   ======================================== */

header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  background: rgba(245, 245, 245, 0.95);
  backdrop-filter: blur(10px);
}

.header-nav {
  display: flex;
  gap: 18px;
  font-size: 0.9rem;
}

.header-link {
  cursor: pointer;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 600;
  font-size: 0.75rem;
}

.header-link:hover {
  color: var(--brand-teal);
}

/* ========================================
   Sections
   ======================================== */

main {
  flex: 1;
}

.section {
  padding: 40px 0;
}

.hero {
  padding-top: 32px;
}

.hero-subtitle {
  max-width: 720px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.section-title {
  font-size: 1.4rem;
  margin: 0 0 12px;
}

/* ========================================
   Brands Grid & Cards
   ======================================== */

.brands-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

@media (min-width: 840px) {
  .brands-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 127, 133, 0.04);
}

.brand-card-logo {
  margin-bottom: 12px;
}

.brand-logo-img {
  max-width: 180px;
  height: auto;
  display: block;
}

.brand-logo-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px dashed rgba(15, 127, 133, 0.4);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.brand-name {
  font-weight: 700;
  margin-bottom: 4px;
}

.brand-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.badge-soon {
  background: rgba(240, 199, 94, 0.15);
  color: #825600;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: var(--brand-teal);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: 6px;
}

.btn-primary:hover {
  background: #0c656a;
}

.brand-card-footer {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ========================================
   Contact Section
   ======================================== */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

@media (min-width: 840px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }
}

.contact-section .card {
  height: 100%;
}

.contact-form-group {
  margin-bottom: 14px;
}

.contact-label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.contact-input,
.contact-textarea {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--border-soft);
  font-size: 0.9rem;
  font-family: inherit;
}

.contact-textarea {
  min-height: 100px;
  resize: vertical;
}

.contact-input:focus,
.contact-textarea:focus {
  outline: none;
  border-color: var(--brand-teal);
  box-shadow: 0 0 0 1px rgba(15, 127, 133, 0.15);
}

.contact-error {
  margin-top: 4px;
  font-size: 0.8rem;
  color: #b3261e;
}

.contact-success {
  margin-top: 10px;
  font-size: 0.88rem;
  color: #1b7f32;
}

.contact-hint {
  margin-top: 4px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ========================================
   Company Info
   ======================================== */

.company-info-text {
  white-space: pre-line;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.company-info-highlight {
  font-weight: 600;
  color: var(--text-main);
}

/* ========================================
   Footer
   ======================================== */

footer {
  margin-top: 20px;
  padding: 16px 0 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

a {
  color: var(--brand-teal);
}

a:hover {
  text-decoration: underline;
}
