:root {
    --bg: #0f1720;
    --bg-soft: #18222d;
    --bg-accent: #132b38;

    --text: #e8eef3;
    --text-soft: #b5c1cb;

    --line: rgba(255,255,255,0.08);

    --primary: #4fb4ff;
    --primary-hover: #79c7ff;

    --card: #16212b;

    --max-width: 1240px;

    --radius: 22px;

    --shadow:
        0 10px 30px rgba(0,0,0,0.28);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top right, rgba(79,180,255,0.08), transparent 420px),
        linear-gradient(to bottom, #0d141b, #111a23);
    color: var(--text);
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.7;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px 40px;
    backdrop-filter: blur(16px);
    background: rgba(10,15,20,0.72);
    border-bottom: 1px solid var(--line);
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.02em;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #1f6fa6, #4fb4ff);
    color: #fff;
    font-weight: 800;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.main-nav a {
    color: var(--text-soft);
    font-size: 15px;
    transition: 0.2s;
}

.main-nav a:hover {
    color: #fff;
}

.main-nav .nav-cta {
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.03);
}

.hero {
    position: relative;
    width: 100%;
    min-height: 92vh;
    overflow: hidden;

    display: flex;
    align-items: flex-end;

    padding: 140px 0 90px;
}

.hero-background {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(135deg, rgba(6,10,15,0.72), rgba(6,10,15,0.28)),
        radial-gradient(circle at 80% 35%, rgba(79,180,255,0.22), transparent 360px),
        url("../img/hero/silent_hero.jpg");

    background-size: cover;
    background-position: center; 
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        linear-gradient(to top, rgba(6,10,15,0.92), rgba(6,10,15,0.2) 55%, rgba(6,10,15,0.72)),
        linear-gradient(to right, rgba(6,10,15,0.72), rgba(6,10,15,0.04));
}

.hero-inner {
    position: relative;
    z-index: 2;

    width: min(var(--max-width), calc(100% - 60px));
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 60px;
    align-items: end;
}

.hero h1 {
    font-size: clamp(58px, 10vw, 110px);
    line-height: 0.92;
    margin: 0 0 26px;
    letter-spacing: -0.06em;
}

.hero-lead {
    font-size: clamp(21px, 2.4vw, 30px);
    line-height: 1.42;
    color: #fff;
    max-width: 780px;
}

.hero-text {
    color: var(--text-soft);
    max-width: 680px;
    margin-top: 24px;
}

.hero-tech {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-self: end;
}

.tech-card {
    min-height: 84px;
    padding: 18px;

    display: flex;
    align-items: flex-end;

    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.12);

    background:
        linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.035));

    backdrop-filter: blur(18px);
    box-shadow: 0 12px 34px rgba(0,0,0,0.22);
}

.tech-card span {
    font-weight: 700;
    color: #fff;
}

@media (max-width: 1100px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-tech {
        max-width: 640px;
    }
}

@media (max-width: 760px) {
    .hero {
        min-height: auto;
        padding: 130px 0 70px;
    }

    .hero-inner {
        width: calc(100% - 40px);
    }

    .hero-tech {
        grid-template-columns: 1fr;
    }
}

.image-placeholder {
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background:
        linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
    min-height: 520px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: rgba(255,255,255,0.4);
    text-align: center;

    padding: 40px;

    box-shadow: var(--shadow);
}

.image-placeholder.tall {
    min-height: 640px;
}

.section {
    width: min(var(--max-width), calc(100% - 60px));
    margin: 0 auto;
    padding: 120px 0;
}

.section.dark {
    background: rgba(255,255,255,0.025);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);

    width: 100%;
    padding-left: calc((100vw - min(var(--max-width), calc(100% - 60px))) / 2);
    padding-right: calc((100vw - min(var(--max-width), calc(100% - 60px))) / 2);
}

.section.accent {
    background:
        linear-gradient(145deg, rgba(79,180,255,0.07), rgba(79,180,255,0.02));
    border-top: 1px solid rgba(79,180,255,0.08);
    border-bottom: 1px solid rgba(79,180,255,0.08);

    width: 100%;
    padding-left: calc((100vw - min(var(--max-width), calc(100% - 60px))) / 2);
    padding-right: calc((100vw - min(var(--max-width), calc(100% - 60px))) / 2);
}

.section-header {
    max-width: 860px;
    margin-bottom: 54px;
}

.section-header h2 {
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.1;
    margin: 0 0 22px;
    letter-spacing: -0.04em;
}

.section-header p {
    color: var(--text-soft);
    font-size: 18px;
}

