/* ==========================================================================
   Attendi Apps Landing Page Styles
   ========================================================================== */

/* ==========================================================================
   Fonts
   ========================================================================== */

@font-face {
  font-family: 'Attendi Alaska';
  src: url('../fonts/Alaska.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   CSS Variables
   ========================================================================== */

:root {
  --color-background: #0A6651;
  --color-pink: #FA9EEE;
  --color-white: #FFFFFF;
  --color-surface: #FFFFFF;
  --color-on-surface: #262626;
  --color-on-surface-variant: #6F6C69;
  --color-gray-900: #212121;
  --color-disabled: #9E9E9E;
  --font-family: 'Attendi Alaska', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  height: 100%;
  height: 100svh; /* Small viewport height - excludes browser UI */
  width: 100%;
  background-color: var(--color-background);
}

body {
  height: 100%;
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  background-color: var(--color-background);
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-y: auto;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  width: 100%;
  max-width: 375px;
  margin: 0 auto;
  padding: 0 16px;
}

.content {
  display: flex;
  flex-direction: column;
  gap: 21px;
  padding-top: env(safe-area-inset-top, 47px);
  padding-top: max(env(safe-area-inset-top), 47px);
}

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

.header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.header h1 {
  font-family: 'Attendi Alaska', var(--font-family);
  font-size: 36px;
  font-weight: 515;
  font-style: normal;
  line-height: 40px;
  letter-spacing: 0;
  color: var(--color-pink);
}

.header p {
  font-family: 'Attendi Alaska', var(--font-family);
  font-size: 18px;
  font-weight: 465;
  font-style: normal;
  line-height: 28px;
  letter-spacing: 0;
  color: var(--color-white);
}

/* ==========================================================================
   Button Cards
   ========================================================================== */

.buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.button-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  height: 80px;
  padding: 16px;
  gap: 12px;
  background: var(--color-surface);
  border-radius: 8px;
  text-decoration: none;
}

.button-card.has-subtitle {
  align-items: flex-start;
}

.button-card.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  color: var(--color-disabled);
}

.button-card.disabled .button-title,
.button-card.disabled .button-subtitle {
  color: var(--color-disabled);
}

.button-card.disabled .button-icon {
  color: var(--color-disabled);
}

/* ==========================================================================
   Button Icon
   ========================================================================== */

.button-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.button-icon svg {
  width: 24px;
  height: 24px;
}

.button-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* ==========================================================================
   Button Content
   ========================================================================== */

.button-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  flex: 1;
}

.button-title {
  font-family: 'Attendi Alaska', var(--font-family);
  font-size: 16px;
  font-weight: 465;
  font-style: normal;
  line-height: 24px;
  letter-spacing: 0;
  color: var(--color-on-surface);
}

.button-subtitle {
  font-family: 'Attendi Alaska', var(--font-family);
  font-size: 14px;
  font-weight: 365;
  font-style: normal;
  line-height: 20px;
  letter-spacing: 0;
  color: var(--color-on-surface);
}

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

.footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 16px 0 calc(24px + env(safe-area-inset-bottom, 0px));
}

.logo {
  width: 105px;
  height: auto;
}

.logo svg,
.logo img {
  width: 100%;
  height: auto;
}

