:root {
    --bg: #080c10;
    --surface: #0e1520;
    --surface2: #131b28;
    --accent: #00e5ff;
    --accent2: #7b61ff;
    --accent3: #00ff9d;
    --text: #e8edf5;
    --muted: #8a97aa;
    --border: rgba(255, 255, 255, 0.07);
    --glow: 0 0 40px rgba(0, 229, 255, 0.15);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.7;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(8, 12, 16, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.logo {
    font-family: 'Syne', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo span {
    color: var(--accent);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav a {
    text-decoration: none;
    color: var(--muted);
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--accent);
}

.nav-cta {
    background: var(--accent);
    color: #000;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: var(--glow);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--accent);
    margin: 5px 0;
    transition: 0.3s;
}


/* ─── HERO ─── */
#home {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 5vw 6rem;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 70% 60% at 80% 30%, rgba(0, 229, 255, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 20% 80%, rgba(123, 97, 255, 0.07) 0%, transparent 60%);
}

.grid-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 820px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.2);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 2rem;
    animation: fadeUp 0.8s ease both;
}

.hero-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.7);
    }
}

h1 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.04em;
    animation: fadeUp 0.8s 0.1s ease both;
}

h1 .highlight {
    background: linear-gradient(120deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--muted);
    max-width: 560px;
    margin-top: 1.5rem;
    font-weight: 300;
    line-height: 1.8;
    animation: fadeUp 0.8s 0.2s ease both;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
    animation: fadeUp 0.8s 0.3s ease both;
}

.btn-primary {
    background: var(--accent);
    color: #000;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 0 24px rgba(0, 229, 255, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 36px rgba(0, 229, 255, 0.4);
}

.btn-ghost {
    border: 1px solid var(--border);
    color: var(--text);
    padding: 0.85rem 2rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
    animation: fadeUp 0.8s 0.4s ease both;
}

.stat-num {
    font-family: 'Syne', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
}

.stat-num span {
    color: var(--accent);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 0.2rem;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* ─── SECTIONS ─── */
section {
    padding: 7rem 5vw;
}

.section-tag {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}

h2 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.section-intro {
    color: var(--muted);
    max-width: 560px;
    font-size: 1.05rem;
    font-weight: 300;
    margin-top: 1rem;
    line-height: 1.8;
}

/* ─── ABOUT ─── */
#about {
    background: var(--surface);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-top: 4rem;
}

.about-visual {
    position: relative;
    background: linear-gradient(135deg, var(--surface2), #0a0f1a);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 3rem;
    overflow: hidden;
}

.about-visual::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.15), transparent 70%);
    border-radius: 50%;
}

.about-visual-inner {
    position: relative;
    z-index: 1;
}

.about-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.about-visual h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.about-visual p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.mv-card {
    background: rgba(0, 229, 255, 0.04);
    border: 1px solid rgba(0, 229, 255, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
}

.mv-card h4 {
    font-family: 'Syne', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.mv-card p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.7;
}

/* ─── SERVICES ─── */
#services {
    background: var(--bg);
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 2.5rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    cursor: default;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.05), transparent);
    transition: opacity 0.3s;
}

.service-card:hover {
    border-color: rgba(0, 229, 255, 0.25);
    transform: translateY(-4px);
    box-shadow: var(--glow);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.service-card p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.8;
}

.service-list {
    margin-top: 1.5rem;
    list-style: none;
}

