* {
    box-sizing:border-box
}
html {
    scroll-behavior:smooth
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Miller Banner", "Times New Roman", serif;
    font-weight: 700;
}
body {
    margin:0;
    /* font-family: 'Inter', sans-serif; */
    color:#172033;
    background:#f5f7fb;
    line-height:1.6
}
.container {
    width: min(1400px, calc(100% - 48px));
    margin: auto;
}
.header {
    position:fixed;
    z-index:20;
    width:100%;
    background:rgba(7,16,30,.9);
    backdrop-filter:blur(14px);
    border-bottom:1px solid rgba(255,255,255,.1)
}
.nav {
    height:76px;
    display:flex;
    align-items:center;
    justify-content:space-between
}
.header .container {
    display: flex;
    align-items: center;
}

.header .logo {
    width: 400px;
    flex-shrink: 0;
}

.header .logo-img {
    width: 100%;
    height: auto;
    display: block;
    background: transparent;
    border: none;
    box-shadow: none;    
}

.header .nav {
    margin-left: auto;
}

.nav nav {
    display:flex;
    gap:25px;
    align-items:center
}
.nav nav a {
    color:#ccd7ea;
    text-decoration:none
}
.nav-button {
    border:1px solid #607cff;
    padding:9px 15px;
    border-radius:25px
}
.menu-button {
    display:none;
    background:none;
    border:0;
    color:white;
    font-size:25px
}
.hero {
    min-height:720px;
    padding:90px 0 20px;
    color:white;
    background:radial-gradient(circle at 80% 20%,#293b78 0,transparent 30%),radial-gradient(circle at 10% 30%,#183b54 0,transparent 25%),#07101e
}
.hero-grid {
    display:grid;
    grid-template-columns:1.1fr .9fr;
    gap:65px;
    align-items:center
}
.eyebrow {
    text-transform:uppercase;
    letter-spacing:2px;
    font-size:18px;
    font-weight:800;
    color:#48dfc2
}
.hero h1 {
    font-size:clamp(48px,6vw,82px);
    line-height:1.02;
    letter-spacing:-4px;
    margin:15px 0 25px
}
.hero h1 span {
    background:linear-gradient(90deg,#92a7ff,#55e6c7);
    -webkit-background-clip:text;
    color:transparent
}
.lead {
    font-size:18px;
    color:#aab9d0;
    max-width:650px
}
.actions {
    display:flex;
    gap:14px;
    margin:35px 0
}
.button {
    display:inline-block;
    border:0;
    border-radius:30px;
    padding:13px 22px;
    font-weight:700;
    text-decoration:none;
    cursor:pointer
}
.primary {
    background:linear-gradient(90deg,#536ffc,#8557ed);
    color:white
}
.secondary {
    border:1px solid #536176;
    color:white
}
.stats {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px
}
.stats div {
    border-left:1px solid #344156;
    padding-left:14px
}
.stats strong,.stats small {
    display:block
}
.stats small {
    color:#91a2bc
}
.code-card {
    position:relative;
    background:#0f1c31;
    border:1px solid #2e3e59;
    border-radius:25px;
    box-shadow:0 30px 70px #0007;
    overflow:visible
}
.code-header {
    padding:15px;
    border-bottom:1px solid #2b3950;
    color:#8293ad
}
.code-header span {
    display:inline-block;
    width:10px;
    height:10px;
    background:#55637a;
    border-radius:50%;
    margin-right:6px
}
.code-card pre {
    padding:32px;
    overflow:auto;
    color:#bcd9ff;
    line-height:1.8
}
.tag {
    position:absolute;
    background:#162945;
    border:1px solid #344c70;
    padding:8px 14px;
    border-radius:20px;
    font-weight:700
}
.tag-one {
    left:-25px;
    top:32%
}
.tag-two {
    right:-20px;
    top:17%
}
.tag-three {
    right:12%;
    bottom:-18px
}
.tech-strip {
    background:#0b1728;
    color:#9fb0ca
}
.tech-strip .container {
    display:flex;
    gap:28px;
    justify-content:space-between;
    flex-wrap:wrap;
    padding:22px 0;
    font-weight:700
}
.section {
    padding:25px 0
}
.section h2 {
    font-size:clamp(35px,5vw,58px);
    line-height:1.1;
    letter-spacing:-2px;
    max-width:800px
}
.cards {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    margin-top:45px
}
.cards article {
    background:white;
    padding:28px;
    border:1px solid #e2e7f0;
    border-radius:18px;
    min-height:255px;
    box-shadow:0 18px 40px #1d2a4410
}
.cards b {
    color:#607cff
}
.cards p {
    color:#647083
}
.dark {
    background:#07101e;
    color:white
}
.solutions {
    border-top:1px solid #2b394d;
    margin-top:45px
}
.solutions article {
    display:grid;
    grid-template-columns:130px 1fr;
    gap:25px;
    padding:30px 0;
    border-bottom:1px solid #2b394d
}
.solutions span {
    color:#48dfc2;
    text-transform:uppercase;
    font-size:12px;
    font-weight:800
}
.solutions p {
    color:#9eacc0
}
.about {
    display:grid;
    grid-template-columns:.8fr 1.2fr;
    gap:70px;
    align-items:center
}
.photo-placeholder {
    aspect-ratio:4/5;
    border-radius:24px;
    background:linear-gradient(145deg,#172d50,#0a1628);
    color:white;
    display:grid;
    place-content:center;
    text-align:center;
    padding:20px
}
.photo-placeholder small {
    display:block;
    color:#9eb0ca
}
.contact {
    background:#0b1729;
    color:white
}
.contact-grid {
    display:grid;
    grid-template-columns:.9fr 1.1fr;
    gap:65px
}
.contact form {
    display:grid;
    gap:12px
}
.contact label {
    display:grid;
    gap:6px
}
.contact input,.contact select,.contact textarea {
    width:100%;
    padding:13px;
    border-radius:10px;
    border:1px solid #3b4960;
    background:#132139;
    color:white
}
.contact textarea {
    min-height:130px
}
.contact small {
    color:#93a4bd
}
#formStatus.error {
    color:#ff9c9c
}
#formStatus.success {
    color:#48dfc2
}
footer {
    background:#050b14;
    color:#8494ab;
    padding:35px 0
}
@media(max-width:850px) {
    .hero-grid,.about,.contact-grid {
        grid-template-columns:1fr
    }
    .cards {
        grid-template-columns:repeat(2,1fr)
    }
    .menu-button {
        display:block
    }
    .nav nav {
        display:none;
        position:absolute;
        top:76px;
        left:15px;
        right:15px;
        background:#0b1729;
        padding:20px;
        flex-direction:column;
        align-items:stretch
    }
    .nav nav.open {
        display:flex
    }
    .hero {
        padding-top:125px
    }
    .stats {
        grid-template-columns:1fr
    }
}
@media(max-width:580px) {
    .cards {
        grid-template-columns:1fr
    }
    .actions {
        flex-direction:column
    }
    .actions .button {
        text-align:center
    }
    .solutions article {
        grid-template-columns:1fr
    }
    .hero h1 {
        letter-spacing:-2px
    }
}
.about .photo-container {
    width: 320px;
    height: 420px;
    /* Slightly taller */
    margin: 0 auto;
    overflow: hidden;
    border-radius: 25px;
    border: 4px solid #536ffc;
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.about .photo-container .profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Move the visible image downward */
    object-position: center 25%;
}

.about-section {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.about-title {
    flex: 1;
}

.about-content {
    flex: 1;
}

.about-content p {
    margin-bottom: 18px;
    line-height: 1.7;
}

/* Mobile */
@media (max-width: 768px) {
    .about-section {
        flex-direction: column;
        gap: 20px;
    }
}

/* Animated glowing hover effect */
/* Navigation Links */

/* Navigation Links */

.nav nav a {

    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 5px 10px;

    color: #d7def1;
    text-decoration: none;
    font-weight: 500;

    border: 1px solid rgba(255,255,255,.12);

    border-radius: 999px;

    background: rgba(255,255,255,.03);

    backdrop-filter: blur(8px);

    transition: all .35s ease;
}

/* Moving light effect */
.nav a::before,
.button::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -120%;
    /* width: 60%; */
    height: 200%;
    width: 18px;

    background: linear-gradient(
        to right,
        transparent,
        rgba(255,255,255,.18),
        transparent
    );

    filter: blur(6px);
    transform: rotate(20deg);
    transition: left 0.6s ease;
    pointer-events: none;
}

.nav a:hover::before,
.button:hover::before {
    left: 140%;
}

.nav a:hover,
.button:hover {
    transform: translateY(-2px);
    color: #ffffff;
    border-color: #48dfc2;
    box-shadow:
        0 0 8px rgba(72, 223, 194, 0.8),
        0 0 20px rgba(72, 223, 194, 0.45),
        inset 0 0 12px rgba(72, 223, 194, 0.12);
}

/* =====================================================
   ASK AI SECTION
===================================================== */

.ask-ai-section {
    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(83, 111, 252, 0.18),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 75%,
            rgba(72, 223, 194, 0.14),
            transparent 30%
        ),
        #07101e;

    color: #ffffff;
}

.ask-ai-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 65px;
    align-items: center;
}

