/* WorkerTracker Modern Redesign */

:root {
  /* App Theme Colors */
  --bg-dark: #0B1121;
  --bg-card: #1f2937;
  --bg-card-hover: #374151;
  --primary: #136dec;
  --primary-hover: #1d4ed8;
  --text-main: #ffffff;
  --text-muted: #9ca3af;
  --border: rgba(255, 255, 255, 0.1);
  --max-width: 1200px;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* --- Layout --- */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: rgba(11, 17, 33, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 20px;
}

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

.nav {
  display: flex;
  gap: 32px;
}

.nav__link {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 15px;
}

.nav__link:hover,
.nav__link--active {
  color: var(--text-main);
}

.header-cta {
  background: var(--primary);
  color: white;
  padding: 10px 20px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 14px;
}

.header-cta:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

/* --- Hero Section --- */
.hero {
  padding-top: 160px;
  padding-bottom: 80px;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(19, 109, 236, 0.15) 0%, transparent 70%);
  z-index: -1;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.hero__content h1 {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #9ca3af 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__content p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 480px;
}

.hero__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  transition: transform 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 14px rgba(19, 109, 236, 0.3);
}

.btn--secondary {
  background: var(--bg-card);
  color: white;
  border: 1px solid var(--border);
}

/* --- Phone Mockup --- */
.phone-mockup {
  position: relative;
  width: 300px;
  margin: 0 auto;
  border-radius: 40px;
  border: 8px solid #1f2937;
  background: #000;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.phone-mockup img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Features Grid --- */
.features {
  padding: 100px 0;
  background: rgba(255, 255, 255, 0.02);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-title p {
  color: var(--text-muted);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  padding: 32px;
  border-radius: 24px;
  border: 1px solid var(--border);
  transition: transform 0.2s;
}

.feature-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(19, 109, 236, 0.1);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 15px;
}

/* --- Privacy Page Specific --- */
.privacy-content {
  padding: 140px 0 80px;
  max-width: 800px;
}

.privacy-content h1 {
  font-size: 42px;
  margin-bottom: 40px;
}

.privacy-section {
  margin-bottom: 40px;
}

.privacy-section h2 {
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--text-main);
}

.privacy-section p, .privacy-section li {
  color: var(--text-muted);
  margin-bottom: 12px;
}

.privacy-section ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 24px;
}

/* --- Footer --- */
.footer {
  padding: 60px 0;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  color: var(--text-muted);
  font-size: 14px;
}

/* --- Mobile Responsive --- */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero__content p {
    margin: 0 auto 32px;
  }

  .hero__buttons {
    justify-content: center;
  }

  .nav {
    display: none; /* Simple hiding for mobile, ideally a burger menu */
  }

  .phone-mockup {
    width: 260px;
  }
}
