@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

/* =========================================================
   CORETECH SYSTEM
   MAIN STYLESHEET
   ========================================================= */

:root{
    --bg:#07111f;
    --surface:#0d1d30;
    --surface-2:#10263d;
    --text:#edf7ff;
    --muted:#91a6bb;
    --accent:#42d9ff;
    --purple:#7b7cff;
    --line:rgba(157,190,222,.16);
    --max:1180px;
}

/* =========================================================
   RESET
   ========================================================= */

*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
    scroll-padding-top:90px;
}

body{
    margin:0;
    font-family:Inter,Arial,sans-serif;
    color:var(--text);
    background:var(--bg);
    line-height:1.6;
}

a{
    text-decoration:none;
    color:inherit;
}

img{
    max-width:100%;
    display:block;
}

button,
input,
textarea,
select{
    font:inherit;
}

.container{
    width:min(calc(100% - 64px),var(--max));
    margin:auto;
}

/* =========================================================
   HEADER / NAVIGATION
   ========================================================= */

.site-header{
    position:fixed;
    z-index:20;
    top:0;
    left:0;
    width:100%;
    background:#040a13d9;
    border-bottom:1px solid #ffffff0d;
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
}

.nav-wrap{
    min-height:90px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:35px;
}

.brand{
    display:flex;
    align-items:center;
    gap:15px;
    flex-shrink:0;
}

/* BIGGER LOGO */

.logo-img{
    width:190px;
    max-width:190px;
    height:48px;
    max-height:48px;
    object-fit:contain;
    object-position:left center;
}

.brand-mark{
    display:flex;
    gap:3px;
    align-items:end;
    transform:skew(-18deg);
}

.brand-mark i{
    display:block;
    width:7px;
    background:linear-gradient(#42d9ff,#7b7cff);
    border-radius:2px;
}

.brand-mark i:nth-child(1){
    height:19px;
}

.brand-mark i:nth-child(2){
    height:29px;
}

.brand-mark i:nth-child(3){
    height:23px;
}

.brand-text{
    display:flex;
    flex-direction:column;
    line-height:1;
}

.brand-text strong{
    font:700 15px 'Space Grotesk';
}

.brand-text small{
    color:var(--accent);
    font-size:8px;
    letter-spacing:.25em;
    margin-top:4px;
}

.main-nav{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:40px;
}

.main-nav a{
    position:relative;
    padding:10px 0;
    font-size:12px;
    color:#b7c9da;
    font-weight:700;
    transition:.25s ease;
}

.main-nav a:hover{
    color:#fff;
}

.main-nav a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:3px;
    width:0;
    height:1px;
    background:var(--accent);
    transition:.25s ease;
}

.main-nav a:hover::after{
    width:100%;
}

.nav-cta{
    padding:11px 17px !important;
    border:1px solid #42d9ff55;
    border-radius:99px;
    background:#42d9ff12;
}

.nav-cta::after{
    display:none;
}

.nav-toggle{
    display:none;
    background:none;
    border:0;
    color:white;
    font-size:25px;
    cursor:pointer;
}

/* =========================================================
   HERO
   ========================================================= */

.hero{
    min-height:760px;
    height:100vh;
    max-height:950px;
    display:flex;
    align-items:center;
    position:relative;
    overflow:hidden;
    background:
        radial-gradient(
            circle at 78% 45%,
            #416fff2b,
            transparent 30%
        ),
        var(--bg);
}

