/* ==========================================================================
   AlMohamy Theme - Page-Specific Section Styles
   Hero, Features, Pricing, FAQ, Blog, Training, Contact, About
   ========================================================================== */

/* ══════════════════════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════════════════════ */
.al-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: var(--al-gradient-hero);
    overflow: hidden;
}

.al-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 35px 35px;
    pointer-events: none;
}

.al-hero__deco-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.06);
    pointer-events: none;
}

.al-hero__deco-circle--1 {
    width: 600px;
    height: 600px;
    top: -200px;
    left: -200px;
}

.al-hero__deco-circle--2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    right: -100px;
}

.al-hero__deco-circle--3 {
    width: 200px;
    height: 200px;
    top: 30%;
    right: 15%;
    background: rgba(212, 168, 83, 0.04);
}

.al-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--al-space-2xl);
    align-items: center;
    max-width: var(--al-container-wide);
    margin-inline: auto;
    padding-inline: var(--al-container-padding);
    position: relative;
    z-index: 1;
}

.al-hero__content {
    color: var(--al-color-white);
}

.al-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--al-radius-full);
    font-size: var(--al-text-xs);
    font-weight: var(--al-font-weight-semibold);
    color: var(--al-color-gold);
    margin-bottom: var(--al-space-lg);
    backdrop-filter: blur(10px);
}

.al-hero__badge i {
    font-size: 0.8rem;
}

.al-hero__title {
    font-size: var(--al-text-hero);
    font-weight: var(--al-font-weight-extrabold);
    color: var(--al-color-white);
    line-height: var(--al-leading-tight);
    margin-bottom: var(--al-space-md);
}

.al-hero__title span {
    background: var(--al-gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.al-hero__desc {
    font-size: var(--al-text-lg);
    color: rgba(255,255,255,0.75);
    line-height: var(--al-leading-relaxed);
    margin-bottom: var(--al-space-xl);
    max-width: 540px;
}

.al-hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--al-space-md);
    margin-bottom: var(--al-space-xl);
}

.al-hero__guarantee {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.5);
    font-size: var(--al-text-sm);
}

.al-hero__guarantee i {
    color: var(--al-color-gold);
    font-size: 1.2rem;
}

/* Hero Mockup */
.al-hero__mockup {
    position: relative;
}

.al-hero__mockup-img {
    width: 100%;
    border-radius: var(--al-radius-xl);
    box-shadow: 0 30px 80px rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.1);
}

.al-hero__mockup-float {
    position: absolute;
    background: rgba(255,255,255,0.95);
    border-radius: var(--al-radius-lg);
    padding: 14px 18px;
    box-shadow: var(--al-shadow-xl);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: al-float 5s ease-in-out infinite;
}

.al-hero__mockup-float--top {
    top: -20px;
    left: -30px;
    animation-delay: 0.5s;
}

.al-hero__mockup-float--bottom {
    bottom: 20px;
    right: -30px;
    animation-delay: 1.5s;
}

.al-hero__mockup-float-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--al-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.al-hero__mockup-float-text {
    font-weight: var(--al-font-weight-bold);
    font-size: var(--al-text-sm);
    color: var(--al-color-charcoal);
}

.al-hero__mockup-float-text small {
    display: block;
    font-weight: var(--al-font-weight-regular);
    font-size: var(--al-text-xs);
    color: var(--al-color-slate);
}

/* ══════════════════════════════════════════════════════════
   STATS BAR (Below Hero)
   ══════════════════════════════════════════════════════════ */
.al-stats-bar {
    background: var(--al-gradient-midnight);
    padding-block: var(--al-space-xl);
}

.al-stats-bar__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--al-space-lg);
    max-width: var(--al-container-max);
    margin-inline: auto;
    padding-inline: var(--al-container-padding);
}

/* ══════════════════════════════════════════════════════════
   FEATURES SECTION
   ══════════════════════════════════════════════════════════ */
.al-features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--al-space-lg);
}

/* Feature Detail (Alternating Layout) */
.al-feature-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--al-space-2xl);
    align-items: center;
    padding-block: var(--al-space-xl);
}

.al-feature-detail:nth-child(even) {
    direction: ltr;
}

[dir="rtl"] .al-feature-detail:nth-child(even) {
    direction: rtl;
}

