:root {
  --primary: #0f172a;
  --primary-light: #1e293b;
  --accent: #2196f3;
  --accent-dark: #1565c0;
  --accent-bright: #64b5f6;
  --accent-gradient: linear-gradient(135deg, #2196f3 0%, #1565c0 100%);
  --danger: #ef4444;
  --danger-soft: #fef2f2;
  --success: #10b981;
  --success-soft: #ecfdf5;
  --warning: #f59e0b;
  --warning-soft: #fffbeb;
  --light: #f8fafc;
  --muted: #64748b;
  --border: #e2e8f0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    'Plus Jakarta Sans',
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  color: var(--primary);
  line-height: 1.7;
  background: #ffffff;
  overflow-x: hidden;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  height: 42px;
  width: auto;
}

.logo-text {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
}

.logo-text .doo {
  color: var(--accent);
}

.logo-text .rly {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-cta {
  background: var(--accent-gradient);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
  box-shadow: 0 4px 14px rgba(33, 150, 243, 0.3);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 4rem;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(
    circle,
    rgba(33, 150, 243, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--success-soft);
  color: var(--success);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero h1 span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
  max-width: 540px;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.stat {
  text-align: left;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

.hero-visual {
  position: relative;
  animation: fadeInRight 0.8s ease 0.3s both;
}

.hero-card {
  background: white;
  border-radius: 24px;
  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.04);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-gradient);
}

.access-demo {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.demo-title {
  font-weight: 700;
  font-size: 1.1rem;
}

.demo-badge {
  padding: 0.35rem 0.75rem;
  background: var(--success-soft);
  color: var(--success);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}

.app-screenshots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.app-screenshot {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease;
}

.app-screenshot:hover {
  transform: scale(1.02);
}

.app-screenshot img {
  width: 100%;
  height: auto;
  display: block;
}

.access-log {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.log-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: var(--light);
  border-radius: 10px;
}

.log-avatar {
  width: 36px;
  height: 36px;
  background: var(--accent-gradient);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
}

.log-details {
  flex: 1;
}

.log-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.log-time {
  font-size: 0.8rem;
  color: var(--muted);
}

.log-status {
  padding: 0.25rem 0.6rem;
  border-radius: 5px;
  font-size: 0.75rem;
  font-weight: 600;
}

.log-status.success {
  background: var(--success-soft);
  color: var(--success);
}

/* Features Section */
.features {
  background: white;
  padding: 6rem 2rem;
}

.features-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.features-header {
  margin-bottom: 4rem;
}

.features-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 1rem;
}

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

.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 460px;
  display: flex;
  flex-direction: column;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  border-color: transparent;
  box-shadow: 0 20px 40px rgba(33, 150, 243, 0.15);
  transform: translateY(-4px);
}

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

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  background: var(--accent-gradient);
  color: white;
  transform: scale(1.05);
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--primary);
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: justify;
  flex-grow: 1;
}

section {
  padding: 6rem 2rem;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--light);
  color: var(--accent);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 600px;
}

/* Problems Section */
.problems {
  background: var(--primary);
  color: white;
  position: relative;
  overflow: hidden;
}

.problems::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.problems .section-label {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}

.problems .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.problem-card {
  background: var(--primary-light);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
}

.problem-card:hover {
  transform: translateY(-4px);
  border-color: rgba(239, 68, 68, 0.3);
}

.problem-icon {
  width: 56px;
  height: 56px;
  background: rgba(239, 68, 68, 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fca5a5;
  margin-bottom: 1.25rem;
}

.problem-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.problem-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Security Alert Section */
.security-alert {
  background: linear-gradient(135deg, #fef2f2 0%, #fff7ed 100%);
  border-top: 4px solid var(--danger);
}

.alert-container {
  max-width: 1100px;
  margin: 0 auto;
}

.alert-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.alert-icon {
  width: 64px;
  height: 64px;
  background: var(--danger);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: white;
}

.alert-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--danger);
}

.alert-subtitle {
  color: var(--muted);
  font-size: 1.05rem;
}

.comparison-box {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
  align-items: stretch;
}

