/* Appcuesoft Core Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --primary-color: #0E0E0E;
  --secondary-color: #F1F3F3;
  --text-color: #696969;
  --accent-color: #B9FB6A;
  --accent-secondary-color: #FFFFFF;
  --white: #FFFFFF;
  --black: #000000;
  --divider: rgba(14, 14, 14, 0.1);
  --dark-divider: rgba(255, 255, 255, 0.1);
  --background-light: #F9FAFB;
  --font-primary: 'Inter Tight', sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Global Reset */
html, body {
  width: 100%;
  overflow-x: clip;
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6em;
  color: var(--text-color);
  background-color: var(--background-light);
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.2em;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

p {
  margin-bottom: 1.5rem;
}

/* Scrollbar styling */
body.fancy-scrollbar::-webkit-scrollbar-track {
  background-color: var(--primary-color);
}

body.fancy-scrollbar::-webkit-scrollbar {
  width: 8px;
}

body.fancy-scrollbar::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent-color) 0%, #a4e658 100%);
  border-radius: 4px;
}

/* Preloader */
.theme-preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100000;
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.theme-preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.theme-preloader .loading-container {
  height: 100px;
  width: 100px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-preloader .loading {
  height: 100%;
  width: 100%;
  border-radius: 50%;
  border: 2px solid transparent;
  border-color: transparent var(--white) transparent var(--white);
  animation: rotate-loading 1.5s linear infinite;
}

.theme-preloader #loading-icon {
  position: absolute;
  max-width: 50px;
  height: auto;
}

@keyframes rotate-loading {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Magic Cursor */
#magic-cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  pointer-events: none;
  z-index: 99999;
  mix-blend-mode: difference;
}

#ball {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--accent-color);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
  pointer-events: none;
}

#magic-cursor.hovered #ball {
  width: 40px;
  height: 40px;
  background-color: rgba(185, 251, 106, 0.4);
  mix-blend-mode: normal;
}

/* Header & Sticky */
header.main-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
}

header.main-header .header-sticky {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--dark-divider);
  border-radius: 100px;
  padding: 15px 30px;
  transition: var(--transition-smooth);
}

header.main-header.is-sticky {
  position: fixed;
  top: 0;
  padding: 10px 0;
  animation: slideDown 0.4s ease-out;
}

header.main-header.is-sticky .header-sticky {
  background: var(--primary-color);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0 0 20px 20px;
  border-top: none;
  border-left: none;
  border-right: none;
  padding: 12px 30px;
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

/* Nav Menu */
.navbar-nav .nav-link {
  color: var(--white) !important;
  font-weight: 500;
  font-size: 15px;
  padding: 10px 15px !important;
  transition: var(--transition-smooth);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--accent-color) !important;
}

.dropdown-menu {
  background-color: var(--primary-color);
  border: 1px solid var(--dark-divider);
  border-radius: 10px;
  padding: 10px;
  margin-top: 15px !important;
}

.dropdown-item {
  color: var(--white);
  font-weight: 500;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 6px;
}

.dropdown-item:hover,
.dropdown-item.active {
  background-color: var(--accent-color);
  color: var(--primary-color) !important;
}

/* Custom Creative Button */
.btn-creative {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-color);
  color: var(--primary-color);
  font-weight: 600;
  font-size: 15px;
  border-radius: 100px;
  padding: 12px 24px;
  border: none;
  overflow: hidden;
  position: relative;
  z-index: 1;
  transition: var(--transition-smooth);
}

.btn-creative svg {
  margin-left: 8px;
  transition: transform 0.4s ease;
  transform: rotate(-45deg);
}

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

.btn-creative:hover svg {
  transform: rotate(0deg);
}

/* Dark Section styling */
.bg-dark-section {
  background-color: var(--primary-color);
  color: var(--white);
}

.bg-dark-section h1,
.bg-dark-section h2,
.bg-dark-section h3,
.bg-dark-section h4 {
  color: var(--white);
}

.bg-dark-section p,
.bg-dark-section .text-muted,
.shiny-glass-card p,
.shiny-glass-card .text-muted,
.benefit-list-item p,
.benefit-list-item .text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Hero Section (Royal Version) */
.hero-section {
  padding: 180px 0 100px;
  background: var(--primary-color);
  overflow: hidden;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(185, 251, 106, 0.15) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}

.section-subtitle {
  color: var(--accent-color);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 15px;
  display: inline-block;
  background: rgba(185, 251, 106, 0.1);
  padding: 6px 16px;
  border-radius: 100px;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
}

@media (max-width: 991px) {
  .hero-title { font-size: 40px; }
}

.hero-desc {
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.8;
  color: #B4B4B4;
}

/* Hero Badge Overlays */
.hero-image-wrapper {
  position: relative;
  display: inline-block;
}

.hero-card-badge {
  position: absolute;
  background: rgba(14, 14, 14, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--dark-divider);
  border-radius: 16px;
  padding: 20px;
  color: var(--white);
  transition: transform 0.3s ease;
  z-index: 10;
}

.badge-top-left {
  top: 15%;
  left: -15%;
  width: 200px;
}

.badge-bottom-right {
  bottom: 15%;
  right: -15%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-color);
  border: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.badge-bottom-right h3 {
  color: var(--primary-color);
}

.badge-avatar-group {
  display: flex;
  margin-bottom: 10px;
}

.badge-avatar-group img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--white);
  margin-right: -10px;
}

/* Shiny Glass Card Effect */
.shiny-glass-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--dark-divider);
  border-radius: 20px;
  padding: 40px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.shiny-glass-card:after {
  content: '';
  position: absolute;
  width: 200%;
  height: 0%;
  left: 50%;
  top: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  transform: translate(-50%, -50%) rotate(-45deg);
  transition: height 0.6s ease;
}

