* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #38bdf8;
    --secondary-color: #f97316;
    --accent-color: #22c55e;
    --hot-color: #e879f9;
    --dark-bg: #070a12;
    --panel-bg: rgba(15, 23, 42, 0.72);
    --panel-strong: rgba(15, 23, 42, 0.92);
    --light-text: #f8fafc;
    --muted-text: #a6b0c3;
    --border-color: rgba(148, 163, 184, 0.2);
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background:
        radial-gradient(circle at 12% 8%, rgba(56, 189, 248, 0.18), transparent 30%),
        radial-gradient(circle at 88% 14%, rgba(249, 115, 22, 0.16), transparent 28%),
        linear-gradient(180deg, #070a12 0%, #0b1020 46%, #070a12 100%);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 70%);
    z-index: -1;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 22px;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(7, 10, 18, 0.82);
    backdrop-filter: blur(18px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 74px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: 0;
}

.logo-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #06121d;
    background: linear-gradient(135deg, var(--primary-color), #facc15, var(--secondary-color));
    box-shadow: 0 14px 36px rgba(56, 189, 248, 0.25);
    font-size: 13px;
    font-weight: 900;
}

.logo-text,
.highlight {
    background: linear-gradient(135deg, #e0f2fe, var(--primary-color), #facc15, var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--muted-text);
    text-decoration: none;
    font-weight: 650;
    transition: color 0.25s;
    position: relative;
}

.nav-link:hover {
    color: var(--light-text);
}

.nav-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -8px;
    left: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.25s;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: var(--light-text);
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

.hero {
    margin-top: 74px;
    min-height: calc(100vh - 74px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(56, 189, 248, 0.16), transparent 40%),
        linear-gradient(245deg, rgba(249, 115, 22, 0.14), transparent 45%);
    z-index: -2;
}

.hero::after {
    content: "";
    position: absolute;
    width: min(1000px, 92vw);
    height: min(1000px, 92vw);
    border: 1px solid rgba(56, 189, 248, 0.18);
    border-radius: 999px;
    right: -18vw;
    top: -20vw;
    box-shadow: inset 0 0 90px rgba(56, 189, 248, 0.06);
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
    gap: 56px;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1180px;
    padding: 54px 22px 80px;
}

.hero-text {
    min-width: 0;
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 20px;
    padding: 8px 14px;
    border: 1px solid rgba(56, 189, 248, 0.32);
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.08);
    color: #bae6fd;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.hero-title {
    font-size: clamp(42px, 6vw, 78px);
    font-weight: 900;
    margin-bottom: 24px;
    line-height: 0.98;
    letter-spacing: 0;
    max-width: 100%;
    overflow-wrap: break-word;
}

.title-line {
    display: block;
}

.hero-subtitle {
    max-width: 650px;
    font-size: 19px;
    color: var(--muted-text);
    margin-bottom: 34px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 26px;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #03121a;
    box-shadow: 0 18px 42px rgba(34, 197, 94, 0.18);
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-3px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--light-text);
    border: 1px solid var(--border-color);
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 34px;
    max-width: 620px;
}

.hero-metrics div {
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.56);
}

.hero-metrics strong {
    display: block;
    font-size: 26px;
    color: #facc15;
}

.hero-metrics span {
    display: block;
    color: var(--muted-text);
    font-size: 13px;
}

.hero-animation {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.showcase-card {
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(8, 13, 25, 0.78));
    box-shadow: var(--shadow), 0 0 80px rgba(56, 189, 248, 0.12);
}

.main-showcase {
    width: min(430px, 100%);
    aspect-ratio: 0.86;
    border-radius: 28px;
    padding: 22px;
    transform: rotate(-3deg);
}

.showcase-topbar {
    display: flex;
    gap: 8px;
    margin-bottom: 28px;
}

.showcase-topbar span {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--primary-color);
}

.showcase-topbar span:nth-child(2) {
    background: #facc15;
}

.showcase-topbar span:nth-child(3) {
    background: var(--secondary-color);
}

.dashboard-lines {
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
}

.dashboard-lines i {
    display: block;
    height: 13px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(56, 189, 248, 0.75), rgba(255, 255, 255, 0.08));
}

.dashboard-lines i:nth-child(2) {
    width: 78%;
    background: linear-gradient(90deg, rgba(34, 197, 94, 0.75), rgba(255, 255, 255, 0.08));
}

.dashboard-lines i:nth-child(3) {
    width: 58%;
    background: linear-gradient(90deg, rgba(249, 115, 22, 0.75), rgba(255, 255, 255, 0.08));
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    height: 260px;
}

