:root {
    --bg-primary: #0a4573;
    --bg-secondary: #0d5691;
    --bg-overlay: rgba(255, 255, 255, 0.1);

    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.85);
    --text-muted: #93b5d8;

    --border-subtle: rgba(255, 255, 255, 0.25);
    --border-medium: rgba(255, 255, 255, 0.4);

    --brand-primary: #00335f;
    --brand-hover: #ffffff;
    --brand-active: #00335f;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background: var(--bg-primary);
}

body {
    color: var(--text-primary);
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

body.legal-page {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
}

body.legal-page .main-footer {
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
}

/* NAV START */

html {
    scroll-behavior: smooth;
}

.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);

    width: calc(100% - 40px);
    max-width: 1400px;

    z-index: 9999;

    border: 1px solid rgba(255, 255, 255, 0.15);

    background: rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border-radius: 22px;

    transition: .3s ease;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.22);
    border-color: rgba(255, 255, 255, 0.22);
}

.nav-container {
    height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 28px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;

    text-decoration: none;
}

.nav-logo img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.nav-logo span {
    color: white;
    font-size: 22px;
    font-weight: 900;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    position: relative;

    color: rgba(255, 255, 255, 0.8);

    text-decoration: none;
    font-size: 15px;
    font-weight: 700;

    transition: .25s;
}

.nav-links a:hover {
    color: white;
}

.nav-links a.active {
    color: white;
}

.nav-links a.active::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 100%;
    height: 2px;

    border-radius: 999px;

    background: white;
}

.hamburger {
    display: none;

    width: 48px;
    height: 48px;

    border: none;
    background: transparent;

    cursor: pointer;
}

.hamburger span {
    display: block;

    width: 26px;
    height: 2px;

    margin: 6px auto;

    background: white;

    transition: .3s;
}

@media (max-width: 950px) {
    .navbar {
        opacity: 0;
        pointer-events: none;
        transform: translateX(-50%) translateY(-18px);
    }

    .navbar.nav-visible {
        opacity: 1;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;

        top: 100px;
        right: -100%;

        width: 300px;

        display: flex;
        flex-direction: column;

        gap: 24px;

        padding: 40px;

        background: rgba(10, 69, 115, 0.95);

        backdrop-filter: blur(30px);

        border: 1px solid rgba(255, 255, 255, 0.12);

        border-radius: 24px;

        transition: .4s ease;
    }

    .nav-links.active {
        right: 20px;
    }

    .nav-links a {
        width: 100%;
        font-size: 18px;
    }
}

/* NAV END */

/* HERO START */

.iso-hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(circle at 75% 35%, rgba(255, 255, 255, 0.22), transparent 28%),
        linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, black, transparent);
    -webkit-mask-image: linear-gradient(to bottom, black, transparent);
}

.hero-glow {
    position: absolute;
    width: 720px;
    height: 720px;
    top: -220px;
    right: -170px;
    background: rgba(255, 255, 255, 0.18);
    filter: blur(120px);
    border-radius: 50%;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1250px;
    margin: 0 auto;
    min-height: 100vh;
    padding: 90px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    margin-bottom: 28px;
    border-radius: 999px;
    background: var(--bg-overlay);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 700;
    backdrop-filter: blur(16px);
}

.hero-badge span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--brand-hover);
    box-shadow: 0 0 18px var(--brand-hover);
}

.hero-left h1 {
    max-width: 760px;
    margin-bottom: 28px;
    font-size: clamp(44px, 6vw, 82px);
    line-height: 0.95;
    letter-spacing: -4px;
    color: var(--text-primary);
}

.hero-left p {
    max-width: 590px;
    margin-bottom: 34px;
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 42px;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 15px 28px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    transition: 0.25s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background: var(--brand-hover);
    color: var(--brand-primary);
    box-shadow: 0 20px 50px rgba(0, 51, 95, 0.28);
}

