:root {
  --primary: #1877f2;
  /* Facebook blue */
  --primary-dark: #0e5fd1;
  --text: #1c1e21;
  --gray: #65676b;
  --light: #f0f2f5;
  --white: #ffffff;
  --bg: #f0f2f5;
  --border: #dddfe2;
}

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

body {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-camp {
  max-width: 1700px;
  margin: 0 auto;
  padding: 0 24px;
}


header {
  padding: 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 56px;
}

.logo {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.nav-links a {
  margin-left: 32px;
  color: var(--gray);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary);
}

.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: white;
  border: none;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.hero {
  padding: 120px 0 80px;
  text-align: center;
  background: linear-gradient(135deg, #e8f0fe 0%, #f0f4ff 100%);
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 24px;
  line-height: 1.1;
  color: var(--text);
}

.hero p {
  font-size: 1.35rem;
  color: var(--gray);
  max-width: 680px;
  margin: 0 auto 40px;
}

.pricing {
  padding: 80px 0;
  background: var(--light);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.plan {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  text-align: center;
}

.plan:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.plan.popular {
  border: 2px solid var(--primary);
  position: relative;
}

.plan-header {
  padding: 32px 24px 24px;
  background: var(--light);
}

.plan-name {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--text);
}

.plan-price {
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--primary);
}

.plan-price small {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--gray);
}

.plan-features {
  padding: 32px 24px;
  list-style: none;
}

.plan-features li {
  margin: 16px 0;
  font-size: 1.05rem;
}

.plan-features li::before {
  content: "✓ ";
  color: var(--primary);
  font-weight: bold;
}

.features {
  padding: 80px 0;
  background: var(--bg);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.feature-card {
  background: var(--white);
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

footer {
  background: var(--light);
  color: var(--gray);
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
  text-align: center;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .nav-links {
    display: none;
  }

}

.user-dropdown {
  position: relative;
  display: inline-block;
}

.user-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--text);
}

.user-avatar {
  border-radius: 50%;
  object-fit: cover;
}

.dropdown-arrow {
  font-size: 0.8rem;
}

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  min-width: 160px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border-radius: 6px;
  z-index: 1;
}

.dropdown-content a {
  color: var(--text);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background: var(--light);
}

.dropdown-content.show {
  display: block;
}

.dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}

/* Global form inputs */
input, textarea, select {
  background: var(--white);
  color: var(--text);
  border-color: var(--border);
}

input::placeholder, textarea::placeholder {
  color: var(--gray);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary);
}

/* Global table styling */
table { color: var(--text); }
thead { background: var(--light) !important; }
td { border-top: 1px solid var(--border) !important; }
tr:hover td { background: var(--light) !important; }

/* Mobile adjustments */
.mobile .dropdown-content {
  position: static;
  box-shadow: none;
  background: transparent;
}
