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

:root {
  --primary: #c87dff;
  --primary-hover: #b672e6;
  --text-primary: #1b1b22;
  --text-secondary: #181819;
  --text-muted: #71717a;
  --border: rgba(26, 26, 35, 0.05);
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background: white;
  color: #000;
  line-height: 1.4;
  overflow-x: hidden;
  margin-bottom: 5em;

  background: linear-gradient(
    180deg,
    rgba(200, 125, 255, 0.6) 0%,
    rgba(255, 255, 255, 1) 20%,
    rgba(255, 255, 255, 1) 100%
  );
}

nav {
  position: fixed;
  top: 24px;
  right: 24px;
  display: flex;
  gap: 8px;
  z-index: 100;
  backdrop-filter: blur(20px);
  background: rgba(26, 26, 35, 0.05);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 8px;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

nav a:hover {
  color: var(--text-primary);
}

nav a.primary {
  background: white;
  color: black;
  transition: transform 0.2s;
}

nav a.primary:hover {
  transform: scale(1.03);
}

.hero {
  margin-top: 7em;
  margin-bottom: 3em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  position: relative;
}

.logo {
  width: 60px;
  height: 60px;
  margin-bottom: 32px;
  user-select: none;
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  font-weight: 600;
  line-height: 1.1;
  font-family: "Radio Canada Big", "Inter", -apple-system, BlinkMacSystemFont,
    sans-serif;
}

.hero p {
  font-size: 1.15rem;
  color: rgb(55, 53, 47);
  margin-bottom: 38px;
  max-width: 500px;
  line-height: 1.3;
}

.link-input {
  width: 100%;
  max-width: 480px;
  position: relative;
  margin-bottom: 24px;
}

.input-container {
  display: flex;
  background: #f8f8f8;
  border: 1px solid #e9e7e7;
  border-radius: 18px;
  padding: 4px;
  transition: all 0.2s ease;
}

.input-container:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(200, 125, 255, 0.1);
}

.link-input input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 8px 16px;
  font-size: 16px;
  color: var(--text-primary);
  border-radius: 0px;
  font-family: inherit;
}

.link-input input::placeholder {
  color: var(--text-muted);
}

.link-input button {
  background: var(--primary);
  color: #3c096c;
  border: none;
  border-radius: 13px;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
  font-family: inherit;
}

.link-input button:hover:not(:disabled) {
  background: var(--primary-hover);
}
.link-input button:focus:not(:disabled) {
  transform: scale(0.98);
}

.link-input button:disabled {
  opacity: 0.2;
  filter: grayscale(1);
  cursor: not-allowed;
  transform: none;
}

.hero .terms {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.terms a {
  color: var(--text-secondary);
}

.terms a:hover {
  color: var(--text-primary);
}

/* Features Section */
.features {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 120px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 80px;
}

.feature-card {
  background: #fdfdfd;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.2s ease;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
  background: rgba(0, 0, 0, 0.045);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.5;
}

.highlight {
  font-weight: 500;
}

.about {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.about h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.about p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
  text-align: left;
  margin: 13px auto;
}

.faq {
  max-width: 800px;
  margin: 80px auto 0;
  padding: 0 24px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
}

.faq-question {
  padding: 24px;
  padding-bottom: 12px;
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--text-primary);
}

.faq-answer {
  padding: 0 24px 24px;
  color: var(--text-secondary);
}

.faq-answer a {
  color: rgb(0, 112, 215);
  text-decoration: underline;
}

@media (max-width: 768px) {
  nav {
    top: 16px;
    right: 16px;
  }

  .hero {
    padding: 0 16px;
  }

  .features {
    padding: 0 16px 80px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .about,
  .faq {
    padding: 0 16px;
  }
}

@font-face {
  font-family: "Radio Canada Big";
  src: url("/public/assets/radio-canada-big.woff2");
}
