@font-face {
  font-family: 'icomoon';
  src: url("../fonts/icomoon.eot-srf3rx");
  src: url("../fonts/icomoon.eot-srf3rx#iefix") format("embedded-opentype"), 
       url("../fonts/icomoon.ttf-srf3rx") format("truetype"), 
       url("../fonts/icomoon.woff-srf3rx") format("woff"), 
       url("../fonts/icomoon.svg-srf3rx#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
}

:root {
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-bg-hover: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-border-hover: rgba(255, 255, 255, 0.3);
  --glass-blur: 24px;
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --primary-color: #667eea;
  --secondary-color: #764ba2;
  --accent-color: #f093fb;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.75);
  --text-light: rgba(255, 255, 255, 0.5);
  --bg-dark: #0a0a1a;
  --bg-gradient: linear-gradient(135deg, #0a0a1a 0%, #1a1a3e 50%, #0d0d2b 100%);
  --shadow-glow: 0 0 40px rgba(102, 126, 234, 0.25);
  --shadow-glass: 0 12px 40px rgba(0, 0, 0, 0.35);
  --shadow-card: 0 20px 50px rgba(0, 0, 0, 0.4);
  --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Microsoft YaHei", "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  background: var(--bg-dark);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-gradient);
  pointer-events: none;
  z-index: -2;
}

/* Floating Background Blobs */
.floating-blobs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
  animation: float 25s infinite ease-in-out;
}

.blob:nth-child(1) {
  width: 700px;
  height: 700px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  top: -250px;
  left: -150px;
  animation-delay: 0s;
}

.blob:nth-child(2) {
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, #764ba2, #f093fb);
  bottom: -200px;
  right: -150px;
  animation-delay: -6s;
}

.blob:nth-child(3) {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, #f093fb, #667eea);
  top: 30%;
  left: 40%;
  animation-delay: -12s;
}

.blob:nth-child(4) {
  width: 450px;
  height: 450px;
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  top: 65%;
  right: 15%;
  animation-delay: -18s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(60px, -60px) scale(1.1); }
  50% { transform: translate(-40px, 40px) scale(0.95); }
  75% { transform: translate(30px, 30px) scale(1.05); }
}

/* Glass Effect Base */
.glass-nav {
  background: rgba(10, 10, 26, 0.7);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border-bottom: 1px solid var(--glass-border);
}

.glass-nav.scrolled {
  background: rgba(10, 10, 26, 0.95);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.glass-footer {
  background: rgba(10, 10, 26, 0.85);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border-top: 1px solid var(--glass-border);
}

/* Navigation */
#fh5co-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all var(--transition-fast);
}

#fh5co-header .container {
  position: relative;
}

#fh5co-header .navbar {
  padding: 0;
  margin-bottom: 0;
  min-height: 70px;
  border: none;
  border-radius: 0;
  background: transparent !important;
}

#fh5co-header .navbar-default {
  background: transparent !important;
  border: none !important;
}

#fh5co-header .navbar-header {
  float: left;
}

#fh5co-header .navbar-brand {
  height: 70px;
  padding: 10px 15px;
  display: flex;
  align-items: center;
}

#fh5co-header .navbar-brand img {
  height: 50px;
  width: auto;
}

#fh5co-header #navbar {
  float: right;
}

#fh5co-header #navbar ul.nav {
  display: flex;
  align-items: center;
  margin: 0;
}

#fh5co-header #navbar li {
  list-style: none;
}

#fh5co-header #navbar li a {
  color: var(--text-secondary);
  padding: 25px 18px;
  font-size: 15px;
  font-weight: 500;
  position: relative;
  transition: color var(--transition-fast);
  display: inline-block;
}

#fh5co-header #navbar li a:hover,
#fh5co-header #navbar li a:focus {
  color: var(--text-primary);
  background: transparent;
}

#fh5co-header #navbar li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 18px;
  right: 18px;
  height: 3px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transition: transform var(--transition-fast);
  border-radius: 2px 2px 0 0;
}

#fh5co-header #navbar li a:hover::after,
#fh5co-header #navbar li.active a::after {
  transform: scaleX(1);
}

#fh5co-header #navbar li.active a {
  color: var(--text-primary);
}

#fh5co-header #navbar li a.btn-3d {
  padding: 10px 28px;
  margin: 15px 0 15px 15px;
}

