/* Reset & base */
:root {
    --bg: #0f1724;
    --card: #0b1220;
    --muted: #9aa5b1;
    --accent: #7c5cff;
    --accent-2: #00d4ff;
    --glass: rgba(255, 255, 255, 0.04);
    --radius: 16px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    /* background-color:aquamarine; */
    background-color: dimgray;
    /* background: radial-gradient(1200px 600px at 10% 10%, rgba(124, 92, 255, 0.12), transparent),
                radial-gradient(900px 400px at 90% 90%, rgba(0, 212, 255, 0.06), transparent),
                var(--bg);
            color: #e6eef6; */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none
}

img {
    max-width: 100%;
    display: block
}

/* Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 28px
}

/* Navbar */
.nav {
    position: sticky;
    top: 12px;
    z-index: 40;
    color: aquamarine;
    backdrop-filter: blur(6px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    border-radius: 999px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: space-between
}

.brand {
    display: flex;
    gap: 12px;
    align-items: center
}

.logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    display: grid;
    place-items: center;
    font-weight: 700
}

nav a {
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--muted);
    font-size: 15px
}

nav a:hover {
    color: var(--accent)
}

.cta {
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    padding: 10px 14px;
    border-radius: 12px;
    /* color: #071225; */
    font-weight: 600
}

/* Hero */
.hero {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 28px;
    align-items: center;
    padding: 72px 0
}

.hero-left h1 {
    font-size: 44px;
    margin: 0 0 10px
}

.hero-left p {
    color: white;
    margin: 0 0 18px;
    font-size: 16px
}

.type-words {
    color: transparent;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    font-weight: 700
}

/* Animated blob */
.hero-right {
    position: relative
}

.blob {
    width: 420px;
    height: 320px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(124, 92, 255, 0.18), rgba(0, 212, 255, 0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    backdrop-filter: blur(6px)
}

.device-mock {
    width: 100%;
    height: 100%;
    border-radius: 14px;
    background: linear-gradient(120deg, #06121b, #0b1b2b);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden
}

.mock-screen {
    position: absolute;
    inset: 24px;
    border-radius: 10px;
    display: grid;
    grid-template-rows: auto 1fr;
    padding: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent)
}

.mock-header {
    height: 42px;
    align-items: center;
    display: flex;
    gap: 8px
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.06)
}

.mock-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px
}

.mock-card {
    height: 80px;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600
}

/* Section titles */
.section {
    padding: 72px 0
}

.section h2 {
    font-size: 22px;
    margin: 0 0 18px
}

.muted {
    color: white;
}

/* Portfolio grid */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    padding: 18px;
    border-radius: 16px;
    position: relative;
    overflow: visible;
    transform-style: preserve-3d;
    transition: transform .35s cubic-bezier(.2, .9, .3, 1), box-shadow .35s
}

.card:hover {
    transform: translateY(-10px) rotateX(6deg) rotateY(-6deg);
    box-shadow: 0 30px 60px rgba(2, 6, 23, 0.7)
}

.card img {
    border-radius: 10px;
    height: 160px;
    object-fit: cover;
    width: 100%;
    display: block
}

.card h3 {
    margin: 12px 0 6px;
    font-size: 16px
}

.card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px
}

/* Filters */
.filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px
}

.filter {
    padding: 8px 12px;
    border-radius: 12px;
    background: var(--glass);
    border: 1px solid rgba(255, 255, 255, 0.03);
    cursor: pointer;
    color: var(--muted)
}

.filter.active {
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    color: #071225
}

/* About & contact */
.about {
    /* display: flex; */
    gap: 28px;
    align-items: center
}

.about .me {
    width: 260px;
    border-radius: 16px;
    overflow: hidden
}

.about .bio {
    flex: 1
}

.contact-form {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
    padding: 18px;
    border-radius: 14px
}

.field {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px
}

input,
textarea {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 12px;
    border-radius: 10px;
    color: inherit;
    outline: none
}

input::placeholder,
textarea::placeholder {
    color: var(--muted)
}

button.primary {
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    border: none;
    padding: 12px 16px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer
}

/* Footer */
footer {
    padding: 28px 0;
    color: var(--muted);
    font-size: 14px;
    text-align: center
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: all .7s cubic-bezier(.2, .8, .2, 1)
}

.reveal.show {
    opacity: 1;
    transform: none
}

/* Responsive */
@media (max-width:980px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-right {
        order: -1
    }

    .grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .container {
        padding: 18px
    }
}

@media (max-width:620px) {
    .grid {
        grid-template-columns: 1fr
    }

    nav a {
        display: none
    }

    .nav {
        padding: 8px
    }

    .logo {
        width: 40px;
        height: 40px
    }

    .hero-left h1 {
        font-size: 30px
    }

    .blob {
        width: 100%;
        height: 240px
    }

    .hero {
        padding: 36px 0
    }
}

/* tiny animated underline for links */
.underline {
    position: relative
}

.underline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    border-radius: 3px;
    transition: width .35s
}

.underline:hover::after {
    width: 100%
}

/* Nice focus states */
a:focus,
input:focus,
button:focus {
    outline: 3px solid rgba(124, 92, 255, 0.12);
    outline-offset: 4px
}

:root {
    --bg: #0f1724;
    --muted: #9aa5b1;
    --accent: #7c5cff;
    --accent-2: #00d4ff;
    --glass: rgba(255, 255, 255, 0.04);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: var(--bg);
    background-color: rgb(rgb(239, 222, 222), rgb(196, 218, 196), rgb(209, 209, 243));
    color: #e6eef6a3;
    line-height: 1.5;
    overflow-x: hidden
}

a {
    color: inherit;
    text-decoration: none
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 28px
}

.section {
    padding: 72px 0
}

.section h2 {
    font-size: 22px;
    margin: 0 0 18px;
    position: relative;
    display: inline-block
}

.section h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 40%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    border-radius: 2px
}

.muted {
    color: whitesmoke;
}


/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.price-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    transition: transform .35s, box-shadow .35s
}

.price-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4)
}

.price-card h3 {
    margin: 0 0 10px;
    font-size: 20px
}

.price-card .amount {
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 12px
}

.price-card p {
    margin: 0;
    color: var(--muted)
}


@media(max-width:980px) {
    .pricing-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:620px) {
    .pricing-grid {
        grid-template-columns: 1fr
    }
}