@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Colors */
  --bg-primary: #ffffff;
  --bg-surface: #f8fafd;
  --bg-surface-elevated: #ffffff;
  
  --text-main: #1a2337;
  --text-body: #575758;
  --text-muted: #8c9099;
  --text-white: #ffffff;

  --color-brand: #475bff;
  --color-brand-hover: #3648e6;
  --color-brand-soft: rgba(71, 91, 255, 0.08);

  --color-accent: #007b6c;
  --color-accent-soft: #e5fff8;

  --border-light: #e9ecf2;
  --border-focus: #c2d1ff;

  /* Typography */
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(26, 35, 55, 0.04);
  --shadow-md: 0 12px 32px rgba(26, 35, 55, 0.06);
  --shadow-lg: 0 20px 40px rgba(26, 35, 55, 0.08);

  /* Layout */
  --container-max-width: 1200px;
  --header-height: 80px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

/* Reusable Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition-normal);
  text-align: center;
}

.btn-primary {
  background-color: var(--color-brand);
  color: var(--text-white);
  box-shadow: 0 4px 14px rgba(71, 91, 255, 0.25);
}

.btn-primary:hover {
  background-color: var(--color-brand-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(71, 91, 255, 0.35);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-main);
  border-color: var(--border-light);
}

.btn-outline:hover {
  background-color: var(--bg-surface);
  border-color: var(--text-main);
}

/* Global Header */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: var(--transition-fast);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-logo span {
  color: var(--color-brand);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-body);
}

.nav-link:hover {
  color: var(--color-brand);
}

/* Global Wave Footer */
.site-footer {
  position: relative;
  background-color: #121826;
  color: #c7cbd3;
  margin-top: 100px;
  padding-bottom: 40px;
}

.footer-wave {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: translateY(-99%);
}

.footer-wave svg {
  display: block;
  width: 100%;
  height: 70px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  padding-top: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .brand-logo {
  color: var(--text-white);
  margin-bottom: 16px;
}

.footer-brand p {
  max-width: 380px;
  font-size: 0.92rem;
  color: #9299a8;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition-fast);
}

.social-icon:hover {
  background-color: var(--color-brand);
  border-color: var(--color-brand);
  transform: translateY(-3px);
}

.footer-nav-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-nav-links h4 {
  color: var(--text-white);
  font-size: 1rem;
  margin-bottom: 8px;
}

.footer-nav-links a {
  font-size: 0.92rem;
  color: #9299a8;
}

.footer-nav-links a:hover {
  color: var(--text-white);
}

.footer-bottom {
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 0.85rem;
  color: #6f7684;
}

.meta-disclaimer {
  line-height: 1.5;
  font-size: 0.78rem;
  opacity: 0.8;
}

/* Responsiveness */
@media (max-width: 768px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .header-nav {
    gap: 16px;
  }
}