/* Custom Styles for AssetGuard Website */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1E2736;
}

::-webkit-scrollbar-thumb {
    background: #006B7D;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4DD0E1;
}

/* Hero Background Animation */
.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-bg-animation::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    filter: blur(100px);
    animation: float 20s infinite ease-in-out;
}

.hero-bg-animation::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    filter: blur(100px);
    animation: float 25s infinite ease-in-out reverse;
}

@keyframes float {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg); 
    }
    50% { 
        transform: translate(30px, 30px) rotate(180deg); 
    }
}

/* Logo Styles */
.logo img {
    display: block;
    width: auto;
    object-fit: contain;
}

.logo-icon {
    animation: pulse 3s infinite ease-in-out;
}

.logo-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
    }
    50% { 
        transform: scale(1.05); 
    }
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #FFA726 0%, #FFB74D 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 167, 38, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* Feature Cards */
.feature-card {
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #006B7D, #2E7D32);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Security Badge Animation */
.security-badge {
    position: relative;
    overflow: hidden;
}

.security-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 107, 125, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { 
        transform: rotate(0deg); 
    }
    to { 
        transform: rotate(360deg); 
    }
}

.security-icon {
    position: relative;
    z-index: 10;
}

.security-badge h3 {
    position: relative;
    z-index: 10;
}

/* Security Features */
.security-feature {
    transition: all 0.3s ease;
}

.security-feature:hover {
    background: rgba(255, 255, 255, 0.7) !important;
    transform: translateX(5px);
}

.dark .security-feature:hover {
    background: rgba(42, 52, 71, 0.8) !important;
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    box-shadow: 0 4px 12px rgba(0, 107, 125, 0.15);
}

/* Active Nav Link */
.nav-link.active {
    color: #006B7D !important;
    position: relative;
}

.dark .nav-link.active {
    color: #4DD0E1 !important;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #006B7D;
    border-radius: 2px;
}

.dark .nav-link.active::after {
    background: #4DD0E1;
}

/* Mobile Nav Link Active */
.mobile-nav-link.active {
    color: #006B7D !important;
}

.dark .mobile-nav-link.active {
    color: #4DD0E1 !important;
}

/* Fade In Up Animation */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Stat Item Hover */
.stat-item {
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

/* Theme Toggle Animation */
#themeIcon {
    transition: transform 0.3s ease;
}

#themeToggle:hover #themeIcon {
    transform: rotate(15deg);
}

/* Mobile Menu Animation */
#mobileMenu {
    transition: all 0.3s ease;
}

#mobileMenu.active {
    display: block !important;
    animation: slideDown 0.3s ease;
}

#mobileMenu.hidden {
    display: none !important;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading Animation */
.loading {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #121826;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.loading.active {
    display: flex;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #1E2736;
    border-top-color: #006B7D;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { 
        transform: rotate(360deg); 
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-bg-animation::before,
    .hero-bg-animation::after {
        width: 300px;
        height: 300px;
    }
    
    .feature-card {
        margin-bottom: 1rem;
    }
}

/* App Store Button */
.app-btn {
    width: auto;
    color: #fff;
    margin: 0;
    text-align: left;
    border-radius: 8px;
    text-decoration: none;
    font-family: "Lucida Grande", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 10px;
    text-transform: uppercase;
    padding: 12px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    height: auto;
    min-height: 52px;
}

.app-btn.blu {
    background-color: #101010;
    transition: background-color 0.25s linear;
}

.app-btn.blu:hover {
    background-color: #454545;
}

.app-btn.vert {
    flex-direction: row;
}

.app-btn i {
    width: auto;
    text-align: center;
    font-size: 28px;
    flex-shrink: 0;
}

.app-btn .big-txt {
    font-size: 17px;
    text-transform: capitalize;
}

.app-btn p {
    margin: 0;
    line-height: 1.3;
}

/* Disabled App Store Button */
.app-btn.opacity-60 {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.app-btn.opacity-60:hover {
    background-color: #101010;
}

/* Google Play Button */
.google-play-btn {
    transition: all 0.3s ease;
    padding: 12px 24px;
    height: auto;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
}

.google-play-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* FAQ Items - Accordion Style */
.faq-item {
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 30px rgba(0, 107, 125, 0.15);
}

.faq-toggle {
    cursor: pointer;
    border: none;
    background: none;
    outline: none;
}

.faq-toggle:focus {
    outline: none;
}

.faq-icon {
    transition: transform 0.3s ease;
    font-weight: 300;
    user-select: none;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-content {
    max-height: 500px;
    display: block;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* Contact Form */
#contactForm input,
#contactForm textarea {
    transition: all 0.3s ease;
}

#contactForm input:focus,
#contactForm textarea:focus {
    transform: translateY(-2px);
}

#formMessage.success {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    border: 1px solid #4CAF50;
}

#formMessage.error {
    background: rgba(239, 83, 80, 0.1);
    color: #EF5350;
    border: 1px solid #EF5350;
}

/* Security Badge Alignment */
.security-badge {
    min-height: 400px;
}

@media (max-width: 1024px) {
    .security-badge {
        min-height: auto;
    }
}

