/* ========== Hero Section ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.hero-bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0c4a6e 100%);
}

.hero-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(14, 165, 233, 0.05) 0%, transparent 70%);
}

.hero-float {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  animation: float 8s ease-in-out infinite;
}

.hero-float.float-1 {
  width: 300px;
  height: 300px;
  background: var(--color-primary-light);
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.hero-float.float-2 {
  width: 250px;
  height: 250px;
  background: var(--color-secondary);
  top: 60%;
  right: 10%;
  animation-delay: -3s;
}

.hero-float.float-3 {
  width: 200px;
  height: 200px;
  background: #8b5cf6;
  bottom: 20%;
  left: 30%;
  animation-delay: -5s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(30px, -30px); }
  66% { transform: translate(-20px, 20px); }
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 80px;
}

.hero-text {
  color: #fff;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-success);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--color-secondary) 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.btn-arrow {
  margin-left: 8px;
  transition: transform var(--transition-fast);
}

.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-stat {
  text-align: left;
}

.hero-stat .stat-number {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.hero-stat .stat-label {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-mockup {
  width: 100%;
  max-width: 560px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  animation: mockupFloat 6s ease-in-out infinite;
}

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

.mockup-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
}

.mockup-dots {
  display: flex;
  gap: 8px;
}

.mockup-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #cbd5e1;
}

.mockup-dots span:nth-child(1) { background: #ef4444; }
.mockup-dots span:nth-child(2) { background: #f59e0b; }
.mockup-dots span:nth-child(3) { background: #10b981; }

.mockup-title {
  font-size: 14px;
  color: #64748b;
  font-weight: 500;
}

.mockup-body {
  display: flex;
  min-height: 360px;
}

.mockup-sidebar {
  width: 180px;
  background: #f8fafc;
  border-right: 1px solid #e2e8f0;
  padding: 20px 0;
}

.sidebar-item {
  padding: 12px 16px;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 4px;
  transition: all var(--transition-fast);
}

.sidebar-item.active {
  background: #eff6ff;
  color: var(--color-primary);
  border-left: 3px solid var(--color-primary);
  font-weight: 600;
}

.mockup-main {
  flex: 1;
  padding: 24px;
}

.mockup-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.mockup-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}

.mockup-card .card-icon {
  display: block;
  font-size: 24px;
  margin-bottom: 8px;
}

.mockup-card .card-title {
  display: block;
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 4px;
}

.mockup-card .card-value {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
}

.card-1 .card-value { color: var(--color-primary); }
.card-2 .card-value { color: var(--color-success); }
.card-3 .card-value { color: var(--color-warning); }

.mockup-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 160px;
  background: #f8fafc;
  border-radius: var(--radius-md);
  padding: 20px 16px;
}

.chart-bar {
  width: 24px;
  background: linear-gradient(180deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  border-radius: 4px 4px 0 0;
  animation: chartGrow 1s ease-out backwards;
}

.chart-bar:nth-child(1) { animation-delay: 0.1s; }
.chart-bar:nth-child(2) { animation-delay: 0.2s; }
.chart-bar:nth-child(3) { animation-delay: 0.3s; }
.chart-bar:nth-child(4) { animation-delay: 0.4s; }
.chart-bar:nth-child(5) { animation-delay: 0.5s; }
.chart-bar:nth-child(6) { animation-delay: 0.6s; }
.chart-bar:nth-child(7) { animation-delay: 0.7s; }

@keyframes chartGrow {
  from { height: 0 !important; }
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 80px;
}

/* ========== Feature Cards ========== */
.feature-card {
  padding: 32px 24px;
  text-align: center;
}

.feature-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  border-radius: var(--radius-lg);
  background: #eff6ff;
}

.icon-blue { background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%); }
.icon-green { background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%); }
.icon-orange { background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%); }
.icon-purple { background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%); }

.feature-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

/* ========== Highlight Rows ========== */
.highlight-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 80px;
}

.highlight-row:last-child {
  margin-bottom: 0;
}

