* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #0d1117;
    color: #ffffff;
    line-height: 1.6;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-header {
    background: #111827;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 80px;
    flex-wrap: wrap;
}

.logo {
    display: inline-block;
}

.logo img {
    display: block;
    height: 52px;
    width: auto;
}

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

.main-nav a {
    color: #d1d5db;
    font-size: 15px;
    transition: 0.2s;
}

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

.language-switcher select {
    background: #1f2937;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.12);
    padding: 10px 12px;
    border-radius: 8px;
    outline: none;
    cursor: pointer;
}

.hero-section {
    padding: 30px 0;
    background:
        radial-gradient(circle at top left, rgba(59,130,246,0.25), transparent 30%),
        radial-gradient(circle at top right, rgba(255,255,255,0.08), transparent 20%),
        #0d1117;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 50px;
    font-size: 14px;
    color: #d1d5db;
    margin-bottom: 20px;
}

.hero-text h1 {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 20px;
    color: #cbd5e1;
    max-width: 600px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 24px;
    border-radius: 10px;
    font-weight: bold;
    transition: 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #ffffff;
    color: #111827;
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-secondary {
    background: rgba(255,255,255,0.06);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.10);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.10);
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.device-mockup {
    width: 260px;
    height: 520px;
    border-radius: 40px;
    background: linear-gradient(180deg, #1f2937 0%, #0b0f14 100%);
    border: 1px solid rgba(255,255,255,0.10);
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.sensor-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #4b5563;
    border: 1px solid rgba(255,255,255,0.12);
}

.light {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.light-white {
    background: rgba(255,255,255,0.95);
    box-shadow: 0 0 50px rgba(255,255,255,0.35);
}

.light-red {
    background: rgba(255,80,80,0.95);
    box-shadow: 0 0 50px rgba(255,80,80,0.35);
}

.device-footer {
    width: 100%;
    display: flex;
    justify-content: space-between;
    color: #9ca3af;
    font-size: 13px;
}

.content-section {
    padding: 80px 0;
}

.content-section h2 {
    font-size: 38px;
    margin-bottom: 20px;
}

.section-text {
    max-width: 900px;
    color: #cbd5e1;
    font-size: 18px;
}

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

.feature-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 25px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.feature-card p {
    color: #cbd5e1;
    font-size: 16px;
}

.contact-box {
    max-width: 800px;
}

.form-row {
    margin-bottom: 18px;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    background: #111827;
    border: 1px solid rgba(255,255,255,0.10);
    color: #ffffff;
    padding: 14px 16px;
    border-radius: 10px;
    outline: none;
    font-size: 15px;
}

textarea {
    min-height: 140px;
    resize: vertical;
}

input::placeholder,
textarea::placeholder {
    color: #9ca3af;
}

.site-footer {
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    color: #9ca3af;
    text-align: center;
    font-size: 14px;
}

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

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

    .hero-text h1 {
        font-size: 42px;
    }

    .hero-text p {
        font-size: 18px;
    }

    .header-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 0;
    }
}

.hero-image {
    max-width: 320px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;

    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.6));
}
.hero-image {
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: translateY(-5px) scale(1.02);
}

.product-diagram-section {
    padding: 30px 0;
    background:
        radial-gradient(circle at top center, rgba(20, 40, 90, 0.18), transparent 35%),
        linear-gradient(180deg, #030712 0%, #02040a 100%);
    overflow: hidden;
}

.product-diagram {
    position: relative;
    width: 100%;
}

.diagram-image-wrap {
    position: relative;
    width: 100%;
    max-width: 1400px;
    min-height: 650px;
    margin: 0 auto;
}

.diagram-image {
    position: absolute;
    left: 50%;
    top: 40px;
    transform: translateX(-50%);
    width: 500px;
    max-width: 42vw;
    height: auto;
    display: block;
    z-index: 2;
    filter: drop-shadow(0 35px 70px rgba(0, 0, 0, 0.65));
}

/* Hotspots */

.hotspot {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff8f3d;
    box-shadow: 0 0 0 4px rgba(255, 143, 61, 0.12);
    z-index: 5;
}

.hotspot::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(255, 143, 61, 0.28);
}

/* Precīzas vietas uz bildes */

.hotspot-sensor {
    left: calc(50% - 40px);
    top: 265px;
}

