/* === Reset and Base === */
:root {
  --accent: #0ea5e9;
  --accent-dark: #0284c7;
  --accent-glow: rgba(14, 165, 233, 0.15);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #333;
  background-color: #fff;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* === Navigation === */
nav {
  background-color: #1a1a1a;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--accent);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

nav .brand {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

nav .brand:hover {
  background-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

nav .brand .logo {
  height: 52px;
  width: auto;
  filter: brightness(1.2) contrast(1.15) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  transition: all 0.3s ease;
}

nav .brand:hover .logo {
  filter: brightness(1.3) contrast(1.2) drop-shadow(0 3px 6px rgba(0, 0, 0, 0.4));
}

nav .brand span {
  color: #bbb;
  font-weight: 400;
  font-size: 0.85rem;
  margin-left: 0.75rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

nav ul li a:hover {
  color: #fff;
}

nav ul li a:hover::after {
  width: 100%;
}

/* === Hero Section === */
.hero {
  background: linear-gradient(160deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
  color: #fff;
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 70% 30%, var(--accent-glow) 0%, transparent 50%);
  pointer-events: none;
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: 1.5px;
  animation: fadeInUp 0.8s ease both;
}

.hero .tagline {
  font-size: 1.2rem;
  color: #94a3b8;
  margin-bottom: 2.5rem;
  font-weight: 300;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero .cta-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero .cta-row {
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero .cta-item {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 1.75rem 2.5rem;
  min-width: 260px;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.hero .cta-item:hover {
  border-color: var(--accent);
  background-color: rgba(14, 165, 233, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.15);
}

.hero .cta-item .label {
  font-size: 0.8rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.35rem;
}

.hero .cta-item .value {
  font-size: 1.05rem;
  color: #fff;
}

.hero .cta-item a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.hero .cta-item a:hover {
  color: #38bdf8;
}

/* === Features Section === */
.features {
  padding: 5rem 2rem;
  background-color: #fafafa;
  border-top: 3px solid var(--accent);
}

.features .container {
  max-width: 960px;
  margin: 0 auto;
}

.features h2 {
  font-size: 1.75rem;
  text-align: center;
  margin-bottom: 0.75rem;
  color: #1a1a1a;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.features .section-line {
  width: 50px;
  height: 3px;
  background-color: var(--accent);
  margin: 0 auto 2.5rem;
  border-radius: 2px;
}

.features .grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.features .card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-top: 3px solid var(--accent);
  border-radius: 8px;
  padding: 2.25rem;
  flex: 1 1 260px;
  max-width: 300px;
  transition: all 0.3s ease;
  position: relative;
}

.features .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  border-top-color: var(--accent-dark);
}

.features .card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: #1a1a1a;
  font-weight: 600;
}

.features .card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.7;
}

/* === About Section === */
.about {
  padding: 5rem 2rem;
  background-color: #fff;
  border-top: 1px solid #e8e8e8;
}

.about .container {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.about h2 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  color: #1a1a1a;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.about .section-line {
  width: 50px;
  height: 3px;
  background-color: var(--accent);
  margin: 0 auto 1.5rem;
  border-radius: 2px;
}

.about p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1rem;
  line-height: 1.8;
}

/* === Page Content (Privacy, Terms) === */
.page-content {
  flex: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.page-content h1 {
  font-size: 2rem;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.page-content .subtitle {
  font-size: 0.95rem;
  color: #888;
  margin-bottom: 2rem;
}

.page-content h2 {
  font-size: 1.3rem;
  color: #212121;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid #e0e0e0;
}

.page-content p,
.page-content ul,
.page-content ol {
  font-size: 0.93rem;
  color: #444;
  margin-bottom: 1rem;
}

.page-content ul,
.page-content ol {
  padding-left: 1.5rem;
}

.page-content li {
  margin-bottom: 0.4rem;
}

.page-content strong {
  color: #222;
}

/* === Footer === */
footer {
  background-color: #111827;
  color: #9ca3af;
  padding: 3rem 2rem 2rem;
  font-size: 0.85rem;
  margin-top: auto;
  border-top: 2px solid var(--accent);
}

footer .footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #1f2937;
}

footer .footer-brand {
  font-size: 1.1rem;
  color: #fff;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

footer .footer-tagline {
  font-size: 0.8rem;
  color: #6b7280;
}

footer .footer-links {
  display: flex;
  gap: 1.5rem;
}

footer .footer-bottom {
  text-align: center;
}

footer .legal-entity {
  font-size: 0.75rem;
  color: #4b5563;
  margin-top: 0.35rem;
}

footer a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* === Animations === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Responsive === */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    height: auto;
    padding: 1rem;
    gap: 0.5rem;
  }

  nav ul {
    gap: 1rem;
  }

  .hero {
    padding: 3.5rem 1.5rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero .cta-row {
    flex-direction: column;
    align-items: center;
  }

  .features .grid {
    flex-direction: column;
    align-items: center;
  }

  .features .card {
    max-width: 100%;
  }

  .page-content {
    padding: 2rem 1.25rem;
  }

  footer .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