#fh5co-header #navbar li a.btn-3d::after {
  display: none;
}

/* Mobile Toggle */
.fh5co-nav-toggle {
  display: none;
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 1001;
}

.fh5co-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 6px auto;
  transition: all var(--transition-fast);
  border-radius: 1px;
}

.fh5co-nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

.fh5co-nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.fh5co-nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* Hero Slider */
#slider {
  padding-top: 70px;
}

.owl-carousel-fullwidth .item {
  height: 100vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.owl-carousel-fullwidth .item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.4) 0%, rgba(118, 75, 162, 0.3) 50%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 1;
}

.owl-carousel-fullwidth .item .container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.owl-carousel-fullwidth .fh5co-owl-text {
  text-align: center;
  padding: 60px 40px;
  max-width: 900px;
  margin: 0 auto;
}

.owl-carousel-fullwidth .fh5co-lead {
  font-size: 56px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out;
}

.owl-carousel-fullwidth .fh5co-sub-lead {
  font-size: 22px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  font-weight: 300;
  line-height: 1.6;
  animation: fadeInUp 1s ease-out 0.2s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Buttons */
.btn-3d {
  position: relative;
  display: inline-block;
  padding: 14px 36px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
  background: var(--primary-gradient);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  overflow: hidden;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
  text-decoration: none;
}

.btn-3d::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.6s;
}

.btn-3d:hover::before {
  left: 100%;
}

.btn-3d:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.6);
  color: #fff;
}

.btn-3d:active {
  transform: translateY(-2px) scale(1.02);
}

.btn-3d.btn-lg {
  padding: 18px 48px;
  font-size: 16px;
}

/* Section Heading */
.section-heading {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-heading h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

.section-heading h2::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary-gradient);
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(102, 126, 234, 0.4);
}

.section-heading .section-subtitle {
  color: var(--text-secondary);
  font-size: 18px;
  margin-top: 24px;
}

/* Pricing Section */
#fh5co-pricing {
  padding: 100px 0 80px;
  position: relative;
  z-index: 1;
}

.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 50px;
}

.pricing-grid > [class*="col-"] {
  display: flex;
}

#fh5co-pricing .price-box {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 50px 30px 40px;
  text-align: center;
  position: relative;
  transition: all var(--transition-slow);
  margin-bottom: 30px;
  width: 100%;
  transform-style: preserve-3d;
  perspective: 1000px;
}

#fh5co-pricing .price-box:hover {
  transform: translateY(-10px);
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

#fh5co-pricing .price-box .popular-text {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 28px;
  background: var(--primary-gradient);
  color: #fff;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
  white-space: nowrap;
}

#fh5co-pricing .price-icon {
  width: 80px;
  height: 80px;
  margin: 20px auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(102, 126, 234, 0.12);
  border-radius: 50%;
  font-size: 32px;
  color: var(--accent-color);
  transition: all var(--transition-slow);
  box-shadow: 0 0 30px rgba(102, 126, 234, 0.15);
}

#fh5co-pricing .price-box:hover .price-icon {
  transform: scale(1.1) rotate(5deg);
  background: rgba(102, 126, 234, 0.2);
  box-shadow: 0 0 50px rgba(102, 126, 234, 0.3);
}

#fh5co-pricing .price {
  font-size: 48px;
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
}

#fh5co-pricing .price small {
  font-size: 16px;
  font-weight: 400;
}

#fh5co-pricing .pricing-info {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

#fh5co-pricing .pricing-info li {
  padding: 12px 0;
  color: var(--text-secondary);
  font-size: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

#fh5co-pricing .pricing-info li:last-child {
  border-bottom: none;
}

#fh5co-pricing .price-box hr {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
  margin: 20px 0;
}

#fh5co-pricing .btn-3d {
  width: 100%;
  margin: 0;
  padding: 14px 24px;
}

/* Footer */
#footer {
  padding: 80px 0 40px;
  position: relative;
  z-index: 1;
}

#footer .footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  margin-bottom: 50px;
}

#footer .footer-section {
  flex: 1;
  min-width: 250px;
}

#footer .footer-section h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 14px;
  color: var(--text-primary);
}

#footer .footer-section h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: 2px;
}

#footer .footer-section p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 24px;
}

#footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-links li {
  margin-bottom: 12px;
}

