/* ========================================
   01. ROOT VARIABLES
======================================== */
:root {
  --fc-primary: #2F6BFF;
  --fc-purple: #6C2BD9;
  --fc-blue: #2F6BFF;
  --fc-dark: #16162B;
  --fc-text: #6B6B80;
  --fc-muted: #8B91A7;
  --fc-bg: #FFFFFF;
  --fc-soft-bg: #FAFAFC;
  --fc-border: #ECEAF5;
  --fc-radius: 32px;
  --fc-radius-sm: 16px;
  
  --fc-gradient: linear-gradient(135deg, #6C2BD9 0%, #2F6BFF 100%);
  --fc-shadow-soft: 0 10px 40px rgba(108, 43, 217, 0.08);
  --fc-shadow-hover: 0 20px 50px rgba(108, 43, 217, 0.15);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ========================================
   02. RESET / GLOBAL
======================================== */
body {
  font-family: 'Inter', sans-serif; /* Fallback to standard sans-serif */
  background-color: var(--fc-bg);
  color: var(--fc-text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--fc-dark);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: var(--fc-blue);
  transition: all 0.3s var(--ease-spring);
}

a:hover {
  color: var(--fc-purple);
}

/* Utilities */
.fc-gradient-text {
  background: var(--fc-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.fc-soft-bg {
  background-color: var(--fc-soft-bg);
}

.fc-section {
  padding: 80px 0;
}

@media (min-width: 992px) {
  .fc-section {
    padding: 120px 0;
  }
}

.fc-card {
  background: #ffffff;
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius);
  padding: 40px;
  box-shadow: var(--fc-shadow-soft);
  transition: all 0.4s var(--ease-spring);
  height: 100%;
}

.fc-card:hover {
  transform: translateY(-8px) rotate(1deg);
  box-shadow: var(--fc-shadow-hover);
}

.fc-card-genz {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 40px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(108, 43, 217, 0.08);
  transition: all 0.5s var(--ease-spring);
}

.fc-card-genz:hover {
  transform: translateY(-10px) rotate(1.5deg) scale(1.02);
  box-shadow: 0 30px 60px rgba(108, 43, 217, 0.15);
}

.fc-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--fc-soft-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
  color: var(--fc-purple);
}

.fc-badge {
  display: inline-block;
  padding: 8px 16px;
  background: var(--fc-soft-bg);
  color: var(--fc-purple);
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 24px;
}

.fc-hover-badge {
  transition: all 0.3s var(--ease-spring);
  cursor: pointer;
}

.fc-hover-badge:hover {
  background: var(--fc-purple) !important;
  color: white !important;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(108, 43, 217, 0.2) !important;
  border-color: var(--fc-purple) !important;
}

/* ========================================
   03. TYPOGRAPHY
======================================== */
.fc-hero-title {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1.1;
  margin-bottom: 24px;
}

.fc-section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 24px;
}

.fc-lead {
  font-size: 1.125rem;
  color: var(--fc-text);
  margin-bottom: 32px;
  line-height: 1.6;
}

/* ========================================
   04. BUTTONS
======================================== */
.fc-gradient-btn {
  background: var(--fc-gradient);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 16px 36px;
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 12px 25px rgba(47, 107, 255, 0.3);
  transition: all 0.4s var(--ease-spring);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.fc-gradient-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(45deg) translateY(100%);
  transition: transform 0.6s ease;
  z-index: -1;
}

.fc-gradient-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 18px 35px rgba(108, 43, 217, 0.4);
  color: white;
}

.fc-gradient-btn:hover::after {
  transform: rotate(45deg) translateY(-100%);
}

.fc-btn-outline {
  background: transparent;
  color: var(--fc-dark);
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius-sm);
  padding: 14px 28px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.fc-btn-outline:hover {
  background: var(--fc-soft-bg);
  color: var(--fc-purple);
}

/* =======================================
   PREMIUM GEN-Z SMART HEADER
   ======================================= */
.fc-navbar {
    background: rgba(255, 255, 255, 0.65) !important;
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    border-right: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 50px rgba(139, 47, 247, 0.1), inset 0 2px 20px rgba(255, 255, 255, 0.8);
    border-radius: 100px;
    padding: 12px 25px !important;
    margin: 25px auto 0;
    left: 0; right: 0;
    width: 95%;
    max-width: 1200px;
    transition: transform 0.5s cubic-bezier(0.3, 1.5, 0.3, 1), opacity 0.4s ease, box-shadow 0.3s ease;
}