.two-column,
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
}

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

.feature-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.feature-card h3 {
    margin-top: 0;
    margin-bottom: 14px;
    font-size: 22px;
}

.feature-card p {
    margin: 0;
    color: var(--text-soft);
}

.data-list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-content: flex-start;
}

.data-list span {
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--line);
    color: var(--text-soft);
}

.centered {
    justify-content: center;
}

.site-footer {
    width: min(var(--max-width), calc(100% - 60px));
    margin: 0 auto;
    padding: 60px 0 90px;

    border-top: 1px solid var(--line);

    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;

    color: var(--text-soft);
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a:hover {
    color: #fff;
}

@media (max-width: 1100px) {

    .hero,
    .two-column,
    .split {
        grid-template-columns: 1fr;
    }

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

    .hero {
        min-height: auto;
        padding-top: 40px;
    }
}

@media (max-width: 760px) {

    .site-header {
        padding: 18px 20px;
    }

    .hero,
    .section,
    .site-footer {
        width: calc(100% - 40px);
    }

    .section.dark,
    .section.accent {
        padding-left: 20px;
        padding-right: 20px;
    }

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

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

    .section {
        padding: 90px 0;
    }

    .image-placeholder {
        min-height: 320px;
    }
}

.architecture-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        80px
        minmax(0, 1fr)
        80px
        minmax(0, 1fr);

    gap: 20px;
    align-items: center;
}

.arch-box {
    padding: 34px;

    border-radius: 24px;

    background:
        linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));

    border: 1px solid var(--line);

    min-height: 260px;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    box-shadow: var(--shadow);
}

.arch-box h3 {
    margin-top: 0;
    margin-bottom: 18px;

    font-size: 26px;
}

.arch-box p {
    color: var(--text-soft);
}

.arch-arrow {
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 42px;
    color: rgba(255,255,255,0.32);
}

@media (max-width: 980px) {

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

    .arch-arrow {
        transform: rotate(90deg);
    }

    .arch-box {
        min-height: auto;
    }
}


.logbook-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 56px;
    align-items: center;
}

.logbook-visual {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.visual-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.visual-panel {
    position: relative;

    border-radius: 22px;
    overflow: hidden;

    border: 1px solid var(--line);
backdrop-filter: blur(18px);

background:
    linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
    box-shadow: var(--shadow);

    min-height: 220px;

    padding: 20px;
}

.visual-panel.large {
    min-height: 320px;
}

.panel-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary);
    margin-bottom: 24px;
    font-weight: 700;
}

.chart-placeholder,
.map-placeholder {
    position: relative;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;

    background:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);

    background-size: 100% 36px, 36px 100%;
}

.chart-placeholder::before {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: 18%;

    height: 5px;
    opacity: 0.95;
    background:
        linear-gradient(
            90deg,
            #4fb4ff 0%,
            #7fd1ff 20%,
            #2fe0b7 38%,
            #ffe082 55%,
            #ff8a65 74%,
            #4fb4ff 100%
        );

    border-radius: 999px;

    transform:
        skewY(-6deg)
        translateY(-18px);

box-shadow:
    0 0 18px rgba(79,180,255,0.95),
    0 0 54px rgba(79,180,255,0.42),
    0 0 90px rgba(79,180,255,0.18);
}

.chart-placeholder::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(79,180,255,0.12),
            transparent 55%
        );
    opacity: 0.92;
}

.chart-placeholder.small::before {
    transform:
        skewY(3deg)
        translateY(8px);
}

.map-placeholder::before {
    content: "";

    position: absolute;

    width: 72%;
    height: 72%;

    left: 12%;
    top: 14%;

    border-radius: 50% 35% 55% 40%;

    border: 3px solid rgba(79,180,255,0.75);

    transform: rotate(18deg);

    box-shadow:
        0 0 20px rgba(79,180,255,0.3);
}

.map-placeholder::after {
    content: "";

    position: absolute;

    width: 14px;
    height: 14px;

    border-radius: 50%;

    background: #4fb4ff;

    left: 64%;
    top: 44%;

    box-shadow:
        0 0 0 10px rgba(79,180,255,0.12),
        0 0 24px rgba(79,180,255,0.8);
}

