/*
 * Skill Plannet — Common Styles
 * Shared across all pages: variables, reset, body, nav, hamburger, mobile-menu, footer, buttons, animations
 */


  :root {
    --bg: #050a0e;
    --surface: rgba(255,255,255,0.04);
    --border: rgba(255,255,255,0.08);
    --accent: #00e5a0;
    --accent2: #ff6b35;
    --accent3: #7c6af7;
    --text: #f0f4f8;
    --muted: #7a8a99;
  }

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

  body {
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
  }

  /* Animated background */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
      radial-gradient(ellipse 80% 60% at 10% 20%, rgba(0,229,160,0.08) 0%, transparent 60%),
      radial-gradient(ellipse 60% 50% at 90% 80%, rgba(124,106,247,0.1) 0%, transparent 55%),
      radial-gradient(ellipse 50% 40% at 60% 40%, rgba(255,107,53,0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
  }

  /* Noise texture */
  body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
  }

  /* NAV */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 60px;
    background: rgba(5,10,14,0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    animation: fadeDown 0.8s ease forwards;
  }

  @keyframes fadeDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .logo {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .logo-icon {
    width: 34px; height: 34px;
    background: linear-gradient(135deg, var(--accent), var(--accent3));
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
  }

  .logo span:nth-child(2) { color: var(--accent); }
  .logo span:nth-child(3) { color: var(--accent3); }

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

  .nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: color 0.2s;
    position: relative;
  }

  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0; right: 0;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.2s;
  }

  .nav-links a:hover { color: var(--text); }
  .nav-links a:hover::after { transform: scaleX(1); }

  .nav-cta {
    background: var(--accent);
    color: #050a0e !important;
    padding: 9px 22px;
    border-radius: 8px;
    font-weight: 600 !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
  }

  /* HAMBURGER */
  .hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px; height: 40px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    padding: 8px;
    z-index: 200;
    transition: background 0.2s;
  }
  .hamburger span {
    display: block;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
  }
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* MOBILE DROPDOWN MENU */
  .mobile-menu {
    display: none;
    position: fixed;
    top: 73px; left: 0; right: 0;
    background: rgba(5,10,14,0.97);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px 28px;
    z-index: 99;
    flex-direction: column;
    gap: 4px;
    animation: slideDown 0.25s ease forwards;
  }
  .mobile-menu.open { display: flex; }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .mobile-menu a {
    color: var(--muted);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    transition: color 0.2s;
  }
  .mobile-menu a:last-child { border-bottom: none; margin-top: 8px; }
  .mobile-menu a:hover { color: var(--text); }
  .mobile-menu .m-cta {
    background: var(--accent);
    color: #050a0e !important;
    padding: 13px 20px;
    border-radius: 10px;
    font-weight: 700;
    text-align: center;
    border-bottom: none !important;
    margin-top: 4px;
  }

  .nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0,229,160,0.3);
  }

  .nav-cta::after { display: none !important; }

/* ── PAGE & LAYOUT UTILITIES (shared across all pages) ── */
.page { position: relative; z-index: 1; padding-top: 80px; }
.section { max-width: 1200px; margin: 0 auto; padding: 60px; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: #050a0e;
  padding: 13px 28px; border-radius: 12px;
  font-weight: 700; font-size: .95rem;
  text-decoration: none; border: none; cursor: pointer;
  font-family: 'Syne', sans-serif; transition: all .25s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,229,160,.35); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text); padding: 13px 24px; border-radius: 12px;
  font-weight: 500; font-size: .95rem; text-decoration: none;
  border: 1px solid var(--border); background: var(--surface); cursor: pointer; transition: all .25s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.07); }

/* FOOTER */
footer { position: relative; z-index: 1; border-top: 1px solid var(--border); padding: 60px 80px 36px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr .5fr; gap: 48px; margin-bottom: 48px; }
.footer-link { color: var(--muted); text-decoration: none; font-size: .85rem; transition: color .2s; display: block; margin-bottom: 14px; }
.footer-link:hover { color: var(--text); }
.footer-col-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem; margin-bottom: 22px; }
.social-icon { width: 46px; height: 46px; background: #1a3a32; border: 1px solid rgba(0,229,160,.25); border-radius: 14px; display: flex; align-items: center; justify-content: center; text-decoration: none; color: var(--accent); font-weight: 800; margin-bottom: 12px; transition: all .2s; }
.social-icon:hover { background: rgba(0,229,160,.15); transform: translateY(-2px); }

@keyframes fadeUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }
@keyframes pulse  { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(1.6)} }