.hero-grid,
.cta-grid{
    position:absolute;
    inset:0;
    background-image:
        linear-gradient(#6fa3cb0d 1px,transparent 1px),
        linear-gradient(90deg,#6fa3cb0d 1px,transparent 1px);
    background-size:70px 70px;
}

.hero-inner{
    position:relative;
    z-index:2;
    display:grid;
    grid-template-columns:1.05fr .95fr;
    gap:90px;
    align-items:center;
    padding-top:90px;
}

.hero-copy{
    padding-right:20px;
}

.eyebrow{
    color:var(--accent);
    font-size:10px;
    font-weight:800;
    letter-spacing:.18em;
}

.pulse-dot{
    display:inline-block;
    width:7px;
    height:7px;
    border-radius:50%;
    background:var(--accent);
    box-shadow:0 0 15px var(--accent);
    margin-right:8px;
}

.hero h1{
    font:700 clamp(50px,6vw,82px)/.98 'Space Grotesk';
    letter-spacing:-.05em;
    margin:28px 0;
}

.hero h1 em{
    font-style:normal;
    background:linear-gradient(
        90deg,
        #fff,
        #5edfff,
        #8b82ff
    );
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
}

.hero-lead{
    max-width:560px;
    color:var(--muted);
    font-size:15px;
    line-height:1.9;
}

.hero-actions{
    display:flex;
    gap:16px;
    flex-wrap:wrap;
    margin-top:38px;
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    min-height:50px;
    padding:0 22px;
    border-radius:99px;
    font-size:12px;
    font-weight:800;
    transition:.25s ease;
}

.btn:hover{
    transform:translateY(-2px);
}

.btn-primary{
    color:#06111d;
    background:linear-gradient(
        100deg,
        #5de6ff,
        #7d8cff
    );
    box-shadow:0 10px 30px #42d9ff22;
}

.btn-ghost{
    border:1px solid #ffffff20;
    color:#c5d3e0;
}

.btn-ghost:hover{
    border-color:#42d9ff55;
    color:#fff;
}

/* =========================================================
   HERO VISUAL
   ========================================================= */

.hero-visual{
    min-height:500px;
    display:grid;
    place-items:center;
    position:relative;
}

.orb{
    width:410px;
    height:410px;
    border-radius:50%;
    position:absolute;
    background:
        radial-gradient(
            circle,
            #42d9ff20,
            #7b7cff08 48%,
            transparent 70%
        );
    border:1px solid #42d9ff1a;
}

.dashboard-card{
    position:relative;
    z-index:2;
    width:min(460px,92%);
    padding:28px;
    border:1px solid #9fceef2e;
    border-radius:20px;
    background:
        linear-gradient(
            145deg,
            #11253cf2,
            #07111fea
        );
    box-shadow:0 30px 90px #0008;
    transform:rotate(-3deg);
}

.dash-head,
.metric-row{
    display:flex;
    justify-content:space-between;
    gap:18px;
}

.dash-head{
    border-bottom:1px solid var(--line);
    padding-bottom:18px;
}

.dash-head b{
    font:700 13px 'Space Grotesk';
}

.dash-head span{
    color:#54e3a5;
    font-size:8px;
}

.metric-row{
    padding:30px 0;
}

.metric-row>div{
    width:50%;
    padding:18px;
    border:1px solid var(--line);
    border-radius:11px;
}

.metric-row small{
    display:block;
    color:#7891a8;
    font-size:7px;
    font-weight:800;
}

.metric-row strong{
    font:700 30px 'Space Grotesk';
}

.chart{
    height:100px;
    display:flex;
    align-items:end;
    gap:7px;
    border-top:1px solid var(--line);
    padding-top:15px;
}

.chart i{
    flex:1;
    border-radius:3px 3px 0 0;
    background:linear-gradient(#58dfff,#636bff);
}

.chart i:nth-child(1){
    height:30%;
}

.chart i:nth-child(2){
    height:45%;
}

.chart i:nth-child(3){
    height:39%;
}

.chart i:nth-child(4){
    height:60%;
}

.chart i:nth-child(5){
    height:55%;
}

.chart i:nth-child(6){
    height:73%;
}

.chart i:nth-child(7){
    height:68%;
}

.chart i:nth-child(8){
    height:90%;
}

.dash-foot{
    border-top:1px solid var(--line);
    padding-top:13px;
    color:#627990;
    font-size:7px;
    letter-spacing:.1em;
}

/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.section{
    padding:140px 0;
}

.section-head{
    display:grid;
    grid-template-columns:1fr .7fr;
    gap:80px;
    align-items:end;
    margin-bottom:65px;
}

.section-head h2,
.about-copy h2{
    font:700 clamp(38px,4vw,58px)/1.05 'Space Grotesk';
    letter-spacing:-.04em;
    margin:18px 0 0;
}

.section-head h2 span,
.about-copy h2 span{
    color:#2697c4;
}

.section-head>p{
    color:#6e8295;
    font-size:13px;
    line-height:1.9;
}

/* =========================================================
   SYSTEMS
   ========================================================= */

.systems-section{
    background:#f3f8fb;
    color:#0b1b2b;
}

.systems-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:28px;
}

.system-card{
    min-height:390px;
    position:relative;
    padding:36px;
    border:1px solid #dbe5ed;
    border-radius:21px;
    background:#fff;
    transition:.3s ease;
}

.system-card:hover{
    transform:translateY(-6px);
    box-shadow:0 20px 55px #1434501c;
}

.system-card.featured{
    background:#0b1c2e;
    color:#edf6ff;
    border-color:#19324a;
}

.card-number{
    position:absolute;
    right:28px;
    top:24px;
    color:#9bb0c2;
    font:600 10px 'Space Grotesk';
}

.system-icon{
    width:62px;
    height:62px;
    display:grid;
    place-items:center;
    border-radius:15px;
    background:linear-gradient(
        135deg,
        #53e1ff,
        #7d8cff
    );
    color:#06202b;
    font:800 10px 'Space Grotesk';
    margin-bottom:38px;
}

.tag{
    color:#318db6;
    font-size:8px;
    font-weight:800;
    letter-spacing:.14em;
}

.featured .tag{
    color:#55dfff;
}

.system-card h3{
    font:700 25px/1.15 'Space Grotesk';
    margin:14px 0;
}

.system-card p{
    color:#72869a;
    font-size:12px;
    line-height:1.9;
    max-width:500px;
    margin:18px 0 0;
}

.featured p{
    color:#8fa4b7;
}

.text-link{
    display:inline-block;
    margin-top:18px;
    color:#1780a8;
    font-size:10px;
    font-weight:800;
}

.featured .text-link{
    color:#5ce1ff;
}

/* =========================================================
   SERVICES
   ========================================================= */

.services-section{
    background:#07111f;
}

.section-head.light h2{
    color:#edf6ff;
}

.section-head.light>p{
    color:#7f95a9;
}

.services-list{
    margin-top:20px;
    border-top:1px solid var(--line);
}

.service-row{
    min-height:135px;
    display:grid;
    grid-template-columns:60px 60px 1fr 30px;
    gap:20px;
    align-items:center;
    padding:20px 0;
    border-bottom:1px solid var(--line);
}

.service-row>span,
.service-row>em{
    color:#536b82;
    font-size:10px;
}

.service-row>b{
    font-size:23px;
    color:#59ddff;
}

.service-row h3{
    font:600 19px 'Space Grotesk';
    margin:0 0 7px;
}

.service-row p{
    color:#70879c;
    font-size:11px;
    line-height:1.7;
    margin:7px 0 0;
}

/* =========================================================
   ABOUT
   ========================================================= */

.about-section{
    background:#f7fafc;
    color:#0b1b2b;
}

.about-grid{
    display:grid;
    grid-template-columns:.9fr 1.1fr;
    gap:120px;
    align-items:center;
}

.about-visual{
    min-height:430px;
    display:grid;
    place-items:center;
}

.about-box{
    width:430px;
    height:370px;
    position:relative;
    display:grid;
    place-items:center;
    border:1px solid #d6e4ec;
    background:
        linear-gradient(
            #1c87b10d 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            #1c87b10d 1px,
            transparent 1px
        ),
        #eef6fa;
    background-size:34px 34px;
}

.about-box b{
    font:700 80px 'Space Grotesk';
    color:#2089ae;
}

.about-box small{
    position:absolute;
    transform:translateY(125px);
    font:600 8px/1.8 'Space Grotesk';
    color:#5f7b90;
    letter-spacing:.1em;
}

.about-copy .eyebrow{
    color:#3189b8;
}

.about-copy .lead{
    color:#31485b;
    font-size:16px;
    line-height:1.9;
    margin-top:32px;
}

.about-copy>p:not(.lead){
    color:#708396;
    font-size:13px;
    line-height:2;
    margin-top:22px;
}

/* =========================================================
   CTA
   ========================================================= */

.cta-section{
    min-height:680px;
    display:grid;
    place-items:center;
    text-align:center;
    position:relative;
    overflow:hidden;
    background:
        radial-gradient(
            circle,
            #36beef24,
            transparent 30%
        ),
        #06101d;
}

.cta-inner{
    position:relative;
    z-index:2;
}

.cta-inner .eyebrow{
    display:block;
}

.cta-inner h2{
    font:700 clamp(52px,7vw,88px)/.93 'Space Grotesk';
    letter-spacing:-.055em;
    margin:35px 0;
}

.cta-inner em{
    color:var(--accent);
    font-style:normal;
}

.cta-inner>p{
    max-width:500px;
    margin:auto;
    color:#8297aa;
    font-size:14px;
    line-height:1.9;
}

.btn-light{
    margin-top:30px;
    background:#eefaff;
    color:#06111c;
}

.contact-line{
    max-width:650px;
    margin:70px auto 0;
    padding-top:22px;
    border-top:1px solid var(--line);
    display:flex;
    justify-content:space-between;
    color:#5f758b;
    font-size:8px;
    font-weight:800;
    gap:20px;
}

/* =========================================================
   FOOTER
   ========================================================= */

footer{
    background:#040b14;
    border-top:1px solid #ffffff0d;
}

.footer-inner{
    min-height:130px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:25px;
    padding:25px 0;
    color:#536b80;
    font-size:9px;
}

.footer-inner strong{
    color:#dcecf8;
    font:700 13px 'Space Grotesk';
}

/* =========================================================
   TABLET
   ========================================================= */

@media(max-width:1000px){

    .main-nav{
        gap:24px;
    }

    .hero-inner{
        gap:55px;
    }

    .section-head{
        gap:45px;
    }

    .about-grid{
        gap:70px;
    }
}

/* =========================================================
   TABLET / SMALL LAPTOP
   ========================================================= */

@media(max-width:850px){

    .container{
        width:calc(100% - 48px);
    }

    .nav-wrap{
        min-height:85px;
    }

    .main-nav{
        gap:18px;
    }

    .hero{
        height:auto;
        min-height:0;
        padding:150px 0 90px;
    }

    .hero-inner{
        grid-template-columns:1fr;
        gap:55px;
        padding-top:20px;
    }

    .hero-copy{
        padding-right:0;
        text-align:center;
    }

    .hero-lead{
        margin-left:auto;
        margin-right:auto;
    }

    .hero-actions{
        justify-content:center;
    }

    .hero-visual{
        min-height:440px;
    }

    .section{
        padding:110px 0;
    }

    .section-head{
        grid-template-columns:1fr;
        gap:25px;
        margin-bottom:45px;
    }

    .systems-grid{
        grid-template-columns:1fr;
        gap:22px;
    }

    .system-card{
        min-height:350px;
    }

    .about-grid{
        grid-template-columns:1fr;
        gap:70px;
    }

    .about-visual{
        min-height:380px;
    }

    .about-box{
        max-width:430px;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width:650px){

    .container{
        width:calc(100% - 32px);
    }

    /* HEADER */

    .nav-wrap{
        min-height:78px;
    }

    .logo-img{
        width:120px;
        max-width:120px;
        height:42px;
        max-height:42px;
    }

    /* HERO */

    .hero{
        padding:125px 0 80px;
    }

    .hero-inner{
        gap:35px;
    }

    .hero h1{
        font-size:47px;
        margin:22px 0;
    }

    .hero-lead{
        font-size:14px;
        line-height:1.9;
    }

    .hero-actions{
        flex-direction:column;
        gap:12px;
        margin-top:28px;
    }

    .hero-actions .btn{
        width:100%;
    }

    .hero-visual{
        min-height:350px;
        margin-top:15px;
    }

    .orb{
        width:300px;
        height:300px;
    }

    .dashboard-card{
        width:95%;
        padding:20px;
    }

    .metric-row{
        gap:10px;
        padding:22px 0;
    }

    .metric-row>div{
        padding:13px;
    }

    .metric-row strong{
        font-size:24px;
    }

    /* SECTIONS */

    .section{
        padding:90px 0;
    }

    .section-head{
        margin-bottom:38px;
        gap:20px;
    }

    .section-head h2,
    .about-copy h2{
        font-size:40px;
    }

    /* SYSTEMS */

    .systems-grid{
        gap:18px;
    }

    .system-card{
        min-height:330px;
        padding:26px;
    }

    .system-icon{
        margin-bottom:28px;
    }

    .system-card h3{
        font-size:23px;
    }

    /* SERVICES */

    .service-row{
        min-height:120px;
        grid-template-columns:28px 32px 1fr 15px;
        gap:10px;
        padding:18px 0;
    }

    .service-row h3{
        font-size:15px;
    }

    .service-row p{
        font-size:10px;
        line-height:1.6;
    }

    /* ABOUT */

    .about-grid{
        gap:45px;
    }

    .about-visual{
        min-height:320px;
    }

    .about-box{
        width:100%;
        max-width:350px;
        height:300px;
    }

    .about-box b{
        font-size:65px;
    }

    .about-copy .lead{
        margin-top:24px;
        font-size:14px;
    }

    /* CTA */

    .cta-section{
        min-height:580px;
        padding:80px 0;
    }

    .cta-inner h2{
        font-size:52px;
        margin:28px 0;
    }

    .cta-inner>p{
        font-size:13px;
        line-height:1.8;
    }

    .contact-line{
        margin-top:50px;
        gap:18px;
        flex-direction:column;
        text-align:center;
    }

    /* FOOTER */

    .footer-inner{
        min-height:140px;
        gap:15px;
        flex-direction:column;
        justify-content:center;
        text-align:center;
    }
}

/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media(max-width:400px){

    .logo-img{
        width:105px;
        max-width:105px;
        height:32px;
        max-height:32px;
    }

    .nav-wrap{
        min-height:68px;
    }

    .main-nav{
        top:68px;
    }

    .hero h1{
        font-size:42px;
    }

    .section-head h2,
    .about-copy h2{
        font-size:36px;
    }

    .system-card{
        padding:22px;
    }

    .cta-inner h2{
        font-size:46px;
    }
}



.cta-actions{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:14px;
    flex-wrap:wrap;
    margin-top:30px;
}

.cta-actions .btn{
    margin-top:0;
}

.btn-messenger{
    border:1px solid #42d9ff55;
    background:#42d9ff12;
    color:#5de6ff;
}

.btn-messenger:hover{
    background:#42d9ff20;
    border-color:#42d9ff88;
    color:#fff;
}

.contact-line a{
    color:#5f758b;
}

.contact-line a:hover{
    color:#5de6ff;
}

@media(max-width:650px){

    .cta-actions{
        flex-direction:column;
        width:100%;
    }

    .cta-actions .btn{
        width:100%;
    }

}

/* =========================
   FLOATING MESSENGER
========================= */

.floating-messenger{
    position:fixed;
    right:24px;
    bottom:24px;
    z-index:9999;

    display:flex;
    align-items:center;
    gap:10px;

    padding:10px 17px 10px 10px;

    border-radius:999px;

    background:linear-gradient(135deg,#42d9ff,#6675ff);
    color:#06111d;

    box-shadow:
        0 10px 35px rgba(0,0,0,.40),
        0 0 25px rgba(66,217,255,.20);

    font-size:11px;
    font-weight:800;

    transition:all .25s ease;
}

.floating-messenger:hover{
    transform:translateY(-4px);

    box-shadow:
        0 15px 45px rgba(0,0,0,.50),
        0 0 35px rgba(66,217,255,.35);
}

.messenger-icon{
    width:36px;
    height:36px;

    display:grid;
    place-items:center;

    border-radius:50%;

    background:#06111d;
    color:#5de6ff;

    font:800 15px 'Space Grotesk';
}

.messenger-text{
    white-space:nowrap;
}


/* =========================
   CONTACT BUTTONS
========================= */

.cta-actions{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:14px;
    flex-wrap:wrap;
    margin-top:30px;
}

.cta-actions .btn{
    margin-top:0;
}

.btn-messenger{
    border:1px solid #42d9ff55;
    background:#42d9ff12;
    color:#5de6ff;
}

.btn-messenger:hover{
    background:#42d9ff20;
    border-color:#42d9ff88;
    color:#fff;
}

.contact-line a{
    color:#5f758b;
}

.contact-line a:hover{
    color:#5de6ff;
}


/* =========================
   MOBILE
========================= */

@media(max-width:650px){

    .floating-messenger{
        right:16px;
        bottom:16px;
        padding:8px;
    }

    .messenger-text{
        display:none;
    }

    .messenger-icon{
        width:44px;
        height:44px;
        font-size:17px;
    }

    .cta-actions{
        flex-direction:column;
        width:100%;
    }

    .cta-actions .btn{
        width:100%;
    }

}