/* ===========================
   Excusely — Shared Styles
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --teal: #0ABFA3;
  --coral: #FF6B6B;
  --dark: #0D0D12;
  --dark-2: #16161F;
  --dark-3: #1E1E2A;
  --gray-1: #F7F7FA;
  --gray-2: #EBEBF2;
  --gray-3: #C0C0D0;
  --gray-4: #8888A0;
  --text: #1A1A2E;
  --gradient: linear-gradient(135deg, #0ABFA3 0%, #FF6B6B 100%);
  --gradient-r: linear-gradient(135deg, #FF6B6B 0%, #0ABFA3 100%);
  --shadow-sm: 0 2px 8px rgba(10,191,163,0.10);
  --shadow-md: 0 8px 32px rgba(10,191,163,0.15);
  --shadow-lg: 0 24px 64px rgba(10,191,163,0.18);
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #fff;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Gradient Text ── */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  outline: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 24px rgba(10,191,163,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(10,191,163,0.4);
}

.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
}
.btn-outline:hover {
  background: var(--teal);
  color: #fff;
  transform: translateY(-2px);
}

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(13,13,18,0.85);
  backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.nav-logo span {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  color: var(--gray-3);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 50px;
  transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.nav-cta .btn {
  padding: 10px 22px;
  font-size: 14px;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── Footer ── */
.footer {
  background: var(--dark);
  color: var(--gray-3);
  padding: 64px 24px 40px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 32px;
}

.footer-brand {
  flex: 1;
  min-width: 220px;
}

.footer-brand .logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.footer-brand .name {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 280px;
  color: var(--gray-4);
}

.footer-links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-col h4 {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: var(--gray-4);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--teal); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--gray-4);
}

.footer-bottom a {
  color: var(--gray-4);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom a:hover { color: var(--teal); }

/* ── Page Header (inner pages) ── */
.page-header {
  background: var(--dark);
  padding: 140px 24px 80px;
  text-align: center;
}

.page-header h1 {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.page-header p {
  font-size: 18px;
  color: var(--gray-4);
  max-width: 560px;
  margin: 0 auto;
}

/* ── Content Pages ── */
.content-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 24px 96px;
}

.content-body h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 48px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gray-2);
}

.content-body h2:first-child { margin-top: 0; }

.content-body p {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 16px;
}

.content-body a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 500;
}
.content-body a:hover {
  text-decoration: underline;
}

.content-body ul {
  margin: 12px 0 20px 20px;
}

.content-body ul li {
  font-size: 16px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 6px;
}

.last-updated {
  display: inline-block;
  background: var(--gray-1);
  border: 1px solid var(--gray-2);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 13px;
  color: var(--gray-4);
  margin-bottom: 48px;
}

/* ── Utility ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 24px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(10,191,163,0.08);
  border: 1px solid rgba(10,191,163,0.2);
  color: var(--teal);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--dark-2);
    padding: 24px;
    gap: 4px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-links.open a {
    padding: 12px 16px;
    font-size: 16px;
  }

  .footer-top { flex-direction: column; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
