/* ============================================================
   WIM-LINK PAGE STYLES — assets/css/wimlink.css
   Ported from old/assets/css/wimlink.css.
   Legacy CSS variables (--primary / --dark / --darker) are SCOPED
   to .wl-page so they don't collide with the new site's globals
   (--accent / --dark-bg / --light-bg / --dark-text).
   ============================================================ */

/* ----- Scoped variables for this page only ----- */
.wl-page {
  --primary: #ffe900;
  --dark: #1a1a1a;
  --darker: #111111;
}
/* Reset typography for the wimlink page so it doesn't inherit
   conflicting site-wide line heights / colours. */
.wl-page { font-family: 'Outfit', 'Poppins', system-ui, sans-serif; }

/* ==================== SECTION 1: HERO ==================== */
.wl-hero {
    background: var(--darker);
    position: relative;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: center;
}
.wl-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 70% 50%, rgba(255, 233, 0, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 10% 80%, rgba(255, 233, 0, 0.04) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}
.wl-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}
.wl-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
    padding: 80px 0;
    width: 100%;
}

.wl-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 233, 0, 0.12);
    border: 1px solid rgba(255, 233, 0, 0.3);
    color: var(--primary);
    padding: 7px 16px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 22px;
}
.wl-badge i { font-size: 10px; }

.wl-hero__title {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.08;
    color: #fff;
    letter-spacing: -2px;
    margin-bottom: 10px;
}
.wl-hero__title span {
    background: linear-gradient(135deg, var(--primary) 0%, #ffb800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.wl-hero__subtitle {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.4);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 28px;
}
.wl-hero__desc {
    font-size: 16px;
    line-height: 1.75;
    color: rgba(255,255,255,0.65);
    max-width: 520px;
    margin-bottom: 40px;
}

.wl-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.wl-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}
.wl-btn--primary {
    background: var(--primary);
    color: var(--dark);
    box-shadow: 0 4px 20px rgba(255, 233, 0, 0.25);
}
.wl-btn--primary:hover {
    background: #ffd500;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 233, 0, 0.4);
}
.wl-btn--primary:hover i { transform: translateX(4px); }
.wl-btn--primary i { transition: transform 0.3s ease; }
.wl-btn--outline {
    background: transparent;
    color: rgba(255,255,255,0.8);
    border: 2px solid rgba(255,255,255,0.2);
}
.wl-btn--outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(255, 233, 0, 0.05);
}

.wl-hero__stats {
    display: flex;
    gap: 0;
    margin-top: 48px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(10px);
}
.wl-stat {
    flex: 1;
    padding: 20px 24px;
    border-right: 1px solid rgba(255,255,255,0.08);
    text-align: center;
}
.wl-stat:last-child { border-right: none; }
.wl-stat__value {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 4px;
    display: block;
}
.wl-stat__label {
    font-size: 11px;
    color: rgba(255,255,255,0.45);
    font-weight: 500;
    letter-spacing: 0.5px;
    display: block;
}

.wl-hero__visual { position: relative; }
.wl-hero__device {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05);
}
.wl-hero__device img { width: 100%; height: auto; display: block; }
.wl-hero__device-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 233, 0, 0.3);
    border-radius: 8px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}
.wl-hero__device-tag i { color: var(--primary); font-size: 14px; }
.wl-live-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-block;
    position: relative;
}
.wl-live-dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.3);
    animation: wlPulse 2s infinite;
}
@keyframes wlPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.4; }
}

/* ==================== SECTION 2: OVERVIEW ==================== */
.wl-overview { background: #141414; padding: 100px 0; }
.wl-section-header { text-align: center; max-width: 700px; margin: 0 auto 70px; }
.wl-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.wl-section-tag::before,
.wl-section-tag::after {
    content: '';
    display: inline-block;
    width: 30px;
    height: 1px;
    background: var(--primary);
    opacity: 0.5;
}
.wl-section-title {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 16px;
}
.wl-section-desc { font-size: 16px; color: rgba(255,255,255,0.5); line-height: 1.7; }

.wl-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    margin-bottom: 80px;
}
.wl-flow::before {
    content: '';
    position: absolute;
    top: 36px;
    left: calc(12.5% + 20px);
    right: calc(12.5% + 20px);
    height: 2px;
    background: linear-gradient(90deg, var(--primary), rgba(255,233,0,0.1));
}
.wl-flow-step { text-align: center; padding: 0 20px; position: relative; }
.wl-flow-step__icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 233, 0, 0.08);
    border: 2px solid rgba(255, 233, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: var(--primary);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}
