/* Refined color scheme variables for better harmony */
:root {
  /* Main colors */
  --primary: #7e57c2; /* Softer purple as primary */
  --primary-light: #b085f5;
  --primary-dark: #4d2c91;
  
  /* Complementary colors */
  --secondary: #2eccfa; /* Lighter blue that pairs with purple */
  --secondary-light: #64e0ff;
  --secondary-dark: #00a0c7;
  
  /* Accent for call-to-actions and highlights */
  --accent: #ff5bbd; /* Softer pink that harmonizes with purple */
  --accent-light: #ff8ad0;
  --accent-dark: #d4309a;
  
  /* Neutral colors */
  --text-dark: #2d2d2d;
  --text-medium: #555555;
  --text-light: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.7);
  
  /* Background colors */
  --bg-light: #ffffff;
  --bg-off-white: #faf9fe; /* Slight purple tint to white */
  --bg-dark: #191631; /* Dark purple-tinted background instead of pure black */
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
  --gradient-accent: linear-gradient(135deg, var(--accent), var(--primary));
  --gradient-dark: linear-gradient(135deg, var(--bg-dark), #292443);
  
  /* Other variables remain unchanged */
  --animation-speed: 0.3s;
  --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-smooth: cubic-bezier(0.65, 0, 0.35, 1);
  --box-shadow-hover: 0 15px 30px rgba(126, 87, 194, 0.2);
  --box-shadow-active: 0 5px 15px rgba(126, 87, 194, 0.15);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Accounts for fixed navbar */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Poppins', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
    background-image: linear-gradient(to bottom, var(--bg-light) 0%, var(--bg-off-white) 100%);
}

.navbar {
    position: fixed;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.4s var(--transition-smooth);
}

.navbar.scrolled {
    padding: 0.7rem 1rem;
    background: rgb(243, 246, 251);
    box-shadow: 0 5px 20px rgba(126, 87, 194, 0.08);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    margin-left: 20px;
    padding: 8px 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-links a:not(.button)::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s var(--transition-bounce);
}

.nav-links a:not(.button):hover::before {
    width: 80%;
}

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

.nav-links a.button {
    background: var(--primary);
    color: rgb(255, 255, 255);
    border-radius: 25px;
    padding: 8px 20px;
    box-shadow: 0 4px 12px rgba(126, 87, 194, 0.2);
    transform-origin: center;
    transition: all 0.3s var(--transition-bounce);
}

.nav-links a.button:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 16px rgba(126, 87, 194, 0.25);
    transform: scale(1.05);
}

/* Remove the underline effect for buttons */
.nav-links a.button::before {
    display: none;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--text-dark);
}

.hero {
    background: linear-gradient(rgba(25, 22, 49, 0.8), rgba(25, 22, 49, 0.85)), url('https://images.unsplash.com/photo-1511379938547-c1f69419868d?ixlib=rb-4.0.3') center/cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center; 
    text-align: center;
    color: white;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
    padding: 40px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s var(--transition-bounce), 
                box-shadow 0.3s var(--transition-smooth);
    text-align: center; /* Ensure content is centered */
    margin: 0 auto; /* Properly center the container */
    width: 100%; /* Ensure the container takes full width up to max-width */
}

.hero-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: var(--text-light);
    background: linear-gradient(to right, #ffffff, var(--secondary-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% auto;
    animation: textShine 3s linear infinite;
    text-align: center; /* Explicitly center the text */
    width: 100%; /* Ensure text takes full width */
}

@keyframes textShine {
    to {
        background-position: 200% center;
    }
}

.hero p {
    font-size: 1.5em;
    margin-bottom: 30px;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.2em;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(46, 204, 250, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s var(--transition-bounce);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(46, 204, 250, 0.4);
}

.cta-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cta-button:hover::before {
    opacity: 1;
}

.cta-button::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    z-index: -1;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
}

.cta-button:active::after {
    animation: buttonClick 0.8s ease-out;
}

@keyframes buttonClick {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(15);
    }
}

.hero-wave {
    position: absolute;
    bottom: 0;
    width: 100%;
}

.features {
    padding: 100px 20px;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5em;
    color: var(--primary);
}

.section-header p {
    font-size: 1.2em;
    color: var(--text-medium);
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--bg-light);
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: all 0.4s var(--transition-bounce);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: var(--box-shadow-hover);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--primary);
    transition: height 0.5s ease;
    border-radius: 10px 0 0 10px;
}

.feature-card:hover::before {
    height: 100%;
}

.feature-icon {
    font-size: 3em;
    color: var(--primary);
    margin-bottom: 20px;
    transition: all 0.4s var(--transition-bounce);
}

.feature-card:hover .feature-icon {
    transform: translateZ(20px) scale(1.2);
    color: var(--accent);
}

.feature-card h3 {
    margin: 20px 0;
    color: var(--primary);
    transition: all 0.4s var(--transition-bounce);
}

.feature-card:hover h3 {
    transform: translateZ(10px);
}

.feature-card p {
    color: var(--text-medium);
    font-size: 1em;
    margin-bottom: 20px;
}

.learn-more {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9em;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.learn-more:hover {
    text-decoration: underline;
    color: var(--primary-dark);
}

.stats-section {
    background: var(--gradient-dark);
    color: var(--text-light);
    padding: 80px 20px;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s var(--transition-bounce);
}

.stat-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.12);
}

.stat-item h2 {
    font-size: 3em;
    margin: 20px 0;
    color: var(--secondary);
    position: relative;
}