.chart-card {
    min-height: 120px;
    border-radius: 20px;
    background:
        linear-gradient(180deg, transparent 25%, rgba(255, 255, 255, 0.06) 25% 26%, transparent 26% 50%, rgba(255, 255, 255, 0.06) 50% 51%, transparent 51%),
        linear-gradient(135deg, rgba(56, 189, 248, 0.16), rgba(34, 197, 94, 0.09));
    border: 1px solid rgba(148, 163, 184, 0.16);
}

.chart-card.tall {
    grid-row: span 2;
    background:
        linear-gradient(to top, rgba(56, 189, 248, 0.8) 0 24%, transparent 24%),
        linear-gradient(to top, rgba(34, 197, 94, 0.7) 0 44%, transparent 44%),
        linear-gradient(to top, rgba(249, 115, 22, 0.7) 0 66%, transparent 66%),
        rgba(255, 255, 255, 0.05);
    background-size: 25% 100%, 25% 100%, 25% 100%, 100% 100%;
    background-position: 18% 0, 50% 0, 82% 0, 0 0;
    background-repeat: no-repeat;
}

.chart-card.glow {
    box-shadow: inset 0 0 30px rgba(232, 121, 249, 0.2);
}

.orbit-card {
    position: absolute;
    padding: 13px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(7, 10, 18, 0.78);
    color: var(--light-text);
    font-weight: 850;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
    animation: float 5s ease-in-out infinite;
}

.orbit-one {
    top: 52px;
    right: 6px;
}

.orbit-two {
    left: -8px;
    bottom: 96px;
    animation-delay: -1.5s;
}

.orbit-three {
    right: 34px;
    bottom: 34px;
    animation-delay: -0.7s;
}

.scroll-indicator {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.scroll-dot {
    width: 28px;
    height: 44px;
    border: 2px solid rgba(56, 189, 248, 0.45);
    border-radius: 999px;
    position: relative;
}

.scroll-dot::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 3px;
    left: 50%;
    top: 9px;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

section {
    position: relative;
}

.services,
.portfolio,
.clients,
.about,
.testimonials,
.contact {
    padding: 104px 0;
}

.services,
.clients,
.contact {
    background: rgba(255, 255, 255, 0.018);
    border-block: 1px solid rgba(148, 163, 184, 0.08);
}

.section-title {
    font-size: clamp(34px, 4.4vw, 54px);
    font-weight: 900;
    text-align: center;
    margin-bottom: 16px;
    line-height: 1.05;
    letter-spacing: 0;
}

.section-subtitle {
    max-width: 760px;
    margin: 0 auto 58px;
    text-align: center;
    color: var(--muted-text);
    font-size: 18px;
}

.services-grid,
.portfolio-grid,
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.service-card,
.portfolio-item,
.testimonial-card,
.stat,
.industry-grid div,
.client-logo {
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.18);
}

.service-card {
    min-height: 245px;
    border-radius: 18px;
    padding: 30px;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.service-card:hover,
.portfolio-item:hover,
.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: rgba(56, 189, 248, 0.6);
    box-shadow: 0 28px 70px rgba(56, 189, 248, 0.1);
}

.service-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border-radius: 16px;
    color: #06121d;
    background: linear-gradient(135deg, var(--primary-color), #facc15);
    font-size: 17px;
    font-weight: 900;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.service-card p,
.portfolio-info p,
.about-text p,
.testimonial-card p,
.footer-section p {
    color: var(--muted-text);
}

.portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portfolio-item {
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.portfolio-image {
    height: 245px;
    overflow: hidden;
    position: relative;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 26px;
    font-size: 24px;
    font-weight: 900;
    color: white;
    transition: transform 0.35s;
    position: relative;
}

.placeholder-image::before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 18px;
}

.placeholder-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(140deg, transparent 50%, rgba(255, 255, 255, 0.28) 50% 51%, transparent 51%),
        linear-gradient(to top, rgba(7, 10, 18, 0.34), transparent);
}

.placeholder-image span {
    position: relative;
    z-index: 2;
    max-width: 80%;
}

.portfolio-item:hover .placeholder-image {
    transform: scale(1.04);
}

.portfolio-info {
    padding: 28px;
}

.portfolio-info h3 {
    margin-bottom: 10px;
    font-size: 22px;
}