.ask-ai-intro p {
    color: #aab9d0;
}

.ai-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.suggestion-button {
    padding: 10px 16px;

    color: #d8e3f5;
    background: rgba(255, 255, 255, 0.04);

    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 999px;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.suggestion-button:hover {
    transform: translateY(-2px);

    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);

    border-color: #48dfc2;

    box-shadow:
        0 0 8px rgba(72, 223, 194, 0.45),
        0 0 18px rgba(72, 223, 194, 0.2);
}

.ai-chat-card {
    overflow: hidden;

    background: rgba(15, 28, 49, 0.92);

    border: 1px solid #2e3e59;
    border-radius: 24px;

    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.ai-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 18px 22px;

    border-bottom: 1px solid #2b3950;
}

.ai-status-dot {
    display: inline-block;

    width: 10px;
    height: 10px;
    margin-right: 8px;

    background: #48dfc2;
    border-radius: 50%;

    box-shadow: 0 0 12px rgba(72, 223, 194, 0.8);
}

.clear-chat-button {
    color: #aab9d0;
    background: transparent;

    border: 0;

    cursor: pointer;
}

.clear-chat-button:hover {
    color: #ffffff;
}

.chat-messages {
    height: 390px;
    padding: 22px;

    overflow-y: auto;

    background: rgba(5, 12, 22, 0.45);
}

