@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');


/* ================================
   GLOBAL
================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #05070d;
    color: #f5f7ff;
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

::selection {
    background: #6c63ff;
    color: white;
}


/* ================================
   BACKGROUND
================================ */

.background {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(91, 75, 255, 0.12),
            transparent 30%
        ),
        radial-gradient(
            circle at 80% 70%,
            rgba(0, 214, 201, 0.08),
            transparent 30%
        ),
        #05070d;
}

.grid {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );

    background-size: 50px 50px;

    mask-image: linear-gradient(
        to bottom,
        black,
        transparent 90%
    );
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.35;
}

.orb-1 {
    width: 350px;
    height: 350px;
    background: #5548ff;
    top: -150px;
    left: -100px;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: #00b8a9;
    right: -100px;
    top: 50%;
}


/* ================================
   NAVBAR
================================ */

header {
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 10;
}

.navbar {
    max-width: 1200px;
    margin: auto;
    padding: 25px 30px;

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

.logo,
.footer-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 700;
}

.logo span,
.footer-logo span {
    color: #7167ff;
}

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

.nav-links a {
    color: #a9adbd;
    font-size: 14px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: white;
}


/* ================================
   HERO
================================ */

.hero {
    min-height: 100vh;
    max-width: 1200px;
    margin: auto;
    padding: 150px 30px 100px;

    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 80px;
}

.welcome {
    color: #8179ff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;

    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 20px;
}

.welcome span {
    width: 30px;
    height: 1px;
    background: #8179ff;
}

.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(55px, 8vw, 100px);
    line-height: 0.95;
    letter-spacing: -5px;
    margin-bottom: 25px;
}

.hero h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(25px, 3vw, 42px);
    line-height: 1.2;
    max-width: 650px;
    margin-bottom: 25px;
}

.hero h2 span {
    color: #8179ff;
}

.hero-description {
    color: #9da2b5;
    max-width: 600px;
    font-size: 16px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 35px;
}

.btn {
    padding: 13px 22px;
    border-radius: 8px;

    font-size: 14px;
    font-weight: 600;

    display: flex;
    align-items: center;
    gap: 10px;

    transition: 0.3s;
}

.btn.primary {
    background: #7167ff;
}

.btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(113, 103, 255, 0.3);
}

.btn.secondary {
    border: 1px solid #303442;
    color: #d5d8e4;
}

.btn.secondary:hover {
    background: #121521;
    transform: translateY(-3px);
}


/* ================================
   TERMINAL
================================ */

.hero-card {
    position: relative;
}

.card-glow {
    position: absolute;
    inset: -30px;

    background: linear-gradient(
        135deg,
        rgba(113, 103, 255, 0.25),
        transparent,
        rgba(0, 214, 201, 0.15)
    );

    filter: blur(40px);
}

.terminal {
    position: relative;

    border: 1px solid #292d3a;
    border-radius: 14px;

    background: rgba(12, 15, 24, 0.9);

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.5),
        inset 0 1px rgba(255, 255, 255, 0.04);

    overflow: hidden;
}

.terminal-header {
    height: 50px;
    border-bottom: 1px solid #272b36;

    display: flex;
    align-items: center;

    padding: 0 18px;
    gap: 20px;
}

.dots {
    display: flex;
    gap: 7px;
}

.dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #414552;
}

.terminal-header p {
    font-family: monospace;
    font-size: 12px;
    color: #707587;
}

.terminal-body {
    padding: 35px;

    font-family: monospace;
    font-size: 14px;
    line-height: 2.2;
}

.green {
    color: #50e3a4;
}

.output {
    color: #e7e9f1;
    padding-left: 20px;
}

.status {
    color: #50e3a4;
    padding-left: 20px;
}

.cursor {
    color: #8179ff;
    animation: blink 1s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}


/* ================================
   SECTIONS
================================ */

.section {
    max-width: 1200px;
    margin: auto;
    padding: 120px 30px;
}

.section-heading {
    margin-bottom: 60px;
}

.section-heading p {
    color: #7167ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.section-heading h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(35px, 5vw, 55px);
    line-height: 1.1;
}

.section-heading h2 span {
    color: #8179ff;
}


/* ================================
   ABOUT
================================ */

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
}

.about-text {
    color: #9da2b5;
    font-size: 15px;
}

.about-text p {
    margin-bottom: 20px;
}

.about-text strong {
    color: white;
}