.compare-item {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.compare-item.bad {
  border: 2px solid rgba(239, 68, 68, 0.3);
}

.compare-item.good {
  border: 2px solid rgba(16, 185, 129, 0.3);
  background: linear-gradient(180deg, #ecfdf5 0%, white 30%);
}

.compare-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.25rem;
}

.compare-item.bad .compare-label {
  background: var(--danger-soft);
  color: var(--danger);
}

.compare-item.good .compare-label {
  background: var(--success-soft);
  color: var(--success);
}

.compare-item h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.compare-qr {
  background: var(--light);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  text-align: center;
}

.compare-qr-visual {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.compare-qr-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  background: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  display: inline-block;
}

.compare-item.bad .compare-qr-code {
  color: var(--danger);
}

.compare-item.good .compare-qr-code {
  color: var(--success);
  font-size: 0.65rem;
  word-break: break-all;
}

.compare-issues {
  list-style: none;
}

.compare-issues li {
  padding: 0.6rem 0;
  padding-left: 1.75rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}

.compare-issues li:last-child {
  border-bottom: none;
}

.compare-issues li i {
  position: absolute;
  left: 0;
  top: 0.7rem;
  font-size: 0.85rem;
}

.compare-item.bad .compare-issues li i {
  color: var(--danger);
}

.compare-item.good .compare-issues li i {
  color: var(--success);
}

.vs-divider {
  display: flex;
  align-items: center;
  justify-content: center;
}

.vs-circle {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

/* Solution Section */
.solution {
  background: white;
}

.solution-header {
  text-align: center;
  margin-bottom: 4rem;
}

.solution-header .section-subtitle {
  margin: 0 auto;
}

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

.pillar {
  background: var(--light);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.pillar:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(33, 150, 243, 0.1);
}

.pillar-icon {
  width: 80px;
  height: 80px;
  background: var(--accent-gradient);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 30px rgba(33, 150, 243, 0.25);
}

.pillar h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.pillar-features {
  list-style: none;
  text-align: left;
}

.pillar-features li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--muted);
  font-size: 0.95rem;
}

.pillar-features li i {
  position: absolute;
  left: 0;
  top: 0.65rem;
  color: var(--success);
  font-size: 0.8rem;
}

/* Flow Section */
.flow-section {
  background: linear-gradient(180deg, var(--light) 0%, white 100%);
}

.flow-header {
  text-align: center;
  margin-bottom: 4rem;
}

.flow-header .section-subtitle {
  margin: 0 auto;
}

.flow-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.flow-tab {
  padding: 1rem 2rem;
  background: white;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.flow-tab:hover {
  border-color: var(--accent);
}

.flow-tab.active {
  background: var(--accent-gradient);
  border-color: transparent;
  color: white;
}

.flow-content {
  display: none;
}

.flow-content.active {
  display: block;
  animation: fadeInUp 0.5s ease;
}

.flow-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.flow-steps::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 10%;
  right: 10%;
  height: 4px;
  background: var(--border);
  z-index: 0;
}

.flow-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 200px;
}

.step-number {
  width: 100px;
  height: 100px;
  background: white;
  border: 4px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--accent);
  transition: all 0.3s ease;
}

.flow-step:hover .step-number {
  background: var(--accent-gradient);
  border-color: transparent;
  color: white;
  transform: scale(1.1);
}

.step-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.step-time {
  margin-top: 0.75rem;
  padding: 0.35rem 0.75rem;
  background: var(--success-soft);
  color: var(--success);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
}

/* Architecture Diagram */
.architecture {
  background: var(--primary);
  color: white;
}

.architecture .section-label {
  background: rgba(33, 150, 243, 0.2);
  color: var(--accent-bright);
}

.architecture .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.arch-diagram {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
}

.arch-diagram::before {
  content: '';
  position: absolute;
  top: 80px;
  left: 12%;
  right: 12%;
  height: 3px;
  background: linear-gradient(
    90deg,
    rgba(100, 181, 246, 0.3),
    rgba(21, 101, 192, 0.3)
  );
}

.arch-layer {
  text-align: center;
  position: relative;
}

