/* =========================================================
   TULRUMUS HOME v6
   Full replacement: /opt/tulrumus/app/web/static/tulrumus-home.css
   ========================================================= */

:root {
    --bg: #020713;
    --line: rgba(142,191,255,.15);
    --text: #f5f7fb;
    --gold: #e8b85c;
    --gold2: #ffd875;
    --cyan: #45e4d0;
    --violet: #bb68ff;
    --max: 1480px;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--text);
    background:
        radial-gradient(circle at 78% 0%, rgba(44,34,111,.12), transparent 35%),
        linear-gradient(180deg,#020713 0%,#050b18 100%);
    font-family: Inter, Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
.site { overflow: hidden; }

/* HERO */

.hero {
    position: relative;
    height: 100svh;
    min-height: 700px;
    max-height: 900px;
    isolation: isolate;
    overflow: hidden;
    background: #020713;
    border-bottom: 1px solid var(--line);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -3;
    background-image: url("/static/tulrumus-home-hero-v2.png?v=8");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    transform: scale(1.005);
}

.hero-shade {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg,
            rgba(2,7,19,.96) 0%,
            rgba(2,7,19,.91) 21%,
            rgba(2,7,19,.50) 43%,
            rgba(2,7,19,.08) 70%,
            rgba(2,7,19,.20) 100%),
        linear-gradient(180deg,
            rgba(2,7,19,.25) 0%,
            rgba(2,7,19,0) 58%,
            rgba(2,7,19,.56) 100%);
}

.header {
    position: relative;
    z-index: 5;
    width: min(calc(100% - 70px), var(--max));
    height: 82px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 30px;
    border-bottom: 1px solid rgba(157,200,255,.11);
}

.brand {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-width: 245px;
}

.brand-mark {
    width: 47px;
    height: 44px;
    object-fit: cover;
    object-position: center;
    border-radius: 3px;
    box-shadow: 0 0 18px rgba(239,184,86,.12);
}

.brand-name {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    line-height: 1;
    letter-spacing: .12em;
    color: #f0c46d;
    text-shadow: 0 0 14px rgba(240,196,109,.12);
}

.brand-name sup {
    margin-left: 3px;
    font-family: Arial, sans-serif;
    font-size: 9px;
    vertical-align: top;
    letter-spacing: 0;
}

.header-spacer { min-width: 20px; }