.large-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 25px;
    color: white;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.stat-card {
    border: 1px solid #242835;
    border-radius: 12px;

    padding: 25px;

    background: rgba(15, 18, 28, 0.7);

    transition: 0.3s;
}

.stat-card:hover {
    border-color: #7167ff;
    transform: translateY(-5px);
}

.stat-card i {
    color: #8179ff;
    font-size: 22px;
    margin-bottom: 20px;
}

.stat-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
}

.stat-card p {
    color: #777d90;
    font-size: 12px;
}


/* ================================
   SKILLS
================================ */

.skills-section {
    padding-top: 60px;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.skill-card {
    padding: 30px;

    border: 1px solid #252936;
    border-radius: 12px;

    background: rgba(12, 15, 24, 0.6);

    transition: 0.35s;
}

.skill-card:hover {
    transform: translateY(-8px);
    border-color: #7167ff;
    background: rgba(20, 22, 35, 0.8);
}

.skill-icon {
    width: 48px;
    height: 48px;

    border-radius: 10px;

    background: rgba(113, 103, 255, 0.1);

    display: flex;
    align-items: center;
    justify-content: center;

    color: #8179ff;
    font-size: 22px;

    margin-bottom: 20px;
}

.skill-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    margin-bottom: 10px;
}

.skill-card p {
    color: #7f8496;
    font-size: 13px;
}


/* ================================
   QUOTE
================================ */

.quote-section {
    padding: 150px 30px;

    text-align: center;

    border-top: 1px solid #171a24;
    border-bottom: 1px solid #171a24;
}

.quote-content {
    max-width: 800px;
    margin: auto;
}

.quote-mark {
    font-family: Georgia, serif;
    color: #7167ff;
    font-size: 70px;
    line-height: 0;
}

.quote-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(35px, 5vw, 60px);
    line-height: 1.15;
    margin: 30px 0;
}

.quote-content h2 span {
    color: #8179ff;
}

.quote-content p {
    color: #777d90;
}


/* ================================
   CONTACT
================================ */

.contact-box {
    padding: 60px;

    border: 1px solid #292d3a;
    border-radius: 18px;

    background:
        radial-gradient(
            circle at 10% 0%,
            rgba(113, 103, 255, 0.12),
            transparent 40%
        ),
        #0a0d15;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-label {
    color: #8179ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.contact-box h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(35px, 5vw, 55px);
    line-height: 1.1;
    margin-bottom: 20px;
}

.contact-box h2 span {
    color: #8179ff;
}

.contact-box > div > p:last-child {
    color: #858b9d;
    font-size: 14px;
    max-width: 450px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 18px;

    padding: 20px;

    border: 1px solid #292d3a;
    border-radius: 10px;

    transition: 0.3s;
}

.contact-item:hover {
    border-color: #7167ff;
    transform: translateX(5px);
}

.contact-item > i {
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: rgba(113, 103, 255, 0.1);
    color: #8179ff;
}

.contact-item div {
    display: flex;
    flex-direction: column;
}

.contact-item small {
    color: #666c7e;
    font-size: 10px;
    letter-spacing: 2px;
}

.contact-item strong {
    font-size: 14px;
}


/* ================================
   FOOTER
================================ */

footer {
    padding: 50px 30px;

    border-top: 1px solid #181b24;

    text-align: center;

    color: #666c7e;
}

.footer-logo {
    margin-bottom: 15px;
    color: white;
}

footer p {
    font-size: 12px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 25px 0;
}

.social-links a {
    width: 40px;
    height: 40px;

    border: 1px solid #292d3a;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #858b9d;

    transition: 0.3s;
}

.social-links a:hover {
    color: white;
    border-color: #7167ff;
    background: #7167ff;
    transform: translateY(-3px);
}

.copyright {
    color: #454a59;
}


/* ================================
   RESPONSIVE
================================ */

@media (max-width: 900px) {

    .hero {
        grid-template-columns: 1fr;
        gap: 60px;
        padding-top: 130px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .skills-container {
        grid-template-columns: 1fr 1fr;
    }

    .contact-box {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 600px) {

    .navbar {
        padding: 20px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 120px 20px 80px;
    }

    .hero h1 {
        letter-spacing: -3px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        justify-content: center;
    }

    .section {
        padding: 80px 20px;
    }

    .skills-container {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
    }

    .contact-box {
        padding: 30px 20px;
    }

    .quote-section {
        padding: 100px 20px;
    }

    .terminal-body {
        padding: 25px 20px;
        font-size: 12px;
    }
}