.btn-secondary {
    background: var(--bg-overlay);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(14px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: var(--border-medium);
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.trust-row div {
    min-width: 120px;
    padding: 16px;
    border-radius: 22px;
    background: var(--bg-overlay);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(16px);
}

.trust-row strong {
    display: block;
    font-size: 24px;
    color: var(--text-primary);
}

.trust-row span {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
}

.hero-right {
    position: relative;
    height: 570px;
    perspective: 1200px;
}

.certificate-3d {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 310px;
    height: 400px;
    transform: translate(-50%, -50%) rotateY(-18deg) rotateX(8deg);
    border-radius: 30px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(147, 181, 216, 0.82));
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow:
        0 40px 100px rgba(0, 51, 95, 0.45),
        inset 0 0 40px rgba(255, 255, 255, 0.35);
    padding: 28px;
    color: var(--brand-primary);
    animation: floatCert 5s ease-in-out infinite;
}

.cert-header {
    display: flex;
    justify-content: space-between;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--brand-primary);
}

.cert-check {
    width: 110px;
    height: 110px;
    margin: 55px auto 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--brand-primary);
    color: white;
    font-size: 64px;
    box-shadow: 0 20px 50px rgba(0, 51, 95, 0.35);
}

.cert-lines {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cert-lines span {
    height: 10px;
    border-radius: 999px;
    background: rgba(0, 51, 95, 0.18);
}

.cert-lines span:nth-child(1) {
    width: 100%;
}

.cert-lines span:nth-child(2) {
    width: 78%;
}

.cert-lines span:nth-child(3) {
    width: 56%;
}

.cert-seal {
    position: absolute;
    right: 26px;
    bottom: 26px;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--bg-secondary);
    color: white;
    border: 4px solid rgba(255, 255, 255, 0.65);
    font-weight: 900;
}

.dashboard-card {
    position: absolute;
    min-width: 170px;
    padding: 17px 18px;
    border-radius: 22px;
    background: var(--bg-overlay);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 80px rgba(0, 51, 95, 0.32);
    animation: floatCard 4.5s ease-in-out infinite;
}

.dashboard-card small {
    display: block;
    margin-bottom: 7px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 800;
}

.dashboard-card strong {
    color: var(--text-primary);
    font-size: 22px;
}

.card-top {
    top: 35px;
    right: 40px;
}

.card-left {
    top: 210px;
    left: 5px;
}

.card-right {
    top: 270px;
    right: 0;
}

.card-bottom {
    bottom: 55px;
    left: 90px;
}

.progress {
    height: 7px;
    width: 100%;
    margin-top: 14px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}

.progress div {
    height: 100%;
    width: 87%;
    border-radius: 999px;
    background: white;
}

.scan-line {
    position: absolute;
    left: 50%;
    top: 95px;
    width: 370px;
    height: 2px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, white, transparent);
    box-shadow: 0 0 24px white;
    animation: scan 3.2s linear infinite;
}

