:root {
    --bg: #02060c;
    --ink: #eef8ff;
    --muted: #8ea5b8;
    --blue: #29b9ff;
    --cyan: #7de1ff;
    --line: rgba(76, 184, 255, 0.18);
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: 'Inter', system-ui, sans-serif;
    overflow-x: hidden;
}

body:before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background: radial-gradient(circle at 20% 10%, rgba(0, 126, 207, 0.16), transparent 30%),
                radial-gradient(circle at 80% 35%, rgba(0, 96, 190, 0.12), transparent 28%),
                linear-gradient(#02060c, #040b13 55%, #02060c);
}

body:after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 0.3;
    background-image: linear-gradient(rgba(52, 174, 255, 0.035) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(52, 174, 255, 0.035) 1px, transparent 1px);
    background-size: 72px 72px;
}

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

.wrap {
    width: min(calc(100% - 36px), var(--max));
    margin: auto;
}

/* Navigation */
nav {
    position: fixed;
    z-index: 50;
    top: 0;
    left: 0;
    right: 0;
    height: 76px;
    background: rgba(2, 7, 13, 0.72);
    border-bottom: 1px solid rgba(120, 190, 230, 0.09);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.navin {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
}

.brand img {
    height: 120px; /* Increases the size to fit beautifully in the 76px tall navbar */
    width: auto;
    mix-blend-mode: lighten; /* This magically removes the dark square background! */
    margin-top: 2px; /* Just a tiny nudge to center it perfectly */
}

.brand small {
    display: block;
    color: #7590a3;
    font: 9px 'Inter', sans-serif;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.links {
    display: flex;
    gap: 28px;
    color: #8ea7ba;
    font-size: 13px;
}

.links a:hover {
    color: white;
}

.navbtn {
    padding: 10px 15px;
    border: 1px solid rgba(55, 193, 255, 0.32);
    border-radius: 999px;
    font-size: 12px;
    color: #d9f5ff;
}

/* Base Elements */
section {
    padding: 115px 0;
}

.hero {
    min-height: 100vh;
    padding-top: 145px;
    display: grid;
    align-items: center;
}

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

.kicker {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--cyan);
    font-weight: 700;
}

.kicker:before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 1px;
    background: var(--blue);
    vertical-align: middle;
    margin-right: 10px;
}

h1, h2, h3 {
    font-family: "Space Grotesk", sans-serif;
    line-height: 1.05;
    letter-spacing: -0.045em;
}

h1 {
    font-size: clamp(54px, 7vw, 92px);
    margin: 18px 0 22px;
}

h1 em, .accent {
    font-style: normal;
    color: var(--cyan);
    text-shadow: 0 0 35px rgba(50, 194, 255, 0.25);
}

.lead {
    font-size: 18px;
    line-height: 1.7;
    color: #98adbd;
    max-width: 660px;
}

.buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 31px;
}

.btn {
    padding: 14px 19px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
}

