/* ============================================================
   AssignWork® — Global Widget Styles
   Companion to scripts.js. All widget CSS lives here so the
   original theme HTML/CSS is untouched.
   ============================================================ */

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
    --aw-purple:      #6B21A8;
    --aw-purple-lite: #7C3AED;
    --aw-orange:      #F97316;
    --aw-orange-lite: #FB923C;
    --aw-dark:        #0F0F0F;
    --aw-dark2:       #1A1A2E;
    --aw-mid:         #2D2D44;
    --aw-text:        #E2E8F0;
    --aw-muted:       #94A3B8;
    --aw-white:       #FFFFFF;
    --aw-radius:      12px;
    --aw-radius-lg:   20px;
    --aw-shadow:      0 8px 32px rgba(107,33,168,0.18);
    --aw-transition:  0.3s ease;
}

/* ── Reset helpers ─────────────────────────────────────────── */
.awe-widget * { box-sizing: border-box; }

/* ── Scroll reveal ─────────────────────────────────────────── */
.awe-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.awe-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ════════════════════════════════════════════════════════════
   HEADER
   ════════════════════════════════════════════════════════════ */
.awe-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--aw-dark2);
    padding: 16px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: box-shadow var(--aw-transition), background var(--aw-transition);
}
.awe-header--scrolled {
    background: rgba(15,15,15,0.96);
    box-shadow: 0 4px 24px rgba(0,0,0,0.4);
    backdrop-filter: blur(12px);
}
.awe-header__logo img { height: 42px; width: auto; }
.awe-header__logo span {
    font-size: 22px;
    font-weight: 700;
    color: var(--aw-white);
    letter-spacing: -0.5px;
}
.awe-nav { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.awe-nav a { color: var(--aw-muted); text-decoration: none; font-size: 15px; font-weight: 500; transition: color var(--aw-transition); }
.awe-nav a:hover { color: var(--aw-white); }
.awe-nav .awe-nav__cta a {
    background: var(--aw-orange);
    color: var(--aw-white);
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
}
.awe-nav .awe-nav__cta a:hover { background: var(--aw-orange-lite); color: var(--aw-white); }
.awe-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    color: var(--aw-white);
    font-size: 24px;
}
@media (max-width: 768px) {
    .awe-header { padding: 14px 20px; }
    .awe-menu-toggle { display: block; }
    .awe-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: var(--aw-dark2);
        flex-direction: column;
        gap: 0;
        padding: 16px 0;
        border-top: 1px solid rgba(255,255,255,0.08);
    }
    .awe-nav.awe-nav--open { display: flex; }
    .awe-nav li { width: 100%; }
    .awe-nav a { display: block; padding: 14px 24px; }
}

/* ════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════ */
.awe-hero {
    background: linear-gradient(135deg, var(--aw-dark2) 0%, var(--aw-mid) 100%);
    padding: 80px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 85vh;
}
.awe-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(249,115,22,0.12);
    border: 1px solid rgba(249,115,22,0.3);
    color: var(--aw-orange);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}
.awe-hero__heading {
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 800;
    color: var(--aw-white);
    line-height: 1.15;
    margin: 0 0 18px;
}
.awe-hero__heading em { color: var(--aw-purple-lite); font-style: normal; }
.awe-hero__sub {
    font-size: 18px;
    color: var(--aw-muted);
    line-height: 1.7;
    margin: 0 0 32px;
}
.awe-hero__stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}
.awe-hero__stat-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--aw-orange);
    display: block;
}
.awe-hero__stat-label { font-size: 13px; color: var(--aw-muted); }

/* Hero Form Card */
.awe-hero__form-wrap {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--aw-radius-lg);
    padding: 40px;
    backdrop-filter: blur(8px);
}
.awe-hero__form-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--aw-white);
    margin: 0 0 6px;
}
.awe-hero__form-sub { font-size: 14px; color: var(--aw-muted); margin: 0 0 24px; }