.stat-item i {
    font-size: 2.5em;
    color: var(--secondary-light);
}

.stat-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: width 0.5s ease;
}

.stat-item:hover::after {
    width: 100%;
}

.about-section {
    padding: 120px 20px;
    background: var(--bg-off-white);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1511671782779-c97d3d27a1d4') center/cover no-repeat;
    opacity: 0.05;
}

.about-container {
    position: relative;
    z-index: 1;
}

.about-content h2 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.about-content h3 {
    color: var(--text-dark);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 30px;
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.benefit-item {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.benefit-item i {
    color: var(--primary);
    font-size: 1.5rem;
    margin-right: 15px;
}

.company-info {
    margin-top: 40px;
    line-height: 1.8;
}

.company-info p {
    margin-bottom: 20px;
    color: var(--text-medium);
}

.services-section {
    padding: 120px 20px;
    background: var(--bg-light);
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    color: var(--primary);
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-off-white);
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.5s var(--transition-bounce);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    overflow: hidden;
}

.service-card i {
    font-size: 2.5em;
    color: var(--text-light);
    background: var(--primary);
    height: 80px;
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 25px;
    transition: all 0.5s var(--transition-bounce);
}

.service-card:hover i {
    transform: rotateY(360deg);
    background: var(--gradient-accent);
}

.service-card h3 {
    font-size: 1.2em;
    color: var(--text-dark);
    margin: 10px 0;
}

.service-card p {
    color: var(--text-medium);
    font-size: 0.9em;
    line-height: 1.5;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.how-to-sell {
    background: var(--gradient-primary);
    padding: 120px 20px;
    position: relative;
    color: white;
}

.how-to-sell h2 {
    color: var(--text-light);
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.how-to-sell p.text-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.steps-container {
    max-width: 1000px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.step-card {
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(5px);
    transition: all 0.4s var(--transition-bounce);
    position: relative;
    text-align: center;
    overflow: hidden;
}

.step-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
}

.step-number {
    background: var(--accent);
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all 0.4s var(--transition-bounce);
}

.step-card:hover .step-number {
    transform: scale(1.2);
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.partners-section {
    padding: 120px 20px;
    background: var(--bg-dark);
    color: white;
}

.partners-section h2 {
    color: white;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.featured-partners {
    max-width: 1200px;
    margin: 0 auto 40px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 20px;
}

.featured-partner {
    background: rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: 15px;
    width: 180px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s var(--transition-bounce);
}

.featured-partner:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.featured-logo {
    height: auto;
    max-width: 120px;
    max-height: 50px;
    transition: all 0.4s var(--transition-bounce);
    filter: grayscale(100%) brightness(1.5);
}

.featured-partner:hover .featured-logo {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.1);
}

.partners-grid {
    max-width: 1200px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
}

.partner-logo {
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    font-size: 0.9rem;
    height: 80px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.top-partner {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
}

.hidden-partner {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    background: rgba(255,255,255,0.03);
    transition: all 0.4s var(--transition-bounce);
}

.hidden-partner.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.logo-partner {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 20px;
    height: 100px;
}

.logo-partner img {
    max-width: 120px;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.5);
    transition: all 0.3s var(--transition-bounce);
}

.logo-partner:hover img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.1);
}

.partners-button-container {
    text-align: center;
    margin: 2rem 0;
}

.see-more-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s var(--transition-bounce);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.see-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.see-more-btn i {
    transition: transform 0.3s ease;
}

.see-more-btn.active i {
    transform: rotate(180deg);
}

.footer {
    background: var(--bg-dark);
    padding: 80px 20px 40px;
    color: white;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.2), transparent);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-col h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--secondary-light);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

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

.social-links a:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 60px;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }
    .benefits-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero-content {
        padding: 20px;
    }
    .feature-card:hover {
        transform: translateY(-5px);
    }
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s var(--transition-smooth);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s var(--transition-smooth);
}

.fade-in-left.active, .fade-in-right.active {
    opacity: 1;
    transform: translateX(0);
}

.zoom-in {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s var(--transition-bounce);
}

.zoom-in.active {
    opacity: 1;
    transform: scale(1);
}

/* Add scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-accent);
}

/* Enhanced animation effects */
@keyframes pulse-animation {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.pulse-animation {
    animation: pulse-animation 1s ease-in-out infinite;
}

/* Music visualizer effect */
.music-visualizer {
    display: flex;
    align-items: flex-end;
    height: 60px;
    justify-content: center;
    gap: 3px;
    margin: 20px auto;
}

.visualizer-bar {
    width: 3px;
    background: linear-gradient(to top, var(--accent-light), var(--primary-light));
    border-radius: 2px;
    animation: sound-bar 1.5s ease-in-out infinite alternate;
}

@keyframes sound-bar {
    0% { height: 5px; }
    100% { height: 100%; }
}

/* Ripple effect */
.cta-button, .button {
    position: relative;
    overflow: hidden;
}

.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(2);
        opacity: 0;
    }
}

/* Card shine effect */
.feature-card {
    position: relative;
    overflow: hidden;
}

.card-shine {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 25%, 
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 75%
    );
    pointer-events: none;
    z-index: 3;
}

/* Enhanced stat items */
.stat-highlight {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-8px);
}

.counter-complete {
    animation: highlight-counter 0.5s ease-in-out;
}

@keyframes highlight-counter {
    0%, 100% { color: var(--secondary); }
    50% { color: var(--accent-light); }
}

/* Image lazy loading */
img[data-src] {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

img.loaded {
    opacity: 1;
}
