/* PAVCoin Global Styles - style.css */
/* This stylesheet provides consistent styling across all PAVCoin pages */

/* ========================================
   Base Styles
   ======================================== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0f1116;
    color: #f8f9fa;
    line-height: 1.6;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    background: rgba(18, 23, 33, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 194, 255, 0.2);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: bold;
    color: #00c2ff !important;
}

.navbar-nav .nav-link {
    color: #f8f9fa !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #00c2ff !important;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    background: linear-gradient(135deg, #1a1f2b, #242e3c);
    padding: 8rem 1rem 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 194, 255, 0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #00c2ff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .lead {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* ========================================
   Buttons
   ======================================== */
.btn-custom-primary {
    background: linear-gradient(45deg, #00c2ff, #0099cc);
    border: none;
    color: #000;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    margin: 0.5rem;
}

.btn-custom-secondary {
    background: transparent;
    border: 2px solid #00c2ff;
    color: #00c2ff;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    margin: 0.5rem;
}

.btn-custom-primary:hover,
.btn-custom-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 194, 255, 0.3);
    color: #000;
}

.btn-custom-secondary:hover {
    background: rgba(0, 194, 255, 0.1);
    color: #00c2ff;
}

/* ========================================
   Sections
   ======================================== */
.section {
    padding: 4rem 1rem;
}

.section-dark {
    background: linear-gradient(135deg, #1a1f2b, #242e3c);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #00c2ff;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0.8;
    font-size: 1.1rem;
}

/* ========================================
   Feature Cards
   ======================================== */
.feature-card {
    background: rgba(26, 31, 43, 0.8);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 194, 255, 0.2);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 194, 255, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #00c2ff;
}

.feature-card h3 {
    color: #00c2ff;
    margin-bottom: 1rem;
}

/* ========================================
   Statistics
   ======================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-card {
    background: rgba(26, 31, 43, 0.8);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(0, 194, 255, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #00c2ff;
    display: block;
}

/* ========================================
   Download Cards
   ======================================== */
.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.download-card {
    background: rgba(26, 31, 43, 0.8);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 194, 255, 0.2);
}

.download-card:hover {
    transform: translateY(-5px);
}

.download-card h3 {
    color: #00c2ff;
    margin-bottom: 1rem;
}

.special-download {
    border: 2px solid #00c2ff;
    background: linear-gradient(135deg, rgba(0, 194, 255, 0.1), rgba(26, 31, 43, 0.9));
}

/* ========================================
   SEO Content Section
   ======================================== */
.seo-content {
    background: rgba(15, 17, 22, 0.9);
    padding: 3rem 1rem;
    border-top: 1px solid rgba(0, 194, 255, 0.2);
}

.seo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.seo-card {
    background: rgba(26, 31, 43, 0.6);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #00c2ff;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background-color: #121721;
    text-align: center;
    padding: 3rem 1rem;
    color: #888;
    border-top: 1px solid rgba(0, 194, 255, 0.2);
}

.footer a {
    color: #00c2ff;
    text-decoration: none;
}

.footer a:hover {
    color: #ffffff;
}

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

p {
    margin-bottom: 1rem;
}

a {
    color: #00c2ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ffffff;
}

/* ========================================
   Utility Classes
   ======================================== */
.text-primary-custom {
    color: #00c2ff !important;
}

.bg-primary-custom {
    background-color: #00c2ff !important;
}

.border-primary-custom {
    border-color: #00c2ff !important;
}

.mt-section {
    margin-top: 4rem;
}

.mb-section {
    margin-bottom: 4rem;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 992px) {
    .hero {
        padding: 6rem 1rem 4rem;
    }
    
    .section {
        padding: 3rem 1rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .lead {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .btn-custom-primary,
    .btn-custom-secondary {
        padding: 10px 24px;
        font-size: 0.95rem;
        margin: 0.25rem;
    }
    
    .download-grid,
    .seo-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero .lead {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
}

/* ========================================
   Animations
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease;
}

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

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

.loading {
    animation: pulse 2s infinite;
}

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

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

::-webkit-scrollbar-thumb {
    background: #00c2ff;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0099cc;
}

/* ========================================
   Form Styles (for future use)
   ======================================== */
.form-control,
.form-select {
    background-color: rgba(26, 31, 43, 0.8);
    border: 1px solid rgba(0, 194, 255, 0.2);
    color: #f8f9fa;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    background-color: rgba(26, 31, 43, 0.9);
    border-color: #00c2ff;
    box-shadow: 0 0 0 0.2rem rgba(0, 194, 255, 0.25);
    color: #f8f9fa;
}

.form-label {
    color: #00c2ff;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* ========================================
   Table Styles (for future use)
   ======================================== */
.table {
    color: #f8f9fa;
}

.table-dark {
    background-color: rgba(26, 31, 43, 0.8);
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 194, 255, 0.05);
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 194, 255, 0.1);
}

/* ========================================
   Additional Component Styles
   ======================================== */
.alert-primary-custom {
    background-color: rgba(0, 194, 255, 0.1);
    border: 1px solid rgba(0, 194, 255, 0.3);
    color: #00c2ff;
}

.badge-primary-custom {
    background-color: #00c2ff;
    color: #000;
}

.progress-bar-custom {
    background-color: #00c2ff;
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
    body {
        background-color: white;
        color: black;
    }
    
    .navbar,
    .footer {
        display: none;
    }
    
    .section {
        page-break-inside: avoid;
    }
}