@keyframes floatCert {

    0%,
    100% {
        transform: translate(-50%, -50%) rotateY(-18deg) rotateX(8deg) translateY(0);
    }

    50% {
        transform: translate(-50%, -50%) rotateY(16deg) rotateX(8deg) translateY(-18px);
    }
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

@keyframes scan {
    0% {
        top: 90px;
        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    85% {
        opacity: 1;
    }

    100% {
        top: 465px;
        opacity: 0;
    }
}

@media (max-width: 950px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-top: 80px;
    }

    .hero-right {
        height: 520px;
    }

    .hero-left h1 {
        letter-spacing: -2px;
    }
}

@media (max-width: 540px) {
    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .certificate-3d {
        width: 240px;
        height: 330px;
        padding: 22px;
    }

    .cert-check {
        width: 86px;
        height: 86px;
        font-size: 50px;
        margin: 45px auto 32px;
    }

    .dashboard-card {
        min-width: 140px;
        padding: 14px;
    }

    .dashboard-card strong {
        font-size: 18px;
    }

    .card-top {
        right: 0;
    }

    .card-left {
        left: 0;
    }

    .card-right {
        right: 0;
    }

    .card-bottom {
        left: 20px;
    }
}

/* HERO END */

/* ABOUT US START */

.iso-about-laptop-section {
    position: relative;
    overflow: hidden;
    padding: clamp(80px, 8vw, 130px) clamp(14px, 5vw, 96px);
    background:
        linear-gradient(135deg,
            #08385f 0%,
            #0a4573 100%);
}

.iso-about-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 70px 70px;
    opacity: 0.6;
}

.iso-about-glow {
    position: absolute;
    right: 12%;
    top: 18%;
    width: 540px;
    height: 540px;
    border-radius: 50%;
    background: rgba(147, 181, 216, 0.13);
    filter: blur(120px);
}

.iso-laptop-wrap {
    position: relative;
    z-index: 2;
    width: min(100%, 1550px);
    margin: 0 auto;
    perspective: 1400px;
    opacity: 0;
    transform: translateY(90px) scale(0.92);
    filter: blur(18px);
    transition: 1.2s cubic-bezier(.22, 1, .36, 1);
}

.iso-laptop-wrap.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.iso-laptop-screen {
    position: relative;
    min-height: clamp(720px, 54vw, 850px);
    padding: clamp(10px, 1.2vw, 18px);
    border-radius: clamp(26px, 2.5vw, 38px);
    background: linear-gradient(145deg,
            #ffffff 0%,
            #d9e5f2 45%,
            #b7c7d8 100%);
    box-shadow:
        0 50px 120px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.25) inset;
    transform: rotateX(5deg) rotateY(-7deg);
    transform-style: preserve-3d;
}

.iso-screen-inner {
    position: relative;
    min-height: inherit;
    padding: clamp(22px, 2.2vw, 34px);
    border-radius: clamp(20px, 2vw, 28px);
    background:
        linear-gradient(135deg,
            #06213e 0%,
            #0d5691 100%);
    overflow: hidden;
    color: white;
}

.iso-screen-inner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(255, 255, 255, 0.08), transparent 40%);
    pointer-events: none;
    z-index: 1;
}

.iso-topbar {
    position: relative;
    z-index: 4;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: clamp(32px, 3vw, 42px);
}

.iso-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 900;
    color: white;
}

.iso-logo img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter:
        drop-shadow(0 4px 10px rgba(0, 0, 0, .3));
}

.iso-topbar nav {
    display: flex;
    gap: clamp(16px, 2vw, 28px);
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(12px, 1vw, 14px);
    font-weight: 700;
}

.iso-topbar nav span:first-child {
    color: #69b7ff;
}

.iso-dashboard-grid {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: minmax(360px, 0.95fr) minmax(520px, 1.15fr);
    gap: clamp(32px, 3vw, 48px);
    align-items: start;
}

.iso-kicker {
    display: inline-flex;
    margin-bottom: 26px;
    color: #69b7ff;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.iso-screen-left {
    position: relative;
    z-index: 4;
}

.iso-screen-left h2 {
    margin-bottom: 24px;
    font-size: clamp(32px, 4vw, 64px);
    line-height: .92;
    letter-spacing: -3px;
}

.iso-screen-left h2 span {
    color: #69b7ff;
}

.iso-screen-left p {
    max-width: 430px;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 17px;
    line-height: 1.65;
}

.iso-feature-list {
    margin-top: 40px;
    display: grid;
    gap: 16px;
}

.iso-feature-list div {
    display: flex;
    align-items: center;
    gap: 14px;
}

.iso-feature-list strong {
    color: #69b7ff;
    font-size: 16px;
}

.iso-feature-list span {
    color: rgba(255, 255, 255, 0.86);
    font-weight: 700;
}