@media (max-width: 1100px) {

    .logbook-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {

    .visual-row {
        grid-template-columns: 1fr;
    }
}


.silent-sea-section {
    width: 100%;
    padding-left: calc((100vw - min(var(--max-width), calc(100% - 60px))) / 2);
    padding-right: calc((100vw - min(var(--max-width), calc(100% - 60px))) / 2);

    background:
        radial-gradient(circle at 18% 30%, rgba(79,180,255,0.14), transparent 360px),
        linear-gradient(145deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01));

    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.silent-sea-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.silent-sea-image {
    min-height: 680px;
    border-radius: 30px;
    border: 1px solid var(--line);

    background:
        linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));

    display: flex;
    align-items: center;
    justify-content: center;

    color: rgba(255,255,255,0.42);
    text-align: center;

    box-shadow: var(--shadow);
    overflow: hidden;
}

.silent-sea-content h2 {
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.08;
    margin: 0 0 28px;
    letter-spacing: -0.045em;
}

.silent-sea-content p {
    color: var(--text-soft);
    font-size: 18px;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 36px;
}

.facts-grid div {
    padding: 20px;
    border-radius: 18px;
    border: 1px solid var(--line);

    background:
        linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025));

    backdrop-filter: blur(16px);
}

.facts-grid strong {
    display: block;
    font-size: 22px;
    color: #fff;
    margin-bottom: 4px;
}

.facts-grid span {
    color: var(--text-soft);
    font-size: 14px;
}

@media (max-width: 1100px) {
    .silent-sea-layout {
        grid-template-columns: 1fr;
    }

    .silent-sea-image {
        min-height: 420px;
    }
}

@media (max-width: 760px) {
    .silent-sea-section {
        padding-left: 20px;
        padding-right: 20px;
    }

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

.dataflow {
    position: relative;

    display: grid;
    grid-template-columns: 1fr minmax(300px, 0.8fr) 1fr;
    gap: 28px;
    align-items: stretch;
}

.dataflow::before {
    content: "";

    position: absolute;
    left: 18%;
    right: 18%;
    top: 50%;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(79,180,255,0.45),
            rgba(79,180,255,0.85),
            rgba(79,180,255,0.45),
            transparent
        );

    box-shadow: 0 0 24px rgba(79,180,255,0.35);

    z-index: 0;
}

.dataflow-column,
.dataflow-core {
    position: relative;
    z-index: 1;
}

