:root {
    --bg: #0a0a0a;
    --surface: #121212;
    --card: rgba(255,255,255,0.04);
    --border: rgba(255,255,255,0.08);
    --text: #ffffff;
    --muted: rgba(255,255,255,0.7);
    --primary: #7c3aed;
    --secondary: #3b82f6;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1100px;
    margin: auto;
}

/* HEADER */
header {
    position: sticky;
    top: 0;
    z-index: 100;

    background: rgba(10,10,10,0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.logo {
    text-decoration: none;
    height: 70px;
    width: auto;
}

nav {
    display: flex;
    gap: 20px;
}

nav a {
    color: var(--muted);
    text-decoration: none;
    transition: 0.3s;
}

nav a:hover {
    color: white;
}

/* HERO */
.hero {
    padding: 140px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(124,58,237,0.25), transparent);
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 20px;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p {
    color: var(--muted);
    margin-top: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* BUTTONS */
.primary-btn {
    margin-top: 30px;
    padding: 14px 28px;
    border-radius: 999px;
    border: none;
    cursor: pointer;

    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: white;
    font-weight: 600;
    transition: 0.3s;
}

.primary-btn:hover {
    transform: translateY(-2px);
}

.secondary-link {
    display: inline-block;
    margin-left: 20px;
    color: var(--muted);
    text-decoration: none;
}

/* SECTIONS */
.section {
    padding: 100px 0;
}

h2 {
    text-align: center;
    margin-bottom: 40px;
}

/* GRID CARDS */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 24px;
    border-radius: 18px;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(124,58,237,0.5);
}

/* TECH */

@media (max-width: 900px) {
    .tech {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 30px;
    }
}

@media (max-width: 600px) {
    .tech {
        grid-template-columns: repeat(2, 1fr);
    }
}

.tech {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    justify-items: center;

    width: 100%;
    max-width: 1000px;
    margin: 40px auto 0;
}

.tech img {
    width: 140px;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: 0.3s ease;
}


.tech img:hover {
    opacity: 1;
    filter: none;
    transform: scale(1.2);
}

/* CONTACT */
.contact-card {
    max-width: 700px;
    margin: auto;
    background: var(--card);
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: 20px;
}

.email {
    text-align: center;
    margin-top: 20px;
    font-weight: 500;
}

form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
}

input, textarea {
    padding: 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: transparent;
    color: white;
}

/* FOOTER */
footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer a {
    color: var(--muted);
    margin-left: 15px;
    text-decoration: none;
}

/* About STYLES */
.card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 40px;
    border-radius: 18px;

    max-width: 800px;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Make headings consistent */
.card h3 {
    margin-top: 10px;
    font-size: 1.2rem;
    color: #ffffff;
}

/* Make paragraphs cleaner */
.card p {
    margin: 0;
    line-height: 1.7;
    color: rgba(255,255,255,0.75);
}

/* Align page title section */
.section h1 {
    text-align: center;
    margin-bottom: 10px;
}

.section > .container > p {
    text-align: center;
    color: rgba(255,255,255,0.6);
}

.email-link {
    display: inline-block;
    margin-top: 20px;

    font-size: 1.2rem;
    font-weight: 600;

    color: #7c3aed;
    text-decoration: none;

    transition: 0.3s ease;
}

.email-link:hover {
    color: #3b82f6;
    transform: translateY(-2px);
}

.contact-card {
    max-width: 700px;
    margin: auto;

    padding: 40px;
    border-radius: 20px;

    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 900px) {

    /* HERO */
    h1 {
        font-size: 2.2rem;
    }

    .hero {
        padding: 100px 0;
    }

    /* NAV */
    nav {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    header .container {
        flex-direction: column;
        gap: 10px;
    }

    /* GRID */
    .grid {
        grid-template-columns: 1fr 1fr;
    }

    /* TECH */
    .tech {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .tech img {
        width: 110px;
    }

    /* FOOTER */
    .footer {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}