.tech-tags {
    display: inline-block;
    color: #bae6fd;
    background: rgba(56, 189, 248, 0.11);
    border: 1px solid rgba(56, 189, 248, 0.24);
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.client-strip {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 26px;
}

.client-logo {
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px;
    border-radius: 16px;
    color: var(--light-text);
    font-weight: 900;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.industry-grid div {
    border-radius: 16px;
    padding: 22px;
}

.industry-grid strong,
.industry-grid span {
    display: block;
}

.industry-grid strong {
    font-size: 18px;
    margin-bottom: 8px;
}

.industry-grid span {
    color: var(--muted-text);
    font-size: 14px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 60px;
    align-items: center;
}

.about-text .section-title {
    text-align: left;
}

.about-text p {
    margin-bottom: 22px;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 34px;
}

.stat {
    padding: 24px;
    border-radius: 18px;
    border-left: 4px solid var(--secondary-color);
}

.stat h3 {
    font-size: 34px;
    color: #facc15;
    margin-bottom: 4px;
}

.stat p {
    margin: 0;
}

.tech-stack-display {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.035);
}

.tech-item {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.18), rgba(34, 197, 94, 0.12));
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 16px;
    text-align: center;
    font-weight: 900;
    transition: transform 0.25s, background 0.25s;
}

.tech-item:hover {
    transform: translateY(-4px);
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.22), rgba(56, 189, 248, 0.16));
}

.testimonials-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-card {
    border-radius: 18px;
    padding: 30px;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.stars {
    margin-bottom: 15px;
    color: #facc15;
    font-size: 18px;
    letter-spacing: 2px;
}

.testimonial-card p {
    margin-bottom: 22px;
    line-height: 1.8;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    color: var(--light-text);
}

.testimonial-author span {
    color: #7dd3fc;
    font-size: 14px;
}

.contact-mail-card {
    max-width: 820px;
    margin: 56px auto 0;
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    padding: 42px;
    text-align: center;
    box-shadow: var(--shadow);
}

.mail-label {
    color: #bae6fd;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.email-link {
    color: var(--light-text);
    font-size: clamp(24px, 4vw, 44px);
    font-weight: 900;
    line-height: 1.1;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.email-link:hover {
    color: var(--primary-color);
}

.contact-mail-card p {
    max-width: 620px;
    color: var(--muted-text);
}

.footer {
    background: rgba(5, 8, 15, 0.94);
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    padding: 58px 0 28px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 40px;
    margin-bottom: 34px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 14px;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--muted-text);
    text-decoration: none;
    transition: color 0.25s;
    display: block;
    margin-bottom: 10px;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s, background 0.25s;
}

.social-icon:hover {
    background: rgba(56, 189, 248, 0.16);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    color: var(--muted-text);
    padding-top: 28px;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-16px);
    }
}

@keyframes shimmer {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.76;
    }
}

@keyframes scroll {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(18px);
        opacity: 0;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-34px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(34px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 940px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 74px;
        left: 16px;
        right: 16px;
        padding: 12px;
        border: 1px solid var(--border-color);
        border-radius: 18px;
        background: rgba(7, 10, 18, 0.98);
        gap: 0;
        box-shadow: var(--shadow);
    }

    .nav-menu.active li {
        padding: 12px 10px;
    }

    .hero-content,
    .about-content {
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding-top: 42px;
    }

    .hero-animation {
        min-height: 420px;
    }

    .services-grid,
    .testimonials-grid,
    .client-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .portfolio-grid,
    .industry-grid {
        grid-template-columns: 1fr;
    }

    .about-text .section-title {
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .container,
    .nav-container,
    .hero-content {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero {
        min-height: auto;
    }

    .hero-title {
        font-size: 32px;
        line-height: 1.04;
    }

    .hero-text,
    .hero-title,
    .hero-subtitle {
        width: min(100%, 340px);
        max-width: calc(100vw - 32px);
    }

    .hero-subtitle,
    .section-subtitle {
        font-size: 16px;
    }

    .hero-buttons,
    .hero-metrics,
    .services-grid,
    .testimonials-grid,
    .client-strip,
    .stats,
    .tech-stack-display {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        display: grid;
    }

    .btn {
        width: 100%;
    }

    .hero-animation {
        min-height: 360px;
        width: min(100%, 340px);
        justify-self: center;
        overflow: hidden;
    }

    .main-showcase {
        transform: none;
        width: min(330px, 100%);
    }

    .orbit-card {
        display: none;
    }

    .portfolio-image {
        height: 220px;
    }

    .placeholder-image {
        font-size: 20px;
    }

    .services,
    .portfolio,
    .clients,
    .about,
    .testimonials,
    .contact {
        padding: 74px 0;
    }

    .contact-mail-card {
        padding: 30px 18px;
    }
}
