/* Advanced Premium UI Styles for OilHuiYun */
:root {
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  --gradient-glow: linear-gradient(135deg, rgba(0, 82, 217, 0.4) 0%, rgba(0, 162, 255, 0.4) 100%);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

/* Modern Hero Enhancements */
.hero-premium {
  position: relative;
  overflow: hidden;
  background: var(--bg-dark);
  color: var(--white);
  padding: 180px 0 120px;
}

.hero-premium::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(0, 82, 217, 0.4) 0%, transparent 70%);
  filter: blur(80px);
  z-index: 0;
  animation: pulseGlow 8s infinite alternate;
}

.hero-premium::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(0, 162, 255, 0.3) 0%, transparent 70%);
  filter: blur(80px);
  z-index: 0;
  animation: pulseGlow 10s infinite alternate-reverse;
}

@keyframes pulseGlow {
  0% { transform: scale(1) translate(0, 0); opacity: 0.6; }
  100% { transform: scale(1.1) translate(20px, 20px); opacity: 1; }
}

.hero-premium .container {
  position: relative;
  z-index: 2;
}

.hero-premium h1 {
  color: var(--white);
  font-size: 56px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.text-gradient-premium {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Glassmorphism Summary Block */
.summary-glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: translateY(0);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.summary-glass:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.summary-glass strong {
  color: #fff;
  font-weight: 700;
}

/* Bento Box Grid Layout */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.bento-item {
  background: var(--bg-card);
  border-radius: 24px;
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.bento-item:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 82, 217, 0.2);
}

.bento-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bento-item:hover::before {
  opacity: 1;
}

.bento-span-2 {
  grid-column: span 2;
}

.bento-span-3 {
  grid-column: span 3;
}

.bento-row-2 {
  grid-row: span 2;
}

/* Responsive Bento */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-span-3 {
    grid-column: span 2;
  }
}
@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-span-2, .bento-span-3 {
    grid-column: span 1;
  }
}

/* Feature Section with Image/Content Split */
.feature-split {
  display: flex;
  align-items: center;
  gap: 60px;
  margin: 80px 0;
}

.feature-split:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-split-content {
  flex: 1;
}

.feature-split-visual {
  flex: 1;
  position: relative;
}

.feature-visual-box {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-light) 100%);
  border-radius: 30px;
  padding: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5), var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.feature-visual-box::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(transparent, rgba(255,255,255,0.3), transparent 30%);
  animation: rotateGlow 10s linear infinite;
}

@keyframes rotateGlow {
  100% { transform: rotate(1turn); }
}

.feature-icon-wrapper {
  width: 80px;
  height: 80px;
  background: var(--white);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  color: var(--primary);
  z-index: 2;
  position: relative;
}

.feature-icon-wrapper svg {
  width: 40px;
  height: 40px;
}

@media (max-width: 900px) {
  .feature-split, .feature-split:nth-child(even) {
    flex-direction: column;
    gap: 40px;
  }
}

/* Micro-animations for Lists */
.feature-list {
  list-style: none;
  padding: 0;
  margin-top: 24px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 16px;
  color: var(--text);
  font-weight: 500;
  transform: translateX(0);
  transition: transform 0.3s ease;
}

.feature-list li:hover {
  transform: translateX(10px);
  color: var(--primary);
}

.feature-list li svg {
  color: var(--success);
  flex-shrink: 0;
}
