index changes
This commit is contained in:
@@ -1,323 +1,4 @@
|
||||
<link href="https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600&family=Barlow+Condensed:wght@600;700;800;900&display=swap" rel="stylesheet">
|
||||
|
||||
<style>
|
||||
/* ══════════════════════════════════════
|
||||
SCOPED TO .mt-section — NO GLOBALS
|
||||
══════════════════════════════════════ */
|
||||
.mt-section *, .mt-section *::before, .mt-section *::after { box-sizing: border-box; }
|
||||
|
||||
.mt-section {
|
||||
--mt-red: #c01227;
|
||||
--mt-red-dk: #8f0d1d;
|
||||
--mt-red-light: #fdf0f2;
|
||||
--mt-red-mid: rgba(192,18,39,0.1);
|
||||
--mt-dark: #111827;
|
||||
--mt-mid: #374151;
|
||||
--mt-muted: #9ca3af;
|
||||
--mt-border: rgba(0,0,0,0.07);
|
||||
--mt-white: #ffffff;
|
||||
--mt-bg: #f3f4f7;
|
||||
|
||||
width: 100%;
|
||||
font-family: 'Barlow', sans-serif;
|
||||
color: var(--mt-dark);
|
||||
background: var(--mt-bg);
|
||||
}
|
||||
|
||||
/* ══ STATS BANNER ══ */
|
||||
.mt-banner {
|
||||
background: linear-gradient(135deg, var(--mt-red) 0%, var(--mt-red-dk) 100%);
|
||||
padding: 0px 40px;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* animated diagonal shine */
|
||||
.mt-banner::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: -80px; left: -120px;
|
||||
width: 300px; height: 300px;
|
||||
background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
|
||||
pointer-events: none;
|
||||
}
|
||||
.mt-banner::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: -60px; right: -60px;
|
||||
width: 220px; height: 220px;
|
||||
background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 70%);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.mt-stat {
|
||||
padding: 36px 20px;
|
||||
text-align: center;
|
||||
position: relative;
|
||||
opacity: 0;
|
||||
transform: translateY(24px);
|
||||
transition: opacity .55s ease, transform .55s cubic-bezier(.16,1,.3,1);
|
||||
}
|
||||
.mt-stat:not(:last-child)::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
right: 0; top: 25%; bottom: 25%;
|
||||
width: 1px;
|
||||
background: rgba(255,255,255,0.2);
|
||||
}
|
||||
|
||||
.mt-section.mt-live .mt-stat:nth-child(1) { opacity:1; transform:translateY(0); transition-delay:.1s; }
|
||||
.mt-section.mt-live .mt-stat:nth-child(2) { opacity:1; transform:translateY(0); transition-delay:.22s; }
|
||||
.mt-section.mt-live .mt-stat:nth-child(3) { opacity:1; transform:translateY(0); transition-delay:.34s; }
|
||||
.mt-section.mt-live .mt-stat:nth-child(4) { opacity:1; transform:translateY(0); transition-delay:.46s; }
|
||||
|
||||
.mt-stat-num {
|
||||
font-family: 'Barlow Condensed', sans-serif;
|
||||
font-size: clamp(36px, 4.5vw, 54px);
|
||||
font-weight: 700;
|
||||
color: #fff;
|
||||
line-height: 1;
|
||||
letter-spacing: -1px;
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.mt-stat-label {
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
color: rgba(255,255,255,0.72);
|
||||
letter-spacing: .5px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
/* ══ BODY SECTION ══ */
|
||||
.mt-body {
|
||||
max-width: 1100px;
|
||||
margin: 0 auto;
|
||||
padding: 88px 40px 20px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/* grid background */
|
||||
.mt-body::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background-image:
|
||||
linear-gradient(to right, rgba(0,0,0,0.032) 1px, transparent 1px),
|
||||
linear-gradient(to bottom, rgba(0,0,0,0.032) 1px, transparent 1px);
|
||||
background-size: 68px 68px;
|
||||
pointer-events: none;
|
||||
mask-image: radial-gradient(ellipse 88% 80% at 50% 40%, black 30%, transparent 100%);
|
||||
-webkit-mask-image: radial-gradient(ellipse 88% 80% at 50% 40%, black 30%, transparent 100%);
|
||||
}
|
||||
|
||||
/* ── HEADER ── */
|
||||
.mt-header {
|
||||
text-align: center;
|
||||
margin-bottom: 64px;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.mt-eyebrow {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
font-family: 'Barlow Condensed', sans-serif;
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 3.5px;
|
||||
text-transform: uppercase;
|
||||
color: var(--mt-red);
|
||||
margin-bottom: 18px;
|
||||
opacity: 0;
|
||||
transform: translateY(16px);
|
||||
transition: opacity .55s ease .05s, transform .55s ease .05s;
|
||||
}
|
||||
.mt-eyebrow::before, .mt-eyebrow::after {
|
||||
content: ''; display: block;
|
||||
width: 28px; height: 1px;
|
||||
background: var(--mt-red);
|
||||
}
|
||||
|
||||
.mt-title {
|
||||
font-family: 'Barlow Condensed', sans-serif;
|
||||
font-size: clamp(34px, 5vw, 60px);
|
||||
font-weight: 900;
|
||||
line-height: 1.05;
|
||||
letter-spacing: -1.2px;
|
||||
color: var(--mt-dark);
|
||||
margin: 0 0 18px;
|
||||
opacity: 0;
|
||||
transform: translateY(26px);
|
||||
transition: opacity .65s ease .17s, transform .65s ease .17s;
|
||||
}
|
||||
.mt-title em { font-style: normal; color: var(--mt-red); }
|
||||
.mt-title sup {
|
||||
font-size: .45em;
|
||||
font-weight: 700;
|
||||
vertical-align: super;
|
||||
color: var(--mt-red);
|
||||
}
|
||||
|
||||
.mt-desc {
|
||||
font-size: 15.5px;
|
||||
color: var(--mt-muted);
|
||||
line-height: 1.75;
|
||||
max-width: 540px;
|
||||
margin: 0 auto;
|
||||
opacity: 0;
|
||||
transform: translateY(16px);
|
||||
transition: opacity .65s ease .3s, transform .65s ease .3s;
|
||||
}
|
||||
|
||||
/* in-view header */
|
||||
.mt-section.mt-live .mt-eyebrow { opacity: 1; transform: translateY(0); }
|
||||
.mt-section.mt-live .mt-title { opacity: 1; transform: translateY(0); }
|
||||
.mt-section.mt-live .mt-desc { opacity: 1; transform: translateY(0); display: inline-block; }
|
||||
|
||||
/* ── FEATURE GRID ── */
|
||||
.mt-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: 20px;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.mt-card {
|
||||
background: var(--mt-white);
|
||||
border-radius: 20px;
|
||||
padding: 34px 28px 30px;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 2px 20px rgba(0,0,0,0.065);
|
||||
cursor: default;
|
||||
opacity: 0;
|
||||
transform: translateY(40px) scale(.98);
|
||||
transition:
|
||||
opacity .6s cubic-bezier(.16,1,.3,1),
|
||||
transform .6s cubic-bezier(.16,1,.3,1),
|
||||
box-shadow .3s ease;
|
||||
}
|
||||
|
||||
/* staggered card reveals */
|
||||
.mt-section.mt-live .mt-card:nth-child(1) { opacity:1; transform:translateY(0) scale(1); transition-delay:.42s; }
|
||||
.mt-section.mt-live .mt-card:nth-child(2) { opacity:1; transform:translateY(0) scale(1); transition-delay:.54s; }
|
||||
.mt-section.mt-live .mt-card:nth-child(3) { opacity:1; transform:translateY(0) scale(1); transition-delay:.66s; }
|
||||
.mt-section.mt-live .mt-card:nth-child(4) { opacity:1; transform:translateY(0) scale(1); transition-delay:.78s; }
|
||||
.mt-section.mt-live .mt-card:nth-child(5) { opacity:1; transform:translateY(0) scale(1); transition-delay:.90s; }
|
||||
.mt-section.mt-live .mt-card:nth-child(6) { opacity:1; transform:translateY(0) scale(1); transition-delay:1.02s; }
|
||||
|
||||
/* top accent bar on hover */
|
||||
.mt-card::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0; left: 0; right: 0;
|
||||
height: 3px;
|
||||
background: linear-gradient(90deg, var(--mt-red), transparent);
|
||||
transform: scaleX(0);
|
||||
transform-origin: left;
|
||||
transition: transform .45s cubic-bezier(.16,1,.3,1);
|
||||
}
|
||||
.mt-card:hover::before { transform: scaleX(1); }
|
||||
|
||||
/* background glow */
|
||||
.mt-card::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: -40px; left: -40px;
|
||||
width: 160px; height: 160px;
|
||||
background: radial-gradient(circle, rgba(192,18,39,0.06) 0%, transparent 70%);
|
||||
opacity: 0;
|
||||
transition: opacity .4s ease;
|
||||
pointer-events: none;
|
||||
}
|
||||
.mt-card:hover::after { opacity: 1; }
|
||||
|
||||
.mt-card:hover {
|
||||
box-shadow: 0 16px 52px rgba(192,18,39,0.12);
|
||||
transform: translateY(-5px) scale(1.01) !important;
|
||||
}
|
||||
|
||||
/* icon */
|
||||
.mt-card-icon {
|
||||
width: 52px; height: 52px;
|
||||
border-radius: 14px;
|
||||
background: var(--mt-red-light);
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
margin-bottom: 20px;
|
||||
transition: transform .35s cubic-bezier(.16,1,.3,1), background .3s;
|
||||
}
|
||||
.mt-card:hover .mt-card-icon {
|
||||
transform: rotate(-8deg) scale(1.1);
|
||||
background: var(--mt-red);
|
||||
}
|
||||
.mt-card-icon svg {
|
||||
width: 22px; height: 22px;
|
||||
stroke: var(--mt-red); fill: none;
|
||||
stroke-width: 1.9;
|
||||
stroke-linecap: round; stroke-linejoin: round;
|
||||
transition: stroke .3s;
|
||||
}
|
||||
.mt-card:hover .mt-card-icon svg { stroke: #fff; }
|
||||
|
||||
/* card text */
|
||||
.mt-card-name {
|
||||
font-family: 'Barlow Condensed', sans-serif;
|
||||
font-size: 19px;
|
||||
font-weight: 800;
|
||||
letter-spacing: -.3px;
|
||||
color: var(--mt-dark);
|
||||
margin: 0 0 10px;
|
||||
}
|
||||
.mt-card-desc {
|
||||
font-size: 13.5px;
|
||||
line-height: 1.65;
|
||||
color: var(--mt-muted);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* card bottom tag */
|
||||
.mt-card-tag {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
margin-top: 18px;
|
||||
font-family: 'Barlow Condensed', sans-serif;
|
||||
font-size: 10px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 1.8px;
|
||||
text-transform: uppercase;
|
||||
color: var(--mt-red);
|
||||
opacity: 0;
|
||||
transform: translateX(-6px);
|
||||
transition: opacity .3s, transform .3s;
|
||||
}
|
||||
.mt-card-tag::after {
|
||||
content: '';
|
||||
display: block;
|
||||
width: 16px; height: 1px;
|
||||
background: var(--mt-red);
|
||||
transition: width .35s cubic-bezier(.16,1,.3,1);
|
||||
}
|
||||
.mt-card:hover .mt-card-tag { opacity: 1; transform: translateX(0); }
|
||||
.mt-card:hover .mt-card-tag::after { width: 26px; }
|
||||
|
||||
/* ── RESPONSIVE ── */
|
||||
@media (max-width: 860px) {
|
||||
.mt-banner { grid-template-columns: repeat(2, 1fr); padding: 0 20px; }
|
||||
.mt-stat:nth-child(2)::after { display: none; }
|
||||
.mt-grid { grid-template-columns: repeat(2, 1fr); }
|
||||
.mt-body { padding: 60px 20px 70px; }
|
||||
}
|
||||
@media (max-width: 540px) {
|
||||
.mt-grid { grid-template-columns: 1fr; }
|
||||
.mt-banner { grid-template-columns: repeat(2, 1fr); }
|
||||
}
|
||||
</style>
|
||||
<?php include("head.php"); ?>
|
||||
|
||||
<!-- ══ SECTION HTML ══ -->
|
||||
<div class="mt-section" id="mt-miletruth">
|
||||
|
||||
Reference in New Issue
Block a user