@font-face {
  font-family: 'Europa';
  src: url('fonts/europa-light-webfont.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Europa';
  src: url('fonts/europa-regular-webfont.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Europa';
  src: url('fonts/europa-bold-webfont.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --deep-blue: #000066;
  --teal: #0cd9d4;
  --pink: #eb5ab0;
  --yellow: #f4fbb5;
  --white: #ffffff;
  --grey-light: #dadada;
  --grey-mid: #aaaaaa;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Europa', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  color: var(--white);
  background: var(--deep-blue);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.8; }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.hero-logo {
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.6s 0.2s forwards;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-weight: 300;
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  line-height: 1.3;
  max-width: 600px;
  opacity: 0;
  animation: fadeUp 0.6s 0.4s forwards;
  position: relative;
  z-index: 1;
}
.hero h1 strong {
  font-weight: 700;
  color: var(--teal);
}

.hero-sub {
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--grey-light);
  margin-top: 1rem;
  max-width: 460px;
  opacity: 0;
  animation: fadeUp 0.6s 0.6s forwards;
  position: relative;
  z-index: 1;
}

.hero-cta {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.75rem 2rem;
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 4px;
  transition: transform 0.2s, box-shadow 0.2s;
  opacity: 0;
  animation: fadeUp 0.6s 0.8s forwards;
  position: relative;
  z-index: 1;
}
.hero-cta:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(12, 217, 212, 0.3);
}

/* ── Colour divider ── */
.divider {
  display: flex;
  height: 4px;
}
.divider span { flex: 1; }
.divider span:nth-child(1) { background: var(--yellow); }
.divider span:nth-child(2) { background: var(--teal); }
.divider span:nth-child(3) { background: var(--pink); }

/* ── Section base ── */
.section {
  max-width: 900px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.section-title {
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 1.5rem;
}

.section h2 {
  font-weight: 300;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  line-height: 1.35;
  margin-bottom: 1.5rem;
}
.section h2 strong {
  font-weight: 700;
  color: var(--teal);
}

.section p {
  color: var(--grey-light);
  max-width: 640px;
  margin-bottom: 1rem;
}

/* ── Apps grid ── */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.app-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(12, 217, 212, 0.12);
  border-radius: 8px;
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.app-card:hover {
  border-color: rgba(12, 217, 212, 0.35);
  transform: translateY(-2px);
}

.app-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  flex-shrink: 0;
}

.app-card h3 {
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.app-card .rating {
  font-size: 0.8rem;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.app-card p {
  font-size: 0.9rem;
  color: var(--grey-mid);
  margin-bottom: 0;
}

/* ── Principles ── */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.principle h3 {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.principle p {
  font-size: 0.9rem;
  color: var(--grey-light);
}

/* ── About ── */
.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.team-member {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  position: relative;
  padding-left: 1rem;
}
.team-member::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--teal);
}

/* ── Footer ── */
footer {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  font-size: 0.85rem;
  color: var(--grey-mid);
}

.footer-mark {
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  opacity: 0.6;
}

.footer-col h4 {
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-light);
  margin-bottom: 0.75rem;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.4rem; }
.footer-col a { color: var(--grey-mid); font-size: 0.85rem; }
.footer-col a:hover { color: var(--teal); opacity: 1; }

.footer-bottom {
  width: 100%;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  font-size: 0.8rem;
  color: var(--grey-mid);
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .section { padding: 3.5rem 1.5rem; }
  footer { flex-direction: column; gap: 1.5rem; }
  .deco { display: none; }
}
@media (max-width: 540px) {
  .principles-grid { grid-template-columns: 1fr; }
}
