/* ── Wimates Card Hero ─────────────────────────────────── */
.wmc-label {
    display: inline-block;
    background: rgba(56,189,248,.1);
    border: 1px solid rgba(56,189,248,.3);
    color: #0284c7;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 18px;
}
.wmc-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.15;
    margin-bottom: 16px;
}
.wmc-title-accent {
    background: linear-gradient(135deg, #0ea5e9, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.wmc-divider {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #0ea5e9, #6366f1);
    border-radius: 4px;
    margin-bottom: 20px;
}
.wmc-desc {
    color: #475569;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 28px;
    max-width: 460px;
}
.wmc-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.wmc-badge {
    background: rgba(14,165,233,.08);
    border: 1px solid rgba(14,165,233,.3);
    color: #0284c7;
    font-size: 12.5px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
}
.wmc-card-wrap {
    position: relative;
    display: inline-block;
}
.wmc-card-glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(ellipse at center, rgba(56,189,248,.18) 0%, transparent 70%);
    pointer-events: none;
}
.wmc-card-img {
    width: 100%;
    max-width: 520px;
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0,0,0,.4), 0 0 60px rgba(56,189,248,.15);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform .4s ease, box-shadow .4s ease;
    position: relative;
    z-index: 1;
}
.wmc-card-img:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    box-shadow: 0 40px 100px rgba(0,0,0,.5), 0 0 80px rgba(56,189,248,.25);
}

/* ── Alumni Wrapper ───────────────────────────────────── */
.hitech-alumni-wrapper {
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.background-mesh {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(95, 45, 237, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 210, 255, 0.05) 0%, transparent 40%);
    z-index: 0;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.2), #ffffff);
    z-index: 1;
}

.hitech-main-title {
    color: #1a1a1a;
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
}

.glow-text {
    color: #5f2ded;
    text-shadow: 0 0 20px rgba(95, 45, 237, 0.2);
}

.hitech-badge {
    background: rgba(95, 45, 237, 0.1);
    color: #5f2ded;
    padding: 8px 16px;
    border-radius: 50px;
    display: inline-block;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
}

.hitech-p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* ── Glass Cards ──────────────────────────────────────── */
.hitech-glass-card {
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.hitech-glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(95, 45, 237, 0.1);
    border-color: #5f2ded;
}