@media (max-width: 900px) {
    .awe-hero { grid-template-columns: 1fr; padding: 60px 24px; min-height: auto; gap: 40px; }
}

/* ════════════════════════════════════════════════════════════
   FORM (shared: hero form + standalone application form)
   ════════════════════════════════════════════════════════════ */
.awe-form { display: flex; flex-direction: column; gap: 14px; }
.awe-form__field { display: flex; flex-direction: column; gap: 6px; }
.awe-form__label { font-size: 13px; font-weight: 600; color: var(--aw-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.awe-form input,
.awe-form select,
.awe-form textarea {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--aw-white);
    font-size: 15px;
    width: 100%;
    outline: none;
    transition: border-color var(--aw-transition);
}
.awe-form input:focus,
.awe-form select:focus,
.awe-form textarea:focus { border-color: var(--aw-purple-lite); }
.awe-form select option { background: var(--aw-dark2); }
.awe-form input[type=file] { cursor: pointer; }
.awe-file-display { margin-top: 6px; font-size: 13px; color: var(--aw-muted); }

.awe-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: background var(--aw-transition), transform var(--aw-transition);
    text-decoration: none;
}
.awe-btn:hover { transform: translateY(-2px); }
.awe-btn--primary { background: var(--aw-orange); color: var(--aw-white); }
.awe-btn--primary:hover { background: var(--aw-orange-lite); }
.awe-btn--secondary { background: var(--aw-purple); color: var(--aw-white); }
.awe-btn--secondary:hover { background: var(--aw-purple-lite); }
.awe-btn--full { width: 100%; }

/* ════════════════════════════════════════════════════════════
   SERVICE CARD
   ════════════════════════════════════════════════════════════ */
.awe-service-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--aw-radius);
    padding: 32px;
    transition: border-color var(--aw-transition), transform var(--aw-transition), box-shadow var(--aw-transition);
}
.awe-service-card:hover {
    border-color: var(--aw-purple-lite);
    transform: translateY(-4px);
    box-shadow: var(--aw-shadow);
}
.awe-service-card__icon {
    width: 52px; height: 52px;
    background: linear-gradient(135deg, var(--aw-purple), var(--aw-purple-lite));
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
}
.awe-service-card__title { font-size: 18px; font-weight: 700; color: var(--aw-white); margin: 0 0 10px; }
.awe-service-card__desc  { font-size: 14px; color: var(--aw-muted); line-height: 1.7; margin: 0 0 20px; }
.awe-service-card__tags  { display: flex; flex-wrap: wrap; gap: 8px; }
.awe-service-card__tag   {
    font-size: 12px;
    background: rgba(107,33,168,0.18);
    border: 1px solid rgba(107,33,168,0.3);
    color: var(--aw-purple-lite);
    padding: 4px 10px;
    border-radius: 100px;
    font-weight: 600;
}

/* ════════════════════════════════════════════════════════════
   PRICING CARD
   ════════════════════════════════════════════════════════════ */