.dataflow-column {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.dataflow-label {
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.dataflow-card {
    padding: 24px;
    border-radius: 20px;

    background:
        linear-gradient(145deg, rgba(255,255,255,0.075), rgba(255,255,255,0.022));

    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.dataflow-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
}

.dataflow-card p {
    margin: 0;
    color: var(--text-soft);
    font-size: 15px;
}

.dataflow-core {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ymbox-card {
    width: 100%;
    min-height: 430px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 34px;

    border-radius: 30px;

    background:
        radial-gradient(circle at 50% 0%, rgba(79,180,255,0.22), transparent 260px),
        linear-gradient(145deg, rgba(79,180,255,0.16), rgba(255,255,255,0.035));

    border: 1px solid rgba(79,180,255,0.28);

    box-shadow:
        0 0 0 1px rgba(255,255,255,0.04),
        0 18px 48px rgba(0,0,0,0.35),
        0 0 80px rgba(79,180,255,0.16);
}

.ymbox-kicker {
    display: inline-block;
    width: fit-content;

    margin-bottom: 18px;
    padding: 7px 12px;

    border-radius: 999px;

    color: #fff;
    background: rgba(79,180,255,0.2);
    border: 1px solid rgba(79,180,255,0.35);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ymbox-card h3 {
    font-size: 34px;
    line-height: 1.05;
    margin: 0 0 18px;
}

.ymbox-card p {
    color: var(--text-soft);
    margin: 0 0 24px;
}

.ymbox-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ymbox-stack span {
    padding: 8px 11px;
    border-radius: 999px;

    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.10);

    color: var(--text);
    font-size: 13px;
    font-weight: 650;
}

@media (max-width: 1100px) {
    .dataflow {
        grid-template-columns: 1fr;
    }

    .dataflow::before {
        left: 50%;
        right: auto;
        top: 120px;
        bottom: 120px;
        width: 2px;
        height: auto;
        transform: translateX(-50%);

        background:
            linear-gradient(
                to bottom,
                transparent,
                rgba(79,180,255,0.45),
                rgba(79,180,255,0.85),
                rgba(79,180,255,0.45),
                transparent
            );
    }

    .ymbox-card {
        min-height: auto;
    }
}

.platform-diagram {
    position: relative;

    display: grid;
    grid-template-columns:
        minmax(320px, 1fr)
        minmax(320px, 0.9fr)
        minmax(320px, 1fr);

    gap: 50px;
    align-items: center;
}

.platform-diagram::before {
    display: none;
}

.platform-inputs,
.platform-output,
.platform-core {
    position: relative;
    z-index: 1;
}

.platform-inputs {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.platform-group {
    position: relative;
}

.group-label {
    display: inline-block;

    margin-bottom: 10px;
    padding: 6px 12px;

    border-radius: 999px;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;

    color: #fff;
}

.group-label.can1 {
    background: rgba(79,180,255,0.22);
    border: 1px solid rgba(79,180,255,0.4);
}

.group-label.can2 {
    background: rgba(47,224,183,0.18);
    border: 1px solid rgba(47,224,183,0.4);
}

.group-label.wifi {
    background: rgba(255,208,90,0.16);
    border: 1px solid rgba(255,208,90,0.4);
}

.platform-card {
    padding: 24px;

    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.08),
            rgba(255,255,255,0.025)
        );

    border: 1px solid var(--line);

    backdrop-filter: blur(16px);

    box-shadow: var(--shadow);
}

.platform-card h3 {
    margin-top: 0;
    margin-bottom: 18px;

    font-size: 24px;
}

.platform-card ul {
    margin: 0;
    padding-left: 18px;

    color: var(--text-soft);

    display: flex;
    flex-direction: column;
    gap: 10px;
}

.platform-core {
    display: flex;
    justify-content: center;
}

.ymbox-device {
    position: relative;

    width: 100%;
    min-height: 520px;

    padding: 36px;

    border-radius: 34px;

    overflow: hidden;

    background:
        radial-gradient(circle at top, rgba(79,180,255,0.22), transparent 280px),
        linear-gradient(
            145deg,
            rgba(79,180,255,0.14),
            rgba(255,255,255,0.03)
        );

    border: 1px solid rgba(79,180,255,0.3);

    box-shadow:
        0 0 80px rgba(79,180,255,0.16),
        0 18px 48px rgba(0,0,0,0.36);
}

.ymbox-glow {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(circle at center, rgba(79,180,255,0.12), transparent 60%);
}

.ymbox-header {
    position: relative;
    z-index: 1;
}

.ymbox-device h3 {
    margin: 0;
    font-size: 42px;
    line-height: 1;
    letter-spacing: -0.04em;
}

.ymbox-content {
    position: relative;
    z-index: 1;

    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 40px;
}

.ymbox-pill {
    padding: 10px 14px;

    border-radius: 999px;

    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);

    font-size: 14px;
    font-weight: 700;
}

.ymbox-db {
    position: relative;
    z-index: 1;

    margin-top: 46px;

    padding: 24px;

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(47,224,183,0.14),
            rgba(47,224,183,0.04)
        );

    border: 1px solid rgba(47,224,183,0.24);

    font-weight: 700;
    text-align: center;
}

.platform-output {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.output-label {
    color: var(--primary);

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.platform-output-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.output-item {
    padding: 22px;

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.08),
            rgba(255,255,255,0.025)
        );

    border: 1px solid var(--line);

    box-shadow: var(--shadow);
}

.output-item strong {
    display: block;
    margin-bottom: 6px;
    font-size: 18px;
}

.output-item span {
    color: var(--text-soft);
}

@media (max-width: 1200px) {

    .platform-diagram {
        grid-template-columns: 1fr;
    }

    .platform-diagram::before {
        display: none;
    }

    .ymbox-device {
        min-height: auto;
    }
}

