* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #050706;
    color: #ffffff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

#matrixCanvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: #050706;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 20% 18%, rgba(53, 230, 189, 0.17), transparent 30%),
        radial-gradient(circle at 80% 40%, rgba(53, 230, 189, 0.10), transparent 35%),
        radial-gradient(circle at 50% 90%, rgba(53, 230, 189, 0.08), transparent 40%),
        linear-gradient(180deg, rgba(5, 7, 6, 0.72), rgba(5, 7, 6, 0.96));
    z-index: 1;
    pointer-events: none;
}

.navbar,
section,
footer {
    position: relative;
    z-index: 2;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(5, 7, 6, 0.78);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 50;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 4px;
}

.logo img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 0 28px rgba(53, 230, 189, 0.45);
}

.logo .green,
.footer-logo .green,
h2 span {
    color: #35e6bd;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 4px;
}

.footer-logo img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 0 28px rgba(53, 230, 189, 0.35);
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: #bfc4c2;
    font-size: 15px;
    transition: 0.3s ease;
}

nav a:hover {
    color: #35e6bd;
}

.nav-btn,
.btn {
    padding: 14px 26px;
    border-radius: 40px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

.primary,
.nav-btn {
    background: linear-gradient(135deg, #35e6bd, #39d6ec);
    color: #03100d;
    box-shadow: 0 15px 40px rgba(53, 230, 189, 0.22);
}

.primary:hover,
.nav-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 60px rgba(53, 230, 189, 0.35);
}

.secondary {
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: white;
    background: rgba(255, 255, 255, 0.03);
}

.secondary:hover {
    border-color: #35e6bd;
    color: #35e6bd;
    transform: translateY(-3px);
}

.hero {
    min-height: 100vh;
    padding: 150px 8% 80px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    color: white;
    font-weight: 700;
    margin-bottom: 32px;
}

.pill span {
    width: 10px;
    height: 10px;
    background: #35e6bd;
    border-radius: 50%;
    box-shadow: 0 0 18px #35e6bd;
}

.hero h1 {
    font-size: clamp(44px, 7vw, 88px);
    line-height: 0.95;
    letter-spacing: -3px;
    max-width: 900px;
    margin-bottom: 28px;
}

.typing-text {
    display: block;
    color: #35e6bd;
    min-height: 92px;
    margin-top: 8px;
}

.typing-text::after {
    content: "";
    display: inline-block;
    width: 4px;
    height: 0.9em;
    background: #35e6bd;
    margin-left: 8px;
    animation: blink 0.8s infinite;
    vertical-align: -6px;
}

.hero-content > p {
    max-width: 640px;
    color: #b8c1be;
    font-size: 20px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 640px;
    gap: 28px;
    margin-top: 70px;
}

.stats h3 {
    font-size: 38px;
    color: #35e6bd;
}

.stats p {
    color: #a7b0ad;
    margin-top: 6px;
}

.visual {
    min-height: 520px;
    position: relative;
    display: grid;
    place-items: center;
}

.orb {
    width: 330px;
    height: 330px;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(53, 230, 189, 0.75) 0%, rgba(28, 116, 96, 0.4) 30%, rgba(0, 0, 0, 0) 70%);
    box-shadow:
        0 0 90px rgba(53, 230, 189, 0.25),
        inset 0 0 80px rgba(53, 230, 189, 0.18);
    animation: orbPulse 4s ease-in-out infinite alternate;
}

.ring {
    position: absolute;
    border: 1px solid rgba(53, 230, 189, 0.15);
    border-radius: 50%;
}

.ring-one {
    width: 430px;
    height: 430px;
    animation: rotate 18s linear infinite;
}

.ring-two {
    width: 520px;
    height: 520px;
    animation: rotateReverse 26s linear infinite;
}

.floating-icon {
    position: absolute;
    width: 74px;
    height: 74px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    display: grid;
    place-items: center;
    font-size: 28px;
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.45);
    animation: float 3.8s ease-in-out infinite;
}

