/*
 * myl1nk custom landing - link.me style (animated). Loaded by views/index/index.php.
 */
html, body { overflow-x: hidden; }

.ml-land {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: -1.5rem;
    background: #0b0b12;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow: hidden;
}
.ml-land * { box-sizing: border-box; }
.ml-land a { text-decoration: none; }
.ml-inner { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; position: relative; z-index: 1; }

/* Animated background mesh */
.ml-land::before {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background:
        radial-gradient(circle at 18% 12%, rgba(214,41,118,0.20), transparent 42%),
        radial-gradient(circle at 82% 18%, rgba(79,91,213,0.20), transparent 42%),
        radial-gradient(circle at 50% 85%, rgba(150,47,191,0.16), transparent 48%);
    background-size: 200% 200%;
    animation: ml-mesh 20s ease-in-out infinite;
}
@keyframes ml-mesh { 0%,100% { background-position: 0% 0%; } 50% { background-position: 100% 100%; } }

/* Buttons */
.ml-btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:14px 26px; border-radius:999px; font-weight:700; font-size:1rem; transition:transform .15s ease, filter .15s ease; cursor:pointer; border:0; }
.ml-btn-primary { background:linear-gradient(135deg,#d62976,#962fbf,#4f5bd5); color:#fff; box-shadow:0 10px 30px rgba(150,47,191,0.45); }
.ml-btn-primary:hover { transform:translateY(-2px); filter:brightness(1.08); color:#fff; }
.ml-btn-ghost { background:rgba(255,255,255,0.08); color:#fff; border:1px solid rgba(255,255,255,0.18); }
.ml-btn-ghost:hover { background:rgba(255,255,255,0.16); color:#fff; }

/* HERO */
.ml-hero { position:relative; padding:5rem 0 3rem; text-align:center; }
.ml-hero .ml-inner { position:relative; z-index:1; }
.ml-badge { display:inline-flex; align-items:center; gap:8px; padding:7px 16px; border-radius:999px; background:rgba(255,255,255,0.07); border:1px solid rgba(255,255,255,0.12); font-size:.85rem; color:#d6d6e0; margin-bottom:1.5rem; }
.ml-badge .dot { width:8px; height:8px; border-radius:50%; background:#31a24c; box-shadow:0 0 0 3px rgba(49,162,76,0.25); }
.ml-h1 { font-size:3.6rem; line-height:1.04; font-weight:800; margin:0 0 1.2rem; letter-spacing:-1px; }
.ml-h1 .grad, .grad { background:linear-gradient(135deg,#feda75,#fa7e1e,#d62976,#962fbf,#4f5bd5); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
#ml-rot { display:inline-block; transition:opacity .3s ease, transform .3s ease; }
.ml-sub { font-size:1.2rem; color:#b9bac6; max-width:640px; margin:0 auto 2.2rem; line-height:1.6; }
.ml-cta-row { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
.ml-trust { margin-top:1.6rem; font-size:.9rem; color:#8b8c9a; }

/* Phone marquee */
.ml-phones-section { padding:3rem 0 1rem; position:relative; z-index:1; }
.ml-phones-wrap { overflow:hidden; -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); }
.ml-phones { display:flex; gap:26px; width:max-content; animation:ml-marquee 38s linear infinite; }
.ml-phones:hover { animation-play-state:paused; }
@keyframes ml-marquee { from { transform:translateX(0); } to { transform:translateX(-50%); } }
.ml-phone { flex:0 0 auto; width:228px; border-radius:34px; padding:8px; background:linear-gradient(160deg,#2c2c38,#15151d); box-shadow:0 24px 55px rgba(0,0,0,0.55); border:1px solid rgba(255,255,255,0.08); }
.ml-phone img { width:100%; display:block; border-radius:26px; }

/* Sections */
.ml-section { position:relative; z-index:1; padding:4rem 0; }
.ml-section-title { text-align:center; font-size:2.3rem; font-weight:800; margin:0 0 .6rem; letter-spacing:-.5px; }
.ml-section-sub { text-align:center; color:#b9bac6; max-width:600px; margin:0 auto 2.6rem; font-size:1.05rem; }

/* Fade-in on scroll */
.ml-fade { opacity:0; transform:translateY(34px); transition:opacity .7s ease, transform .7s ease; }
.ml-fade.in { opacity:1; transform:none; }

/* Feature cards */
.ml-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.ml-card { background:linear-gradient(180deg,rgba(255,255,255,0.06),rgba(255,255,255,0.02)); border:1px solid rgba(255,255,255,0.09); border-radius:18px; padding:1.6rem; text-align:left; transition:transform .2s ease, border-color .2s ease; }
.ml-card:hover { transform:translateY(-4px); border-color:rgba(214,41,118,0.4); }
.ml-card-ico { width:50px; height:50px; border-radius:14px; display:flex; align-items:center; justify-content:center; font-size:1.4rem; margin-bottom:1rem; }
.ml-card h3 { font-size:1.15rem; margin:0 0 .5rem; font-weight:700; }
.ml-card p { color:#aeb0bd; font-size:.95rem; line-height:1.55; margin:0; }
@media(max-width:900px){ .ml-grid { grid-template-columns:repeat(2,1fr); } }
@media(max-width:540px){ .ml-grid { grid-template-columns:1fr; } .ml-h1 { font-size:2.5rem; } }

/* Comparison table */
.ml-compare-wrap { overflow-x:auto; }
.ml-compare { width:100%; max-width:860px; margin:0 auto; border-collapse:separate; border-spacing:0; background:rgba(255,255,255,0.03); border:1px solid rgba(255,255,255,0.09); border-radius:18px; overflow:hidden; }
.ml-compare th, .ml-compare td { padding:16px 18px; text-align:center; border-bottom:1px solid rgba(255,255,255,0.07); }
.ml-compare th { font-size:1rem; font-weight:700; }
.ml-compare thead th { background:rgba(255,255,255,0.04); font-size:1.05rem; }
.ml-compare .ml-col-us { background:rgba(214,41,118,0.10); }
.ml-compare thead .ml-col-us { background:linear-gradient(135deg,rgba(214,41,118,0.35),rgba(79,91,213,0.35)); }
.ml-compare td:first-child, .ml-compare th:first-child { text-align:left; color:#cfd0db; font-weight:600; }
.ml-compare tr:last-child td { border-bottom:0; }
.ml-yes { color:#4ade80; font-weight:800; }
.ml-no { color:#ff6b6b; font-weight:800; }
.ml-price-us { color:#4ade80; font-weight:800; }
.ml-price-them { color:#ff9f6b; font-weight:700; }

/* Ambassador */
.ml-amb { position:relative; z-index:1; margin:3rem auto 4rem; max-width:1000px; }
.ml-amb-box { background:linear-gradient(135deg,rgba(214,41,118,0.18),rgba(79,91,213,0.18)); border:1px solid rgba(255,255,255,0.12); border-radius:24px; padding:3rem 2rem; text-align:center; }
.ml-amb-box h2 { font-size:2.1rem; font-weight:800; margin:0 0 .8rem; }
.ml-amb-box p { color:#c8c9d4; max-width:560px; margin:0 auto 1.8rem; font-size:1.05rem; line-height:1.6; }

.ml-foot { text-align:center; color:#7d7e8c; font-size:.85rem; padding:2rem 0 3rem; position:relative; z-index:1; }
