/* home.css — hero, intro, principles, platform, hero visual */

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 690px;
    overflow: hidden;
    color: var(--off-white);
    background:
        linear-gradient(115deg, rgba(16, 43, 76, 0.98) 0%, rgba(16, 43, 76, 0.96) 55%, rgba(9, 30, 54, 0.94) 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.16;
    background-image:
        linear-gradient(rgba(183, 226, 248, 0.22) 1px, transparent 1px),
        linear-gradient(90deg, rgba(183, 226, 248, 0.22) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(90deg, black, transparent 76%);
}

.hero::after {
    content: "";
    position: absolute;
    right: -170px;
    bottom: -290px;
    width: 640px;
    height: 640px;
    border: 120px solid rgba(91, 192, 232, 0.1);
    transform: rotate(30deg);
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 80px;
    align-items: center;
    min-height: 690px;
    padding-block: 80px;
}

.hero h1 span {
    color: var(--sky);
}

.hero-lead {
    max-width: 650px;
    margin: 28px 0 0;
    color: rgba(248, 249, 250, 0.76);
    font-size: 1.09rem;
    line-height: 1.75;
}

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

.platform-row {
    display: flex;
    gap: 32px;
    margin-top: 54px;
    color: rgba(248, 249, 250, 0.64);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.platform-row span {
    position: relative;
    padding-left: 16px;
}

.platform-row span::before {
    content: "";
    position: absolute;
    top: 0.48em;
    left: 0;
    width: 6px;
    height: 6px;
    background: var(--blue);
    transform: rotate(45deg);
}

/* ── Hero visual (logo panel + foundation note) ──────────────────── */
.hero-visual {
    position: relative;
}

.logo-panel {
    position: relative;
    overflow: hidden;
    padding: 22px;
    background: var(--white);
    box-shadow: 0 36px 80px rgba(0, 0, 0, 0.25);
    transform: rotate(1.5deg);
}

.logo-panel::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 70px;
    height: 70px;
    background: var(--sky);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.logo-panel-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 42%;
    height: 7px;
    background: var(--blue);
}

.logo-panel img {
    width: 100%;
    height: auto;
}

.foundation-note {
    position: absolute;
    right: -34px;
    bottom: -48px;
    display: flex;
    align-items: center;
    gap: 14px;
    width: 280px;
    padding: 17px 20px;
    color: var(--navy);
    background: var(--sky);
    box-shadow: var(--shadow);
}

.foundation-note p {
    margin: 0;
    font-size: 0.81rem;
    line-height: 1.45;
}

.foundation-icon {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border: 7px solid var(--navy);
    transform: rotate(45deg);
}

/* ── Intro section ───────────────────────────────────────────────── */
.intro-section {
    padding: 108px 0 96px;
    background: var(--white);
}

.intro-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 100px;
    align-items: start;
}

.intro-copy {
    padding-left: 30px;
    border-left: 3px solid var(--blue);
}

.intro-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 1.09rem;
}

.intro-copy p + p {
    margin-top: 20px;
}

/* ── Principles section ──────────────────────────────────────────── */
.principles-section {
    padding: 100px 0 116px;
    background: var(--off-white);
}

.section-heading {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 90px;
    align-items: end;
    margin-bottom: 48px;
}

.section-heading > p {
    margin: 0 0 5px;
    color: var(--muted);
    font-size: 1.04rem;
}

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

.principle-card {
    min-height: 330px;
    padding: 34px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: 0 12px 40px rgba(16, 43, 76, 0.05);
}

.principle-card-featured {
    color: var(--off-white);
    background: var(--navy);
    border-color: var(--navy);
    transform: translateY(-14px);
}

.card-number {
    color: #3086AE;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.principle-card-featured .card-number {
    color: var(--blue);
}

.card-rule {
    width: 42px;
    height: 3px;
    margin: 62px 0 24px;
    background: var(--blue);
}

.principle-card h3 {
    margin: 0 0 12px;
    color: var(--navy);
    font-size: 1.32rem;
    line-height: 1.25;
}

.principle-card-featured h3 {
    color: var(--off-white);
}

.principle-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.94rem;
}

.principle-card-featured p {
    color: rgba(248, 249, 250, 0.7);
}

/* ── Platform section ────────────────────────────────────────────── */
.platform-section {
    padding: 118px 0;
    overflow: hidden;
    background: var(--white);
}

.platform-grid {
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;
    gap: 120px;
    align-items: center;
}

.platform-art {
    position: relative;
    min-height: 470px;
    background: var(--sky);
}

.platform-art::before,
.platform-art::after {
    content: "";
    position: absolute;
    background: var(--blue);
}

.platform-art::before {
    top: -28px;
    right: -28px;
    width: 115px;
    height: 115px;
    opacity: 0.28;
}

.platform-art::after {
    bottom: -34px;
    left: -34px;
    width: 100px;
    height: 100px;
    background: var(--navy);
}

.device {
    position: absolute;
    width: 210px;
    height: 400px;
    border: 10px solid var(--navy);
    border-radius: 34px;
    box-shadow: 0 30px 60px rgba(16, 43, 76, 0.2);
}

.device-back {
    top: 38px;
    left: 42px;
    background: #EAF7FD;
    transform: rotate(-11deg);
}

.device-front {
    right: 42px;
    bottom: -25px;
    overflow: hidden;
    background: var(--navy);
    transform: rotate(7deg);
}

.device-front > span {
    display: block;
    width: 70px;
    height: 8px;
    margin: 15px auto;
    background: rgba(248, 249, 250, 0.3);
    border-radius: 10px;
}

.device-stack {
    display: grid;
    gap: 13px;
    padding: 72px 26px 0;
}

.device-stack i {
    height: 48px;
    display: block;
    background: var(--blue);
    transform: skewY(-14deg);
}

.device-stack i:nth-child(2) {
    background: #7BCFEB;
}

.device-stack i:nth-child(3) {
    background: var(--sky);
}

.platform-copy > p:not(.eyebrow) {
    margin: 25px 0 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.check-list {
    display: grid;
    gap: 14px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 32px;
    color: var(--navy);
    font-weight: 700;
}

.check-list li::before {
    content: "";
    position: absolute;
    top: 0.35em;
    left: 0;
    width: 14px;
    height: 14px;
    background: var(--blue);
    border: 4px solid var(--sky);
    transform: rotate(45deg);
}
