/* Modern Design System & Reset */
:root {
  /* Brand Colors */
  --primary: #2edc5b;
  --primary-dark: #25b048;
  --primary-gradient: linear-gradient(135deg, #2edc5b 0%, #209e41 100%);
  
  /* Neutral Colors */
  --bg-body: #f8f9fa;
  --bg-surface: #ffffff;
  --bg-surface-transparent: rgba(255, 255, 255, 0.85);
  
  /* Text Colors */
  --text-main: #1a1a1a;
  --text-muted: #666666;
  --text-inverse: #ffffff;
  
  /* UI Elements */
  --border-radius: 1rem;
  --box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --bg-body: #121212;
  --bg-surface: #1e1e1e;
  --bg-surface-transparent: rgba(30, 30, 30, 0.85);
  --text-main: #e0e0e0;
  --text-muted: #a0a0a0;
  --box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', 'Segoe UI', sans-serif;
}

body {
  background-color: var(--bg-body);
  color: var(--text-main);
  min-height: 100vh;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Glassmorphism Utilities */
.glass {
  background: var(--bg-surface-transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Splash Screen */
#splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

#splash-screen img {
  width: 200px;
  animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.8; }
}

#splash-screen.hide {
  opacity: 0;
  pointer-events: none;
}

/* Main Content */
#main-content {
  display: none;
}

#main-content.show {
  display: block;
  animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Navigation */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 3rem;
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-surface-transparent);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.nav-item img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
}

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

.nav-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Buttons */
.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-login {
  color: var(--text-main);
  background: transparent;
}

.btn-login:hover {
  color: var(--primary);
}

.btn-alt {
  background: var(--primary-gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(46, 220, 91, 0.3);
}

.btn-alt:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 220, 91, 0.4);
}

/* Hero Section */
.hero {
  padding: 4rem 3rem;
  background: linear-gradient(180deg, rgba(46,220,91,0.05) 0%, rgba(255,255,255,0) 100%);
}

.hero-sec {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-text h2 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-main) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text p {
  font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hero-features {
  list-style: none;
  margin-bottom: 2.5rem;
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  color: var(--text-main);
}

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

.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-surface);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition);
}

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

.feature-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 1rem;
}

/* Content Sections */
section.content-block {
  padding: 6rem 3rem;
  display: flex;
  align-items: center;
  gap: 5rem;
  max-width: 1400px;
  margin: 0 auto;
}

section.content-block.reverse {
  flex-direction: row-reverse;
}

.content-text {
  flex: 1;
}

.content-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.content-text p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.content-image {
  flex: 1;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.content-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Theme Toggle */
.theme-toggle {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-main);
  padding: 0.5rem;
  transition: var(--transition);
}

.theme-toggle:hover {
  transform: rotate(15deg);
  color: var(--primary);
}

/* Footer */
footer {
  background-color: var(--bg-surface);
  padding: 4rem 3rem;
  border-top: 1px solid rgba(0,0,0,0.05);
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-col h4 {
  color: var(--text-main);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 0.8rem;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--primary);
  padding-left: 5px;
}

/* Responsive */
@media (max-width: 768px) {
  nav { padding: 1rem; }
  .nav-links { display: none; }
  .hero-sec, section.content-block { grid-template-columns: 1fr; flex-direction: column; padding: 2rem 1rem; }
  section.content-block.reverse { flex-direction: column; }
  .hero-text h2 { font-size: 2.5rem; }
}