.header-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-btn,
.news-btn,
.market-btn,
.cabinet-btn {
    min-height: 40px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

.about-btn,
.news-btn,
.market-btn {
    border: 1px solid rgba(232,184,92,.70);
    color: #f1c66f;
    background: rgba(23,18,14,.28);
    box-shadow: 0 0 18px rgba(232,184,92,.05);
}

.cabinet-btn {
    border: 1px solid rgba(255,255,255,.82);
    color: #101522;
    background: rgba(255,255,255,.96);
}

.about-btn:hover,
.news-btn:hover,
.market-btn:hover,
.cabinet-btn:hover {
    transform: translateY(-1px);
}

.hero-layout {
    width: min(calc(100% - 70px), var(--max));
    height: calc(100% - 82px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(520px,630px) 1fr 265px;
    align-items: center;
    gap: 26px;
}

.hero-copy {
    grid-column: 1;
    transform: translateY(-14px);
}

.eyebrow {
    margin-bottom: 16px;
    color: #d697ff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .17em;
}

.hero h1 {
    margin: 0;
    max-width: 610px;
    font-size: clamp(48px,4vw,68px);
    line-height: 1;
    letter-spacing: -.042em;
    font-weight: 730;
}

.hero h1 span {
    background: linear-gradient(90deg,#a987ff 0%,#e7e5ff 45%,#fff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lead {
    margin: 24px 0 0;
    max-width: 560px;
    color: #c5ced8;
    font-size: 14px;
    line-height: 1.58;
}

.hero-actions {
    margin-top: 26px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.primary-btn {
    min-height: 50px;
    padding: 0 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f6bb45;
    border-radius: 7px;
    background: linear-gradient(180deg,#ffd36d 0%,#f3a727 100%);
    color: #2d1b05;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 0 24px rgba(255,183,58,.34), inset 0 1px 0 rgba(255,255,255,.65);
}

.secondary-btn {
    min-height: 50px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(146,164,255,.38);
    border-radius: 7px;
    background: rgba(8,15,38,.46);
    color: #e4e8ef;
    font-size: 12px;
    backdrop-filter: blur(10px);
}

.mini-cube { color: #f2c668; font-size: 16px; }
.arrow { margin-left: 5px; font-size: 17px; }

/* smaller right card, shifted to the far right */

.info-card {
    grid-column: 3;
    justify-self: end;
    align-self: center;
    width: 255px;
    padding: 16px 14px 14px;
    border: 1px solid rgba(120,165,245,.23);
    border-radius: 12px;
    background: linear-gradient(180deg,rgba(12,22,49,.84),rgba(9,17,37,.72));
    box-shadow:
        0 18px 42px rgba(0,0,0,.23),
        inset 0 1px 0 rgba(255,255,255,.04);
    backdrop-filter: blur(14px);
    transform: translate(22px, 32px);
}

.info-title {
    margin-bottom: 12px;
    color: #e9b85a;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid rgba(120,165,245,.11);
    border-radius: 8px;
    overflow: hidden;
}

.info-cell {
    min-height: 70px;
    padding: 10px 8px;
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,.012);
    border-right: 1px solid rgba(120,165,245,.10);
    border-bottom: 1px solid rgba(120,165,245,.10);
}

.info-cell:nth-child(2n) { border-right: 0; }
.info-cell:nth-child(3),
.info-cell:nth-child(4) { border-bottom: 0; }

.info-icon {
    flex: 0 0 auto;
    color: #9cb4ff;
    font-size: 20px;
}

.info-icon.cyan { color: var(--cyan); }
.info-icon.violet { color: var(--violet); }

.info-cell small {
    display: block;
    margin-bottom: 5px;
    color: #76859a;
    font-size: 6px;
    font-weight: 700;
    letter-spacing: .07em;
}

.info-cell strong {
    color: #f4f7fb;
    font-size: 11px;
    font-weight: 650;
}

.cyan-text { color: var(--cyan)!important; }
.violet-text { color: var(--violet)!important; }

.info-note {
    margin: 10px 0 0;
    color: #77869b;
    font-size: 8px;
    line-height: 1.4;
}

/* SECOND SCREEN */

.content {
    padding: 34px max(35px,calc((100vw - var(--max))/2)) 28px;
    background:
        radial-gradient(circle at 50% 0%,rgba(37,63,118,.13),transparent 34%),
        radial-gradient(circle at 30% 30%,rgba(73,92,180,.045),transparent 28%),
        linear-gradient(180deg,#050b18 0%,#020713 100%);
}

.section-head {
    text-align: center;
    margin-bottom: 20px;
}

.section-head span {
    color: #d6a85c;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .18em;
}

.section-head h2 {
    margin: 6px 0 0;
    font-size: 27px;
    font-weight: 500;
    letter-spacing: -.015em;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 16px;
}

.step {
    position: relative;
    min-height: 176px;
    padding: 20px 18px 17px;
    border-radius: 10px;
    background: linear-gradient(180deg,rgba(11,21,46,.88),rgba(4,11,26,.95));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.025),0 12px 28px rgba(0,0,0,.15);
    overflow: hidden;
}

.step::before {
    content: "";
    position: absolute;
    left: 12%;
    right: 12%;
    top: -26px;
    height: 70px;
    border-radius: 50%;
    filter: blur(24px);
    opacity: .20;
}

.step-gold { border: 1px solid rgba(242,181,73,.58); }
.step-blue { border: 1px solid rgba(97,111,255,.58); }
.step-cyan { border: 1px solid rgba(55,216,195,.58); }
.step-violet { border: 1px solid rgba(180,83,255,.58); }

.step-gold::before { background:#f2b549; }
.step-blue::before { background:#616fff; }
.step-cyan::before { background:#37d8c3; }
.step-violet::before { background:#b453ff; }

.step-num {
    position: absolute;
    top: 13px;
    left: 13px;
    color: #d9a849;
    font-size: 9px;
}

.step-blue .step-num { color:#7c88ff; }
.step-cyan .step-num { color:var(--cyan); }
.step-violet .step-num { color:var(--violet); }

.step-icon {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f1c361;
    font-size: 35px;
}

.step-blue .step-icon { color:#717fff; }
.step-cyan .step-icon { color:var(--cyan); }
.step-violet .step-icon { color:var(--violet); }

.step h3 {
    margin: 7px 0;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
}

.step p {
    margin: 0 auto;
    max-width: 250px;
    text-align: center;
    color: #98a5b6;
    font-size: 10px;
    line-height: 1.55;
}

.second-head {
    margin-top: 26px;
    margin-bottom: 16px;
}

.proofs {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
}

.proof {
    min-height: 104px;
    padding: 16px;
    display: flex;
    gap: 14px;
    align-items: center;
    border-radius: 9px;
    background: linear-gradient(180deg,rgba(10,20,44,.88),rgba(4,11,26,.95));
}

.proof-gold { border:1px solid rgba(242,181,73,.48); }
.proof-cyan { border:1px solid rgba(55,216,195,.48); }
.proof-violet { border:1px solid rgba(180,83,255,.48); }

.proof-icon {
    flex: 0 0 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f1bd54;
    font-size: 32px;
}

.proof-cyan .proof-icon { color:var(--cyan); }
.proof-violet .proof-icon { color:var(--violet); }

.proof h3 {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 600;
}

.proof p {
    margin: 0;
    color: #8f9cad;
    font-size: 9px;
    line-height: 1.5;
}

/* FOOTER */

.footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(139,185,244,.12);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: center;
}

.footer-brand {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    letter-spacing: .15em;
    color: #e8bc66;
}

.footer-brand sup {
    margin-left: 3px;
    font-family: Arial, sans-serif;
    font-size: 8px;
    vertical-align: top;
    letter-spacing: 0;
}

.footer-links {
    display: flex;
    gap: 22px;
    color: #8290a3;
    font-size: 8px;
}

.copyright {
    justify-self: end;
    color: #66778c;
    font-size: 8px;
}

/* RESPONSIVE */

@media (max-width: 1180px) {
    .brand { min-width: 210px; }
    .brand-name { font-size: 20px; }
    .hero-layout { grid-template-columns:minmax(500px,1fr) 235px; }
    .hero-copy { grid-column:1; }
    .info-card {
        grid-column:2;
        width:235px;
        transform:translate(8px,32px);
    }
}

@media (max-width: 900px) {
    .hero {
        height:auto;
        min-height:840px;
    }

    .header,
    .hero-layout {
        width:calc(100% - 36px);
    }

    .brand-mark {
        width:40px;
        height:38px;
    }

    .brand-name {
        font-size:18px;
    }

    .about-btn,
    .news-btn,
    .market-btn,
    .cabinet-btn {
        padding:0 9px;
        font-size:7px;
    }

    .hero-layout {
        height:auto;
        display:block;
        padding:84px 0 74px;
    }

    .hero-copy {
        max-width:620px;
        transform:none;
    }

    .info-card { display:none; }

    .steps { grid-template-columns:1fr 1fr; }
    .proofs { grid-template-columns:1fr; }

    .footer {
        grid-template-columns:1fr;
    }

    .copyright {
        justify-self:start;
    }
}

@media (max-width: 580px) {
    .header {
        height:70px;
        gap:10px;
    }

    .brand {
        min-width:0;
        gap:7px;
    }

    .brand-mark {
        width:32px;
        height:30px;
    }

    .brand-name {
        font-size:14px;
        letter-spacing:.08em;
    }

    .about-btn,
    .news-btn,
    .market-btn {
        display:none;
    }

    .cabinet-btn {
        min-height:34px;
        padding:0 9px;
        font-size:7px;
    }

    .hero-layout {
        padding-top:66px;
    }

    .hero h1 {
        font-size:46px;
    }

    .lead {
        font-size:13px;
    }

    .hero-actions {
        align-items:stretch;
        flex-direction:column;
    }

    .primary-btn,
    .secondary-btn {
        width:100%;
    }

    .content {
        padding-left:18px;
        padding-right:18px;
    }

    .steps {
        grid-template-columns:1fr;
    }

    .section-head h2 {
        font-size:23px;
    }
}

/* TULRUMUS_COUNTDOWN_START */

.launch-countdown-center{
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
    box-sizing:border-box;
    padding:10px 20px;
    position:relative;
    z-index:20;
    background:#050914;
}

.launch-countdown-center__line{
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:nowrap;
    gap:10px;
    white-space:nowrap;

    color:#f2d17d;
    font-size:clamp(22px,2.6vw,38px);
    font-weight:700;
    line-height:1.1;
    letter-spacing:.03em;
    font-variant-numeric:tabular-nums;
}

.launch-countdown-center__label{
    color:#ffffff;
    font-size:clamp(15px,1.5vw,21px);
    font-weight:600;
    margin-right:10px;
    letter-spacing:.08em;
}

.launch-countdown-center__sep{
    color:#cda954;
    font-weight:400;
}

@media (max-width:700px){
    .launch-countdown-center{
        padding:9px 8px;
    }

    .launch-countdown-center__line{
        gap:6px;
        font-size:22px;
    }

    .launch-countdown-center__label{
        font-size:13px;
        margin-right:4px;
    }
}

/* TULRUMUS_COUNTDOWN_END */
