/* Custom properties */
:root {
  --text: #ffffff; /* White for body text and headings */
  --brand: #ffffff; /* White for links */
  --bg: #0b0c10; /* Dark background */
  --accent: #22d3ee; /* Cyan for highlights */
  --muted: #cccccc; /* Light grey for secondary text */
  --card: rgba(255,255,255,0.02); /* Semi-transparent white for cards */
  --ring: rgba(34,211,238,0.2); /* Faint cyan for focus rings */
  --font-size-base: 16px; /* Base font size for consistency */
  --font-size-heading: 20px; /* Consistent heading size */
  --font-size-button: 14px; /* Consistent button font size */
}

/* Smooth scroll behavior */
html, body {
  height: 100%;
  scroll-behavior: smooth;
}

/* Base styles */
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  font-size: var(--font-size-base);
  color: var(--text);
  background: radial-gradient(2000px 1000px at 10% -20%, rgba(34,211,238,0.06), transparent),
              radial-gradient(2000px 1000px at 120% 20%, rgba(110,231,255,0.05), transparent),
              radial-gradient(1500px 750px at 50% 50%, rgba(34,211,238,0.04), transparent),
              var(--bg);
  line-height: 1.65;
}

/* Links */
a {
  color: var(--brand);
  text-decoration: none;
  font-size: var(--font-size-base);
  transition: text-shadow 0.3s ease, color 0.3s ease, text-decoration 0.3s ease;
  cursor: pointer;
}
a:hover {
  color: var(--muted);
  text-decoration: underline;
  text-shadow: 0 0 6px var(--accent), 0 0 8px var(--ring);
}

/* Auth Links (Log In, Get Started) */
.auth-links {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 15px;
  z-index: 1000; /* ensures buttons are clickable above everything else */
}

.auth-links a {
  text-decoration: none;
  font-size: var(--font-size-button);
  padding: 10px 20px;
  border-radius: 8px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease, background 0.3s ease;
  cursor: pointer;
}

/* Log In (outlined style) */
.auth-links a:first-child {
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.2);
  background: var(--card);
}

.auth-links a:first-child:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 6px var(--ring);
  color: var(--accent);
}

/* Get Started (primary CTA filled) */
.auth-links a:last-child {
  background: var(--accent);
  color: #0b0c10; /* dark text for contrast */
  font-weight: bold;
  border: 1px solid var(--accent);
}

.auth-links a:last-child:hover {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 6px var(--ring);
}

/* Marquee for Social Media Links */
.marquee-container {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  margin: 10px 0;
}
.marquee {
  display: inline-block;
  font-size: var(--font-size-button);
  color: #ffffff !important;
  animation: marquee 100s linear infinite;
  text-shadow: 0 0 5px #ffffff, 0 0 10px #cccccc, 0 0 15px #999999;
}
.marquee span {
  display: inline-flex;
  align-items: center;
  margin-right: 30px;
}
.marquee span img {
  width: 24px;
  height: 24px;
  margin-right: 8px;
}
.marquee a {
  color: #ffffff !important;
  text-decoration: none;
  text-shadow: 0 0 5px #ffffff, 0 0 10px #cccccc, 0 0 15px #999999;
}
.marquee a:hover {
  color: var(--muted) !important;
  text-shadow: 0 0 6px var(--accent), 0 0 8px var(--ring);
  text-decoration: none;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Social Media Section */
.header-content {
  text-align: center;
  position: relative;
  z-index: 1; /* keeps content behind buttons */
}
.header-content h1 {
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: #ffffff !important;
  text-shadow: 0 0 5px #ffffff, 0 0 10px #cccccc, 0 0 15px #999999;
}
.header-content .subtitle {
  font-size: 20px;
  color: #ffffff !important;
  margin: 10px 0;
}
.header-content .description {
  font-size: var(--font-size-base);
  color: #ffffff !important;
  margin: 10px 0;
}

/* Search Bar */
.search {
  margin-top: 12px;
  display: flex;
  gap: 8px;
}
.search input {
  flex: 1;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  background: var(--card);
  color: #ffffff;
  outline: none;
  font-size: var(--font-size-button);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.search input:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 6px var(--ring);
}

/* Bottom links navigation */
.bottom-links {
  text-align: center;
  margin: 20px 0;
  font-size: var(--font-size-button);
}

.bottom-links a {
  color: #ffffff;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.bottom-links a:hover {
  color: var(--accent);
  box-shadow: 0 0 0 6px var(--ring);
}

.bottom-links a.active {
  color: var(--accent);
  font-weight: bold;
}

/* Wrap */
.wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px;
}

/* Header */
header {
  padding: 20px 0 8px;
  text-align: center;
  position: relative;
}

/* Logo styles */
.logo {
  position: absolute;
  top: 20px;
  left: 24px;
  width: 50px;
  height: 50px;
  object-fit: contain;
  z-index: 1000;
}

/* Adjust header content to prevent overlap with logo */
header .wrap {
  padding-left: 80px;
}

/* Sections */
.section {
  margin: 28px 0;
}
.section h2 {
  font-size: var(--font-size-heading);
  margin: 0 0 10px;
  color: var(--text);
}
.section p, .section ul {
  margin-bottom: 1em;
  font-size: var(--font-size-base);
  color: var(--text);
}
.section a {
  text-shadow: 0 0 5px #ffffff, 0 0 10px #cccccc, 0 0 15px #999999;
}
ul {
  padding-left: 20px;
}
ul li {
  margin-bottom: 0.5em;
  font-size: var(--font-size-base);
  color: var(--text);
}

/* Footer */
footer {
  color: var(--muted);
  font-size: var(--font-size-button);
  padding: 40px 0 60px;
  text-align: center;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .header-content h1 {
    font-size: clamp(24px, 3vw, 32px);
  }
  .section h2 {
    font-size: 18px;
  }
  .search input {
    width: 90%;
  }
  .logo {
    width: 40px;
    height: 40px;
    left: 16px;
  }
  header .wrap {
    padding-left: 60px;
  }
  .marquee-container .marquee {
    gap: 12px;
  }
}
@media (max-width: 480px) {
  .wrap {
    padding: 16px;
  }
  .header-content h1 {
    font-size: clamp(20px, 3vw, 28px);
  }
  .logo {
    width: 32px;
    height: 32px;
    left: 16px;
    top: 16px;
  }
  header .wrap {
    padding-left: 48px;
  }
  .marquee-container .marquee {
    gap: 8px;
  }
}

/* New Card Styles for "Who is drop4you for?" Section */
.who-for-container {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin: 0;
}

.who-for-card {
  background: var(--card); /* Using existing --card variable */
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  color: var(--text);
  flex: 1;
}

.who-for-card img {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
  fill: currentColor; /* Ensure SVG icons inherit text color */
  stroke: currentColor;
}

.who-for-card h3 {
  font-size: var(--font-size-heading);
  font-weight: bold;
  margin: 0 0 10px;
  color: var(--text);
}

.who-for-card p {
  font-size: var(--font-size-base);
  color: var(--text);
  line-height: 1.5;
}

/* Center the section title */
.section h2 {
  text-align: center;
}

/* Responsive design for cards */
@media (max-width: 768px) {
  .who-for-container {
    flex-direction: column;
  }

  .who-for-card {
    width: 100%;
  }
}