/* ========================================
   Vholta Landing Page Styles
   Brand Colors: #0F2F7E (Primary), #C2F74E (Secondary)
   ======================================== */

/* Custom Properties */
:root {
    --primary-color: #0F2F7E;
    --secondary-color: #C2F74E;
    --text-dark: #1a1a1a;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --transition: all 0.3s ease;
}

/* Base Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-weight: 800;
}

/* Custom Primary Color */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0a2140;
    border-color: #0a2140;
}

/* Navbar Styles */
.navbar {
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-sm);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 0.5rem;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    padding-top: 100px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

.hero-image {
    position: relative;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: float 3s ease-in-out infinite;
}

.floating-card-1 {
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.floating-card-2 {
    bottom: 10%;
    right: -10%;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.download-btn {
    transition: var(--transition);
}

.download-btn:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

/* Ensure download badges are the same size */
.download-btn img {
    height: 60px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
}

#download .download-btn img {
    height: 70px;
}

.icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Features Section */
.features-section {
    padding: 80px 0;
}

.feature-card {
    padding: 2rem;
    transition: var(--transition);
    border-radius: 1rem;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* How It Works Section */
.how-it-works-section {
    padding: 80px 0;
}

.step-card {
    padding: 2rem;
}

.step-number {
    width: 80px;
    height: 80px;
    font-size: 2rem;
    font-weight: 700;
}

/* Download Section */
.download-section {
    padding: 80px 0;
}

/* CTA Section */
.cta-section {
    padding: 60px 0;
}

/* Footer */
.footer {
    background-color: #1a1a1a !important;
}

.social-links a {
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--secondary-color) !important;
    transform: translateY(-3px);
}

.footer a {
    transition: var(--transition);
}

.footer a:hover {
    color: white !important;
}

.footer .text-white-50 {
    color: rgba(255, 255, 255, 0.75) !important;
}

.footer .text-white-50:hover {
    color: rgba(255, 255, 255, 1) !important;
}

.footer h5.text-white {
    color: white !important;
}

/* Smooth Scroll Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .hero-section {
        text-align: center;
    }
    
    .floating-card-1,
    .floating-card-2 {
        display: none;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 80px;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .navbar-brand img {
        height: 30px;
    }
    
    .btn-primary,
    .btn-light {
        width: 100%;
    }
    
    .icon-box {
        width: 50px;
        height: 50px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .display-6 {
        font-size: 1.5rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .download-btn img {
        height: 50px !important;
    }
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

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

/* Utility Classes */
.rounded-top-start {
    border-top-left-radius: 0.5rem !important;
}

.rounded-top-end {
    border-top-right-radius: 0.5rem !important;
}

.shadow-hover {
    transition: var(--transition);
}

.shadow-hover:hover {
    box-shadow: var(--shadow-lg);
}

/* Scroll to Top Button (optional) */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    z-index: 1000;
}

.scroll-to-top:hover {
    background-color: #0a2140;
    transform: translateY(-3px);
}

.scroll-to-top.show {
    display: flex;
}

/* Print Styles */
@media print {
    .navbar,
    .scroll-to-top,
    .btn {
        display: none !important;
    }
}
