/* Nordic Investment Club – Modern design */

:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --text-muted: #64748b;
  --accent: #0ea5e9;
  --accent-dark: #0284c7;
  --border: #e2e8f0;
  --font-sans: "Plus Jakarta Sans", "Outfit", system-ui, sans-serif;
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.06), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --radius: 16px;
  --radius-sm: 10px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header – clean, light */
.header {
  background: var(--surface);
  color: var(--text);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
}

.logo-link {
  display: block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.logo {
  height: 88px;
  width: auto;
  max-width: 420px;
  object-fit: contain;
  display: block;
}

.logo-link .logo-text {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.header .nav {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  margin-left: 1.5rem;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--accent);
}

/* Hero – bold, minimal */
.hero {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  color: white;
  padding: 5rem 1.5rem 5.5rem;
  text-align: center;
}

.hero-content {
  max-width: 720px;
  margin: 0 auto;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin: 0 0 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  margin: 0;
  font-size: 1.125rem;
  opacity: 0.85;
  line-height: 1.65;
  color: #cbd5e1;
}

/* Investors section */
.investors-section {
  padding: 4rem 0 5rem;
}

.thanks-block {
  max-width: 720px;
  margin: 0 auto 3.5rem;
  padding: 2rem 2.25rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.thanks-photo {
  text-align: center;
  margin-bottom: 1.5rem;
}

.thanks-photo {
  position: relative;
}

.thanks-photo img {
  width: 400px;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 3px solid var(--border);
  box-shadow: var(--shadow);
  display: block;
  margin: 0 auto;
}

.thanks-photo-placeholder {
  display: none;
  width: 400px;
  height: 400px;
  margin: 0 auto;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  font-size: 3rem;
  font-weight: 700;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--border);
  box-shadow: var(--shadow);
}

.thanks-photo-placeholder.show {
  display: flex !important;
}

.thanks-photo img.error {
  display: none !important;
}

.thanks-block p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.thanks-block p:last-child {
  margin-bottom: 0;
}

.thanks-block strong {
  color: var(--text);
  font-weight: 600;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 2.5rem;
  text-align: center;
  letter-spacing: -0.02em;
}

.investors-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.875rem;
}

.investor-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--surface);
  padding: 1.125rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.investor-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.rank {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
}

.investor-info h3 {
  margin: 0 0 0.15rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.investor-info .country {
  margin: 0;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.investor-info .role {
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* About */
.about-section {
  background: var(--surface);
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}

.about-section .section-title {
  margin-bottom: 1rem;
}

.about-text {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* Footer */
.footer {
  background: var(--text);
  color: #94a3b8;
  padding: 1.75rem;
  text-align: center;
  font-size: 0.9rem;
}

.footer p {
  margin: 0;
}

@media (max-width: 600px) {
  .header-inner {
    min-height: 80px;
  }

  .logo {
    height: 64px;
    max-width: 280px;
  }

  .logo-link .logo-text {
    font-size: 1.4rem;
  }

  .hero {
    padding: 3.5rem 1rem 4rem;
  }

  .nav a {
    margin-left: 1rem;
  }

  .investor-card {
    padding: 1rem 1.25rem;
    gap: 1rem;
  }

  .rank {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 0.85rem;
  }
}
