/**
 * GEO Page Builder - Frontend Styles
 * Version: 1.0.0
 */

/* === Reset and Base === */
.gpb-content * {
    box-sizing: border-box;
}

/* === Hero Section === */
.gpb-hero-section {
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    margin-bottom: 40px;
}

.gpb-hero-section h1 {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: 700;
}

.gpb-tagline {
    font-size: 1.5em;
    margin-bottom: 20px;
    opacity: 0.9;
}

/* === Services Grid === */
.gpb-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.gpb-service-card {
    padding: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gpb-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* === Features Grid === */
.gpb-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.gpb-feature-card {
    padding: 25px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

/* === Features List === */
.gpb-features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.gpb-feature-item h3 {
    color: #667eea;
    margin-bottom: 15px;
}

/* === FAQ Section === */
.gpb-faq-section {
    max-width: 800px;
    margin: 0 auto;
}

.gpb-faq-item {
    margin-bottom: 30px;
    padding: 25px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.gpb-faq-question {
    color: #333;
    font-size: 1.3em;
    margin-bottom: 15px;
    font-weight: 600;
}

.gpb-faq-answer {
    color: #666;
    line-height: 1.6;
}

/* === Testimonials === */
.gpb-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.gpb-testimonial-card {
    padding: 30px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.gpb-rating {
    font-size: 1.2em;
    margin-bottom: 15px;
}

.gpb-testimonial-text {
    font-style: italic;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.gpb-testimonial-author {
    font-weight: 600;
    color: #333;
}

.gpb-company, .gpb-position {
    color: #777;
    font-weight: normal;
}

/* === Comparison Table === */
.gpb-comparison-table-wrapper {
    overflow-x: auto;
    margin: 30px 0;
}

.gpb-comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.gpb-comparison-table th,
.gpb-comparison-table td {
    padding: 15px;
    text-align: left;
    border: 1px solid #e0e0e0;
}

.gpb-comparison-table th {
    background: #667eea;
    color: #fff;
    font-weight: 600;
}

.gpb-comparison-check {
    text-align: center;
    font-size: 1.5em;
    color: #4caf50;
}

.gpb-comparison-price-row {
    background: #f8f9fa;
    font-weight: 600;
}

/* === Contact Info === */
.gpb-contact-info {
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 30px 0;
}

.gpb-contact-item {
    margin-bottom: 20px;
    font-size: 1.1em;
}

.gpb-icon {
    font-size: 1.5em;
    margin-right: 10px;
}

/* === Buttons === */
.gpb-button {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1em;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    text-align: center;
    border: none;
    cursor: pointer;
}

.gpb-button-primary {
    background: #667eea;
    color: #fff;
}

.gpb-button-primary:hover {
    background: #5568d3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.gpb-button-secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.gpb-button-secondary:hover {
    background: #667eea;
    color: #fff;
}

/* === Process Steps === */
.gpb-process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.gpb-process-step {
    text-align: center;
    padding: 30px 20px;
}

.gpb-step-number {
    width: 60px;
    height: 60px;
    background: #667eea;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: 700;
    margin: 0 auto 20px;
}

/* === Credentials === */
.gpb-credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.gpb-credential-item {
    text-align: center;
    padding: 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.gpb-credential-item img {
    max-width: 100px;
    height: auto;
    margin-bottom: 15px;
}

/* === Authority Signals === */
.gpb-authority-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 30px 0;
}

.gpb-authority-number {
    display: block;
    font-size: 3em;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 10px;
}

.gpb-authority-label {
    display: block;
    color: #666;
    font-size: 1.1em;
}

/* === Pricing Table === */
.gpb-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.gpb-pricing-card {
    padding: 40px 30px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
}

.gpb-pricing-card:hover {
    border-color: #667eea;
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

.gpb-plan-name {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #333;
}

.gpb-plan-price {
    font-size: 3em;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 10px;
}

.gpb-plan-period {
    font-size: 0.4em;
    color: #999;
}

.gpb-plan-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    text-align: left;
}

.gpb-plan-features li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

/* === CTA Section === */
.gpb-contact-cta,
.gpb-cta-section {
    text-align: center;
    padding: 60px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 8px;
    margin: 60px 0;
}

/* === Social Links === */
.gpb-social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.gpb-social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #f8f9fa;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
}

.gpb-social-link:hover {
    background: #667eea;
    color: #fff;
    transform: translateY(-2px);
}

/* === Responsive Design === */
@media (max-width: 768px) {
    .gpb-hero-section h1 {
        font-size: 2em;
    }
    
    .gpb-tagline {
        font-size: 1.2em;
    }
    
    .gpb-services-grid,
    .gpb-features-grid,
    .gpb-testimonials-grid,
    .gpb-pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .gpb-comparison-table {
        font-size: 0.9em;
    }
    
    .gpb-authority-number {
        font-size: 2em;
    }
}

/* === Utility Classes === */
.gpb-text-center {
    text-align: center;
}

.gpb-mb-30 {
    margin-bottom: 30px;
}

.gpb-mt-30 {
    margin-top: 30px;
}
