/**
 * Veroc Web - Component Styles
 * @package Veroc_Web
 */

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    pointer-events: none;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    background: linear-gradient(135deg, #fff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-xl);
    max-width: 600px;
}

.hero-ctas {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.trust-badge .dashicons {
    color: var(--color-success);
    font-size: 1rem;
    width: auto;
    height: auto;
}

/* Plugin Showcase */
.plugin-showcase {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plugin-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    width: 280px;
    position: absolute;
    transition: transform 0.3s ease;
}

.plugin-card:first-child {
    transform: rotate(-5deg) translateY(-20px);
    z-index: 2;
}

.plugin-card:last-child {
    transform: rotate(5deg) translateY(20px) translateX(40px);
    z-index: 1;
}

.plugin-card h3 {
    color: white;
    margin: var(--space-md) 0 var(--space-sm);
    font-size: 1.25rem;
}

.plugin-card p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.875rem;
}

.plugin-card-header {
    margin-bottom: var(--space-sm);
}

/* ========================================
   SERVICE CARDS
   ======================================== */
.service-card {
    text-align: center;
    padding: var(--space-2xl);
    transition: all var(--transition-base);
}

.service-card:hover {
    transform: translateY(-8px);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-cyan) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
}

.card-icon .dashicons {
    font-size: 2.5rem;
    width: auto;
    height: auto;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
}

.service-card p {
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
}

/* ========================================
   PLUGIN CARDS (Archive)
   ======================================== */
.plugin-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-xl);
}

.plugin-item {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid var(--color-border);
}

.plugin-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.plugin-thumbnail {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--color-bg) 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.plugin-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.plugin-thumbnail .dashicons {
    font-size: 4rem;
    color: var(--color-primary);
    opacity: 0.3;
}

.plugin-meta {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    display: flex;
    gap: var(--space-sm);
}

.plugin-content {
    padding: var(--space-lg);
}

.plugin-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-md);
}

.plugin-title {
    font-size: 1.25rem;
    margin: 0;
    line-height: 1.3;
}

.plugin-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
}

.plugin-price .original {
    font-size: 0.875rem;
    color: var(--color-text-light);
    text-decoration: line-through;
    margin-right: var(--space-sm);
}

.plugin-stats {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-md);
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.plugin-stat {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.plugin-stat .dashicons {
    font-size: 1rem;
    color: var(--color-warning);
}

.plugin-excerpt {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.plugin-actions {
    display: flex;
    gap: var(--space-sm);
}

.plugin-actions .btn {
    flex: 1;
    text-align: center;
}

/* ========================================
   STEPS / HOW IT WORKS
   ======================================== */
.steps-grid {
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-cyan) 100%);
    z-index: 0;
}

.step-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--color-white);
    border: 3px solid var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 auto var(--space-lg);
    box-shadow: var(--shadow-md);
}

.step-item h4 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.step-item p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonial-card {
    padding: var(--space-xl);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: var(--space-lg);
    left: var(--space-lg);
    font-size: 6rem;
    line-height: 1;
    color: var(--color-primary);
    opacity: 0.1;
    font-family: Georgia, serif;
}

.testimonial-rating {
    color: var(--color-warning);
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
    letter-spacing: 2px;
}

.testimonial-card > p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: var(--space-lg);
    position: relative;
    z-index: 1;
}

.testimonial-author {
    border-top: 1px solid var(--color-border);
    padding-top: var(--space-md);
}

.testimonial-author strong {
    display: block;
    color: var(--color-navy);
    font-weight: 600;
}

.testimonial-author span {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

/* ========================================
   NIAGARA REGION SECTION
   ======================================== */
.niagara-content h2 {
    color: white;
    margin-bottom: var(--space-lg);
}

.niagara-content > p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: var(--space-xl);
}

.location-list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-xl);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.location-list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: white;
    font-weight: 500;
}

.location-list .dashicons {
    color: var(--color-cyan);
}

.map-placeholder {
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-lg);
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.map-placeholder .dashicons {
    font-size: 4rem;
    margin-bottom: var(--space-md);
    opacity: 0.5;
}

/* ========================================
   NEWSLETTER
   ======================================== */
.newsletter-content h2 {
    color: white;
    margin-bottom: var(--space-md);
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.8);
}

.veroc-newsletter-form {
    display: flex;
    gap: var(--space-sm);
}

.veroc-newsletter-form input[type="email"] {
    flex: 1;
    padding: 1rem 1.25rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.veroc-newsletter-form .btn {
    padding: 1rem 2rem;
    white-space: nowrap;
}

.form-note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: var(--space-md);
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
    margin-bottom: var(--space-3xl);
}

.footer-brand .custom-logo {
    max-height: 40px;
    margin-bottom: var(--space-md);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-lg);
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--color-primary);
    transform: translateY(-2px);
}

.footer-social .dashicons {
    color: white;
    font-size: 1.25rem;
    width: auto;
    height: auto;
}

.footer-grid h4 {
    color: white;
    font-size: 1.125rem;
    margin-bottom: var(--space-lg);
}

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

.footer-menu li {
    margin-bottom: var(--space-sm);
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.footer-menu a:hover {
    color: white;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-sm);
}

.footer-contact a {
    color: var(--color-cyan);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: var(--space-lg);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-legal a:hover {
    color: white;
}

/* ========================================
   FORMS
   ======================================== */
.veroc-form {
    max-width: 600px;
}

.form-row {
    margin-bottom: var(--space-lg);
}

.form-row label {
    display: block;
    font-weight: 500;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.form-row input,
.form-row textarea,
.form-row select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-row textarea {
    resize: vertical;
    min-height: 120px;
}

/* Alerts */
.alert {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--border-radius);
    margin-bottom: var(--space-lg);
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--color-error);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ========================================
   SECTION HEADERS
   ======================================== */
.section-header {
    margin-bottom: var(--space-2xl);
}

.section-header h2 {
    margin-bottom: var(--space-sm);
}

.section-header p {
    color: var(--color-text-light);
    font-size: 1.125rem;
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */
@media (max-width: 768px) {
    .hero-ctas {
        flex-direction: column;
    }

    .hero-ctas .btn {
        width: 100%;
        text-align: center;
    }

    .plugin-showcase {
        height: 300px;
    }

    .plugin-card {
        width: 200px;
        padding: var(--space-lg);
    }

    .steps-grid::before {
        display: none;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }

    .veroc-newsletter-form {
        flex-direction: column;
    }

    .location-list {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
