@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;600;700&display=swap');

:root {
  --color-bg: #111;
  --color-bg-card: #222;
  --color-bg-input: #333;
  --color-bg-pricing: #1a1a1a;
  --color-text: #eee;
  --color-text-heading: #fff;
  --color-border: #333;
  --color-accent: #10b981;
  --color-accent-dark: #0d9668;
  --color-accent-light: #34d399;
  --color-linkedin-blue: #0077b5;
  --color-linkedin-blue-dark: #005582;
  --color-success: #4caf50;
  --color-error: #f44336;
  --color-scarcity: #ffcc00;
  --gradient-primary: linear-gradient(135deg, #0d9668 0%, #34d399 100%);
  --font-family: 'Inter', Arial, sans-serif;
  --max-width: 1200px;
  --radius-card: 15px;
  --radius-button: 8px;
}

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

html {
  overflow-x: hidden;
}

body {
  font-family: var(--font-family);
  margin: 0;
  padding: 0;
  line-height: 1.8;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

section {
  padding: 3rem 2rem;
}

h1, h2, h3 {
  margin-bottom: 1.5rem;
  color: var(--color-text-heading);
}

p {
  margin-bottom: 1.5rem;
}

input, textarea {
  padding: 1rem;
  border: 1px solid #444;
  border-radius: var(--radius-button);
  width: 100%;
  background-color: var(--color-bg-input);
  color: var(--color-text);
  font-family: var(--font-family);
  font-size: 1rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 500px;
  margin: 0 auto;
}

/* Shared effects */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.display-heading {
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.section-heading {
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.content-box {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(16, 185, 129, 0.04) 0%, transparent 60%),
    linear-gradient(160deg, rgba(35, 35, 35, 0.6) 0%, rgba(14, 14, 14, 0.85) 100%);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.content-box::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), transparent 40%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

header.scrolled {
  background-color: rgba(27, 27, 27, 0.8);
  backdrop-filter: blur(10px);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-size: 1.2rem;
  z-index: 110;
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

.desktop-nav {
  display: flex;
  gap: 1rem;
}

.desktop-nav a {
  text-decoration: none;
  color: #eee;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: color 0.2s, background-color 0.2s;
}

.desktop-nav a:hover {
  color: #fff;
  background-color: rgba(16, 185, 129, 0.3);
}

.desktop-nav a.active {
  color: #fff;
  background-color: #10b981;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: #eee;
  font-weight: 500;
  font-size: 1rem;
  font-family: var(--font-family);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.2s, background-color 0.2s;
}

.nav-dropdown-toggle:hover {
  color: #fff;
  background-color: rgba(16, 185, 129, 0.3);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background: rgba(27, 27, 27, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.4rem;
  min-width: 180px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  z-index: 120;
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.6rem 1rem;
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.nav-dropdown-menu a:hover {
  color: #fff;
  background: rgba(16, 185, 129, 0.2);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 2rem;
  height: 2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 110;
}

.hamburger .bar {
  width: 2rem;
  height: 0.25rem;
  background: white;
  border-radius: 10px;
  transition: all 0.3s linear;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(17, 17, 17, 0.98);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 105;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.mobile-menu a {
  font-size: 2rem;
  color: white;
  text-decoration: none;
  padding: 1rem 0;
  transition: color 0.3s;
}

.mobile-menu a:hover {
  color: #10b981;
}

@media (max-width: 992px) {
  .desktop-nav {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}

.btn-primary {
  display: inline-block;
  background-image: var(--gradient-primary);
  color: white;
  border: none;
  padding: 1rem 2rem;
  cursor: pointer;
  border-radius: var(--radius-button);
  transition: all 0.3s ease;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  font-size: 1rem;
  font-family: var(--font-family);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-linkedin {
  display: inline-block;
  background-image: linear-gradient(to right, var(--color-linkedin-blue) 0%, var(--color-linkedin-blue-dark) 100%);
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--radius-button);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-linkedin:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* =====================================================
   LIGHT MODE
   ===================================================== */

html[data-theme="light"] {
  --color-bg: #f5f4f0;
  --color-bg-card: #ffffff;
  --color-bg-input: #ebe9e3;
  --color-bg-pricing: #f0efe9;
  --color-text: #1c1c1a;
  --color-text-heading: #0a0a09;
  --color-border: #ddddd6;
  --color-accent: #059669;
  --color-accent-dark: #047857;
  --color-accent-light: #10b981;
}

html[data-theme="light"] header.scrolled {
  background-color: rgba(245, 244, 240, 0.88);
}

html[data-theme="light"] .logo { color: var(--color-text-heading); }

html[data-theme="light"] .desktop-nav a { color: #3a3a37; }
html[data-theme="light"] .desktop-nav a:hover { color: var(--color-text-heading); }
html[data-theme="light"] .desktop-nav a.active { color: #fff; }

html[data-theme="light"] .hamburger .bar { background: var(--color-text-heading); }

html[data-theme="light"] .mobile-menu { background: rgba(245, 244, 240, 0.98); }
html[data-theme="light"] .mobile-menu a { color: var(--color-text-heading); }
html[data-theme="light"] .mobile-menu a:hover { color: var(--color-accent); }

html[data-theme="light"] .nav-dropdown-menu {
  background: rgba(248, 247, 244, 0.97);
  border-color: rgba(0, 0, 0, 0.08);
}
html[data-theme="light"] .nav-dropdown-menu a { color: #3a3a37; }
html[data-theme="light"] .nav-dropdown-menu a:hover { background: rgba(5, 150, 105, 0.08); }

html[data-theme="light"] .content-box {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(16, 185, 129, 0.03) 0%, transparent 60%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 244, 240, 0.9) 100%);
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

/* ── Footer (shared) ── */
footer {
  padding: 3rem 2rem 2rem;
  text-align: center;
  border-top: 1px solid var(--color-border);
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-logo {
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-weight: 400;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  color: var(--color-text-heading);
}

.footer-brand p {
  font-size: 0.85rem;
  opacity: 0.35;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  color: #777;
  transition: color 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-social a:hover {
  color: var(--color-accent);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-hire {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-accent);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.45rem 1.2rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.15);
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}

.footer-hire:hover {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.08);
}

.footer-copy {
  font-size: 0.7rem;
  opacity: 0.25;
}

html[data-theme="light"] footer { border-top-color: rgba(0, 0, 0, 0.08); }
html[data-theme="light"] .footer-social a { color: #999; }
html[data-theme="light"] .footer-social a:hover { color: var(--color-accent); }
html[data-theme="light"] .footer-hire {
  background: rgba(5, 150, 105, 0.06);
  border-color: rgba(5, 150, 105, 0.15);
}

/* ---- Theme toggle button ---- */

/* Base: icon button in desktop nav */
.theme-toggle {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #777;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  flex-shrink: 0;
  vertical-align: middle;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.theme-toggle:hover {
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.theme-toggle svg { width: 14px; height: 14px; }
.theme-toggle .icon-sun { display: none; }

/* Toggle inside mobile menu — larger, text label */
.mobile-menu .theme-toggle {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  width: auto;
  height: auto;
  padding: 0.6rem 1.75rem;
  gap: 0.6rem;
  font-size: 1rem;
  font-family: var(--font-family);
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.75rem;
}

.mobile-menu .theme-toggle svg { width: 18px; height: 18px; }

.mobile-menu .theme-toggle:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.theme-label { font-size: 1rem; }
.theme-label-light { display: none; }

/* Light mode toggle states */
html[data-theme="light"] .theme-toggle {
  border-color: rgba(0, 0, 0, 0.12);
  color: #666;
}
html[data-theme="light"] .theme-toggle:hover {
  border-color: rgba(0, 0, 0, 0.2);
  color: #1c1c1a;
  background: rgba(0, 0, 0, 0.04);
}
html[data-theme="light"] .theme-toggle .icon-moon { display: none; }
html[data-theme="light"] .theme-toggle .icon-sun { display: flex; }

html[data-theme="light"] .mobile-menu .theme-toggle {
  border-color: rgba(0, 0, 0, 0.08);
  color: rgba(0, 0, 0, 0.4);
}
html[data-theme="light"] .mobile-menu .theme-toggle:hover {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.13);
  color: var(--color-text-heading);
}

html[data-theme="light"] .theme-label-dark { display: none; }
html[data-theme="light"] .theme-label-light { display: inline; }

/* Fix: social-link text color in light mode */
html[data-theme="light"] .social-link { color: var(--color-text); }