.arch-icon {
  width: 120px;
  height: 120px;
  background: var(--primary-light);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.5rem;
  color: var(--accent-bright);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.arch-layer:hover .arch-icon {
  border-color: var(--accent);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(33, 150, 243, 0.2);
}

.arch-layer h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.arch-layer p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.arch-features {
  margin-top: 1.5rem;
  text-align: left;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.25rem;
}

.arch-features li {
  list-style: none;
  padding: 0.4rem 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.arch-features li i {
  color: var(--accent-bright);
  font-size: 0.7rem;
}

/* Benefits Section */
.benefits {
  background: white;
}

.benefits-header {
  text-align: center;
  margin-bottom: 4rem;
}

.benefits-header .section-subtitle {
  margin: 0 auto;
}

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

.benefit-card {
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.benefit-card:hover {
  border-color: transparent;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

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

.benefit-icon {
  width: 56px;
  height: 56px;
  background: var(--light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.benefit-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.benefit-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.benefit-stat {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.benefit-stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
}

.benefit-stat-label {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Hardware Section */
.hardware {
  background: var(--light);
}

.hardware-header {
  text-align: center;
  margin-bottom: 4rem;
}

.hardware-header .section-subtitle {
  margin: 0 auto;
}

.hardware-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.hardware-item {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.hardware-item:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.hardware-icon {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hardware-item h4 {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hardware-item p {
  font-size: 0.9rem;
  color: var(--muted);
}

.compatibility-note {
  margin-top: 3rem;
  background: white;
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.compat-icon {
  font-size: 3rem;
  color: var(--accent);
}

.compat-content h4 {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.compat-content p {
  color: var(--muted);
}

.compat-list {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.compat-list span {
  padding: 0.5rem 1rem;
  background: var(--light);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.compat-list span i {
  color: var(--accent);
}

/* App Showcase Section */
.app-showcase {
  background: var(--accent-gradient);
  color: white;
  padding: 6rem 2rem;
}

.app-showcase-header {
  text-align: center;
  margin-bottom: 4rem;
}

.app-showcase-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.app-showcase-header p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.screenshot-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.screenshot-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.15);
}

.screenshot-card img {
  width: 100%;
  max-width: 220px;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  margin-bottom: 1rem;
}

.screenshot-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.screenshot-card p {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* CTA Section */
.cta {
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-logo {
  margin-bottom: 2rem;
}

.cta-logo img {
  height: 80px;
}

.cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.cta p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--accent-gradient);
  color: white;
  padding: 1rem 2rem;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(33, 150, 243, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(33, 150, 243, 0.5);
}

.btn-outline {
  background: transparent;
  color: white;
  padding: 1rem 2rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

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

.cta-contact {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-items {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
}

.contact-item i {
  font-size: 1.25rem;
  color: var(--accent-bright);
}

/* Footer */
footer {
  background: #0a0f1a;
  color: white;
  padding: 3rem 2rem;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 40px;
}

.footer-logo-text {
  font-size: 1.5rem;
  font-weight: 800;
}

.footer-logo-text .doo {
  color: var(--accent);
}

.footer-logo-text .rly {
  color: white;
}

footer p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-description {
    margin: 0 auto 2.5rem;
  }

  .hero-stats {
    justify-content: center;
  }

  .comparison-box {
    grid-template-columns: 1fr;
  }

  .vs-divider {
    padding: 1rem 0;
  }

  .pillars {
    grid-template-columns: 1fr;
  }

  .arch-diagram {
    grid-template-columns: repeat(2, 1fr);
  }

  .arch-diagram::before {
    display: none;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .hardware-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .screenshots-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
  }

  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

.app-screenshot video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.app-screenshot {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease;
  aspect-ratio: 9/16;
  max-height: 500px;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding: 6rem 1.5rem 3rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .stat {
    text-align: center;
  }

  .app-screenshots {
    grid-template-columns: 1fr;
  }

  section {
    padding: 4rem 1.5rem;
  }

  .flow-tabs {
    flex-direction: column;
  }

  .flow-steps {
    flex-direction: column;
    gap: 2rem;
  }

  .flow-steps::before {
    display: none;
  }

  .flow-step {
    max-width: none;
  }

  .arch-diagram {
    grid-template-columns: 1fr;
  }

  .hardware-grid {
    grid-template-columns: 1fr;
  }

  .compatibility-note {
    flex-direction: column;
    text-align: center;
  }

  .contact-items {
    flex-direction: column;
    gap: 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* Ecosystem Section Styles */
.ecosystem {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  padding: 6rem 2rem;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.ecosystem-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  border: 2px solid transparent;
}

.ecosystem-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.ecosystem-card.admin {
  border-color: rgba(33, 150, 243, 0.3);
}

.ecosystem-card.admin:hover {
  border-color: var(--accent);
}

.ecosystem-card.residents {
  border-color: rgba(16, 185, 129, 0.3);
}

.ecosystem-card.residents:hover {
  border-color: var(--success);
}

.ecosystem-card.security {
  border-color: rgba(245, 158, 11, 0.3);
}

.ecosystem-card.security:hover {
  border-color: var(--warning);
}

.ecosystem-header {
  padding: 2.5rem 2rem 1.5rem;
  text-align: center;
  position: relative;
}

.ecosystem-card.admin .ecosystem-header {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.ecosystem-card.residents .ecosystem-header {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

.ecosystem-card.security .ecosystem-header {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.ecosystem-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.ecosystem-card.admin .ecosystem-icon {
  background: var(--accent-gradient);
}

.ecosystem-card.residents .ecosystem-icon {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.ecosystem-card.security .ecosystem-icon {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.ecosystem-header h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.ecosystem-tagline {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.5;
}

.ecosystem-content {
  padding: 2rem;
}

.ecosystem-description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.ecosystem-benefits {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ecosystem-benefit {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--light);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.ecosystem-benefit:hover {
  background: var(--light);
  transform: translateX(4px);
}

.ecosystem-benefit i {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.ecosystem-card.admin .ecosystem-benefit i {
  color: var(--accent);
}

.ecosystem-card.residents .ecosystem-benefit i {
  color: var(--success);
}

.ecosystem-card.security .ecosystem-benefit i {
  color: var(--warning);
}

.ecosystem-benefit span {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--primary);
}

/* Master Creativa Integration Section */
.master-creativa {
  background: var(--primary);
  color: white;
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.master-creativa::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.master-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.master-logo-section .section-label {
  background: rgba(33, 150, 243, 0.2);
  color: var(--accent-bright);
}

.master-logo-section .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin: 0 auto;
}

.water-management-card {
  background: var(--primary-light);
  border-radius: 24px;
  padding: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
}

.water-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.water-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.3);
}

.water-header h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.water-tagline {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.water-intro {
  margin-bottom: 3rem;
}

.water-intro p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
}

.water-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.water-feature {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.water-feature:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.3);
}

.water-feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(6, 182, 212, 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #06b6d4;
  margin-bottom: 1.25rem;
}

.water-feature h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.water-feature ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.water-feature ul li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.5;
}

.water-feature ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #06b6d4;
  font-weight: bold;
  font-size: 1.2rem;
}

.water-cta {
  background: rgba(6, 182, 212, 0.1);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  border: 2px solid rgba(6, 182, 212, 0.3);
}

.water-cta p {
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.water-cta p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive adjustments for new sections */
@media (max-width: 1024px) {
  .ecosystem-grid {
    grid-template-columns: 1fr;
  }

  .water-features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .ecosystem {
    padding: 4rem 1.5rem;
  }

  .ecosystem-grid {
    gap: 1.5rem;
  }

  .ecosystem-header {
    padding: 2rem 1.5rem 1rem;
  }

  .ecosystem-content {
    padding: 1.5rem;
  }

  .master-creativa {
    padding: 4rem 1.5rem;
  }

  .water-management-card {
    padding: 2rem 1.5rem;
  }

  .water-header {
    flex-direction: column;
    text-align: center;
  }

  .water-header h3 {
    font-size: 1.5rem;
  }

  .water-features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .water-feature {
    padding: 1.5rem;
  }

  .water-cta {
    padding: 1.5rem;
  }
}