.awe-pricing-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--aw-radius-lg);
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    transition: transform var(--aw-transition), box-shadow var(--aw-transition);
}
.awe-pricing-card--popular {
    border-color: var(--aw-orange);
    background: rgba(249,115,22,0.06);
}
.awe-pricing-card--popular:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(249,115,22,0.22); }
.awe-pricing-card:hover           { transform: translateY(-4px); box-shadow: var(--aw-shadow); }
.awe-pricing-card__badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--aw-orange);
    color: var(--aw-white);
    font-size: 12px; font-weight: 700;
    padding: 4px 16px; border-radius: 100px;
    white-space: nowrap;
}
.awe-pricing-card__name  { font-size: 14px; font-weight: 700; color: var(--aw-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.awe-pricing-card__price { font-size: 42px; font-weight: 800; color: var(--aw-white); line-height: 1; }
.awe-pricing-card__price span { font-size: 18px; font-weight: 400; color: var(--aw-muted); }
.awe-pricing-card__desc  { font-size: 14px; color: var(--aw-muted); line-height: 1.7; }
.awe-pricing-card__features { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.awe-pricing-card__features li { font-size: 14px; color: var(--aw-text); display: flex; gap: 10px; align-items: flex-start; }
.awe-pricing-card__features li::before { content: '✓'; color: var(--aw-orange); font-weight: 700; flex-shrink: 0; }
.awe-pricing-card .awe-btn { margin-top: auto; }

/* ════════════════════════════════════════════════════════════
   TIMELINE STEP
   ════════════════════════════════════════════════════════════ */
.awe-timeline-step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 24px 0;
    position: relative;
}
.awe-timeline-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 20px; top: 56px;
    width: 2px; bottom: 0;
    background: linear-gradient(to bottom, var(--aw-purple-lite), transparent);
}
.awe-timeline-step__number {
    width: 44px; height: 44px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--aw-purple), var(--aw-purple-lite));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; font-weight: 800; color: var(--aw-white);
    z-index: 1;
}
.awe-timeline-step__content { flex: 1; }
.awe-timeline-step__title   { font-size: 18px; font-weight: 700; color: var(--aw-white); margin: 0 0 8px; }
.awe-timeline-step__desc    { font-size: 14px; color: var(--aw-muted); line-height: 1.7; margin: 0; }
.awe-timeline-step__duration {
    font-size: 12px; font-weight: 700; color: var(--aw-orange);
    background: rgba(249,115,22,0.1); border: 1px solid rgba(249,115,22,0.25);
    padding: 3px 10px; border-radius: 100px; margin-top: 10px; display: inline-block;
}

/* ════════════════════════════════════════════════════════════
   FAQ ITEM
   ════════════════════════════════════════════════════════════ */
.awe-faq-item {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--aw-radius);
    overflow: hidden;
    background: rgba(255,255,255,0.03);
    margin-bottom: 12px;
}
.awe-faq-question {
    width: 100%; text-align: left;
    background: none; border: none; cursor: pointer;
    padding: 20px 24px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px;
    font-size: 15px; font-weight: 600; color: var(--aw-white);
    transition: background var(--aw-transition);
}
.awe-faq-question:hover { background: rgba(255,255,255,0.04); }
.awe-faq-icon {
    flex-shrink: 0;
    width: 28px; height: 28px;
    background: rgba(107,33,168,0.2);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 700; color: var(--aw-purple-lite);
    transition: transform var(--aw-transition);
}
.awe-faq-answer {
    max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height 0.35s ease, opacity 0.35s ease;
}
.awe-faq-answer__inner { padding: 0 24px 20px; font-size: 14px; color: var(--aw-muted); line-height: 1.8; }

/* ════════════════════════════════════════════════════════════
   TESTIMONIAL
   ════════════════════════════════════════════════════════════ */