.primary {
    background: linear-gradient(135deg, #21a8eb, #58d2ff);
    color: #00121c;
    box-shadow: 0 15px 40px rgba(29, 171, 235, 0.18);
}

.secondary {
    border: 1px solid rgba(111, 165, 198, 0.2);
    background: rgba(255, 255, 255, 0.025);
    color: #d1e2ed;
}

/* Main Site Artwork & Components */
.hero-art {
    min-height: 500px;
    position: relative;
    display: grid;
    place-items: center;
}

.halo {
    width: 430px;
    height: 430px;
    border: 1px solid rgba(49, 184, 255, 0.15);
    border-radius: 50%;
    position: absolute;
    box-shadow: 0 0 110px rgba(0, 145, 220, 0.1);
}

.halo:before, .halo:after {
    content: "";
    position: absolute;
    border: 1px solid rgba(49, 184, 255, 0.11);
    border-radius: 50%;
}

.halo:before {
    inset: 30px;
}

.halo:after {
    inset: -35px;
    border-style: dashed;
}

.lock {
    width: 230px;
    height: 230px;
    border-radius: 38px;
    transform: rotate(45deg);
    border: 1px solid #31bfff;
    background: linear-gradient(145deg, rgba(32, 176, 237, 0.14), rgba(2, 9, 16, 0.92));
    box-shadow: 0 0 80px rgba(26, 169, 232, 0.2), inset 0 0 45px rgba(47, 193, 255, 0.07);
    display: grid;
    place-items: center;
}

.lock span {
    transform: rotate(-45deg);
    font-size: 78px;
    color: #73ddff;
    text-shadow: 0 0 35px #22baff;
}

.chip {
    position: absolute;
    padding: 9px 12px;
    border: 1px solid rgba(76, 201, 255, 0.3);
    border-radius: 9px;
    background: rgba(5, 18, 30, 0.88);
    font: 10px monospace;
    color: #71d8ff;
    box-shadow: 0 0 25px rgba(35, 177, 255, 0.08);
}

.a { top: 11%; left: 4%; }
.b { top: 22%; right: 0; }
.c { bottom: 14%; left: 4%; }
.d { bottom: 20%; right: 3%; }

.callout {
    position: absolute;
    bottom: 15px;
    right: 0;
    max-width: 255px;
    padding: 15px 16px;
    border: 1px solid rgba(57, 190, 255, 0.24);
    border-radius: 13px;
    background: rgba(4, 13, 23, 0.9);
    font-size: 11px;
    color: #8fa8ba;
}

.callout b {
    display: block;
    color: #e9f9ff;
    margin-bottom: 3px;
}

/* Sections & Layout blocks */
.center {
    text-align: center;
}

.title {
    font-size: clamp(38px, 5vw, 62px);
    margin: 13px 0 17px;
}

.sub {
    max-width: 720px;
    margin: auto;
    color: #829aaa;
    line-height: 1.7;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
    margin-top: 48px;
}

.card {
    padding: 29px;
    border: 1px solid var(--line);
    background: linear-gradient(145deg, rgba(11, 28, 44, 0.7), rgba(4, 11, 19, 0.72));
    border-radius: 18px;
}

.num {
    color: #42c9ff;
    font: 12px monospace;
}

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

.card p {
    margin: 0;
    color: #8097a9;
    font-size: 14px;
    line-height: 1.7;
}

/* Parallax Elements */
.parallax {
    min-height: 570px;
    position: relative;
    display: grid;
    align-items: center;
    overflow: hidden;
}

.stars {
    position: absolute;
    inset: -20%;
    background-image: radial-gradient(circle, rgba(100, 212, 255, 0.75) 1px, transparent 1.5px);
    background-size: 95px 95px;
    opacity: 0.14;
    transform: translateY(calc(var(--scroll, 0px) * 0.2));
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    position: relative;
}

.panel {
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 40px;
    background: rgba(5, 14, 24, 0.7);
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.35);
}

.panel h2 {
    font-size: 49px;
    margin: 10px 0 18px;
}

.panel p {
    color: #849aaa;
    line-height: 1.8;
}

.list {
    display: grid;
    gap: 12px;
    margin-top: 25px;
}

.list div {
    padding: 13px 15px;
    border-left: 2px solid #30c4ff;
    background: rgba(33, 151, 207, 0.05);
    color: #bdd1dd;
    font-size: 13px;
}

/* Founder Details */
.founder {
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 80px;
    align-items: center;
}

.wrap.founder > div:first-child {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 6px solid #0b2539;
    box-shadow: 0 0 0 1px #2abfff, 0 0 75px rgba(22, 164, 235, 0.22);
    overflow: hidden;
    margin: auto; /* Keeps it perfectly centered on mobile */
}

/* 2. This controls the image inside the ring */
.portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    box-shadow: none;
    
    /* ZOOM SETTING: Adjust this number to crop your photo! */
    /* 1.0 is default. 1.2 zooms in 20%, 1.3 zooms in 30%, etc. */
    transform: scale(1.25); 
}

.founder h2 {
    font-size: 49px;
    margin: 10px 0;
}

.role {
    color: #54cfff;
    font-size: 14px;
}

.founder p {
    color: #849aaa;
    line-height: 1.8;
}

.quote {
    color: #c7dce7 !important;
}

.quote em {
    color: #42caff;
}

