* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #0a0a0a;
  color: #ffffff;
  line-height: 1.7;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #222;
  z-index: 1000;
  padding: 1rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h2 {
  font-weight: 700;
  margin: 0;
  color: #ffffff;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

.user-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 1rem;
  background: rgba(17, 17, 17, 0.8);
  border-radius: 8px;
  border: 1px solid #333;
  white-space: nowrap;
  margin-left: 1rem;
}

.user-nav span {
  font-weight: 600;
  font-size: 0.95rem;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.logout-btn {
  font-size: 0.85rem;
  padding: 0.4rem 0.8rem !important;
}

.nav-menu a, .nav-menu span {
  color: #ccc;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  cursor: pointer;
}

.nav-menu a:hover, .nav-menu span:hover {
  color: #ffffff;
}

.nav-link-btn {
  background: #000;
  color: #ffffff;
  border: 2px solid #333;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.nav-link-btn:hover {
  background: #333;
  border-color: #555;
}

.btn-primary, .btn-secondary, .action-btn {
  border: 2px solid #333;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: #000;
  color: #ffffff;
}

.btn-primary:hover {
  background: #333;
  border-color: #555;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
}

.btn-secondary:hover {
  background: #333;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.hero-cta {
  margin-bottom: 1rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1001;
  padding: 4px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 4px 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 300px;
    background: rgba(10,10,10,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 100px 30px 50px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid #333;
    overflow-y: auto;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu li {
    margin-bottom: 1.5rem;
  }

  .hamburger {
    display: flex;
  }

  .user-nav {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    margin: 1rem 0;
    border: 1px solid #333;
    border-radius: 12px;
    background: rgba(17,17,17,0.8);
  }
}

.user-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: #111;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 0.5rem;
  min-width: 120px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.login-page, .dashboard-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 40px;
  background: #0a0a0a;
}

.dashboard-container {
  width: 100%;
  max-width: 1000px;
}

.welcome-section {
  text-align: center;
  margin-bottom: 3rem;
}

.welcome-section h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.welcome-section p {
  font-size: 1.2rem;
  color: #ccc;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.stat-card {
  background: #111;
  padding: 2.5rem;
  border-radius: 16px;
  text-align: center;
  border: 1px solid #222;
  transition: all 0.3s;
}

.stat-card:hover {
  background: #1a1a1a;
  border-color: #444;
  transform: translateY(-5px);
}

.stat-card h3 {
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.stat-card p {
  color: #888;
  font-size: 0.95rem;
}

.dashboard-actions h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.action-btn {
  background: #111;
  color: #fff;
  border: 1px solid #333;
  padding: 1.25rem;
  font-weight: 500;
  text-align: center;
}

.action-btn:hover {
  background: #222;
  border-color: #555;
}

.login-container {
  width: 100%;
  max-width: 420px;
}

.login-card {
  background: #111;
  border-radius: 20px;
  padding: 3rem 2.5rem;
  border: 1px solid #222;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.login-header {
  text-align: center;
  margin-bottom: 2rem;
}

.login-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.login-header p {
  color: #ccc;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #eee;
}

.form-group input {
  background: #1a1a1a;
  border: 2px solid #333;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  color: #fff;
  transition: all 0.3s;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.form-group.focused input {
  border-color: #555;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.1);
}

.form-group input:focus {
  outline: none;
  border-color: #555;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.checkbox-container {
  display: flex;
  align-items: center;
  cursor: pointer;
  color: #ccc;
  user-select: none;
}

.checkbox-container input {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid #444;
  border-radius: 6px;
  margin-right: 0.75rem;
  position: relative;
  transition: all 0.3s;
}

.checkbox-container input:checked ~ .checkmark {
  background: #000;
  border-color: #555;
}

.checkbox-container input:checked ~ .checkmark::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-weight: bold;
  font-size: 14px;
}

.forgot-link {
  color: #666;
  text-decoration: none;
  transition: color 0.3s;
}

.forgot-link:hover {
  color: #999;
}

.full-width {
  width: 100%;
}

.signup-link {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #333;
}

.signup-link p {
  color: #999;
  margin: 0;
}

.signup-link a {
  color: #4a90e2;
  font-weight: 600;
}

.signup-link a:hover {
  text-decoration: underline;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.hero-content p {
  font-size: 1.25rem;
  color: #ccc;
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
}

.btn-secondary:hover {
  background: #333;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.shield-icon {
  font-size: 20rem;
  opacity: 0.1;
}

.features, .stats, .pricing, .cta {
  padding: 100px 0;
}

.features h2, .pricing h2, .cta h2 {
  text-align: center;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.features p, .pricing p {
  text-align: center;
  color: #ccc;
  font-size: 1.2rem;
  margin-bottom: 4rem;
}

.features-grid, .stats-grid, .pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: #111;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  text-align: center;
  border: 1px solid #222;
  transition: all 0.3s;
}

.feature-card:hover {
  background: #1a1a1a;
  transform: translateY(-10px);
  border-color: #444;
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.stat {
  text-align: center;
}

.stat h3 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.price-card {
  background: #111;
  padding: 3rem 2rem;
  border-radius: 20px;
  text-align: center;
  border: 1px solid #222;
  position: relative;
  transition: all 0.3s;
}

.price-card:hover {
  transform: translateY(-10px);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: #000;
  color: #fff;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  border: 2px solid #333;
}

.price-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.price {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.price span {
  font-size: 0.5em;
  font-weight: 400;
}

.price-card ul {
  list-style: none;
  margin-bottom: 2rem;
}

.price-card li {
  padding: 0.5rem 0;
  color: #ccc;
}

.cta {
  text-align: center;
  background: #111;
  border-radius: 20px;
  margin: 0 20px;
}

.cta p {
  font-size: 1.25rem;
  color: #ccc;
  margin-bottom: 2rem;
}

footer {
  background: #000;
  padding: 4rem 0 2rem;
  border-top: 1px solid #222;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3, .footer-section h4 {
  margin-bottom: 1rem;
  color: #ffffff;
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: #ccc;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: #ffffff;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #222;
  color: #666;
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .shield-icon {
    font-size: 10rem;
  }
  
  .features, .pricing, .cta {
    padding: 60px 0;
  }
  
  .user-nav {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem;
    margin-left: 0;
  }
}

