/* VybeMedia AI Search Visibility Grader Styles */

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #ffc107;
    --success-color: #28a745;
    --warning-color: #fd7e14;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
    --border-radius: 12px;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Global Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Hero Section */
.hero-section {
    background: var(--primary-gradient);
    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="50" cy="50" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
}

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

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

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

/* Scan Form */
.scan-form-container {
    max-width: 600px;
}

.scan-form .form-control {
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    backdrop-filter: blur(10px);
    border-radius: 8px;
}

.scan-form .form-control::placeholder {
    color: rgba(108, 117, 125, 0.8);
}

.scan-form .form-control:focus {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 1);
    color: #333;
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
}

.btn-warning {
    background: var(--accent-color);
    border-color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-warning:hover {
    background: #e0a800;
    border-color: #d39e00;
    transform: translateY(-2px);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    z-index: 2;
}

.floating-card {
    animation: float 6s ease-in-out infinite;
}

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

.floating-card .card {
    border: none;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

/* Score Display */
.score-display {
    margin: 20px 0;
}

.score-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin: 0 auto;
    position: relative;
}

.score-circle-large {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    box-shadow: var(--box-shadow);
}

.score-circle-medium {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    box-shadow: var(--box-shadow);
    margin: 0 auto;
}

.score-number {
    font-size: 24px;
    font-weight: 700;
}

.score-number-large {
    font-size: 72px;
    font-weight: 700;
    line-height: 1;
}

.score-number-medium {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.score-suffix {
    font-size: 24px;
    opacity: 0.8;
}

/* Pillar Scores */
.pillar-scores {
    margin-top: 15px;
}

.pillar-score {
    margin-bottom: 10px;
}

.score-bar {
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 5px;
}

.score-fill {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 3px;
    transition: width 1s ease;
}

/* Feature Cards */
.feature-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid #e9ecef;
    transition: var(--transition);
    text-align: center;
}

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

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Results Page Styles */
.score-card {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid #e9ecef;
}

.pillar-card {
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    border: 1px solid #e9ecef;
    transition: var(--transition);
    text-align: center;
}

.pillar-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.pillar-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.pillar-header i {
    font-size: 1.2rem;
}

.pillar-score-display {
    margin: 15px 0 10px 0;
}

.pillar-score-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
}

.pillar-score-total {
    font-size: 18px;
    color: #6c757d;
}

/* Fixes Card */
.fixes-card {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 1px solid #ffeaa7;
    border-radius: var(--border-radius);
    padding: 30px;
}

.fixes-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.fixes-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fixes-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 193, 7, 0.3);
    position: relative;
    padding-left: 30px;
}

.fixes-list li:before {
    content: '⚠️';
    position: absolute;
    left: 0;
    top: 10px;
}

.fixes-list li:last-child {
    border-bottom: none;
}

/* CTA Cards */
.cta-card {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid #e9ecef;
}

.cta-section {
    background: var(--primary-gradient);
    position: relative;
}

.cta-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="0.3" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="0.3" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
}

/* Lead Form Styles */
.lead-form-card {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid #e9ecef;
}

.lead-score-summary {
    background: var(--light-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid #e9ecef;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.benefit-item i {
    margin-top: 5px;
    flex-shrink: 0;
}

/* Confirmation Styles */
.confirmation-card {
    background: white;
    padding: 50px 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid #e9ecef;
}

.success-icon, .warning-icon {
    margin-bottom: 20px;
}

.confirmation-score {
    background: var(--light-bg);
    padding: 25px;
    border-radius: var(--border-radius);
    display: inline-block;
}

.next-steps-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    margin: 30px 0;
}

.next-step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-info {
    background: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 20px;
}

/* Testimonial */
.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border-left: 4px solid var(--primary-color);
    max-width: 600px;
    margin: 0 auto;
}

/* Progress Bars */
.progress {
    height: 8px;
    border-radius: 4px;
    background-color: #e9ecef;
}

.progress-bar {
    border-radius: 4px;
    transition: width 1.5s ease;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease;
}

/* Loading States */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff40;
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
}

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

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-content {
        text-align: center;
    }
    
    .score-circle-large {
        width: 150px;
        height: 150px;
    }
    
    .score-number-large {
        font-size: 48px;
    }
    
    .pillar-card {
        margin-bottom: 15px;
    }
    
    .feature-card {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .floating-card {
        animation: none;
        margin-top: 30px;
    }
    
    .lead-form-card,
    .confirmation-card {
        padding: 25px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .floating-card {
        animation: none;
    }
    
    .progress-bar {
        transition: none;
    }
    
    .feature-card:hover,
    .pillar-card:hover {
        transform: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .hero-section {
        background: #000;
    }
    
    .feature-card,
    .pillar-card,
    .score-card {
        border: 2px solid #333;
    }
}