.iso-screen-right {
    position: relative;
    z-index: 5;
    width: 100%;
}

.tool-showcase {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas:
        "main main main"
        "one two three";
    gap: clamp(12px, 1.3vw, 20px);
    width: 100%;
    align-items: start;
}

.tool-thumb {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 0;
    border: none;
    background: transparent;
    cursor: default;
    box-shadow: none;
}

.tool-thumb img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    border: none;
    background: transparent;
    border-radius: clamp(10px, 1.1vw, 16px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.tool-main {
    grid-area: main;
    z-index: 4;
}

.tool-small-1 {
    grid-area: one;
    z-index: 3;
}

.tool-small-2 {
    grid-area: two;
    z-index: 2;
}

.tool-small-3 {
    grid-area: three;
    z-index: 1;
}

.iso-laptop-base {
    width: 76%;
    height: 34px;
    margin: -4px auto 0;
    border-radius: 0 0 34px 34px;
    background: linear-gradient(180deg, #71869d, #1c2733);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.45);
}

/* LARGE SCREENS / 4K */
@media (min-width: 1600px) {
    .iso-laptop-wrap {
        max-width: 1700px;
    }

    .iso-dashboard-grid {
        grid-template-columns: minmax(420px, 0.9fr) minmax(700px, 1.2fr);
    }

    .iso-screen-left h2 {
        font-size: clamp(32px, 4vw, 64px);
    }
}

/* LAPTOP / SMALL DESKTOP */
@media (max-width: 1280px) {
    .iso-dashboard-grid {
        grid-template-columns: minmax(330px, 0.9fr) minmax(460px, 1.1fr);
        gap: 30px;
    }

    .iso-screen-left h2 {
        font-size: clamp(24px, 4vw, 48px);
    }
}

/* TABLET */
@media (max-width: 1050px) {
    .iso-laptop-screen {
        min-height: 0;
        transform: none;
    }

    .iso-screen-inner {
        min-height: 0;
        overflow: visible;
    }

    .iso-dashboard-grid {
        grid-template-columns: 1fr;
        height: auto;
        gap: 44px;
    }

    .iso-screen-left h2 {
        font-size: clamp(24px, 4vw, 48px);
    }

    .iso-screen-left p {
        max-width: 680px;
    }

    .tool-showcase {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-areas:
            "main main main"
            "one two three";
        gap: 16px;
    }

    .iso-topbar nav {
        display: none;
    }
}

/* HANDY */
@media (max-width: 600px) {
    .iso-about-laptop-section {
        padding: 90px 14px;
    }

    .iso-laptop-screen {
        padding: 10px;
        border-radius: 26px;
    }

    .iso-screen-inner {
        padding: 22px;
        border-radius: 20px;
    }

    .iso-screen-left h2 {
        font-size: clamp(16px, 12vw, 32px);
        letter-spacing: -2px;
    }

    .iso-screen-left p {
        font-size: 15px;
    }

    .iso-feature-list div {
        align-items: flex-start;
    }

    .tool-showcase {
        grid-template-columns: 1fr;
        grid-template-areas:
            "main"
            "one"
            "two"
            "three";
        gap: 14px;
    }

    .tool-thumb img {
        border-radius: 14px;
    }

    .iso-laptop-base {
        width: 86%;
    }
}

/* ABOUT US END */

.section-container {
    position: relative;
    z-index: 2;
    max-width: 1250px;
    margin: 0 auto;
}

.team-section,
.pricing-section,
.contact-section {
    position: relative;
    overflow: hidden;
    padding: 120px 24px;
    color: var(--text-primary);
}

.team-section {
    background:
        linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
}

.pricing-section {
    background:
        linear-gradient(135deg,
            #08385f 0%,
            #0a4573 100%);
}

.contact-section {
    background:
        linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
}

.section-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 64px 64px;
    opacity: 0.7;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 60px;
}

.section-heading.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-kicker {
    display: inline-flex;
    margin-bottom: 18px;
    color: #b9dcff;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-heading h2,
.contact-text h2 {
    margin-bottom: 22px;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 0.95;
    letter-spacing: -3px;
}

.section-heading p,
.contact-text p {
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.7;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.team-card,
.pricing-card,
.contact-form,
.contact-info div {
    background: var(--bg-overlay);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(22px);
    box-shadow:
        0 30px 90px rgba(0, 51, 95, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.team-card {
    border-radius: 32px;
    padding: 34px;
}

.team-avatar {
    width: 72px;
    height: 72px;
    margin-bottom: 24px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: white;
    font-size: 24px;
    font-weight: 900;
}

.team-card h3 {
    font-size: 28px;
    margin-bottom: 6px;
}

.team-card span {
    display: block;
    color: #b9dcff;
    font-weight: 800;
    margin-bottom: 20px;
}

.team-card p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pricing-card {
    position: relative;
    min-height: 560px;
    display: flex;
    flex-direction: column;
    border-radius: 34px;
    padding: 34px;
    transition: 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-medium);
}

.pricing-card.featured {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.45);
}

.popular-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    padding: 7px 12px;
    border-radius: 999px;
    background: white;
    color: var(--brand-primary);
    font-size: 12px;
    font-weight: 900;
}

.pricing-top h3 {
    font-size: 30px;
    margin-bottom: 14px;
}

.pricing-top p {
    color: var(--text-secondary);
    line-height: 1.6;
    min-height: 78px;
}

.price {
    margin: 34px 0;
}

.price span,
.price small {
    color: var(--text-muted);
    font-weight: 800;
}

.price strong {
    font-size: 48px;
    color: white;
    letter-spacing: -2px;
}

.pricing-card ul {
    list-style: none;
    display: grid;
    gap: 15px;
    margin-bottom: 34px;
}

.pricing-card li {
    color: var(--text-secondary);
    font-weight: 700;
}

.pricing-btn {
    margin-top: auto;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 15px 22px;
    border-radius: 999px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-subtle);
    color: white;
    font-weight: 900;
    transition: 0.25s ease;
}

.pricing-btn.primary,
.contact-form button {
    background: white;
    color: var(--brand-primary);
}

.pricing-btn:hover,
.contact-form button:hover {
    transform: translateY(-3px);
}

.contact-container {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 70px;
    align-items: start;
}

.contact-info {
    margin-top: 34px;
    display: grid;
    gap: 14px;
}

.contact-info div {
    padding: 18px;
    border-radius: 22px;
}

.contact-info strong {
    display: block;
    margin-bottom: 5px;
    color: white;
}

.contact-info span {
    color: var(--text-muted);
    font-weight: 700;
}

.contact-form {
    display: grid;
    gap: 18px;
    border-radius: 34px;
    padding: 34px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.contact-form label {
    display: grid;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 15px 16px;
    outline: none;
    background: rgba(255, 255, 255, 0.09);
    color: white;
    font: inherit;
}

.contact-form select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 46px;
    background-image:
        linear-gradient(45deg, transparent 50%, white 50%),
        linear-gradient(135deg, white 50%, transparent 50%);
    background-position: calc(100% - 18px) center, calc(100% - 12px) center;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    cursor: pointer;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form select option {
    color: #00335f;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: white;
    background: rgba(255, 255, 255, 0.14);
}

.contact-form button {
    margin-top: 8px;
    border: none;
    cursor: pointer;
    border-radius: 999px;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 900;
    transition: 0.25s ease;
}

/* Scroll Animation */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    filter: blur(18px);
    transition: 1s cubic-bezier(.22, 1, .36, 1);
}

.reveal-up {
    transform: translateY(70px) scale(0.96);
}

.reveal-left {
    transform: translateX(-70px) scale(0.96);
}

.reveal-right {
    transform: translateX(70px) scale(0.96);
}

.reveal-up.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible {
    opacity: 1;
    filter: blur(0);
    transform: translate(0) scale(1);
}

.delay-1 {
    transition-delay: 0.12s;
}

.delay-2 {
    transition-delay: 0.24s;
}

@media (max-width: 950px) {

    .team-grid,
    .pricing-grid,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        min-height: auto;
    }

    .contact-container {
        gap: 40px;
    }
}

@media (max-width: 560px) {

    .team-section,
    .pricing-section,
    .contact-section {
        padding: 90px 18px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .team-card,
    .pricing-card,
    .contact-form {
        padding: 26px;
    }
}

/* LEGAL PAGES */
body.legal-page {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
}

.legal-shell {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 140px 24px 100px;
}

.legal-hero {
    margin-bottom: 28px;
    padding: clamp(28px, 4vw, 42px);
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(22px);
    box-shadow: 0 30px 90px rgba(0, 51, 95, 0.22);
}

.legal-hero h1 {
    margin-bottom: 14px;
    font-size: clamp(34px, 4.5vw, 54px);
    line-height: 0.95;
    letter-spacing: -2px;
}

.legal-hero p {
    max-width: 760px;
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.7;
}

.legal-card {
    margin-bottom: 22px;
    padding: clamp(24px, 3vw, 34px);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(20px);
    box-shadow: 0 24px 70px rgba(0, 51, 95, 0.2);
}

.legal-card h2 {
    margin-bottom: 16px;
    font-size: clamp(22px, 2.5vw, 28px);
}

.legal-card h3 {
    margin: 22px 0 10px;
    font-size: 18px;
    color: white;
}

.legal-card p,
.legal-card li {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.75;
}

.legal-card ul {
    display: grid;
    gap: 10px;
    padding-left: 18px;
}

.legal-card a {
    color: #b9dcff;
    text-decoration: none;
}

.legal-card a:hover {
    text-decoration: underline;
}

.page-footer {
    padding: 0 24px 40px;
}

.page-footer .footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 14px;
    color: var(--text-muted);
    font-size: 14px;
}

.page-footer a {
    color: var(--text-primary);
    text-decoration: none;
}

.page-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .legal-shell {
        padding: 120px 16px 70px;
    }

    .legal-hero,
    .legal-card {
        border-radius: 24px;
    }

    .page-footer {
        padding: 0 16px 30px;
    }
}