.hotspot-power {
    left: calc(50% + 90px);
    top: 345px;
}

.hotspot-mode {
    left: calc(50% - 145px);
    top: 382px;
}

.hotspot-white {
    left: calc(50% - 85px);
    top: 565px;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.10), 0 0 18px rgba(255, 255, 255, 0.35);
}

.hotspot-red {
    left: calc(50% + 66px);
    top: 565px;
    background: #ff4a4a;
    box-shadow: 0 0 0 4px rgba(255, 74, 74, 0.10), 0 0 18px rgba(255, 74, 74, 0.35);
}

.hotspot-usbc {
    left: calc(50% + 18px);
    top: 625px;
}

/* Annotation base */

.annotation {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 4;
    white-space: nowrap;
}

.annotation-text {
    font-size: 18px;
    line-height: 1.3;
    color: #f8fafc;
    font-weight: 500;
    letter-spacing: 0.1px;
}

.annotation-line {
    position: relative;
    display: block;
    height: 1px;
    background: rgba(255, 143, 61, 0.85);
    flex-shrink: 0;
}



/* Right side */

.annotation-sensor {
    left: calc(50% - 35px);
    top: 258px;
}

.annotation-sensor .annotation-line {
    width: 156px;
}

.annotation-mode {
    left: calc(50% + 100px);
    top: 337px;
}

.annotation-mode .annotation-line {
    width: 95px;
}

.annotation-red {
    left: calc(50% + 70px);
    top: 557px;
}

.annotation-red .annotation-line {
    width: 90px;
}

.annotation-usbc {
    left: calc(50% + 25px);
    top: 620px;
}

.annotation-usbc .annotation-line {
    width: 120px;
}

/* Left side */

.annotation-power {
    right: calc(50% + 145px);
    top: 375px;
    flex-direction: row-reverse;
}

.annotation-power .annotation-line {
    width: 120px;
}

.annotation-power .annotation-line::after {
    right: auto;
    left: -10px;
    transform: rotate(35deg);
    transform-origin: left center;
}

.annotation-white {
    right: calc(50% + 80px);
    top: 558px;
    flex-direction: row-reverse;
}

.annotation-white .annotation-line {
    width: 150px;
}

.annotation-white .annotation-line::after {
    right: auto;
    left: -10px;
    transform: rotate(-28deg);
    transform-origin: left center;
}

/* Mobile fallback list */

.diagram-mobile-list {
    display: none;
    margin-top: 30px;
}

.diagram-mobile-item {
    padding: 14px 18px;
    margin-bottom: 12px;
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: #f8fafc;
    font-size: 15px;
    line-height: 1.45;
}

/* Tablet */


@media (max-width: 1200px) {
    .diagram-image-wrap {
        min-height: 860px;
    }

    .diagram-image {
        width: 420px;
        max-width: 44vw;
    }

    .annotation-text {
        font-size: 16px;
    }

    .annotation-sensor {
        left: calc(50% + 95px);
        top: 170px;
    }

    .annotation-mode {
        left: calc(50% + 150px);
        top: 320px;
    }

    .annotation-red {
        left: calc(50% + 150px);
        top: 490px;
    }

    .annotation-usbc {
        left: calc(50% + 120px);
        top: 660px;
    }

    .annotation-power {
        right: calc(50% + 125px);
        top: 285px;
    }

    .annotation-white {
        right: calc(50% + 55px);
        top: 575px;
    }

    .hotspot-sensor {
        left: calc(50% + 76px);
        top: 225px;
    }

    .hotspot-power {
        left: calc(50% - 119px);
        top: 323px;
    }

    .hotspot-mode {
        left: calc(50% + 120px);
        top: 359px;
    }

    .hotspot-white {
        left: calc(50% - 26px);
        top: 565px;
    }

    .hotspot-red {
        left: calc(50% + 52px);
        top: 568px;
    }

    .hotspot-usbc {
        left: calc(50% + 38px);
        top: 675px;
    }
}

/* Mobile */

@media (max-width: 900px) {
    .diagram-image-wrap {
        min-height: auto;
        padding-bottom: 0;
    }

    .diagram-image {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }

    .annotation,
    .hotspot {
        display: none;
    }

    .diagram-mobile-list {
        display: block;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }
}
.diagram-title {
    text-align: center;
    font-size: 36px;
    color: #fff;
    margin-bottom: 10px;
}