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

:root {
  --primary: #ff6b35;
  --secondary: #004e89;
  --accent: #f7c59f;
  --dark: #1a1a2e;
  --light: #efefef;
  --gradient: linear-gradient(135deg, #ff6b35 0%, #004e89 100%);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--light);
  color: var(--dark);
  line-height: 1.6;
}

.screen {
  min-height: 100vh;
}

.hidden {
  display: none !important;
}

/* Login Screen */
#login-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  min-height: 100vh;
}

.login-container {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  text-align: center;
  max-width: 400px;
  width: 90%;
}

.login-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.login-container h1 {
  color: var(--dark);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.login-subtitle {
  color: #666;
  margin-bottom: 2rem;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.login-form input {
  padding: 1rem;
  border: 2px solid #ddd;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.login-form input:focus {
  outline: none;
  border-color: var(--primary);
}

.login-form button {
  padding: 1rem;
  background: var(--gradient);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.login-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(255,107,53,0.4);
}

.error-msg {
  color: #e74c3c;
  margin-top: 1rem;
  min-height: 1.5rem;
}

.login-hint {
  color: #999;
  font-size: 0.85rem;
  margin-top: 1rem;
}

/* Header */
header {
  background: var(--dark);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
}

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: white;
  text-decoration: none;
  transition: color 0.2s;
}

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

.logout-btn {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s;
}

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

/* Hero */
.hero {
  background: var(--gradient);
  padding: 6rem 2rem;
  text-align: center;
  color: white;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-emoji {
  font-size: 5rem;
  margin-bottom: 1rem;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

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

.hero-tagline {
  margin-top: 1.5rem;
  font-size: 1rem !important;
  opacity: 0.7 !important;
}

/* Sections */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--secondary);
}

/* About */
.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.about-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.about-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.about-card ul {
  list-style: none;
}

.about-card li {
  padding: 0.5rem 0;
}

/* Capabilities */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.cap-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s;
}

.cap-card:hover {
  transform: translateY(-5px);
}

.cap-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.cap-card h3 {
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.cap-card p {
  color: #666;
  font-size: 0.95rem;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient);
}

.timeline-item {
  position: relative;
  padding-left: 40px;
  margin-bottom: 2rem;
}

.timeline-dot {
  position: absolute;
  left: -8px;
  top: 5px;
  width: 18px;
  height: 18px;
  background: var(--primary);
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 3px var(--primary);
}

.timeline-content {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.timeline-content h3 {
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: #666;
}

/* Tasks */
.tasks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.task-card {
  background: var(--gradient);
  color: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
}

.task-stat {
  font-size: 3rem;
  font-weight: bold;
}

.task-label {
  opacity: 0.9;
}

.task-list {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.task-list h3 {
  color: var(--secondary);
  margin-bottom: 1rem;
}

.task-list ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.5rem;
}

.task-list li {
  padding: 0.5rem 0;
  color: #555;
}

/* Footer */
footer {
  background: var(--dark);
  color: white;
  text-align: center;
  padding: 2rem;
  margin-top: 2rem;
}

footer p {
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 1rem;
  }
  
  nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero-emoji {
    font-size: 3rem;
  }
}