.awe-testimonial {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--aw-radius-lg);
    padding: 32px;
    display: flex; flex-direction: column; gap: 20px;
    transition: transform var(--aw-transition), box-shadow var(--aw-transition);
}
.awe-testimonial:hover { transform: translateY(-4px); box-shadow: var(--aw-shadow); }
.awe-testimonial__stars { color: #FBBF24; font-size: 16px; letter-spacing: 2px; }
.awe-testimonial__quote { font-size: 15px; color: var(--aw-text); line-height: 1.8; font-style: italic; }
.awe-testimonial__author { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.awe-testimonial__avatar {
    width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
    border: 2px solid var(--aw-purple-lite);
}
.awe-testimonial__avatar-placeholder {
    width: 48px; height: 48px; border-radius: 50%;
    background: linear-gradient(135deg, var(--aw-purple), var(--aw-purple-lite));
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 700; color: var(--aw-white);
    flex-shrink: 0;
}
.awe-testimonial__name   { font-size: 14px; font-weight: 700; color: var(--aw-white); }
.awe-testimonial__detail { font-size: 12px; color: var(--aw-muted); }
.awe-testimonial__daily-note {
    font-size: 12px; color: var(--aw-orange); font-weight: 600;
    background: rgba(249,115,22,0.08);
    padding: 6px 12px; border-radius: 8px;
}

/* ════════════════════════════════════════════════════════════
   PERK
   ════════════════════════════════════════════════════════════ */
.awe-perk {
    display: flex; gap: 20px; align-items: flex-start;
    padding: 24px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--aw-radius);
    transition: border-color var(--aw-transition), transform var(--aw-transition);
}
.awe-perk:hover { border-color: var(--aw-purple-lite); transform: translateY(-3px); }
.awe-perk__icon {
    width: 48px; height: 48px; flex-shrink: 0;
    background: linear-gradient(135deg, var(--aw-purple), var(--aw-purple-lite));
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
}
.awe-perk__title { font-size: 16px; font-weight: 700; color: var(--aw-white); margin: 0 0 6px; }
.awe-perk__desc  { font-size: 14px; color: var(--aw-muted); line-height: 1.7; margin: 0; }

/* ════════════════════════════════════════════════════════════
   CTA STRIP
   ════════════════════════════════════════════════════════════ */
.awe-cta-strip {
    background: linear-gradient(135deg, var(--aw-purple) 0%, var(--aw-orange) 100%);
    padding: 60px 40px;
    text-align: center;
    border-radius: var(--aw-radius-lg);
    margin: 40px;
}
.awe-cta-strip__heading { font-size: clamp(24px, 3vw, 40px); font-weight: 800; color: var(--aw-white); margin: 0 0 12px; }
.awe-cta-strip__sub     { font-size: 16px; color: rgba(255,255,255,0.8); margin: 0 0 28px; }
.awe-cta-strip__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.awe-btn--white { background: var(--aw-white); color: var(--aw-purple); }
.awe-btn--white:hover { background: #f0e8ff; }
.awe-btn--outline-white { background: transparent; color: var(--aw-white); border: 2px solid rgba(255,255,255,0.6); }
.awe-btn--outline-white:hover { background: rgba(255,255,255,0.1); }

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
.awe-footer {
    background: var(--aw-dark);
    padding: 60px 40px 30px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.awe-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.awe-footer__brand-name { font-size: 20px; font-weight: 800; color: var(--aw-white); margin: 0 0 12px; }
.awe-footer__brand-desc { font-size: 14px; color: var(--aw-muted); line-height: 1.7; margin: 0 0 20px; }
.awe-footer__social { display: flex; gap: 12px; }
.awe-footer__social a {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.06);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--aw-muted); text-decoration: none; font-size: 16px;
    transition: background var(--aw-transition), color var(--aw-transition);
}
.awe-footer__social a:hover { background: var(--aw-purple); color: var(--aw-white); }
.awe-footer__col-title { font-size: 12px; font-weight: 700; color: var(--aw-muted); text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 16px; }
.awe-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.awe-footer__col ul a { font-size: 14px; color: var(--aw-muted); text-decoration: none; transition: color var(--aw-transition); }
.awe-footer__col ul a:hover { color: var(--aw-white); }
.awe-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 24px;
    display: flex; align-items: center; justify-content: space-between;
    font-size: 13px; color: var(--aw-muted);
    flex-wrap: wrap; gap: 12px;
}
.awe-footer__bottom a { color: var(--aw-muted); text-decoration: none; }
.awe-footer__bottom a:hover { color: var(--aw-white); }
@media (max-width: 900px) {
    .awe-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .awe-footer { padding: 48px 24px 24px; }
    .awe-cta-strip { margin: 20px; padding: 40px 24px; }
}
@media (max-width: 520px) {
    .awe-footer__grid { grid-template-columns: 1fr; }
    .awe-footer__bottom { flex-direction: column; text-align: center; }
}