.card-img-wrap {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.card-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hitech-glass-card:hover .card-img-wrap img {
    transform: scale(1.1);
}

.img-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(95, 45, 237, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hitech-glass-card:hover .img-overlay {
    opacity: 1;
}

.glass-icon-btn {
    background: #ffffff;
    color: #5f2ded;
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.card-content {
    padding: 25px;
}

.category-tag {
    color: #5f2ded;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.card-title {
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0;
}

/* ── Promo Cards ──────────────────────────────────────── */
.hitech-promo-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    border: 1px solid #f0f0f0;
}

.promo-img {
    position: relative;
    height: 220px;
}

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

.promo-date {
    position: absolute;
    top: 20px; left: 20px;
    background: #ff4757;
    color: #fff;
    padding: 5px 15px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 10px;
}

.promo-content { padding: 30px; }

.promo-title a {
    color: #1a1a1a;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.promo-title a:hover { color: #5f2ded; }

.promo-excerpt { color: #777; font-size: 14px; margin-top: 15px; }

/* ── Wimerch Cards ────────────────────────────────────── */
.hitech-product-card {
    background: #ffffff;
    border-radius: 25px;
    padding: 20px;
    border: 1px solid #eee;
    transition: all 0.4s ease;
}

.hitech-product-card:hover {
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
    border-color: #5f2ded;
}

.product-img {
    border-radius: 20px;
    overflow: hidden;
    height: 280px;
    margin-bottom: 25px;
    position: relative;
}

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

.product-badge {
    position: absolute;
    bottom: 20px; right: 20px;
    background: rgba(255,255,255,0.9);
    padding: 5px 15px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 11px;
    color: #5f2ded;
}

.product-name a {
    color: #1a1a1a;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
}

.product-price {
    color: #5f2ded;
    font-weight: 800;
    font-size: 18px;
    margin-top: 10px;
}

/* ── Buttons ──────────────────────────────────────────── */
.hitech-btn-small {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 22px;
    background: linear-gradient(135deg, #5f2ded, #a259ff);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(95, 45, 237, 0.3);
}

.hitech-btn-small::after {
    content: '→';
    font-size: 13px;
    transition: transform 0.2s ease;
}

.hitech-btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(95, 45, 237, 0.45);
    color: #fff;
}

.hitech-btn-small:hover::after {
    transform: translateX(3px);
}

.hitech-btn {
    display: inline-flex;
    align-items: center;
    padding: 15px 35px;
    border-radius: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.reset-btn {
    background: linear-gradient(45deg, #5f2ded, #a259ff);
    color: #fff;
}

.reset-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(95, 45, 237, 0.4);
}

.hitech-btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 15px 35px;
    border-radius: 12px;
    font-weight: 800;
    color: #5f2ded;
    border: 2px solid #5f2ded;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hitech-btn-outline:hover {
    background: #5f2ded;
    color: #fff;
}

/* ── Animations ───────────────────────────────────────── */
.floating-tech { animation: float 6s ease-in-out infinite; }
.floating-tech-delay-1 { animation: float 7s ease-in-out infinite 1s; }
.floating-tech-delay-2 { animation: float 5s ease-in-out infinite 0.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@media (max-width: 767px) {
    .hitech-main-title { font-size: 32px; }
    .hitech-p { font-size: 16px; }
}

/* ── Promo Modal ──────────────────────────────────────── */
.pm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 8, 20, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.pm-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.pm-panel {
    background: #ffffff;
    border-radius: 24px;
    width: 100%;
    max-width: 860px;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: row;
    box-shadow: 0 32px 80px rgba(0,0,0,0.25);
    transform: scale(0.92) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s ease;
    opacity: 0;
    scrollbar-width: thin;
}

.pm-overlay.open .pm-panel {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.pm-gallery {
    flex: 0 0 45%;
    background: #f7f5ff;
    border-radius: 24px 0 0 24px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pm-gallery-main {
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #e8e4f8;
    flex-shrink: 0;
}

.pm-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.pm-gallery-main:hover img { transform: scale(1.04); }

.pm-thumbs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.pm-thumb {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s, transform 0.2s;
    flex-shrink: 0;
}

.pm-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pm-thumb:hover { transform: translateY(-2px); border-color: rgba(95,45,237,0.35); }
.pm-thumb.active { border-color: #5f2ded; }

.pm-info {
    flex: 1;
    padding: 36px 36px 36px 32px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pm-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(95,45,237,0.08);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #5f2ded;
    transition: background 0.2s, transform 0.2s;
    line-height: 1;
}

.pm-close:hover { background: #5f2ded; color: #fff; transform: rotate(90deg); }

.pm-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #5f2ded;
    background: rgba(95,45,237,0.08);
    padding: 5px 14px;
    border-radius: 20px;
    width: fit-content;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.pm-title {
    font-size: clamp(18px, 2.5vw, 26px);
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.3;
    margin: 0 0 20px;
    padding-right: 30px;
}

.pm-divider {
    height: 2px;
    background: linear-gradient(90deg, #5f2ded, rgba(162,89,255,0.3), transparent);
    border-radius: 2px;
    margin-bottom: 20px;
}

.pm-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.85;
    flex: 1;
    white-space: pre-line;
}

.pm-no-desc {
    font-size: 14px;
    color: #aaa;
    font-style: italic;
}

.pm-footer {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(95,45,237,0.08);
}

.pm-badge-new {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #fff;
    background: linear-gradient(135deg, #f97316, #ef4444);
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
}

@media (max-width: 640px) {
    .pm-panel { flex-direction: column; border-radius: 20px; }
    .pm-gallery { border-radius: 20px 20px 0 0; flex: none; }
    .pm-info { padding: 24px 20px; }
}
