:root {
    --ink: #0b1220;
    /* dark text for light sections */
    --ink-on-dark: #f7fbff;
    /* text on dark/bg image */
    --muted: #8ea0bf;
    --card: #101626;
    --brand: #37b6ff;
    /* blue primary */
    --brand-2: #b037ff;
    /* violet accent */
    --white: #ffffff;
    --radius: 22px;
    --shadow: 0 15px 40px rgba(0, 0, 0, .35);
}

* {
    box-sizing: border-box
}

html,
body {
    margin: 0;
    padding: 0
}

body {
    font-family: Inter, system-ui, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    color: var(--ink);
    background: #050713;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px
}

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: saturate(140%) blur(8px);
    /* background:linear-gradient(180deg,rgba(9,13,20,.85),rgba(9,13,20,.55)); */
    /* border-bottom:1px solid rgba(255,255,255,.06); */
    color: var(--ink-on-dark);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.brand {
    display: flex;
    gap: 10px;
    align-items: center;
    font-weight: 800;
    letter-spacing: .2px
}



.navlinks {
    display: flex;
    gap: 12px;
    align-items: center
}

.navlinks a {
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .10);
    color: var(--ink-on-dark);
    font-weight: 600;
}

.navlinks a:hover {
    background: rgba(255, 255, 255, .14)
}

/* Hero */
.hero {
    position: relative;
    color: var(--ink-on-dark);
    background: url('../images/wallpaper-phone.jpg') no-repeat center center/cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(6, 10, 20, 0.45);
    backdrop-filter: blur(4px);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.55));
    pointer-events: none;
}

.hero-wrap {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 28px;
    align-items: center;
    grid-template-columns: 1fr 0.9fr;
    /* form | person */
    width: 100%;
}

/* Lead Form */
.lead-form {
    background: rgba(15, 20, 40, 0.92);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: calc(var(--radius) + 6px);
    padding: 28px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.lead-form h3 {
    margin: 0 0 6px;
    font-size: 24px
}

.lead-form p.sub {
    margin: 0 0 12px;
    color: #cfe0ff
}

.req {
    color: #ff8a8a;
    margin-left: 4px
}

.field {
    margin-top: 12px
}

.label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #dbe8ff
}

input,
button,
textarea {
    font: inherit;
    color: inherit
}

.control {
    width: 100%;
    margin-top: 8px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .16);
    outline: none;
    background: rgba(10, 16, 28, 0.92);
    transition: border-color .2s, box-shadow .2s;
    color: var(--ink-on-dark);
}

.control::placeholder {
    color: #a7b7d6
}

.control:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(55, 182, 255, .15)
}

.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

/* reCAPTCHA box */
.g-recaptcha {
    margin: 14px 0;
    display: flex;
    justify-content: center;
}

/* Buttons */
.btn-primary {
    margin-top: 14px;
    width: 100%;
    padding: 12px 16px;
    border-radius: 14px;
    border: 2px solid transparent;
    font-weight: 800;
    cursor: pointer;
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
    color: #fff;
}

.btn-primary:hover {
    filter: brightness(1.05)
}

.btn-white {
    margin-top: 12px;
    width: 100%;
    padding: 12px 16px;
    border-radius: 14px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    background: transparent;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.btn-white:hover {
    background: #fff;
    color: #0c1120
}

.helper {
    font-size: 12px;
    color: #a8c0ff;
    margin-top: 8px;
    text-align: center;
}

/* Person Image Panel */
.person-wrap {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 420px;
    position: relative;
}

.person-card {
    width: min(520px, 100%);
    aspect-ratio: 4/5;
    border-radius: 28px;
    overflow: hidden;
    border: none;
   
    
    position: relative;
}

.person-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.person-hint {
    position: absolute;
    bottom: 10px;
    right: 14px;
    font-size: 12px;
    color: #d7e7ff;
    opacity: .8;
    background: rgba(0, 0, 0, .35);
    padding: 6px 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .15)
}

/* About Me (white section) */
.section-white {
    background: #090a22;
    color: var(--ink);
    padding: 70px 0;
    
    
}

.about-wrap {
    display: flex;
    grid-template-columns: 1.2fr .8fr;
    gap: 28px;
    align-items: center
}

.about-card {
    
    border:none;
    border-radius: 22px;
    padding: 28px;
   
}

.about-h1 {
    font-size: clamp(26px, 3.6vw, 42px);
    margin: 0 0 10px;
    text-align: center;
    color: #e5e5e5;
}



.about-p {
    color: #a1a1a1;
    margin: 0;
    text-align: center;
}

.about-visual {
    background: linear-gradient(135deg, #f4f8ff, #ffffff);
    border: 1px solid #eef1f6;
    border-radius: 22px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
}

/* Footer */
.footer {
    padding: 36px 0;
    color: #8fa2c8;
    border-top: 1px solid rgba(255, 255, 255, .06);
    background: #050713
}

/* Responsive */
@media (max-width: 980px) {
    .hero-wrap {
        grid-template-columns: 1fr
    }

    .person-wrap {
        order: -1
    }

    .about-wrap {
        grid-template-columns: 1fr
    }

    .row {
        grid-template-columns: 1fr
    }
}