* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 10px;
    background: #ffffff;
    color: #0f172a;
    padding: 10px 14px;
    border-radius: 8px;
    z-index: 1000;
}

.skip-link:focus {
    left: 10px;
}

a:focus,
button:focus {
    outline: 3px solid #4f46e5;
    outline-offset: 3px;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: 
        radial-gradient(circle at top left, rgba(124, 58,237, 0.25), transparent 32%),
        radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.22), transparent 30%),
        #f8fafc;
    color: #0f172a;
    line-height: 1.6;
    overflow-x: hidden;
}

.background-shape {
    position: fixed;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.35;
    z-index: -1;
}

.shape-one {
    top: 90px;
    left: -80px;
    background: #8b5cf6;
}

.shape-two {
    right: -70px;
    bottom: 100px;
    background: #38bdf8;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 29px 0 70px;
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    margin-bottom: 45px;
}

.logo {
    font-weight: 800;
    letter-spacing: -0.5px;
    font-size: 20px;
}

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

.nav-links a {
    text-decoration: none;
    color: #475569;
    padding: 8px 14px;
    border-radius: 999px;
    transition: 0.25s ease;
}

.nav-links a:hover {
    color: #4f46e5;
    background: rgba(255, 255, 255, 0.7);
}

.hero {
   display: grid;
   grid-template-columns: 1.5fr 1fr;
   gap: 30px;
   align-items: center;
   min-height: 470px;
   margin-bottom: 45px;
}

.hero-text {
    padding: 55px;
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.tagline,
.section-label {
    color: #4f46e5;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 13px;
    margin-bottom: 10px;
}

h1 {
    font-size: clamp(44px, 7vw, 76px);
    line-height: 0.95;
    letter-spacing: -3px;
    margin: 0 0 24px;
    color: #0f172a;
}

.intro {
    max-width: 620px;
    font-size: 18px;
    color: #475569;
    margin-bottom: 30px;
}

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

.primary-button,
.secondary-button {
    display: inline-block;
    text-decoration: none;
    padding: 13px 20px;
    border-radius: 999px;
    font-weight: 700;
    transition: 0.25s ease;
}

.primary-button {
    background: #4f46e5;
    color: white;
    box-shadow: 0 14px 30px rgba(79, 70, 229, 0.28);
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(79, 70, 229, 0.35);
}

.secondary-button {
    color: #334155;
    background: white;
}

.secondary-button:hover {
    transform: translateY(-3px);
    color: #4f46e5;
}

.profile-card {
    position: relative;
    overflow: hidden;
    padding: 35px;
    border-radius: 34px;
    color: white;
    background: linear-gradient(145deg, #4f46e5, #7c3aed, #0ea5e9);
    min-height: 360px;
    box-shadow: 0 24px 70px rgba(79, 70, 229, 0.25);
}

.profile-card::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -50px;
    top: -40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
}

.profile-card::after {
    content: "";
    position: absolute;
    width: 120px;
    height:120px;
    left:-40px;
    bottom:-35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
}

.profile-circle {
    width: 86px;
    height:86px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 34px;
    background: rgba(255, 255, 255, 0.18);
    margin-bottom: 70px;
    border: 1px solid rgba(255, 255, 255, 0.28)
}

.profile-card .card-title {
    position: relative;
    font-size: 28px;
    margin: 0 0 10px;
}

.profile-card p {
    position: relative;
    color: rgba(255, 255, 255, 0.84);
}

.mini-stats {
    position: relative;
    display: flex;
    gap: 15px;
    margin-top: 28px;
}

.mini-stats div {
    flex: 1;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.16);
}

.mini-stats strong {
    display: block;
    font-size: 22px;
}

.mini-stats span {
    font-size: 13px;
    opacity: 0.8;
}


.glass-card {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(18px);
    padding: 36px;
    border-radius: 28px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
    margin-bottom: 50px
}

h2 {
    font-size: 36px;
    line-height: 1;
    margin: 0 0 18px;
    letter-spacing: -1.2px;
}

.about p:last-child {
    max-width: 760px;
    color: #475569;
    font-size: 17px;
}

.work {
    margin-top: 20px;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 24px;
}

.work-card {
    position: relative;
    min-height: 230px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    padding: 26px;
    border-radius: 28px;
    color: #0f172a;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 15px 38px rgba(15, 23, 42, 0.07);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    overflow: hidden;
}

.work-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), transparent 45%);
    opacity: 0;
    transition: 0.28s ease;
}

.work-card:hover::before {
    opacity: 1;
}

.work-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.13);
    border-color: rgba(79, 70, 229, 0.35);
}

.number {
    position: relative;
    font-weight: 800;
    font-size: 14px;
}

.work-card h3 {
    position: relative;
    font-size: 25px;
    margin: 30px 0 8px;
    letter-spacing: -0.7px;
}

.work-card p {
    position: relative;
    color: #64748b;
    margin: 0;
}

.arrow {
    position: absolute;
    right: 24px;
    bottom: 20px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f1f5f9;
    color: #4f46e5;
    font-size: 22px;
    transition: 0.25s ease;
}

.work-card:hover  .arrow {
    background: #4f46e5;
    color: white;
    transform: translateX(3px);
}

.featured {
    background: linear-gradient(145deg, #111827, #312e81);
    color: white;
}

.featured .number,
.featured h3,
.featured p {
    color: white;
}

.featured .arrow {
    background: rgba(255, 255, 255, 0.16);
    color: white;
}


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

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

    .hero-text {
        padding: 38px;
    }
}

@media (max-width: 600px) {
    .container {
        width: 92%;
        padding-top: 18px;
    }

    .navbar {
        align-items: flex-start;
        gap: 16px;
        flex-direction: column;
    }

    .hero-text {
        padding: 30px;
    }

    h1 {
        letter-spacing: -1.8px;
    }

    .work-grid {
        grid-template-columns: 1fr;
    }

    .profile-card {
        min-height: 300px;
    }
}