.al-feature-detail__content {
    direction: rtl;
}

[dir="rtl"] .al-feature-detail__content {
    direction: rtl;
}

.al-feature-detail:nth-child(even) .al-feature-detail__content {
    direction: ltr;
}

[dir="rtl"] .al-feature-detail:nth-child(even) .al-feature-detail__content {
    direction: rtl;
}

.al-feature-detail__image {
    border-radius: var(--al-radius-xl);
    overflow: hidden;
    box-shadow: var(--al-shadow-lg);
}

.al-feature-detail__image img {
    width: 100%;
    border-radius: var(--al-radius-xl);
    transition: transform var(--al-transition-slow);
}

.al-feature-detail:hover .al-feature-detail__image img {
    transform: scale(1.03);
}

/* ══════════════════════════════════════════════════════════
   HOW IT WORKS / STEPS
   ══════════════════════════════════════════════════════════ */
.al-steps {
    background: var(--al-gradient-midnight);
}

.al-steps__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--al-space-lg);
    position: relative;
}

.al-steps__grid::before {
    content: '';
    position: absolute;
    top: 50px;
    inset-inline: 10%;
    height: 3px;
    background: linear-gradient(90deg, var(--al-color-electric-blue), var(--al-color-gold));
    opacity: 0.3;
    border-radius: var(--al-radius-full);
}

.al-step-card {
    text-align: center;
    position: relative;
    z-index: 1;
}

.al-step-card__number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--al-glass-bg);
    border: 2px solid var(--al-glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--al-text-2xl);
    font-weight: var(--al-font-weight-extrabold);
    color: var(--al-color-gold);
    margin-inline: auto var(--al-space-md);
    backdrop-filter: blur(10px);
}

.al-step-card__title {
    color: var(--al-color-white);
    font-size: var(--al-text-lg);
    margin-top: var(--al-space-md);
    margin-bottom: var(--al-space-xs);
}

.al-step-card__text {
    color: rgba(255,255,255,0.65);
    font-size: var(--al-text-sm);
}

/* ══════════════════════════════════════════════════════════
   PRICING SECTION
   ══════════════════════════════════════════════════════════ */
.al-pricing__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--al-space-lg);
    align-items: start;
}

/* ══════════════════════════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════════════════════════ */
.al-testimonials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--al-space-lg);
}

/* ══════════════════════════════════════════════════════════
   TRAINING / TUTORIALS SECTION
   ══════════════════════════════════════════════════════════ */
.al-training__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--al-space-lg);
}

/* ══════════════════════════════════════════════════════════
   FAQ SECTION
   ══════════════════════════════════════════════════════════ */
.al-faq {
    background: var(--al-color-snow);
}

/* ══════════════════════════════════════════════════════════
   BLOG SECTION
   ══════════════════════════════════════════════════════════ */
.al-blog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--al-space-lg);
}

.al-blog-card {
    background: var(--al-color-white);
    border-radius: var(--al-radius-xl);
    overflow: hidden;
    border: 1px solid var(--al-color-silver);
    transition: all var(--al-transition-base);
}

.al-blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--al-shadow-lg);
}

.al-blog-card__image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.al-blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--al-transition-slow);
}

.al-blog-card:hover .al-blog-card__image img {
    transform: scale(1.06);
}

.al-blog-card__body {
    padding: var(--al-space-lg);
}

.al-blog-card__category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--al-color-electric-blue);
    font-size: var(--al-text-xs);
    font-weight: var(--al-font-weight-bold);
    border-radius: var(--al-radius-full);
    margin-bottom: var(--al-space-sm);
}

.al-blog-card__title {
    font-size: var(--al-text-lg);
    font-weight: var(--al-font-weight-bold);
    color: var(--al-color-navy);
    margin-bottom: var(--al-space-sm);
    line-height: var(--al-leading-snug);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.al-blog-card__title a {
    color: inherit;
    text-decoration: none;
}

.al-blog-card__title a:hover {
    color: var(--al-color-electric-blue);
}

.al-blog-card__excerpt {
    color: var(--al-color-slate);
    font-size: var(--al-text-sm);
    line-height: var(--al-leading-relaxed);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: var(--al-space-md);
}

.al-blog-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--al-color-slate);
    font-size: var(--al-text-xs);
    padding-top: var(--al-space-sm);
    border-top: 1px solid var(--al-color-snow);
}