.wl-flow-step:hover .wl-flow-step__icon {
    background: rgba(255, 233, 0, 0.15);
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(255, 233, 0, 0.2);
    transform: translateY(-4px);
}
.wl-flow-step__num {
    position: absolute;
    top: -8px;
    right: -4px;
    width: 22px;
    height: 22px;
    background: var(--primary);
    color: var(--dark);
    border-radius: 50%;
    font-size: 10px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wl-flow-step__title { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.wl-flow-step__desc { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.6; }

.wl-data-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    overflow: hidden;
}
.wl-data-card { background: #1a1a1a; padding: 36px 30px; transition: background 0.3s ease; }
.wl-data-card:hover { background: #1e1e1e; }
.wl-data-card__icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 233, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 18px;
    border: 1px solid rgba(255, 233, 0, 0.15);
}
.wl-data-card__title { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.wl-data-card__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 7px; }
.wl-data-card__list li {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}
.wl-data-card__list li::before {
    content: '';
    width: 5px;
    height: 5px;
    background: var(--primary);
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
}

/* ==================== SECTION 3: DASHBOARD DEEP-DIVE ==================== */
.wl-dashboard { background: #ffffff; padding: 100px 0; position: relative; overflow: hidden; }
.wl-dashboard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.08), transparent);
}
.wl-dashboard__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center; }
.wl-screens { position: relative; }
.wl-screens__main {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.06);
}
.wl-screens__main img { width: 100%; display: block; }
.wl-screens__secondary {
    position: absolute;
    bottom: -24px;
    left: -24px;
    width: 52%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0,0,0,0.5);
    border: 2px solid rgba(255, 233, 0, 0.2);
}
.wl-screens__secondary img { width: 100%; display: block; }
.wl-screens__accent {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 12px;
    opacity: 0.25;
}

.wl-dashboard__content { padding-left: 20px; }
.wl-dashboard .wl-section-title { color: var(--dark); text-align: left; }
.wl-dashboard__text { font-size: 16px; color: #4b5563; line-height: 1.8; margin-bottom: 40px; }

.wl-checklist { list-style: none; padding: 0; margin: 0 0 40px; display: flex; flex-direction: column; gap: 16px; }
.wl-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 14px;
    color: #374151;
    line-height: 1.6;
}
.wl-checklist__icon {
    width: 22px;
    height: 22px;
    background: rgba(255, 233, 0, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}
.wl-checklist__icon i { font-size: 9px; color: #8a7000; }
.wl-checklist li strong { color: var(--dark); font-weight: 600; }

.wl-metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 40px; }
.wl-metric {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.wl-metric:hover { border-color: rgba(255, 233, 0, 0.6); box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.wl-metric__icon { font-size: 18px; color: #8a7000; flex-shrink: 0; width: 20px; text-align: center; }
.wl-metric__label { font-size: 13px; color: #4b5563; font-weight: 500; line-height: 1.4; }

.wl-cta-strip {
    background: var(--primary);
    border-radius: 14px;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.wl-cta-strip__text h4 { font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.wl-cta-strip__text p { font-size: 13px; color: rgba(0,0,0,0.55); }
.wl-btn--dark {
    background: var(--dark);
    color: #fff;
    padding: 12px 24px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}
.wl-btn--dark:hover { background: #000; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.3); }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1100px) {
    .wl-hero__inner { gap: 50px; }
    .wl-dashboard__inner { gap: 50px; }
}
@media (max-width: 992px) {
    .wl-hero__inner { grid-template-columns: 1fr; gap: 50px; padding: 60px 0; }
    .wl-hero__desc { max-width: 100%; }
    .wl-hero__visual { max-width: 600px; margin: 0 auto; }
    .wl-flow { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .wl-flow::before { display: none; }
    .wl-data-grid { grid-template-columns: repeat(2, 1fr); }
    .wl-dashboard__inner { grid-template-columns: 1fr; }
    .wl-dashboard__content { padding-left: 0; }
    .wl-screens { max-width: 580px; margin: 0 auto; }
}
@media (max-width: 768px) {
    .wl-overview { padding: 70px 0; }
    .wl-dashboard { padding: 70px 0; }
    .wl-data-grid { grid-template-columns: 1fr; }
    .wl-flow { grid-template-columns: 1fr; gap: 30px; }
    .wl-hero__stats { flex-direction: column; }
    .wl-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .wl-stat:last-child { border-bottom: none; }
    .wl-metrics { grid-template-columns: 1fr; }
    .wl-cta-strip { flex-direction: column; text-align: center; }
    .wl-screens__secondary { display: none; }
}
