/* CVG Common Styles Framework */
/* Shared across all ClearGeo.Tech domains and subdomains */

:root {
    /* CVG Brand Colors */
    --cvg-primary: #0d6efd;
    --cvg-primary-dark: #0a58ca;
    --cvg-secondary: #6c757d;
    --cvg-success: #198754;
    --cvg-info: #0dcaf0;
    --cvg-info-cyan: #17a2b8;
    --cvg-warning: #ffc107;
    --cvg-danger: #dc3545;
    --cvg-light: #f8f9fa;
    --cvg-dark: #212529;
    
    /* CVG Typography */
    --cvg-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --cvg-font-size-base: 1rem;
    --cvg-line-height-base: 1.6;
    
    /* CVG Spacing */
    --cvg-container-max-width: 1200px;
    --cvg-section-padding: 80px 0;
    --cvg-card-padding: 30px;
    --cvg-grid-gap: 30px;
    
    /* CVG Shadows */
    --cvg-shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --cvg-shadow: 0 4px 15px rgba(0,0,0,0.1);
    --cvg-shadow-lg: 0 8px 25px rgba(0,0,0,0.15);
    
    /* CVG Transitions */
    --cvg-transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--cvg-font-family);
    font-size: var(--cvg-font-size-base);
    line-height: var(--cvg-line-height-base);
    color: var(--cvg-dark);
    background-color: #fff;
}

/* CVG Trust Banner */
.cvg-trust-banner {
    background: linear-gradient(135deg, var(--cvg-primary) 0%, var(--cvg-primary-dark) 100%);
    color: white;
    padding: 8px 0;
    text-align: center;
    font-size: 0.85rem;
    position: relative;
    z-index: 1000;
}

.cvg-trust-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .cvg-trust-items {
        gap: 15px;
        font-size: 0.8rem;
    }
}

/* CVG Header */
.cvg-header {
    background: white;
    box-shadow: var(--cvg-shadow-sm);
    position: sticky;
    top: 0;
    z-index: 999;
}

.cvg-nav {
    max-width: var(--cvg-container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.cvg-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--cvg-dark);
    font-weight: 600;
    font-size: 1.2rem;
}

.cvg-logo img {
    height: 40px;
    width: auto;
}

.cvg-nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.cvg-nav-menu a {
    text-decoration: none;
    color: var(--cvg-dark);
    font-weight: 500;
    transition: var(--cvg-transition);
    padding: 8px 16px;
    border-radius: 6px;
}

.cvg-nav-menu a:hover,
.cvg-nav-menu a.active {
    color: var(--cvg-primary);
    background-color: rgba(13, 110, 253, 0.1);
}

.cvg-nav-cta {
    background: var(--cvg-primary) !important;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
}

.cvg-nav-cta:hover {
    background: var(--cvg-primary-dark) !important;
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .cvg-nav-menu {
        gap: 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .cvg-nav {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
    }
    
    .cvg-nav-menu {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* CVG Hero Sections */
.cvg-hero {
    background: linear-gradient(135deg, var(--cvg-primary) 0%, var(--cvg-primary-dark) 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cvg-hero::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="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
}

.cvg-hero-content {
    max-width: var(--cvg-container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.cvg-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cvg-hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.9;
    font-weight: 300;
}

.cvg-hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cvg-pricing-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.cvg-stat {
    text-align: center;
}

.cvg-stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.cvg-stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .cvg-hero {
        padding: 60px 0;
    }
    
    .cvg-hero h1 {
        font-size: 2.5rem;
    }
    
    .cvg-hero-subtitle {
        font-size: 1.2rem;
    }
    
    .cvg-pricing-stats {
        gap: 30px;
    }
}

/* CVG Buttons */
.cvg-btn {
    display: inline-block;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--cvg-transition);
    cursor: pointer;
    margin: 8px;
}

.cvg-btn-primary {
    background: var(--cvg-primary);
    color: white;
}

.cvg-btn-primary:hover {
    background: var(--cvg-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--cvg-shadow);
}

.cvg-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cvg-btn-secondary:hover {
    background: white;
    color: var(--cvg-primary);
}

.cvg-w-100 {
    width: 100%;
}

/* CVG Sections */
.cvg-section {
    padding: var(--cvg-section-padding);
}

.cvg-section-white {
    background: white;
}

.cvg-section-gray {
    background: var(--cvg-light);
}

.cvg-container {
    max-width: var(--cvg-container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.cvg-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--cvg-dark);
}

.cvg-section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: var(--cvg-secondary);
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cvg-text-center {
    text-align: center;
}

/* CVG Grid System */
.cvg-grid {
    display: grid;
    gap: var(--cvg-grid-gap);
    margin-top: 40px;
}

.cvg-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.cvg-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 992px) {
    .cvg-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cvg-grid-2,
    .cvg-grid-3 {
        grid-template-columns: 1fr;
    }
}

/* CVG Cards */
.cvg-card {
    background: white;
    border-radius: 12px;
    padding: var(--cvg-card-padding);
    box-shadow: var(--cvg-shadow);
    transition: var(--cvg-transition);
    position: relative;
    overflow: hidden;
}

.cvg-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--cvg-shadow-lg);
}

.cvg-card-software {
    border-top: 4px solid var(--cvg-primary);
}

.cvg-card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    text-align: center;
}

.cvg-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--cvg-dark);
}

.cvg-card p {
    color: var(--cvg-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* CVG Service Badges */
.cvg-service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--cvg-primary);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.cvg-service-badge-saas {
    background: var(--cvg-success);
}

/* CVG Pricing */
.cvg-pricing-highlight {
    background: var(--cvg-light);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
}

.cvg-price-main {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--cvg-primary);
    margin-bottom: 5px;
}

.cvg-price-details {
    font-size: 0.9rem;
    color: var(--cvg-secondary);
}

/* CVG Features List */
.cvg-features {
    list-style: none;
    margin: 20px 0;
}

.cvg-features li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
    color: var(--cvg-secondary);
}

.cvg-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--cvg-success);
    font-weight: 700;
}

/* CVG Alerts */
.cvg-alert {
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.cvg-alert-success {
    background: rgba(25, 135, 84, 0.1);
    border: 1px solid rgba(25, 135, 84, 0.3);
    color: var(--cvg-success);
}

.cvg-alert h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* CVG Footer */
.cvg-footer {
    background: var(--cvg-dark);
    color: white;
    padding: 60px 0 40px;
    margin-top: 80px;
}

.cvg-footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.cvg-footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
}

.cvg-footer-section ul {
    list-style: none;
}

.cvg-footer-section li {
    margin-bottom: 12px;
}

.cvg-footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--cvg-transition);
}

.cvg-footer-section a:hover {
    color: white;
}

@media (max-width: 768px) {
    .cvg-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* CVG Utility Classes */
.cvg-mt-40 { margin-top: 40px; }
.cvg-mb-40 { margin-bottom: 40px; }
.cvg-pt-40 { padding-top: 40px; }
.cvg-pb-40 { padding-bottom: 40px; }

/* CVG Software Specific */
.cvg-software {
    /* Software-specific styling can be added here */
}

/* CVG Responsive Improvements */
@media (max-width: 576px) {
    .cvg-section-title {
        font-size: 2rem;
    }
    
    .cvg-section-subtitle {
        font-size: 1.1rem;
    }
    
    .cvg-btn {
        width: 100%;
        margin: 5px 0;
    }
    
    .cvg-card {
        padding: 20px;
    }
}
