/* Custom Variables */
:root {
    --primary-color: #4285f4;
    --secondary-color: #34a853;
    --accent-color: #ea4335;
    --warning-color: #fbbc04;
    --dark-color: #202124;
    --light-color: #f8f9fa;
    --text-muted: #5f6368;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Override Bootstrap Primary Color */
.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: #3367d6;
    border-color: #3367d6;
}

.text-primary {
    color: var(--primary-color) !important;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #667eea 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="1" fill="white" opacity="0.05"/><circle cx="10" cy="60" r="1" fill="white" opacity="0.05"/><circle cx="90" cy="40" r="1" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-phone {
    text-align: center;
    position: relative;
}

.hero-phone img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* About Section */
.about-content h3 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.stat-item h4 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-item {
    padding: 1.5rem;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon i {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(66, 133, 244, 0.1);
}

/* App Cards */
.app-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.app-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.app-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary-color), #667eea);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.app-icon i {
    font-size: 2rem;
    color: white;
}

.app-card h3 {
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

.app-stats {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.app-features .badge {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.app-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.app-actions .btn {
    flex: 1;
    min-width: 140px;
    border-radius: 50px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
}

.btn-success {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-success:hover {
    background-color: #2d8f47;
    border-color: #2d8f47;
}

/* Contact Section */
.contact-item i {
    margin-bottom: 1rem;
}

.contact-item h5 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
}

footer h5, footer h6 {
    color: white;
    font-weight: 600;
}

footer a {
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--primary-color) !important;
}

/* Social Links */
.social-links .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(66, 133, 244, 0.1);
    border: 1px solid rgba(66, 133, 244, 0.2);
    border-radius: 50%;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links .social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(66, 133, 244, 0.3);
}

/* Footer Links */
.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-link {
    color: #adb5bd !important;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-link:hover {
    color: var(--primary-color) !important;
    transform: translateX(5px);
}

/* Download Section */
.download-section {
    text-align: center;
}

.download-section .app-badges {
    margin-bottom: 1rem;
}

/* App Badges */
.app-badges img {
    transition: transform 0.3s ease;
    border-radius: 5px;
}

.app-badges img:hover {
    transform: scale(1.05);
}

/* Footer Stats */
.footer-stat {
    padding: 1rem;
    border-radius: 10px;
    background: rgba(66, 133, 244, 0.05);
    border: 1px solid rgba(66, 133, 244, 0.1);
    transition: all 0.3s ease;
}

.footer-stat:hover {
    background: rgba(66, 133, 244, 0.1);
    transform: translateY(-2px);
}

.footer-stat h6 {
    font-size: 1.2rem;
    font-weight: 700;
}

/* Back to Top Button */
.btn-outline-light:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Legal Pages Styles */
.legal-header {
    padding-top: 140px;
    padding-bottom: 5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.legal-content {
    background: white;
}

.legal-document {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.legal-document h2 {
    color: var(--dark-color);
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.legal-document h2:first-child {
    margin-top: 0;
}

.legal-document h3 {
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-document p {
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.legal-document ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.legal-document li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.contact-info {
    background: rgba(66, 133, 244, 0.05);
    border-radius: 10px;
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.policy-footer {
    background: rgba(0, 0, 0, 0.02);
    border-radius: 10px;
    padding: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .app-actions {
        flex-direction: column;
    }
    
    .app-actions .btn {
        flex: none;
        width: 100%;
    }
    
    .navbar-nav {
        text-align: center;
        margin-top: 1rem;
    }
    
    /* Footer Responsive */
    .social-links .d-flex {
        justify-content: center;
    }
    
    .download-section {
        text-align: center;
    }
    
    .app-badges {
        display: flex;
        justify-content: center;
    }
    
    /* Legal Pages Responsive */
    .legal-header {
        padding-top: 120px;
        text-align: center;
    }
    
    .legal-document {
        padding: 2rem;
    }
    
    .legal-document h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .app-card {
        padding: 1.5rem;
    }
    
    .feature-item {
        padding: 1rem;
    }
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3367d6;
} 