/* ========================================
   Area ONE Child Theme — Pattern Styles
   ======================================== */

/* Hero Section */
.areaone-hero {
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.areaone-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.9) 0%, rgba(252, 191, 73, 0.85) 100%);
    z-index: 1;
}

.areaone-hero > * {
    position: relative;
    z-index: 2;
}

.areaone-hero__title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.areaone-hero__subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    opacity: 0.95;
}

/* Cards Section */
.areaone-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.areaone-card {
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.areaone-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.areaone-card__icon {
    font-size: 3rem;
    line-height: 1;
}

/* Steps Section */
.areaone-steps {
    counter-reset: step-counter;
}

.areaone-step {
    position: relative;
    padding-left: 5rem;
    counter-increment: step-counter;
}

.areaone-step::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: var(--wp--preset--color--primary, #FF6B35);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    font-family: var(--wp--preset--font-family--heading);
}

@media (max-width: 768px) {
    .areaone-step {
        padding-left: 4rem;
    }
    .areaone-step::before {
        width: 3rem;
        height: 3rem;
        font-size: 1.2rem;
    }
}

/* Pricing Table */
.areaone-pricing {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.areaone-pricing:hover {
    transform: translateY(-4px);
}

.areaone-pricing--featured {
    border: 3px solid var(--wp--preset--color--primary, #FF6B35);
    transform: scale(1.02);
}

.areaone-pricing--featured:hover {
    transform: scale(1.04);
}

/* CTA Section */
.areaone-cta {
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.areaone-cta::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 50%;
    height: 200%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

/* Animations */
@media (prefers-reduced-motion: no-preference) {
    .areaone-card,
    .areaone-pricing {
        animation: fadeInUp 0.6s ease both;
    }
    .areaone-card:nth-child(2) { animation-delay: 0.15s; }
    .areaone-card:nth-child(3) { animation-delay: 0.3s; }
}

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

/* Responsive adjustments */
@media (max-width: 600px) {
    .areaone-hero {
        min-height: 60vh;
    }
    .areaone-cards {
        grid-template-columns: 1fr;
    }
}