/* Call to Action */
.cta {
    border: 1px solid rgba(54, 193, 255, 0.2);
    border-radius: 25px;
    padding: 65px;
    background: radial-gradient(circle at 80% 10%, rgba(25, 153, 217, 0.17), transparent 35%), rgba(6, 17, 29, 0.78);
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: center;
}

.cta h2 {
    font-size: 54px;
    margin: 0 0 13px;
}

.cta p {
    color: #829aaa;
    max-width: 600px;
}

/* Footer */
footer {
    padding: 30px 0;
    border-top: 1px solid rgba(91, 156, 195, 0.1);
    color: #607b8e;
    font-size: 11px;
}

.foot {
    display: flex;
    justify-content: space-between;
}

/* Product Specific Styles (Cublink App) */
.product-hero {
    padding: 145px 0 90px;
}

.phone-wrap {
    min-height: 620px;
    position: relative;
    display: grid;
    place-items: center;
}

.glow {
    position: absolute;
    width: 540px;
    height: 540px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(24, 167, 235, 0.18), transparent 60%);
}

.phone {
    width: min(310px, 72vw);
    padding: 8px;
    border-radius: 35px;
    background: linear-gradient(145deg, #172b3d, #05090f);
    box-shadow: 0 0 0 1px rgba(74, 193, 255, 0.22), 0 35px 90px #000, 0 0 80px rgba(20, 163, 227, 0.16);
    transform: rotate(2deg);
    z-index: 2;
}

.phone img {
    width: 100%;
    display: block;
    border-radius: 29px;
}

.note {
    position: absolute;
    z-index: 4;
    padding: 14px 16px;
    border: 1px solid rgba(58, 197, 255, 0.3);
    border-radius: 13px;
    background: rgba(4, 13, 23, 0.92);
    font-size: 11px;
    color: #9ab2c2;
    max-width: 215px;
}

.note b {
    display: block;
    color: #effbff;
    margin-bottom: 4px;
}

.n1 { top: 13%; left: 0; }
.n2 { right: 0; top: 34%; }
.n3 { left: 1%; bottom: 14%; }

/* Bear & Screen Showcase */
.showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 52px;
}

.bear-panel, .screen-panel {
    min-height: 520px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(10, 27, 43, 0.7), rgba(4, 11, 19, 0.76));
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
}

.bear-panel {
    background: radial-gradient(circle, rgba(19, 153, 214, 0.18), transparent 60%), rgba(5, 13, 22, 0.75);
}

.bear {
    max-width: 92%;
    max-height: 500px;
    object-fit: contain;
    filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.45));
    animation: float 4.5s ease-in-out infinite;
}

@keyframes float {
    50% {
        transform: translateY(-10px) rotate(1deg);
    }
}

.screen-panel {
    padding: 35px;
}

.screen {
    max-height: 560px;
    max-width: 82%;
    border-radius: 22px;
    box-shadow: 0 25px 60px #000;
    transform: rotate(-1deg);
}

.annotation {
    position: absolute;
    padding: 10px 13px;
    border: 1px solid rgba(50, 194, 255, 0.34);
    border-radius: 10px;
    background: rgba(3, 12, 20, 0.9);
    font-size: 10px;
    color: #78dfff;
}

.an1 { left: 25px; top: 70px; }
.an2 { right: 25px; bottom: 70px; }
/* New Annotation Positions */
.an3 { right: 25px; top: 70px; } /* Top Right */
.an4 { left: 25px; top: 50%; transform: translateY(-50%); } /* Middle Left */

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
    margin-top: 48px;
}

.feature {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: rgba(7, 18, 30, 0.62);
}

.feature h3 {
    font-size: 21px;
    margin: 0 0 9px;
}

.feature p {
    font-size: 13px;
    color: #829aaa;
    line-height: 1.7;
    margin: 0;
}

.icon {
    color: #4bd0ff;
    font: 22px "Space Grotesk", sans-serif;
    margin-bottom: 18px;
}

/* Privacy Diagram */
.diagram {
    min-height: 450px;
    border: 1px solid var(--line);
    border-radius: 23px;
    background: rgba(5, 15, 25, 0.7);
    position: relative;
    display: grid;
    place-items: center;
}

