/* Modern, Vibrant, Glassmorphism Dark Theme for WZAP */

:root {
  --bg-dark: #0f172a;
  --bg-darker: #020617;
  --primary-emerald: #10b981;
  --primary-emerald-glow: rgba(16, 185, 129, 0.4);
  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.text-emerald {
  color: var(--primary-emerald);
  text-shadow: 0 0 20px var(--primary-emerald-glow);
}

.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 1rem;
}

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

.bg-darker {
  background-color: var(--bg-darker);
}

/* Glassmorphism Panel */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.align-center {
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 600;
  border-radius: 9999px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: none;
  box-shadow: 0 10px 20px -5px var(--primary-emerald-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 25px -5px rgba(16, 185, 129, 0.6);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 2px solid var(--glass-border);
  padding: 0.75rem 1.5rem;
}

.btn-outline:hover {
  border-color: var(--primary-emerald);
  color: var(--primary-emerald);
  background: rgba(16, 185, 129, 0.1);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-full {
  width: 100%;
  padding: 1rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
}

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

.logo img {
  height: 40px;
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
  transition: var(--transition);
}

.logo img:hover {
  filter: drop-shadow(0 0 15px var(--primary-emerald-glow));
}

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

.nav-links a:not(.btn) {
  font-weight: 500;
  color: var(--text-muted);
}

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

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-bg-gradient {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--primary-emerald-glow) 0%, transparent 70%);
  filter: blur(100px);
  z-index: -1;
  border-radius: 50%;
  animation: pulse 8s infinite alternate;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.2); opacity: 0.8; }
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.1);
  color: var(--primary-emerald);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

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

.hero-actions {
  display: flex;
  gap: 1.5rem;
}

.hero-image {
  position: relative;
}

.floating-img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 30px 60px -15px rgba(0,0,0,0.8);
  animation: float 6s ease-in-out infinite;
  z-index: 2;
  position: relative;
  border: 1px solid var(--glass-border);
}

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

.glow-effect {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: var(--primary-emerald);
  filter: blur(100px);
  opacity: 0.3;
  z-index: 1;
}

/* Features */
.features {
  padding: 8rem 0;
}

.features h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 4rem;
}

.feature-card {
  background: var(--bg-darker);
  border: 1px solid var(--glass-border);
  border-radius: 1.5rem;
  padding: 2.5rem;
  text-align: left;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #10b981, transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
  border-color: rgba(16, 185, 129, 0.3);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.icon-box {
  font-size: 3rem;
  background: rgba(16, 185, 129, 0.1);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-muted);
}

/* Architecture */
.architecture {
  padding: 8rem 0;
}

.arch-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.arch-text h2 {
  font-size: 2.5rem;
  margin: 1rem 0;
}

.arch-text p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-emerald);
  font-weight: bold;
  font-size: 1.2rem;
}

.video-placeholder {
  background: rgba(0, 0, 0, 0.5);
  border: 2px dashed var(--glass-border);
  border-radius: 1rem;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-align: center;
  padding: 2rem;
  transition: var(--transition);
}

.video-placeholder:hover {
  border-color: var(--primary-emerald);
  color: var(--primary-emerald);
}

/* Contact */
.contact {
  padding: 8rem 0;
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--primary-emerald-glow) 0%, transparent 60%);
  z-index: -1;
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.contact-info p {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin-bottom: 3rem;
}

.developer-profile {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.avatar {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  box-shadow: 0 5px 15px var(--primary-emerald-glow);
}

.contact-list li {
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.contact-form h3 {
  font-size: 1.75rem;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-muted);
}

.form-group input {
  width: 100%;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--glass-border);
  border-radius: 0.75rem;
  color: var(--text-main);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary-emerald);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

/* Footer */
footer {
  padding: 3rem 0;
  border-top: 1px solid var(--glass-border);
  background: var(--bg-darker);
  color: var(--text-muted);
}

/* Responsiveness */
@media (max-width: 900px) {
  .hero-container, .arch-box, .grid-2 {
    grid-template-columns: 1fr;
  }
  
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .hero {
    padding-top: 120px;
    text-align: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .nav-links {
    display: none;
  }
}