.data-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.flow-line {
    fill: none;
    stroke-width: 4;
    stroke-linecap: round;
    filter: url(#glow);
    opacity: 0.9;
}

.flow-line.can1 {
    stroke: url(#lineCan1);
}

.flow-line.can2 {
    stroke: url(#lineCan2);
}

.flow-line.wifi {
    stroke: url(#lineWifi);
    stroke-dasharray: 10 12;
}

.flow-line.portal {
    stroke: url(#lineCan1);
    stroke-width: 5;
}

.flow-dot {
    filter: url(#glow);
}

.can1-dot {
    fill: #4fb4ff;
}

.can2-dot {
    fill: #2fe0b7;
}

.wifi-dot {
    fill: #ffd05a;
}

.portal-dot {
    fill: #4fb4ff;
}

.platform-diagram {
    overflow: visible;
}

@media (max-width: 1200px) {
    .data-lines {
        display: none;
    }
}

.diagram-wrap {
    border-radius: 30px;
    overflow: hidden;

    border: 1px solid var(--line);

    background:
        radial-gradient(circle at 50% 0%, rgba(79,180,255,0.10), transparent 420px),
        rgba(255,255,255,0.025);

    box-shadow: var(--shadow);
}

.diagram-wrap img {
    display: block;
    width: 100%;
    height: auto;
}

.memory-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 24px;
}

.memory-card {
    min-height: 260px;
    padding: 30px;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.10);

    background:
        radial-gradient(circle at top right, rgba(79,180,255,0.12), transparent 260px),
        linear-gradient(145deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));

    box-shadow: var(--shadow);
}

.memory-card.large {
    grid-row: span 2;
    min-height: 544px;
}

.memory-card h3 {
    margin-top: 0;
    font-size: 26px;
}

.memory-card p {
    color: var(--text-soft);
}

@media (max-width: 1000px) {
    .memory-grid {
        grid-template-columns: 1fr;
    }

    .memory-card.large {
        grid-row: auto;
        min-height: 260px;
    }
}

.portal-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
    align-items: center;
}

.portal-visual {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.dashboard-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.dashboard-preview {
    position: relative;

    min-height: 620px;

    border-radius: 28px;

    overflow: hidden;

    border: 1px solid rgba(255,255,255,0.10);

    background:
        radial-gradient(circle at top right, rgba(79,180,255,0.18), transparent 240px),
        linear-gradient(145deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));

    box-shadow: var(--shadow);
}

.dashboard-preview.large {
    min-height: 620px;
}

.preview-label {
    position: absolute;
    top: 22px;
    left: 22px;

    padding: 8px 14px;

    border-radius: 999px;

    background: rgba(0,0,0,0.35);

    border: 1px solid rgba(255,255,255,0.12);

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    color: #fff;
}

.portal-content {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.portal-feature {
    padding: 28px;

    border-radius: 24px;

    border: 1px solid rgba(255,255,255,0.08);

    background:
        linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));

    box-shadow: var(--shadow);
}

.portal-feature h3 {
    margin-top: 0;
    margin-bottom: 14px;

    font-size: 24px;
}

.portal-feature p {
    margin: 0;
    color: var(--text-soft);
}

@media (max-width: 1100px) {

    .portal-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {

    .dashboard-row {
        grid-template-columns: 1fr;
    }

    .dashboard-preview.large {
        min-height: 320px;
    }
}
.dashboard-live iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
    display: block;
}

.dashboard-live {
    padding: 0;
}

.portal-live-note {
    max-width: 900px;

    margin-top: -18px;
    margin-bottom: 42px;

    padding: 16px 20px;

    border-radius: 18px;

    background:
        linear-gradient(145deg, rgba(79,180,255,0.10), rgba(79,180,255,0.03));

    border: 1px solid rgba(79,180,255,0.18);

    color: var(--text-soft);

    font-size: 15px;
}

.dashboard-live iframe {
    width: 100%;
    height: 620px;

    border: 0;
    display: block;

    background: #101820;
}

.dashboard-preview.dashboard-live {
    overflow: hidden;

    border:
        1px solid rgba(79,180,255,0.18);

    box-shadow:
        0 0 0 1px rgba(255,255,255,0.03),
        0 20px 60px rgba(0,0,0,0.42),
        0 0 80px rgba(79,180,255,0.08);
}


.portal-live-stack {
    display: flex;
    flex-direction: column;
    gap: 34px;
}

.portal-widget-text {
    max-width: 820px;
}

.portal-widget-text h3 {
    margin-bottom: 10px;
}


.widget-small {
    height: 380px;
}

.widget-medium {
    height: 820px;
}

.widget-large {
    height: 1180px;
}

@media (min-width: 1400px) {

    .widget-medium {
        height: 920px;
    }

    .widget-large {
        height: 1320px;
    }
}

.marketing-widget {
    width: 100%;
    border: 0;
    display: block;
    background: transparent;
    border-radius: 28px;
    overflow: hidden;
}

.widget-small {
    height: 380px;
}

.widget-medium {
    height: 820px;
}

.widget-large {
    height: 1180px;
}

@media (min-width: 1400px) {
    .widget-medium {
        height: 920px;
    }

    .widget-large {
        height: 1320px;
    }
}

@media (max-width: 760px) {
    .widget-small {
        height: 520px;
    }

    .widget-medium,
    .widget-large {
        height: 760px;
    }
}

iframe.marketing-widget.widget-small {
    height: 380px !important;
}

iframe.marketing-widget.widget-medium {
    height: 820px !important;
}

iframe.marketing-widget.widget-large {
    height: 1180px !important;
}
