/* ============================================
   AXYFIT - Modern Creative Website Styles
   ============================================ */

/* Root Variables */
:root {
  --primary-color: #97c568;
  --secondary-color: #2a512b;
  --accent-color: #e1a481;
  --success-color: #97c568;
  --dark-color: #2a512b;
  --light-color: #d3e7c0;
  --lighter-color: #ffffff;
  --neutral-color: #a2a4a8;
  --text-color: #333;
  --text-light: #6c757d;
  --gradient-1: linear-gradient(135deg, #97c568 0%, #2a512b 100%);
  --gradient-2: linear-gradient(135deg, #d3e7c0 0%, #97c568 100%);
  --gradient-3: linear-gradient(135deg, #97c568 0%, #d3e7c0 100%);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-color);
  background-color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

.gradient-text {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(42, 81, 43, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.main-header .navbar {
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff !important;
  transition: var(--transition);
}

.logo-text {
  color: #fff;
}

.logo-highlight {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  margin: 0 0.25rem;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}

.navbar-nav .nav-link:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.1);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  transition: var(--transition);
}

.navbar-nav .nav-link:hover::after {
  width: 80%;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background: linear-gradient(135deg, #2a512b 0%, #1a3a1e 100%);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.hero-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
  animation: float 20s infinite ease-in-out;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: #97c568;
  top: -200px;
  right: -200px;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: #d3e7c0;
  bottom: -150px;
  left: -150px;
  animation-delay: -5s;
}

.shape-3 {
  width: 250px;
  height: 250px;
  background: #e1a481;
  top: 50%;
  left: 50%;
  animation-delay: -10s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, -50px) rotate(120deg);
  }
  66% {
    transform: translate(-20px, 20px) rotate(240deg);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  animation: fadeInUp 1s ease;
}

.hero-description {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons .btn {
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
}

.btn-primary {
  background: var(--gradient-1);
  border: none;
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(151, 197, 104, 0.4);
}

.btn-outline-light:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.1);
}

.hero-stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.6s both;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Hero Apps Showcase */
.hero-apps {
  position: relative;
  z-index: 2;
}

.app-showcase {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.app-phone {
  animation: fadeInUp 1s ease 0.8s both;
}

.app-phone:nth-child(1) {
  animation-delay: 0.8s;
}

.app-phone:nth-child(2) {
  animation-delay: 1s;
  transform: scale(1.1);
}

.app-phone:nth-child(3) {
  animation-delay: 1.2s;
}

.phone-frame {
  width: 280px;
  height: 560px;
  background: #fff;
  border-radius: 40px;
  padding: 15px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  transition: var(--transition);
}

.app-phone:hover .phone-frame {
  transform: translateY(-10px) rotateY(5deg);
}

.phone-notch {
  width: 150px;
  height: 25px;
  background: #000;
  border-radius: 0 0 20px 20px;
  margin: 0 auto 10px;
}

.phone-content {
  width: 100%;
  height: calc(100% - 35px);
  background: linear-gradient(135deg, var(--gradient-from), var(--gradient-to));
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: #fff;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.phone-screenshot {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
}


.phone-content-overlay {
  color:#fff !important;
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  padding: 1.2rem;
  border-radius: 20px;
  margin: 1.4rem;
}

.phone-content .app-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.phone-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.phone-content p {
  font-size: 0.9rem;
  opacity: 0.9;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products-section {
  padding: 100px 0;
  background: #ffffff;
}

.section-header {
  margin-bottom: 4rem;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
}

.product-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.product-card-header {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.product-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.9;
}

.product-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 5rem;
  z-index: 2;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

.product-card-body {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.product-description {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.product-features {
  list-style: none;
  margin-bottom: 2rem;
}

.product-features li {
  padding: 0.5rem 0;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-features li i {
  color: #97c568;
}

.btn-product {
  background: var(--card-color);
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  margin-top: auto;
}

.btn-product:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #fff;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
  padding: 100px 0;
  background: #d3e7c0;
}

.feature-card {
  text-align: center;
  padding: 2rem;
  border-radius: 20px;
  transition: var(--transition);
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  transform: rotate(10deg) scale(1.1);
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.feature-description {
  color: var(--text-light);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 100px 0;
  background: var(--gradient-1);
  color: #fff;
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-description {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta-primary {
  background: #fff;
  color: #2a512b;
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
  color: #2a512b;
  background: #d3e7c0;
}

.btn-cta-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-cta-secondary:hover {
  background: #fff;
  color: #2a512b;
  transform: translateY(-3px);
}

/* ============================================
   FOOTER
   ============================================ */
.main-footer {
  background: var(--dark-color);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 20px;
}

.footer-brand {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-description {
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--transition);
  text-decoration: none;
}

.social-link:hover {
  background: var(--gradient-1);
  transform: translateY(-3px);
  color: #fff;
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #fff;
  padding-left: 5px;
}

.footer-contact {
  list-style: none;
}

.footer-contact li {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-contact i {
  color: #97c568;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
  padding: 150px 0 80px;
  background: var(--gradient-1);
  color: #fff;
  text-align: center;
}

.page-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-description {
    font-size: 1.125rem;
  }
  
  .app-showcase {
    display: none;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-stats {
    gap: 1.5rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .cta-title {
    font-size: 2rem;
  }
}

/* Additional Utility Classes */
.btn {
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.btn i {
  margin-right: 0.5rem;
}

.text-center {
  text-align: center;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mb-5 {
  margin-bottom: 3rem;
}
