/* Apple-Style Component Styles for WebGate.Ai */

/* SEO Components Grid */
.seo-components-section {
    padding: 4rem 0;
    background: var(--background-secondary);
}

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

.component-card {
    background: var(--background-primary);
    border-radius: var(--border-radius-large);
    padding: 2rem;
    box-shadow: var(--shadow-medium);
    text-align: center;
    transition: var(--transition);
}

.component-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-heavy);
}

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

.component-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.component-score {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.component-bar {
    width: 100%;
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.component-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease-in-out;
}

.component-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
}

/* Checkbox Alignment */
.checkbox-section .left-align {
    text-align: left !important;
    justify-content: flex-start !important;
}

.checkbox-section .left-align .checkbox-label {
    justify-content: flex-start !important;
    text-align: left !important;
}

/* Marketing Section Styles */
.marketing-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.marketing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.marketing-budget, .marketing-channels, .ai-strategy {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-large);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.budget-display {
    font-size: 4rem;
    font-weight: 700;
    text-align: center;
    margin: 1rem 0;
}

.budget-description {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.channel-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.channel-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.channel-name {
    font-weight: 600;
}

.channel-percentage {
    font-weight: 700;
    font-size: 1.1rem;
}

.strategy-content {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.strategy-form h4 {
    margin-bottom: 0.5rem;
}

.strategy-input {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.strategy-input input {
    flex: 1;
    padding: 1rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
}

.strategy-input input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.strategy-input button {
    padding: 1rem 2rem;
    background: var(--action-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.strategy-input button:hover {
    background: #E67E22;
    transform: translateY(-2px);
}

/* Valuation Breakdown Styles */
.valuation-breakdown {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--background-secondary);
    border-radius: var(--border-radius-large);
}

.valuation-breakdown h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.breakdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.breakdown-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--background-primary);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.breakdown-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.breakdown-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.breakdown-content {
    flex: 1;
}

.breakdown-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.breakdown-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.breakdown-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Professional Valuation Section */
.professional-valuation {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius-large);
    color: white;
    text-align: center;
}

.professional-header h4 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.professional-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.professional-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.professional-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.broker-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
}

.broker-btn.primary {
    background: white;
    color: var(--primary-color);
}

.broker-btn.primary:hover {
    background: var(--background-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.broker-btn.secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.broker-btn.secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Enhanced Preloader */
.preloader-content {
    text-align: center;
    background: var(--background-primary);
    border-radius: var(--border-radius-large);
    padding: 3rem;
    box-shadow: var(--shadow-heavy);
    max-width: 500px;
    margin: 0 auto;
}

.preloader-content h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.progress-icon {
    font-size: 3rem;
    margin: 1rem 0;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.progress-container {
    width: 100%;
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    margin: 1.5rem 0;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--action-color));
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-percentage {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.progress-status {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.progress-detail {
    font-size: 1rem;
    color: var(--text-secondary);
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .seo-components-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .marketing-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .breakdown-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .professional-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .broker-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .strategy-input {
        flex-direction: column;
    }
    
    .strategy-input input,
    .strategy-input button {
        width: 100%;
    }
}