:root {
  --bg-color: #0d0d12;
  --text-primary: #ffffff;
  --text-secondary: #9ca3af;
  --accent: #9b51e0;
  --accent-hover: #b065f5;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(155, 81, 224, 0.15), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(76, 29, 149, 0.15), transparent 25%);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.header {
  padding: 2rem 0 1rem 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.split-layout {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  width: 100%;
}

.hero-left {
  flex: 1;
  max-width: 650px;
  text-align: left;
}

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

.hero-left p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.projects-right {
  flex: 0 1 450px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.install-right {
  flex: 0 1 480px;
  display: flex;
  flex-direction: column;
}

/* Glass Card - Compact */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  transition: transform 0.3s ease, border-color 0.3s ease;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 1.5rem;
  gap: 1.5rem;
}

.glass-card:hover {
  transform: translateX(-5px);
  border-color: rgba(255, 255, 255, 0.2);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.05), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}

.glass-card:hover::before {
  left: 200%;
}

.app-icon-compact {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  flex-shrink: 0;
  background: transparent;
}

.card-info {
  flex: 1;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.card-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.4;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 100px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(155, 81, 224, 0.3);
  flex-shrink: 0;
}

.btn:hover {
  background: var(--accent-hover);
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(155, 81, 224, 0.4);
}

.btn-compact {
  padding: 0.7rem 1.5rem;
  font-size: 0.95rem;
}

/* Install Steps */
.install-steps h3 {
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  color: var(--text-primary);
}

.step {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  background: rgba(255,255,255,0.02);
  padding: 1.2rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.05);
}

.step-number {
  background: var(--glass-bg);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: bold;
  color: var(--accent);
  flex-shrink: 0;
}

.step-text {
  font-size: 1rem;
  color: #d1d5db;
  line-height: 1.5;
}

/* Lazos Hero Header */
.hero-header {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.hero-logo {
  width: 120px;
  height: 120px;
  border-radius: 26px;
  flex-shrink: 0;
  margin-top: 0.5rem;
}

.hero-text-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-text-group h1 {
  font-size: 2.8rem !important;
  margin-bottom: 0.5rem !important;
}

.hero-text-group p {
  margin-bottom: 1.5rem !important;
  font-size: 1.1rem !important;
}

/* Responsive */
@media (max-width: 900px) {
  .split-layout {
    flex-direction: column;
    gap: 2rem;
  }
  
  .hero-left {
    max-width: 100%;
  }

  .projects-right, .install-right {
    flex: none;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .hero-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .hero-logo {
    width: 96px;
    height: 96px;
    margin-top: 0;
  }

  .hero-text-group {
    align-items: center;
  }

  .hero-text-group h1 {
    font-size: 2.4rem !important;
  }
  
  .glass-card:hover {
    transform: translateY(-5px);
  }
}

@media (max-width: 768px) {
  .hero-left h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 500px) {
  .container {
    padding: 0 1.25rem;
  }
  .hero-left h1 {
    font-size: 2.1rem;
    word-break: break-word;
  }
  .hero-left p {
    font-size: 1.05rem;
  }
  .glass-card {
    padding: 1rem;
    gap: 1rem;
  }
  .app-icon-compact {
    width: 48px;
    height: 48px;
  }
  .card-title {
    font-size: 1.1rem;
  }
  .card-desc {
    font-size: 0.8rem;
  }
  .btn-compact {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
}

@media (max-height: 800px) {
  body {
    height: auto;
    overflow: auto;
    min-height: 100vh;
  }
  .container {
    padding: 2rem;
  }
  .header {
    padding-top: 0;
  }
}