.shiny-glass-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
}

.shiny-glass-card:hover:after {
  height: 250%;
}

.icon-box-large {
  width: 60px;
  height: 60px;
  background: rgba(185, 251, 106, 0.1);
  color: var(--accent-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  font-size: 24px;
}

/* Benefit Block Grid */
.benefit-list-item {
  display: flex;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.benefit-list-item:last-child {
  border-bottom: none;
}

.benefit-list-item .icon {
  color: var(--accent-color);
  margin-right: 15px;
  font-size: 20px;
  margin-top: 3px;
}

/* Custom Testimonial Slider styling */
.swiper {
  width: 100%;
  padding-bottom: 50px;
}

.testimonial-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
  border: 1px solid rgba(14, 14, 14, 0.05);
}

.stars-rating {
  color: #FFC107;
  margin-bottom: 20px;
  font-size: 14px;
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-color);
  margin-bottom: 25px;
}

.client-info {
  display: flex;
  align-items: center;
}

.client-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
}

.client-name {
  font-weight: 700;
  font-size: 16px;
  color: var(--primary-color);
  margin-bottom: 2px;
}

.client-role {
  font-size: 13px;
  color: var(--text-color);
}

/* Pricing Section */
.pricing-card {
  background: var(--white);
  border-radius: 24px;
  padding: 40px;
  border: 1px solid rgba(14, 14, 14, 0.08);
  position: relative;
  transition: var(--transition-smooth);
}

.pricing-card.featured {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--accent-color);
}

.pricing-card.featured .pricing-title {
  color: var(--white);
}

.pricing-card.featured .price {
  color: var(--white);
}

.pricing-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.price {
  font-size: 48px;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 25px;
}

.price span {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-color);
}

.pricing-card.featured .price span {
  color: #B4B4B4;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.pricing-features li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  font-size: 15px;
}

.pricing-features li i {
  color: var(--accent-color);
  margin-right: 10px;
  font-size: 16px;
}

/* Blog Cards */
.blog-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(14, 14, 14, 0.08);
  transition: var(--transition-smooth);
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.blog-img-wrapper {
  overflow: hidden;
  position: relative;
  aspect-ratio: 1.5;
}

.blog-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-img-wrapper img {
  transform: scale(1.05);
}

.blog-content {
  padding: 30px;
}

.blog-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 15px;
}

/* CTA Download Card */
.cta-download-box {
  background: linear-gradient(135deg, var(--accent-color) 0%, #a4e658 100%);
  border-radius: 30px;
  padding: 80px 60px;
  position: relative;
  overflow: hidden;
  color: var(--primary-color);
  margin-bottom: -100px;
  z-index: 10;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.cta-download-box h2 {
  font-size: 44px;
  font-weight: 800;
  color: var(--primary-color);
}

/* Subpage Banner */
.subpage-banner {
  padding: 160px 0 100px;
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.subpage-banner h1 {
  color: var(--white);
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 15px;
}

.breadcrumbs {
  font-size: 15px;
  color: #B4B4B4;
}

.breadcrumbs a {
  color: var(--accent-color);
  margin-right: 5px;
}

.breadcrumbs span {
  margin-left: 5px;
}

/* Accordion for FAQs */
.accordion-item {
  background-color: var(--white);
  border: 1px solid rgba(14, 14, 14, 0.08) !important;
  border-radius: 12px !important;
  margin-bottom: 15px;
  overflow: hidden;
}

.accordion-button {
  font-weight: 700;
  color: var(--primary-color) !important;
  font-size: 16px;
  padding: 20px 25px;
  background-color: transparent !important;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  color: var(--accent-color) !important;
  background-color: var(--primary-color) !important;
}

.accordion-button:not(.collapsed)::after {
  filter: invert(1);
}

.accordion-body {
  padding: 25px;
  color: var(--text-color);
  line-height: 1.7;
}

/* Team Grid Card */
.team-card {
  text-align: center;
  background-color: var(--white);
  border-radius: 20px;
  padding: 30px;
  border: 1px solid rgba(14, 14, 14, 0.08);
  transition: var(--transition-smooth);
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin: 0 auto 20px;
  object-fit: cover;
  border: 3px solid var(--accent-color);
}

.team-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.team-role {
  font-size: 14px;
  color: var(--text-color);
}

/* Contact Details Cards */
.contact-info-card {
  background: var(--white);
  border: 1px solid rgba(14, 14, 14, 0.08);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  height: 100%;
}

.contact-info-card .icon {
  width: 50px;
  height: 50px;
  background-color: rgba(185, 251, 106, 0.1);
  color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: 0 auto 20px;
}

.contact-form {
  background: var(--white);
  border: 1px solid rgba(14, 14, 14, 0.08);
  border-radius: 24px;
  padding: 40px;
}

.form-control {
  border: 1px solid rgba(14, 14, 14, 0.1);
  padding: 15px;
  font-size: 15px;
  border-radius: 8px;
}

.form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.25rem rgba(185, 251, 106, 0.25);
}

/* Responsive utilities */
@media (max-width: 991px) {
  header.main-header {
    position: relative;
    background-color: var(--primary-color);
    padding: 15px 0;
  }
  
  header.main-header .header-sticky {
    background: transparent;
    border: none;
    padding: 0;
  }
  
  .navbar-collapse {
    background-color: var(--primary-color);
    padding: 20px;
    border-radius: 12px;
    margin-top: 15px;
    border: 1px solid rgba(255,255,255,0.1);
  }
  
  .cta-download-box {
    padding: 50px 30px;
    margin-bottom: -50px;
    text-align: center;
  }
  
  .cta-download-box h2 {
    font-size: 32px;
  }
}