.chat-message {
    max-width: 85%;
    margin-bottom: 18px;
    padding: 14px 16px;

    border-radius: 16px;
}

.chat-message p {
    margin: 5px 0 0;
    white-space: pre-wrap;
}

.message-label {
    font-size: 12px;
    font-weight: 700;
    color: #48dfc2;
}

.assistant-message {
    margin-right: auto;

    color: #d8e3f5;
    background: #14243d;

    border: 1px solid #2f4565;
    border-bottom-left-radius: 4px;
}

.user-message {
    margin-left: auto;

    color: #ffffff;
    background: linear-gradient(135deg, #536ffc, #7257dc);

    border-bottom-right-radius: 4px;
}

.user-message .message-label {
    color: #ffffff;
}

.ai-chat-form {
    padding: 20px;

    border-top: 1px solid #2b3950;
}

.ai-chat-form textarea {
    width: 100%;
    min-height: 40px;
    padding: 14px;

    resize: vertical;

    color: #ffffff;
    background: #101e33;

    border: 1px solid #3b4b65;
    border-radius: 14px;

    font-family: inherit;
    font-size: 16px;
}

.ai-chat-form textarea:focus {
    outline: none;

    border-color: #48dfc2;

    box-shadow: 0 0 0 3px rgba(72, 223, 194, 0.12);
}

.ai-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
    margin-top: 13px;
}

#aiCharacterCount {
    color: #8596ae;
    font-size: 13px;
}

#aiStatus {
    min-height: 24px;
    margin-bottom: 0;

    color: #aab9d0;
}

#aiStatus.error {
    color: #ff9c9c;
}

.loading-dots::after {
    content: "";

    animation: loadingDots 1.2s infinite;
}

@keyframes loadingDots {
    0% {
        content: "";
    }

    33% {
        content: ".";
    }

    66% {
        content: "..";
    }

    100% {
        content: "...";
    }
}

.sr-only {
    position: absolute;

    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;

    overflow: hidden;
    clip: rect(0, 0, 0, 0);

    white-space: nowrap;
    border: 0;
}

@media (max-width: 850px) {
    .ask-ai-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 580px) {
    .chat-messages {
        height: 330px;
    }

    .chat-message {
        max-width: 95%;
    }

    .ai-form-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .ai-form-footer .button {
        width: 100%;
    }
}

.textarea-wrapper{
    position:relative;
}

.visitor-info{

    position:absolute;

    top:14px;
    left:18px;

    color:#8fa7c5;
    font-size:13px;

    z-index:2;

    pointer-events:none;

    transition:.25s;
}

#aiPrompt{

    padding-top:10px;
}