/* ======================================
   REVENUE ARCHITECTURE - STYLE.CSS
   Clean, organized, and optimized styles
   ====================================== */

/* ===== BASE STYLES ===== */
* {
    scroll-behavior: smooth;
}

@import url('https://fonts.googleapis.com/css2?family=Audiowide&display=swap');


body {
font-family: "Audiowide", sans-serif;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
font-family: "Audiowide", sans-serif;
}

/* ===== NAVIGATION ===== */
.nav-gradient {
  position: fixed !important;
 
 border-bottom: 2px solid white;
  
  z-index: 1000;
  transition: background 0.4s ease, box-shadow 0.4s ease;

  background: transparent; /* default (before scroll) */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
}

/* Header color changes on scroll */
.nav-gradient.scrolled {
  background: linear-gradient(135deg, #0a0a23 0%, #1b1b5e 50%, #2d2d80 100%);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.6);
}

/* Menu links */
.nav-link {
  position: relative;
  transition: all 0.3s ease;
  color: white;
  text-decoration: none;
  padding: 10px 15px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #06b6d4, #3b82f6);
  transition: width 0.4s ease;
  box-shadow: 0 0 10px #06b6d4;
}

.nav-link:hover::after {
  width: 100%;
}


/* ===== HERO SECTION ===== */
.hero-bg {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    position: relative;
    overflow: hidden;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?w=1920&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
}

/* ===== BUTTONS ===== */
.glow-btn {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    transition: all 0.3s ease;
}

.glow-btn:hover {
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.8), 0 0 60px rgba(6, 182, 212, 0.6);
    transform: translateY(-3px) scale(1.05);
}

/* ===== PHASE CARDS ===== */
.phase-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.phase-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

/* ===== FLOATING ICON ANIMATION ===== */
.floating-icon {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px); 
    }
    50% { 
        transform: translateY(-15px); 
    }
}

/* ===== MUSIC CONTROLS ===== */
.music-controls {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    gap: 12px;
}

.music-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.music-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.6);
}

.music-btn.playing {
    background: linear-gradient(135deg, #10b981, #059669);
}

.music-btn.muted {
    background: linear-gradient(135deg, #6b7280, #9ca3af);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    transition: transform 0.3s ease-in-out;
    transform: translateY(-100%);
}

.mobile-menu.open {
    transform: translateY(0);
}

/* ===== DIGITAL TEXT ===== */
#digitalText {
    display: inline-block;
    letter-spacing: 1.5px;
}

/* ===== ROI CALCULATOR ===== */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3b82f6;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.5);
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3b82f6;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.5);
}

/* ===== LAZY LOAD IMAGES ===== */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.4s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
    .music-controls {
        bottom: 20px;
        right: 20px;
    }
    
    .music-btn {
        width: 48px;
        height: 48px;
    }
}