/* ══════════════════════════════════════════════════════════
   CONTACT SECTION
   ══════════════════════════════════════════════════════════ */
.al-contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--al-space-2xl);
    align-items: start;
}

.al-contact__info-card {
    display: flex;
    align-items: flex-start;
    gap: var(--al-space-md);
    padding: var(--al-space-md);
    background: var(--al-color-snow);
    border-radius: var(--al-radius-lg);
    margin-bottom: var(--al-space-md);
    transition: all var(--al-transition-base);
}

.al-contact__info-card:hover {
    background: var(--al-color-white);
    box-shadow: var(--al-shadow-md);
}

.al-contact__info-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--al-radius-md);
    background: var(--al-gradient-navy-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--al-color-white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.al-contact__info-title {
    font-weight: var(--al-font-weight-bold);
    color: var(--al-color-navy);
    margin-bottom: 4px;
}

.al-contact__info-text {
    color: var(--al-color-slate);
    font-size: var(--al-text-sm);
    margin-bottom: 0;
}

.al-contact__info-text a {
    color: var(--al-color-electric-blue);
}

/* ══════════════════════════════════════════════════════════
   ABOUT SECTION
   ══════════════════════════════════════════════════════════ */
.al-about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--al-space-2xl);
    align-items: center;
}

.al-about__values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--al-space-md);
    margin-top: var(--al-space-lg);
}

.al-about__value-card {
    padding: var(--al-space-md);
    background: var(--al-color-snow);
    border-radius: var(--al-radius-lg);
    text-align: center;
    transition: all var(--al-transition-base);
}

.al-about__value-card:hover {
    background: var(--al-color-white);
    box-shadow: var(--al-shadow-md);
    transform: translateY(-4px);
}

.al-about__value-icon {
    font-size: 2rem;
    color: var(--al-color-gold);
    margin-bottom: var(--al-space-sm);
}

.al-about__value-title {
    font-weight: var(--al-font-weight-bold);
    color: var(--al-color-navy);
    font-size: var(--al-text-sm);
}

/* ══════════════════════════════════════════════════════════
   PAGE BANNER (Inner Pages)
   ══════════════════════════════════════════════════════════ */
.al-page-banner {
    background: var(--al-gradient-hero);
    padding-block: calc(var(--al-space-section) * 0.8);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.al-page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 35px 35px;
    pointer-events: none;
}

.al-page-banner h1 {
    color: var(--al-color-white);
    margin-bottom: var(--al-space-sm);
    position: relative;
    z-index: 1;
}

.al-page-banner p {
    color: rgba(255,255,255,0.7);
    font-size: var(--al-text-lg);
    max-width: 600px;
    margin-inline: auto;
    position: relative;
    z-index: 1;
}

.al-page-banner__breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    font-size: var(--al-text-sm);
    margin-bottom: var(--al-space-md);
    position: relative;
    z-index: 1;
}

.al-page-banner__breadcrumb a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
}

.al-page-banner__breadcrumb a:hover {
    color: var(--al-color-gold);
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .al-hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .al-hero__desc {
        margin-inline: auto;
    }
    .al-hero__buttons {
        justify-content: center;
    }
    .al-hero__guarantee {
        justify-content: center;
    }
    .al-hero__mockup {
        max-width: 600px;
        margin-inline: auto;
    }
    .al-hero__mockup-float {
        display: none;
    }
    .al-features__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .al-steps__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .al-steps__grid::before {
        display: none;
    }
    .al-feature-detail {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .al-feature-detail:nth-child(even) {
        direction: rtl;
    }
    .al-contact__grid {
        grid-template-columns: 1fr;
    }
    .al-about__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .al-stats-bar__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .al-hero {
        min-height: auto;
        padding-block: calc(var(--al-space-section) * 0.8);
    }
    .al-hero__inner {
        gap: var(--al-space-xl);
    }
    .al-features__grid {
        grid-template-columns: 1fr;
    }
    .al-steps__grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-inline: auto;
    }
    .al-stats-bar__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--al-space-md);
    }
    .al-about__values {
        grid-template-columns: 1fr;
    }
    .al-page-banner {
        padding-block: var(--al-space-xl);
    }
}