.highlight-row.reverse .highlight-text {
  order: 2;
}

.highlight-row.reverse .highlight-visual {
  order: 1;
}

.highlight-tag {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: var(--color-primary);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.highlight-text h3 {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 16px;
  line-height: 1.3;
}

.highlight-text > p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
}

.highlight-list {
  list-style: none;
  padding: 0;
}

.highlight-list li {
  font-size: 15px;
  color: var(--color-text-secondary);
  margin-bottom: 12px;
  line-height: 1.5;
}

.highlight-visual {
  display: flex;
  justify-content: center;
}

.visual-box {
  width: 100%;
  max-width: 400px;
  height: 320px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.visual-box-dark {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
}

.avatar-stack {
  display: flex;
  margin-bottom: 32px;
}

.avatar {
  width: 64px;
  height: 64px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-left: -16px;
  border: 4px solid #eff6ff;
  box-shadow: var(--shadow-md);
}

.avatar:first-child {
  margin-left: 0;
}

.avatar-more {
  width: 64px;
  height: 64px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  margin-left: -16px;
  border: 4px solid #eff6ff;
}

.collab-lines {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 280px;
}

.collab-lines span {
  height: 8px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 4px;
}

.collab-lines span:nth-child(1) { width: 100%; }
.collab-lines span:nth-child(2) { width: 80%; }
.collab-lines span:nth-child(3) { width: 60%; }

.security-icons {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
}

.security-icon {
  font-size: 48px;
  animation: securityPulse 3s ease-in-out infinite;
}

.security-icon:nth-child(2) { animation-delay: 0.3s; }
.security-icon:nth-child(3) { animation-delay: 0.6s; }

@keyframes securityPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.security-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
}

.pricing-tag {
  text-align: center;
  background: #fff;
  padding: 40px 48px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.price-zero {
  display: block;
  font-size: 72px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.price-label {
  display: block;
  font-size: 18px;
  color: var(--color-text-secondary);
  margin: 8px 0 16px;
}

.price-note {
  display: inline-block;
  padding: 6px 16px;
  background: #fef3c7;
  color: #92400e;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
}

/* ========== Clients ========== */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.client-logo {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-secondary);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  font-size: 15px;
  font-weight: 500;
  transition: all var(--transition-normal);
}

.client-logo:hover {
  background: var(--color-bg-tertiary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

/* ========== CTA Section ========== */
.cta-section {
  padding: 80px 0;
  background: var(--color-bg-secondary);
}

.cta-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  border-radius: var(--radius-xl);
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-content {
  flex: 1;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
}

.cta-actions {
  display: flex;
  gap: 16px;
}

.cta-qr {
  position: relative;
  z-index: 1;
}

.qr-placeholder {
  width: 160px;
  height: 160px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  text-align: center;
  gap: 12px;
}

.qr-placeholder span {
  font-size: 48px;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 42px;
  }
  
  .hero-content {
    gap: 40px;
  }
  
  .highlight-row {
    gap: 40px;
  }
  
  .highlight-text h3 {
    font-size: 28px;
  }
  
  .clients-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding-top: 100px;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 60px;
  }
  
  .hero-title {
    font-size: 32px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
  }
  
  .hero-stat-divider {
    display: none;
  }
  
  .hero-visual {
    order: -1;
  }
  
  .hero-mockup {
    max-width: 100%;
  }
  
  .highlight-row,
  .highlight-row.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .highlight-row.reverse .highlight-text {
    order: 1;
  }
  
  .highlight-row.reverse .highlight-visual {
    order: 2;
  }
  
  .highlight-text h3 {
    font-size: 24px;
  }
  
  .visual-box {
    height: 260px;
  }
  
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cta-card {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px;
  }
  
  .cta-content h2 {
    font-size: 28px;
  }
  
  .cta-actions {
    flex-direction: column;
    justify-content: center;
  }
  
  .cta-actions .btn {
    width: 100%;
  }
}