#footer .footer-links li a {
  color: var(--text-secondary);
  font-size: 14px;
  transition: all var(--transition-fast);
  display: inline-block;
}

#footer .footer-links li a:hover {
  color: var(--accent-color);
  padding-left: 8px;
}

#footer .footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-contact li {
  margin-bottom: 14px;
  color: var(--text-secondary);
  font-size: 14px;
  display: flex;
  align-items: center;
}

#footer .footer-contact li i {
  margin-right: 12px;
  color: var(--accent-color);
  font-size: 16px;
}

#footer .footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

#footer .footer-social a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

#footer .footer-social a:hover {
  background: var(--primary-gradient);
  color: #fff;
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

#footer .copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-light);
  font-size: 14px;
}

#footer .copyright a {
  color: var(--accent-color);
  transition: color var(--transition-fast);
}

#footer .copyright a:hover {
  color: var(--text-primary);
}

/* Owl Controls */
.owl-controls {
  display: none;
}

/* Animation Classes */
.js .to-animate,
.js .to-animate-2,
.js .single-animate {
  opacity: 0;
}

.fh5co-animated {
  animation-duration: 0.6s;
  animation-fill-mode: both;
}

/* Responsive - Tablet */
@media screen and (max-width: 992px) {
  .fh5co-nav-toggle {
    display: block;
  }
  
  #fh5co-header .navbar-header {
    float: none;
  }
  
  #fh5co-header #navbar {
    float: none;
  }
  
  #fh5co-header .navbar-collapse.collapse {
    display: none !important;
  }
  
  #fh5co-header .navbar-collapse.collapse.in {
    display: block !important;
  }
  
  #fh5co-header #navbar ul.nav {
    flex-direction: column;
    padding: 10px 0;
  }
  
  #fh5co-header #navbar li {
    width: 100%;
  }
  
  #fh5co-header #navbar li a {
    padding: 15px 20px;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  #fh5co-header #navbar li a::after {
    display: none;
  }
  
  #fh5co-header #navbar li a.btn-3d {
    margin: 15px 20px;
    text-align: center;
    display: block;
  }
  
  .owl-carousel-fullwidth .fh5co-lead {
    font-size: 40px;
    letter-spacing: 2px;
  }
  
  .owl-carousel-fullwidth .fh5co-sub-lead {
    font-size: 18px;
  }
  
  .owl-carousel-fullwidth .fh5co-owl-text {
    padding: 40px 20px;
  }
  
  .section-heading h2 {
    font-size: 36px;
  }
  
  #fh5co-pricing {
    padding: 80px 0 60px;
  }
  
  #footer .footer-content {
    gap: 40px;
  }
}

/* Responsive - Mobile */
@media screen and (max-width: 768px) {
  .owl-carousel-fullwidth .item {
    min-height: 500px;
  }
  
  .owl-carousel-fullwidth .fh5co-lead {
    font-size: 32px;
  }
  
  .owl-carousel-fullwidth .fh5co-sub-lead {
    font-size: 16px;
    margin-bottom: 30px;
  }
  
  .section-heading h2 {
    font-size: 28px;
  }
  
  .section-heading .section-subtitle {
    font-size: 15px;
  }
  
  #fh5co-pricing {
    padding: 60px 0 40px;
  }
  
  #fh5co-pricing .price-box {
    padding: 40px 24px 32px;
  }
  
  #fh5co-pricing .price {
    font-size: 36px;
  }
  
  .btn-3d {
    padding: 12px 28px;
    font-size: 13px;
  }
  
  .btn-3d.btn-lg {
    padding: 14px 36px;
    font-size: 14px;
  }
  
  #footer {
    padding: 60px 0 30px;
  }
  
  #footer .footer-content {
    flex-direction: column;
    gap: 30px;
  }
  
  #footer .footer-section {
    min-width: 100%;
  }
}

/* Responsive - Small Mobile */
@media screen and (max-width: 480px) {
  .owl-carousel-fullwidth .fh5co-lead {
    font-size: 24px;
    letter-spacing: 1px;
  }
  
  .owl-carousel-fullwidth .fh5co-sub-lead {
    font-size: 14px;
  }
  
  .section-heading h2 {
    font-size: 24px;
  }
  
  #fh5co-pricing .price {
    font-size: 32px;
  }
  
  #fh5co-pricing .price-icon {
    width: 64px;
    height: 64px;
    font-size: 28px;
  }
}