.fc-navbar.nav-hidden {
    transform: translateY(-200%);
    opacity: 0;
}

.fc-navbar.scrolled {
    box-shadow: 0 25px 60px rgba(47, 107, 255, 0.15), inset 0 2px 20px rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 0.85) !important;
}

.fc-navbar .nav-link:hover, .fc-navbar .nav-link.active {
  color: var(--fc-purple);
}

.fc-navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--fc-gradient);
  transition: width 0.3s ease;
}

.fc-navbar .nav-link.active::after {
  width: 100%;
}

.fc-navbar-brand img {
  height: 40px;
}

.fc-download-dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
  animation: dropdownSlideDown 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

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

/* Image Zoom Effect */
.fc-hover-card img {
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fc-hover-card:hover img {
  transform: scale(1.06);
}

/* ========================================
   06. HERO
======================================== */
.fc-hero-section {
  padding: 150px 0 100px;
  position: relative;
  overflow: hidden;
}

.fc-hero-bg {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(139,47,247,0.1) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  z-index: -1;
}

.fc-hero-bg-2 {
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,61,154,0.08) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  z-index: -1;
}

.fc-hero-phone {
  position: relative;
  max-width: 100%;
  animation: float 6s ease-in-out infinite;
}

/* ========================================
   07. STATS
======================================== */
.fc-stats-bar {
  background: white;
  border-top: 1px solid var(--fc-border);
  border-bottom: 1px solid var(--fc-border);
  padding: 40px 0;
}

.fc-stat-item h3 {
  font-size: 2.5rem;
  margin-bottom: 5px;
  color: var(--fc-dark);
}

.fc-stat-item p {
  color: var(--fc-muted);
  font-weight: 500;
  margin-bottom: 0;
}

/* ========================================
   08. FEATURES
======================================== */
/* Cards handled by .fc-card */

/* ========================================
   09. PROMO BANNER
======================================== */
.fc-promo-banner {
  background: var(--fc-gradient);
  border-radius: 30px;
  padding: 60px;
  color: white;
  position: relative;
  overflow: hidden;
}

.fc-promo-banner h2 {
  color: white;
}

.fc-promo-banner p {
  color: rgba(255, 255, 255, 0.9);
}

/* ========================================
   10. APP PREVIEW
======================================== */
.fc-app-mockup {
  border-radius: var(--fc-radius);
  box-shadow: var(--fc-shadow-soft);
  transition: transform 0.3s ease;
}

.fc-app-mockup:hover {
  transform: translateY(-10px);
}

/* ========================================
   11. TESTIMONIALS
======================================== */
.fc-testimonial-card {
  padding: 40px;
}

.fc-stars {
  color: #FFC94A;
  margin-bottom: 20px;
}

.fc-testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 30px;
}

.fc-author-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.fc-author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.fc-author-name {
  font-weight: 700;
  color: var(--fc-dark);
  margin-bottom: 0;
}

.fc-author-role {
  color: var(--fc-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ========================================
   12. HOW IT WORKS
======================================== */
.fc-step-card {
  text-align: center;
  padding: 40px 20px;
}

.fc-step-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--fc-soft-bg);
  -webkit-text-stroke: 1px var(--fc-purple);
  margin-bottom: 20px;
}

/* ========================================
   13. FOOTER
======================================== */
.fc-footer {
  background: var(--fc-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 40px;
}

.fc-footer-title {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 24px;
}

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

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

.fc-footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}

.fc-footer-links a:hover {
  color: var(--fc-primary);
}

.fc-social-icons {
  display: flex;
  gap: 15px;
  margin-top: 24px;
}

.fc-social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.fc-social-icons a:hover {
  background: var(--fc-gradient);
}

.fc-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 60px;
  padding-top: 30px;
  text-align: center;
  font-size: 0.9rem;
}

/* ========================================
   14. ANIMATIONS
======================================== */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   15. RESPONSIVE
======================================== */
@media (max-width: 991px) {
  .fc-hero-section {
    padding: 120px 0 60px;
    text-align: center;
  }
  
  .fc-hero-phone {
    margin-top: 40px;
    max-width: 80%;
  }

  .fc-promo-banner {
    padding: 40px 30px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .fc-stat-item {
    margin-bottom: 30px;
  }
  
  .fc-card {
    padding: 30px;
  }
}