.server {
    width: 180px;
    height: 110px;
    border: 1px solid #36c5ff;
    border-radius: 13px;
    background: rgba(16, 99, 145, 0.1);
    box-shadow: 0 0 45px rgba(32, 180, 240, 0.15);
    display: grid;
    place-items: center;
    text-align: center;
    color: #71dbff;
    font-size: 11px;
}

.server span {
    font-size: 30px;
}

.key {
    position: absolute;
    padding: 12px 15px;
    border: 1px solid rgba(54, 196, 255, 0.25);
    background: rgba(3, 12, 20, 0.92);
    border-radius: 10px;
    font: 10px monospace;
    color: #8bdfff;
}

.k1 { top: 17%; left: 8%; }
.k2 { top: 17%; right: 8%; }
.k3 { bottom: 16%; left: 50%; transform: translateX(-50%); }

.line {
    position: absolute;
    width: 31%;
    height: 1px;
    background: #35c8ff;
    opacity: 0.55;
}

.l1 { left: 17%; top: 42%; }
.l2 { right: 17%; top: 42%; }

/* Cublink data transparency pages */
.data-flow {
    min-height: 350px;
    width: 100%;
    padding: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(90, 207, 255, .17);
    border-radius: 24px;
    background: radial-gradient(ellipse at 50% 35%, rgba(17, 119, 170, .17), rgba(2, 10, 17, .7) 68%);
}
.data-node {
    width: min(100%, 330px);
    padding: 17px 20px;
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 5px 12px;
    border: 1px solid rgba(93, 207, 255, .3);
    border-radius: 15px;
    background: rgba(6, 30, 48, .9);
    box-shadow: 0 10px 35px rgba(0, 0, 0, .22);
}
.data-node > span { grid-row: span 2; color: #54d4ff; font: 700 15px 'Space Grotesk', sans-serif; }
.data-node b { color: #e9f7ff; font: 600 16px 'Space Grotesk', sans-serif; }
.data-node small { color: #9cb5c4; font-size: 12px; line-height: 1.5; }
.data-node-relay { border-color: rgba(124, 148, 255, .5); background: rgba(23, 31, 67, .9); }
.data-node-catalog { border-color: rgba(68, 218, 185, .4); }
.data-arrow { color: #59cdf5; font-size: 25px; line-height: 1.5; }
.data-flow-note { max-width: 330px; margin: 16px 0 0; color: #9cb5c4; font-size: 12px; text-align: center; line-height: 1.55; }
.privacy-page { background: #071018; }
.policy-hero { padding: 170px 0 65px; background: radial-gradient(ellipse at 75% 20%, rgba(32, 128, 176, .19), transparent 42%), linear-gradient(180deg, #081520, #071018); }
.policy-hero h1 { max-width: 920px; margin: 18px 0; font: 700 clamp(42px, 7vw, 76px)/1.03 'Space Grotesk', sans-serif; letter-spacing: -3px; }
.policy-hero h1 em { color: #64d9ff; font-style: normal; }
.policy-hero .lead { max-width: 760px; }
.policy-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; color: #9ab1c0; font-size: 13px; }
.no-sale-banner { max-width: 870px; margin-top: 32px; padding: 18px 22px; display: flex; align-items: center; gap: 15px; border: 1px solid rgba(77, 226, 186, .34); border-radius: 17px; background: rgba(39, 167, 135, .1); }
.no-sale-icon { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 50%; color: #06251e; background: #63e0bd; font-weight: 800; }
.no-sale-banner p { margin: 0; color: #d8f9ef; line-height: 1.55; }
.policy-content { padding-bottom: 80px; }
.policy-intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: 35px; align-items: start; padding: 72px 0 45px; border-bottom: 1px solid rgba(147, 183, 205, .14); }
.policy-intro h2, .policy-section h2 { margin: 10px 0 18px; color: #eff8ff; font: 600 34px/1.16 'Space Grotesk', sans-serif; letter-spacing: -1px; }
.policy-intro p, .policy-section > p { margin: 0 0 18px; color: #a9bdca; line-height: 1.75; }
.policy-section { padding: 58px 0; border-bottom: 1px solid rgba(147, 183, 205, .14); scroll-margin-top: 90px; }
.policy-section .kicker { color: #64d9ff; }
.data-table-wrap { overflow-x: auto; border: 1px solid rgba(147, 183, 205, .16); border-radius: 18px; background: rgba(11, 24, 34, .75); }
.data-table { width: 100%; border-collapse: collapse; text-align: left; }
.data-table th { padding: 16px 18px; color: #64d9ff; background: rgba(23, 58, 78, .45); font: 600 12px 'Space Grotesk', sans-serif; text-transform: uppercase; letter-spacing: .08em; }
.data-table td { min-width: 190px; padding: 17px 18px; border-top: 1px solid rgba(147, 183, 205, .12); color: #a9bdca; font-size: 13px; line-height: 1.65; vertical-align: top; }
.data-table td:first-child { min-width: 255px; color: #c8d8e2; }
.data-table td strong { color: #eff8ff; }
.policy-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin: 25px 0; }
.policy-card { padding: 22px; border: 1px solid rgba(147, 183, 205, .16); border-radius: 16px; background: rgba(11, 24, 34, .76); }
.policy-card span { color: #71dcff; font: 600 16px 'Space Grotesk', sans-serif; }
.policy-card p { margin: 11px 0 0; color: #a9bdca; font-size: 14px; line-height: 1.7; }
.policy-note { padding: 16px 19px; border-left: 3px solid #64d9ff; background: rgba(34, 105, 139, .1); color: #d3e6f0 !important; }
.retention-list { margin: 24px 0; border-top: 1px solid rgba(147, 183, 205, .15); }
.retention-list > div { display: grid; grid-template-columns: 250px 1fr; gap: 25px; padding: 18px 0; border-bottom: 1px solid rgba(147, 183, 205, .15); }
.retention-list strong { color: #eff8ff; font: 600 15px 'Space Grotesk', sans-serif; }
.retention-list p { margin: 0; color: #a9bdca; line-height: 1.7; font-size: 14px; }
.policy-section a:not(.btn) { color: #64d9ff; }
.policy-last { border: 0; }
.policy-last > p { max-width: 850px; }
.policy-contact { margin-top: 27px; padding: 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid rgba(90, 207, 255, .2); border-radius: 17px; background: rgba(13, 38, 54, .75); }
.policy-contact div { display: grid; gap: 6px; }
.policy-contact span { color: #9ab1c0; font-size: 13px; }
.policy-contact strong { color: #eff8ff; font: 600 17px 'Space Grotesk', sans-serif; }
@media (max-width: 700px) {
    .policy-hero { padding-top: 130px; }
    .policy-hero h1 { letter-spacing: -1.5px; }
    .policy-intro, .policy-cards { grid-template-columns: 1fr; }
    .retention-list > div { grid-template-columns: 1fr; gap: 8px; }
    .policy-contact { align-items: stretch; flex-direction: column; }
    .data-table { min-width: 800px; }
}

/* Responsive Queries */
@media (max-width: 850px) {
    .links, .navbtn {
        display: none;
    }
    
    .grid, .split, .founder, .cards, .features, .showcase {
        grid-template-columns: 1fr;
    }
    
    .hero-art, .phone-wrap {
        min-height: 430px;
    }
    
    .halo {
        width: 330px;
        height: 330px;
    }
    
    .lock {
        width: 180px;
        height: 180px;
    }
    
    .founder {
        text-align: center;
    }
    
    .portrait {
        margin: auto;
    }
    
    .cta {
        display: grid;
        text-align: center;
    }
    
    .phone-wrap .note {
        display: none;
    }
    
    .bear-panel, .screen-panel {
        min-height: 430px;
    }
}

@media (max-width: 520px) {
    .wrap {
        width: calc(100% - 28px);
    }
    
    h1 {
        font-size: 48px;
    }
    
    .lead {
        font-size: 16px;
    }
    
    .chip {
        display: none;
    }
    
    .panel h2, .cta h2 {
        font-size: 39px;
    }
    
    .title {
        font-size: 37px;
    }
    
    .foot {
        display: grid;
        gap: 10px;
    }
}