.service-list li {
    font-size: 0.85rem;
    color: var(--muted);
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.service-list li::before {
    content: '→';
    color: var(--accent);
    font-size: 0.75rem;
}

.service-list li:last-child {
    border-bottom: none;
}

/* icon backgrounds */
.ic-blue {
    background: rgba(0, 229, 255, 0.1);
}

.ic-purple {
    background: rgba(123, 97, 255, 0.1);
}

.ic-green {
    background: rgba(0, 255, 157, 0.1);
}

.ic-orange {
    background: rgba(255, 160, 0, 0.1);
}

.ic-pink {
    background: rgba(255, 80, 150, 0.1);
}

.ic-teal {
    background: rgba(0, 210, 180, 0.1);
}

/* ─── AUTOMATION BANNER ─── */
.automation-banner {
    background: linear-gradient(135deg, rgba(123, 97, 255, 0.12), rgba(0, 229, 255, 0.06));
    border: 1px solid rgba(123, 97, 255, 0.2);
    border-radius: 20px;
    padding: 4rem;
    margin: 0 5vw;
    position: relative;
    overflow: hidden;
}

.automation-banner::after {
    content: 'AUTOMATE';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Syne', sans-serif;
    font-size: 8rem;
    font-weight: 800;
    color: rgba(123, 97, 255, 0.06);
    letter-spacing: -0.05em;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

.automation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.automation-features {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 2rem;
}

.auto-feat {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid var(--border);
}

.auto-feat-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.auto-feat h4 {
    font-family: 'Syne', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.auto-feat p {
    font-size: 0.85rem;
    color: var(--muted);
}

/* ─── PROJECTS ─── */
#projects {
    background: var(--surface);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.project-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s;
}

.project-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 229, 255, 0.2);
}

.project-thumb {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    position: relative;
    overflow: hidden;
}

.project-body {
    padding: 1.8rem;
}

.project-tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.6rem;
}

.project-body h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.project-body p {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.7;
}

.project-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.project-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    padding: 0.4rem 0.9rem;
    border: 1px solid rgba(0, 229, 255, 0.25);
    border-radius: 6px;
    transition: all 0.2s;
}

.project-link:hover {
    background: rgba(0, 229, 255, 0.1);
}

/* ─── WHY US ─── */
#why {
    background: var(--bg);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.why-card {
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: all 0.3s;
}

.why-card:hover {
    border-color: rgba(0, 229, 255, 0.2);
    background: var(--surface);
}

.why-num {
    font-family: 'Syne', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(0, 229, 255, 0.12);
    margin-bottom: 1rem;
}

.why-card h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.why-card p {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.7;
}

/* ─── CONTACT ─── */
#contact {
    background: var(--surface);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 5rem;
    margin-top: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.contact-item-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: rgba(0, 229, 255, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item h4 {
    font-family: 'Syne', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.3rem;
}

.contact-item p {
    font-size: 0.9rem;
    color: var(--text);
}

.contact-item a {
    color: var(--accent);
    text-decoration: none;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea,
.form-group select {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.85rem 1rem;
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--muted);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.form-group select option {
    background: var(--bg);
}

.btn-submit {
    background: var(--accent);
    color: #000;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-family: 'Syne', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 0 24px rgba(0, 229, 255, 0.25);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 36px rgba(0, 229, 255, 0.4);
}

/* ─── FOOTER ─── */
footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 4rem 5vw 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-top: 1rem;
    max-width: 300px;
}

.footer-col h4 {
    font-family: 'Syne', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 1.2rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-col ul a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-col ul a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--muted);
    font-size: 0.85rem;
}

.footer-bottom a {
    color: var(--muted);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--accent);
}

/* ─── MOBILE HAMBURGER ─── */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    transition: all 0.3s;
}

@media (max-width: 900px) {
    nav {
        flex-wrap: wrap;
        padding: 1.2rem 5%;
    }

    nav ul {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        background: var(--surface);
        border-top: 1px solid var(--border);
        padding: 0.5rem 0 1rem;
        order: 3;
    }

    nav ul.nav-open {
        display: flex;
    }

    nav ul li {
        width: 100%;
    }

    nav ul a {
        display: block;
        padding: 0.85rem 0;
        font-size: 1rem;
        border-bottom: 1px solid var(--border);
        width: 100%;
    }

    nav ul li:last-child a {
        border-bottom: none;
    }

    .nav-cta {
        background: none !important;
        color: var(--accent) !important;
        padding: 0.85rem 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .hamburger {
        display: block;
    }

    .hamburger.is-open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.is-open span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .hamburger.is-open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .about-grid,
    .contact-grid,
    .automation-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .services-grid,
    .projects-grid {
        grid-template-columns: 1fr 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .automation-banner::after {
        display: none;
    }

    .hero-stats {
        gap: 1.5rem;
    }
}

@media (max-width: 600px) {

    .services-grid,
    .projects-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .mv-grid {
        grid-template-columns: 1fr;
    }
}