@font-face { font-family: "IBM Plex Sans"; src: url("../../public/landing/fonts/IBMPlexSans-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../../public/landing/fonts/IBMPlexSans-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../../public/landing/fonts/IBMPlexSans-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
:root { --primary: #f93822; --primary-hover: #c72d1b; --text: #171717; --muted: #5f5f60; --border: #aaaaab; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { color: var(--text); background: #fefefe; font-family: "IBM Plex Sans", sans-serif; line-height: 1.6; }
.container { max-width: 1312px; margin: 0 auto; padding: 0 24px 80px; }
.hero { position: relative; min-height: 620px; margin: 0 calc(50% - 50vw); padding: 112px max(24px, calc((100vw - 1264px) / 2)); overflow: hidden; color: #fff; background: linear-gradient(90deg, rgba(23,23,23,.98), rgba(23,23,23,.88) 58%, rgba(23,23,23,.5)), url("../../public/landing/img/main/camera-bg.webp") center / cover no-repeat; }
.hero::after { content: attr(data-label); position: absolute; right: max(24px, calc((100vw - 1264px) / 2)); bottom: 28px; color: #aaa; font-size: 12px; font-weight: 500; }
.hero h1 { max-width: 1080px; margin-bottom: 24px; font-size: clamp(44px, 6vw, 78px); line-height: .98; font-weight: 500; text-transform: uppercase; }
.hero .subtitle { max-width: 840px; margin-bottom: 30px; font-size: 22px; line-height: 1.35; }
.hero p { max-width: 740px; margin-bottom: 14px; color: #ccc; font-size: 16px; }
.btn { display: inline-block; min-height: 56px; margin-top: 24px; padding: 16px 26px; color: #fff; background: var(--primary); border-radius: 4px; font-size: 13px; font-weight: 500; text-decoration: none; text-transform: uppercase; transition: background-color .2s ease; }
.btn:hover { background: var(--primary-hover); }
.rtsp-link { color: inherit; text-decoration-color: var(--primary); text-underline-offset: 3px; }
.rtsp-link:hover { color: var(--primary); }
.article-visual { margin: 48px 0 0; background: #090b0f; }
.article-visual img { display: block; width: 100%; height: auto; }
.article-visual figcaption { padding: 12px 16px; color: var(--muted); border: 1px solid var(--border); border-top: 0; font-size: 14px; }
.product-visual { display: grid; min-height: 320px; margin: 0 0 28px; padding: 32px; place-items: center; background: #f4f4f4; border: 1px solid #d8d8d8; }
.product-visual img { display: block; width: 100%; max-width: 680px; max-height: 440px; object-fit: contain; }
.product-visual--transparent { background: #171717; }
.product-buy { width: fit-content; margin: 0 0 28px; }
.product-price { margin: 0 0 16px; font-size: 24px; font-weight: 500; }
.product-price strong { font-weight: 500; }
.section { display: grid; grid-template-columns: minmax(250px, .75fr) minmax(0, 1.45fr); column-gap: 72px; padding: 72px 0; border-bottom: 1px solid var(--border); }
.section > h2 { grid-column: 1; grid-row: 1 / span 30; align-self: start; padding-top: 4px; font-size: clamp(28px, 3vw, 42px); line-height: 1.08; font-weight: 500; text-transform: uppercase; }
.section > h2::before { content: "RTSP /"; display: block; margin-bottom: 18px; color: var(--primary); font-size: 12px; font-weight: 700; }
.section > :not(h2) { grid-column: 2; }
.section h3 { margin: 30px 0 12px; font-size: 20px; font-weight: 500; text-transform: uppercase; }
.section p, .section ul, .section ol { color: var(--muted); font-size: 17px; line-height: 1.65; }
.section p { margin-bottom: 14px; }
.section ul, .section ol { margin: 16px 0 16px 24px; }
.section li { margin-bottom: 8px; }
.section code { overflow-wrap: anywhere; }
.section li::marker { color: var(--primary); font-weight: 700; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 24px; background: #d8d8d8; border: 1px solid #d8d8d8; list-style: none; }
.feature-grid li { min-height: 112px; margin: 0; padding: 22px; color: #fff; background: #171717; font-size: 16px; }
.feature-grid strong { display: block; margin-bottom: 5px; color: var(--primary); font-size: 12px; text-transform: uppercase; }
.cameras-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1px; margin-top: 24px; background: #2f2f2f; border: 1px solid #2f2f2f; }
.camera-card { overflow: hidden; background: #171717; }
.camera-media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: #000; }
.camera-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.camera-card:hover .camera-media img { transform: scale(1.025); }
.live-badge { position: absolute; top: 14px; left: 14px; padding: 4px 10px; color: #fff; background: var(--primary); border-radius: 2px; font-size: 12px; font-weight: 700; }
.camera-caption { min-height: 104px; padding: 18px 20px; }
.camera-caption h3 { margin: 0 0 4px; color: #fff; font-size: 17px; }
.camera-caption p { margin: 0; color: #aaa; font-size: 14px; }
.scheme { margin: 24px 0; padding: 28px; overflow-wrap: anywhere; color: #fff; background: #171717; border-left: 5px solid var(--primary); font-family: monospace; font-weight: 600; }
.code-example { max-width: 100%; margin: 24px 0; padding: 24px; overflow-x: auto; color: #fff; background: #171717; border-left: 5px solid var(--primary); font-size: 14px; line-height: 1.6; white-space: pre; }
.code-example code { overflow-wrap: normal; }
.embed-player { display: block; width: 100%; aspect-ratio: 4 / 3; margin: 24px 0; border: 0; background: #090b0f; }
.table-scroll { max-width: 100%; margin: 24px 0; overflow-x: auto; border: 1px solid var(--border); }
.pricing-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 17px; }
.pricing-table th, .pricing-table td { padding: 20px 22px; border-bottom: 1px solid #d8d8d8; text-align: left; }
.pricing-table th { color: #fff; background: #171717; font-size: 12px; text-transform: uppercase; }
.pricing-table td { color: var(--muted); }
.pricing-table td:last-child { color: var(--text); }
.pricing-table tbody tr:last-child td { border-bottom: 0; }
.comparison-table { min-width: 720px; }
.notice { margin: 24px 0; padding: 24px 26px; color: var(--muted); background: #f4f4f4; border-left: 5px solid var(--primary); }
.faq-item { padding: 22px 0; border-bottom: 1px solid #d8d8d8; }
.faq-question { margin-bottom: 8px; font-size: 18px; font-weight: 500; text-transform: uppercase; }
.faq-answer { color: var(--muted); }
.cta { margin-top: 72px; padding: 72px max(24px, 8vw); color: #fff; background: #171717; text-align: center; }
.cta h2 { max-width: 930px; margin: 0 auto 24px; font-size: clamp(34px, 5vw, 62px); line-height: 1; font-weight: 500; text-transform: uppercase; }
.cta p { max-width: 790px; margin: 0 auto 12px; color: #aaa; }
@media (max-width: 900px) { .section { grid-template-columns: 1fr; row-gap: 28px; padding: 54px 0; } .section > h2, .section > :not(h2) { grid-column: 1; grid-row: auto; } }
@media (max-width: 640px) { .container { padding: 0 16px 48px; } .hero { min-height: 700px; padding: 72px 16px 88px; } .hero h1 { font-size: 39px; } .hero .subtitle { font-size: 19px; } .feature-grid { grid-template-columns: 1fr; } .product-visual { min-height: 240px; padding: 20px; } }