.main-footer {
    padding: 0 24px 36px;
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
}

.main-footer__inner {
    max-width: 1250px;
    margin: 0 auto;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(20px);
}

.main-footer__brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.main-footer__brand img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.main-footer__brand strong {
    display: block;
    font-size: 18px;
    color: white;
}

.main-footer__brand p {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 3px;
}

.main-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.main-footer__links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
}

.main-footer__links a:hover {
    color: #b9dcff;
}

@media (max-width: 720px) {
    .main-footer {
        padding: 0 16px 26px;
    }

    .main-footer__inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 20px;
    }

    .main-footer__links {
        gap: 12px 18px;
    }
}

/* =========================================================
   RESPONSIVE FIXES ONLY
   Desktop bleibt unverändert. Diese Regeln greifen nur auf
   Tablet/Handy und verhindern horizontales Herausschieben.
   ========================================================= */

@media (max-width: 1050px) {

    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    body {
        min-width: 0;
    }

    img,
    video,
    svg {
        max-width: 100%;
        height: auto;
    }

    .hero-container,
    .section-container,
    .contact-container,
    .iso-laptop-wrap,
    .iso-laptop-screen,
    .iso-screen-inner,
    .iso-dashboard-grid,
    .iso-screen-left,
    .iso-screen-right,
    .tool-showcase,
    .team-grid,
    .pricing-grid,
    .contact-form,
    .main-footer__inner {
        min-width: 0;
        max-width: 100%;
    }

    .hero-left h1,
    .hero-left p,
    .section-heading h2,
    .section-heading p,
    .contact-text h2,
    .contact-text p,
    .iso-screen-left h2,
    .iso-screen-left p,
    .team-card h3,
    .pricing-top h3,
    .pricing-top p,
    .pricing-card li,
    .main-footer__brand p {
        max-width: 100%;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .iso-laptop-screen {
        width: 100%;
    }

    .iso-screen-inner {
        overflow: hidden;
    }

    .contact-form {
        width: 100%;
    }
}

@media (max-width: 950px) {
    .hero-container {
        width: 100%;
        overflow: hidden;
    }

    .hero-left {
        min-width: 0;
    }

    .hero-left h1 {
        max-width: 100%;
        font-size: clamp(38px, 9vw, 62px);
        line-height: 1;
        letter-spacing: -2px;
        overflow-wrap: anywhere;
    }

    .hero-left p {
        max-width: 100%;
    }

    .hero-right {
        width: 100%;
        max-width: 620px;
        margin: 0 auto;
        overflow: hidden;
    }

    .scan-line {
        max-width: 78vw;
    }

    .contact-container {
        width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .navbar {
        width: calc(100% - 28px);
        top: 14px;
        border-radius: 20px;
    }

    .nav-container {
        height: 70px;
        padding: 0 18px;
    }

    .nav-logo span {
        font-size: 20px;
    }

    .nav-links {
        width: calc(100vw - 32px);
        max-width: 330px;
        right: -120%;
        top: 88px;
        padding: 30px;
    }

    .nav-links.active {
        right: 16px;
    }

    .team-section,
    .pricing-section,
    .contact-section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .section-container {
        width: 100%;
    }

    .team-card,
    .pricing-card,
    .contact-form,
    .contact-info div {
        max-width: 100%;
    }

    .main-footer__brand {
        min-width: 0;
    }

    .main-footer__links {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .iso-hero {
        min-height: auto;
    }

    .hero-container {
        min-height: auto;
        padding: 105px 18px 70px;
        gap: 24px;
    }

    .hero-left h1 {
        margin-bottom: 22px;
        font-size: clamp(34px, 10.4vw, 46px);
        line-height: 1.02;
        letter-spacing: -2px;
    }

    .hero-left p {
        margin-bottom: 28px;
        font-size: 16px;
        line-height: 1.6;
    }

    .hero-actions {
        margin-bottom: 34px;
    }

    .trust-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .trust-row div {
        width: 100%;
        min-width: 0;
        padding: 15px;
    }

    .trust-row strong {
        font-size: clamp(21px, 4vw, 26px);
        line-height: 1.05;
        overflow-wrap: anywhere;
    }

    .trust-row span {
        overflow-wrap: anywhere;
    }

    .hero-right {
        height: 500px;
        max-width: 430px;
        margin-top: -4px;
        overflow: hidden;
    }

    .certificate-3d {
        width: 225px;
        height: 312px;
        padding: 21px;
        top: 49%;
        left: 50%;
    }

    .cert-header {
        font-size: 13px;
        letter-spacing: 1.4px;
        gap: 5px;
    }

    .cert-check {
        width: 82px;
        height: 82px;
        font-size: 48px;
        margin: 44px auto 30px;
    }

    .cert-seal {
        width: 50px;
        height: 50px;
        right: 20px;
        bottom: 20px;
    }

    .dashboard-card {
        min-width: 0;
        max-width: 172px;
        padding: 13px 14px;
        border-radius: 18px;
    }

    .dashboard-card small {
        font-size: 11px;
        line-height: 1.15;
    }

    .dashboard-card strong {
        font-size: 18px;
        line-height: 1.15;
        overflow-wrap: anywhere;
    }

    .card-top {
        top: 20px;
        right: 0;
    }

    .card-left {
        top: 207px;
        left: 0;
    }

    .card-right {
        top: 265px;
        right: 0;
    }

    .card-bottom {
        bottom: 34px;
        left: 20px;
    }

    .scan-line {
        width: 280px;
    }

    .iso-about-laptop-section {
        padding: 80px 14px;
    }

    .iso-laptop-wrap {
        width: 100%;
    }

    .iso-laptop-screen {
        padding: 8px;
        border-radius: 24px;
        box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
    }

    .iso-screen-inner {
        padding: 20px;
        border-radius: 18px;
    }

    .iso-topbar {
        margin-bottom: 30px;
    }

    .iso-logo span {
        font-size: 18px;
    }

    .iso-logo img {
        width: 36px;
        height: 36px;
    }

    .iso-screen-left h2 {
        font-size: clamp(31px, 9.5vw, 40px);
        line-height: 1;
        letter-spacing: -2px;
        overflow-wrap: anywhere;
    }

    .iso-screen-left p {
        font-size: 15px;
        line-height: 1.6;
    }

    .iso-feature-list {
        margin-top: 30px;
    }

    .iso-feature-list div {
        align-items: flex-start;
    }

    .tool-showcase {
        grid-template-columns: 1fr;
        grid-template-areas:
            "main"
            "one"
            "two"
            "three";
        gap: 14px;
    }

    .tool-thumb img {
        width: 100%;
        object-fit: contain;
    }

    .iso-laptop-base {
        width: 84%;
        height: 24px;
    }

    .section-heading {
        margin-bottom: 42px;
    }

    .section-heading h2,
    .contact-text h2 {
        font-size: clamp(34px, 10vw, 44px);
        line-height: 1;
        letter-spacing: -2px;
        overflow-wrap: anywhere;
    }

    .section-heading p,
    .contact-text p {
        font-size: 16px;
        line-height: 1.6;
    }

    .team-card,
    .pricing-card {
        padding: 24px;
        border-radius: 26px;
    }

    .team-card h3,
    .pricing-top h3 {
        font-size: 25px;
        line-height: 1.12;
    }

    .price strong {
        font-size: 42px;
    }

    .contact-container {
        gap: 34px;
    }

    .contact-form {
        padding: 22px;
        border-radius: 26px;
        gap: 16px;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        min-width: 0;
        width: 100%;
        max-width: 100%;
        font-size: 16px;
        padding: 14px 15px;
    }

    .contact-form button {
        width: 100%;
    }

    .main-footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .main-footer__inner {
        padding: 24px 0;
    }

    .main-footer__brand {
        align-items: flex-start;
    }

    .main-footer__brand p {
        max-width: 230px;
        overflow-wrap: break-word;
    }
}

@media (max-width: 390px) {
    .hero-container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .hero-left h1 {
        font-size: clamp(31px, 10vw, 38px);
        letter-spacing: -1.6px;
    }

    .trust-row {
        grid-template-columns: 1fr;
    }

    .hero-right {
        height: 490px;
    }

    .certificate-3d {
        width: 212px;
        height: 300px;
    }

    .dashboard-card {
        max-width: 152px;
    }

    .dashboard-card strong {
        font-size: 16px;
    }

    .card-top {
        right: -8px;
    }

    .card-left {
        left: -6px;
    }

    .card-right {
        right: -10px;
    }

    .card-bottom {
        left: 8px;
    }

    .iso-screen-inner {
        padding: 18px;
    }

    .team-section,
    .pricing-section,
    .contact-section {
        padding-left: 14px;
        padding-right: 14px;
    }

    .contact-form {
        padding: 20px;
    }
}

.section-heading h2,
.contact-text h2,
.iso-screen-left h2 {
    font-size: 28px;
    line-height: 1.05;
    letter-spacing: -1px;
}

@media (max-width: 600px) {
    .hero-left h1 {
        font-size: 36px;
        line-height: 1.05;
        letter-spacing: -1.5px;
    }
}