.icon-one {
    top: 65px;
    left: 70px;
}

.icon-two {
    top: 80px;
    right: 55px;
    animation-delay: 0.5s;
}

.icon-three {
    bottom: 80px;
    left: 90px;
    animation-delay: 1s;
}

.icon-four {
    bottom: 95px;
    right: 75px;
    animation-delay: 1.5s;
}

.icon-five {
    top: 45%;
    left: 48%;
    animation-delay: 2s;
}

.section {
    padding: 115px 8%;
    text-align: center;
    background: rgba(5, 7, 6, 0.72);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.section-label {
    color: #35e6bd;
    letter-spacing: 7px;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 18px;
}

.section h2,
.chatbot-demo h2,
.contact-section h2 {
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.section-desc,
.chat-content > p,
.contact-section > p {
    max-width: 720px;
    margin: 0 auto;
    color: #aeb7b4;
    font-size: 19px;
    line-height: 1.7;
}

.services-grid,
.portfolio-grid,
.process-grid {
    margin-top: 65px;
    display: grid;
    gap: 26px;
    grid-template-columns: repeat(3, 1fr);
}

.card,
.project-card,
.process-card,
.contact-card,
.chat-window {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018));
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 30px;
    padding: 34px;
    text-align: left;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.card::before,
.project-card::before,
.process-card::before,
.contact-card::before {
    content: "";
    position: absolute;
    left: var(--x, 50%);
    top: var(--y, 50%);
    width: 220px;
    height: 220px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(53, 230, 189, 0.18), transparent 68%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}

.card:hover::before,
.project-card:hover::before,
.process-card:hover::before,
.contact-card:hover::before {
    opacity: 1;
}

.card > *,
.project-card > *,
.process-card > *,
.contact-card > * {
    position: relative;
    z-index: 2;
}

.card:hover,
.project-card:hover,
.process-card:hover,
.contact-card:hover {
    transform: translateY(-10px);
    border-color: rgba(53, 230, 189, 0.5);
    box-shadow: 0 30px 80px rgba(53, 230, 189, 0.1);
}

.card-icon,
.project-icon,
.contact-card div {
    width: 62px;
    height: 62px;
    background: linear-gradient(135deg, #35e6bd, #35d6e6);
    color: #03100d;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 27px;
    margin-bottom: 30px;
}

.card h3,
.project-card h3,
.process-card h3 {
    font-size: 25px;
    margin-bottom: 14px;
}

.card p,
.project-card p,
.process-card p {
    color: #aeb7b4;
    line-height: 1.7;
    font-size: 17px;
}

.project-card {
    min-height: 330px;
    display: flex;
    flex-direction: column;
}

.project-card span {
    color: #35e6bd;
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 900;
    margin-bottom: 12px;
}

.project-card a,
.project-link {
    display: inline-block;
    width: fit-content;
    margin-top: auto;
    color: #35e6bd;
    font-weight: 900;
    cursor: pointer;
    position: relative;
    z-index: 9999;
    pointer-events: auto;
}

.project-link:hover {
    color: #ffffff;
}

.process-section {
    background:
        radial-gradient(circle at center, rgba(53, 230, 189, 0.08), transparent 35%),
        rgba(5, 7, 6, 0.72);
}

.process-card span {
    color: #35e6bd;
    font-size: 72px;
    font-weight: 900;
    letter-spacing: -4px;
}

.chatbot-demo {
    padding: 115px 8%;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
    align-items: center;
    background:
        linear-gradient(180deg, rgba(5, 7, 6, 0.86), rgba(8, 17, 15, 0.88)),
        radial-gradient(circle at right, rgba(53, 230, 189, 0.15), transparent 35%);
}

.chat-content ul {
    list-style: none;
    margin-top: 32px;
}

.chat-content li {
    margin-bottom: 18px;
    font-size: 18px;
    font-weight: 800;
}

.chat-window {
    padding: 34px;
    background: rgba(13, 27, 23, 0.9);
    border-color: rgba(53, 230, 189, 0.22);
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 22px;
    margin-bottom: 26px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.chat-logo-img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 50%;
    border: 1px solid rgba(53, 230, 189, 0.3);
    box-shadow: 0 0 25px rgba(53, 230, 189, 0.25);
}

.chat-header p {
    color: #35e6bd;
    margin-top: 5px;
}

.chat-header span {
    display: inline-block;
    width: 9px;
    height: 9px;
    background: #35e6bd;
    border-radius: 50%;
    margin-right: 5px;
}

.message {
    max-width: 75%;
    padding: 18px 20px;
    border-radius: 22px;
    margin-bottom: 18px;
    line-height: 1.5;
    font-weight: 700;
}

.bot {
    background: rgba(255, 255, 255, 0.055);
}

.user {
    background: #35e6bd;
    color: #03100d;
    margin-left: auto;
}

.chat-input {
    margin-top: 26px;
    padding: 14px 14px 14px 22px;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #aeb7b4;
}

.chat-input button {
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #35e6bd;
    color: #03100d;
    font-size: 22px;
    cursor: pointer;
}

.contact-section {
    padding: 115px 8%;
    text-align: center;
    background:
        radial-gradient(circle at center, rgba(53, 230, 189, 0.16), transparent 40%),
        rgba(6, 16, 13, 0.86);
}

.contact-cards {
    margin: 60px auto 45px;
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.contact-card {
    min-height: 240px;
    word-break: break-word;
}

.contact-card span {
    display: block;
    color: #8d9693;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.big-btn {
    font-size: 18px;
    padding: 18px 34px;
}

footer {
    padding: 45px 8%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(5, 7, 6, 0.88);
}

footer p {
    margin-top: 14px;
    color: #8d9693;
}

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: 0.8s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }

    51%, 100% {
        opacity: 0;
    }
}

@keyframes orbPulse {
    from {
        transform: scale(0.95);
        opacity: 0.75;
    }

    to {
        transform: scale(1.06);
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-18px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes rotateReverse {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

@media (max-width: 1100px) {
    .hero,
    .chatbot-demo {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .portfolio-grid,
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .visual {
        min-height: 430px;
    }
}

@media (max-width: 760px) {
    .navbar {
        padding: 18px 6%;
    }

    nav {
        display: none;
    }

    .logo {
        font-size: 20px;
    }

    .logo img {
        width: 38px;
        height: 38px;
    }

    .nav-btn {
        padding: 12px 18px;
        font-size: 14px;
    }

    .hero {
        padding: 135px 6% 70px;
    }

    .hero h1 {
        letter-spacing: -1.5px;
    }

    .typing-text {
        min-height: 55px;
    }

    .hero-content > p,
    .section-desc,
    .chat-content > p,
    .contact-section > p {
        font-size: 17px;
    }

    .stats,
    .services-grid,
    .portfolio-grid,
    .process-grid,
    .contact-cards {
        grid-template-columns: 1fr;
    }

    .section,
    .chatbot-demo,
    .contact-section {
        padding: 85px 6%;
    }

    .visual {
        min-height: 360px;
    }

    .orb {
        width: 240px;
        height: 240px;
    }

    .ring-one {
        width: 310px;
        height: 310px;
    }

    .ring-two {
        width: 360px;
        height: 360px;
    }

    .floating-icon {
        width: 58px;
        height: 58px;
        font-size: 22px;
    }

    .icon-one {
        top: 40px;
        left: 25px;
    }

    .icon-two {
        top: 45px;
        right: 25px;
    }

    .icon-three {
        bottom: 45px;
        left: 35px;
    }

    .icon-four {
        bottom: 55px;
        right: 30px;
    }

    .icon-five {
        top: 45%;
        left: 45%;
    }

    .message {
        max-width: 92%;
    }
}
