
/* =========================
   1. GLOBAL STYLES
========================= */

:root {
    --bg: #080b16;
    --bg-card: #111629;
    --bg-light: #151b30;
    --text: #f4f5ff;
    --muted: #a1a8c3;
    --purple: #9b7bff;
    --blue: #5d8dff;
    --cyan: #6ce5ff;
    --border: rgba(255, 255, 255, 0.09);
    --gradient: linear-gradient(120deg, #a78bfa, #60a5fa, #67e8f9);
}

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

body {
    font-family: "Inter", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.container {
    width: min(1120px, 90%);
    margin: 0 auto;
}

.section {
    padding: 100px 0;
}

.section-dark {
    background: #0d1120;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.eyebrow {
    color: var(--purple);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.section-heading h2 {
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.3;
}

.section-subtitle {
    color: var(--muted);
    margin-top: 12px;
    font-size: 14px;
}


/* =========================
   2. NAVIGATION
========================= */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(8, 11, 22, 0.88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.navbar {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -2px;
}

.logo span {
    color: var(--purple);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links > a {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    transition: color 0.25s ease;
}

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

.nav-links .nav-button {
    background: rgba(155, 123, 255, 0.13);
    color: #c4b5fd;
    padding: 10px 17px;
    border: 1px solid rgba(155, 123, 255, 0.3);
    border-radius: 9px;
}


/* =========================
   3. BUTTONS
========================= */

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 21px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.button:hover {
    transform: translateY(-3px);
}

.button-primary {
    color: #0a0c18;
    background: var(--gradient);
    box-shadow: 0 8px 28px rgba(123, 120, 255, 0.15);
}

.button-primary:hover {
    box-shadow: 0 10px 35px rgba(123, 120, 255, 0.3);
}

.button-secondary {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    color: white;
}


/* =========================
   4. HERO SECTION
========================= */

.hero {
    min-height: 660px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 55px;
    padding-top: 80px;
    padding-bottom: 80px;
}

.availability {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(108, 229, 255, 0.2);
    background: rgba(108, 229, 255, 0.06);
    padding: 7px 13px;
    border-radius: 30px;
    font-size: 11px;
    color: var(--cyan);
    margin-bottom: 26px;
}

.status-dot {
    width: 7px;
    height: 7px;
    display: inline-block;
    flex-shrink: 0;
    background: #57e6a5;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(87, 230, 165, 0.5);
}

.hero h1 {
    font-size: clamp(39px, 5vw, 61px);
    line-height: 1.13;
    letter-spacing: -2.7px;
    font-weight: 800;
    margin: 17px 0;
}

.hero-description {
    max-width: 490px;
    color: var(--muted);
    font-size: 15px;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
    margin-top: 45px;
    padding-top: 25px;
    border-top: 1px solid var(--border);
}

.hero-stats h3 {
    font-size: 16px;
    font-weight: 700;
}

.hero-stats p {
    color: var(--muted);
    font-size: 11px;
}


/* =========================
   5. CODE CARD
========================= */

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 35px 0;
}

.glow {
    position: absolute;
    width: 270px;
    height: 270px;
    border-radius: 50%;
    background: #795cff;
    filter: blur(120px);
    opacity: 0.24;
}

.code-card {
    width: 100%;
    max-width: 440px;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(167, 139, 250, 0.22);
    background: rgba(17, 22, 41, 0.96);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
    transform: rotate(-2deg);
}

.code-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    color: var(--muted);
    font-size: 11px;
}

.window-dots {
    display: flex;
    gap: 5px;
}

.window-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff6b7a;
}

.window-dots span:nth-child(2) {
    background: #ffd166;
}

.window-dots span:nth-child(3) {
    background: #57e6a5;
}

.code-content {
    padding: 26px 22px;
    font-family: "Courier New", monospace;
    font-size: clamp(10px, 1.2vw, 13px);
    line-height: 2.1;
    overflow-x: auto;
}

.code-content p {
    white-space: nowrap;
}

.indent {
    padding-left: 20px;
}

.indent.double {
    padding-left: 40px;
}

.purple {
    color: #c4a7ff;
}

.cyan {
    color: #67e8f9;
}

.green {
    color: #9ee6ad;
}

.code-footer {
    padding: 13px 20px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    font-size: 10px;
}

.floating-badge {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 15px;
    border-radius: 12px;
    background: #171d32;
    border: 1px solid var(--border);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    font-size: 11px;
    font-weight: 700;
}

.badge-top {
    top: 4px;
    right: -10px;
}

.badge-bottom {
    bottom: 4px;
    left: -15px;
}

.flutter-icon {
    color: var(--cyan);
    font-weight: 900;
    font-size: 20px;
}

.check-icon {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    color: #57e6a5;
    background: rgba(87, 230, 165, 0.12);
}


/* =========================
   6. ABOUT SECTION
========================= */

.about-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 45px;
    align-items: center;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background:
        radial-gradient(circle at top left,
        rgba(155, 123, 255, 0.09), transparent 45%),
        var(--bg-card);
}

.about-mark {
    width: 170px;
    height: 170px;
    display: grid;
    place-items: center;
    border-radius: 30px;
    border: 1px solid rgba(155, 123, 255, 0.3);
    background: linear-gradient(140deg, #202548, #121629);
    font-size: 55px;
    font-weight: 800;
    letter-spacing: -5px;
    box-shadow: inset 0 0 50px rgba(155, 123, 255, 0.07);
}

.about-mark span {
    color: var(--purple);
}

.about-text h3 {
    font-size: 23px;
    line-height: 1.4;
    margin-bottom: 17px;
}

.about-text p {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 13px;
}

.about-tags,
.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.about-tags span,
.project-tags span {
    font-size: 10px;
    color: #c8c5ff;
    border: 1px solid rgba(155, 123, 255, 0.18);
    background: rgba(155, 123, 255, 0.07);
    padding: 5px 10px;
    border-radius: 6px;
}


/* =========================
   7. SKILLS SECTION
========================= */

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

.skill-card {
    padding: 25px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    border-radius: 15px;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
    border-color: rgba(155, 123, 255, 0.5);
}

.skill-icon {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 12px;
    font-size: 19px;
    font-weight: 800;
    background: rgba(155, 123, 255, 0.12);
    color: #c4b5fd;
}

.skill-icon.dart {
    background: rgba(93, 141, 255, 0.12);
    color: #8db6ff;
}

.skill-icon.firebase {
    background: rgba(255, 190, 80, 0.1);
    color: #ffd166;
}

.skill-icon.api {
    background: rgba(108, 229, 255, 0.1);
    color: var(--cyan);
}

.skill-icon.state {
    background: rgba(87, 230, 165, 0.1);
    color: #57e6a5;
}

.skill-icon.tools {
    background: rgba(244, 114, 182, 0.1);
    color: #f9a8d4;
}

.skill-card h3 {
    font-size: 15px;
    margin-bottom: 8px;
}

.skill-card p {
    font-size: 12px;
    color: var(--muted);
}


/* =========================
   8. PROJECTS SECTION
========================= */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.project-card {
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-card);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(155, 123, 255, 0.45);
}

.project-visual {
    height: 180px;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.project-one {
    background: radial-gradient(circle at 50% 45%, #494080, #191b39 72%);
}

.project-two {
    background: radial-gradient(circle at 50% 45%, #175b67, #10252f 72%);
}

.project-three {
    background: radial-gradient(circle at 50% 45%, #654323, #2a2021 72%);
}

.project-symbol {
    width: 90px;
    height: 90px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -2px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.project-label {
    position: absolute;
    bottom: 14px;
    left: 16px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 9px;
    letter-spacing: 2px;
    font-weight: 700;
}

.project-info {
    padding: 23px;
}

.project-type {
    font-size: 9px;
    color: var(--purple);
    font-weight: 800;
    letter-spacing: 1.5px;
}

.project-info h3 {
    font-size: 17px;
    margin: 8px 0 10px;
}

.project-info > p:not(.project-type) {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}


/* =========================
   9. EXPERIENCE TIMELINE
========================= */

.timeline {
    max-width: 750px;
    margin: 0 auto;
    border-left: 1px solid rgba(155, 123, 255, 0.35);
    padding-left: 30px;
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -36px;
    top: 5px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--purple);
    border: 3px solid #0d1120;
    box-shadow: 0 0 0 3px rgba(155, 123, 255, 0.15);
}

.timeline-content {
    padding: 26px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    border-radius: 14px;
}

.timeline-date {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--cyan);
}

.timeline-content h3 {
    font-size: 19px;
    margin: 8px 0 3px;
}

.timeline-company {
    color: var(--purple) !important;
    margin-bottom: 13px !important;
}

.timeline-content p {
    color: var(--muted);
    font-size: 12px;
}


/* =========================
   10. CONTACT SECTION
========================= */

.contact-card {
    text-align: center;
    padding: 70px 25px;
    border: 1px solid rgba(155, 123, 255, 0.2);
    border-radius: 24px;
    background:
        radial-gradient(circle at top center,
        rgba(122, 92, 255, 0.15), transparent 60%),
        var(--bg-card);
}

.contact-card h2 {
    max-width: 700px;
    margin: 0 auto 17px;
    font-size: clamp(29px, 4vw, 43px);
    line-height: 1.3;
}

.contact-card > p:not(.eyebrow) {
    max-width: 500px;
    margin: 0 auto 25px;
    color: var(--muted);
    font-size: 13px;
}

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

.social-links a {
    color: var(--muted);
    font-size: 12px;
    transition: color 0.2s ease;
}

.social-links a:hover {
    color: var(--cyan);
}


/* =========================
   11. FOOTER
========================= */

.footer {
    border-top: 1px solid var(--border);
}

.footer-inner {
    min-height: 85px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-inner p,
.back-top {
    color: var(--muted);
    font-size: 11px;
}

.back-top:hover {
    color: white;
}


/* =========================
   12. RESPONSIVE DESIGN
========================= */

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-top: 65px;
    }

    .hero-content {
        max-width: 650px;
    }

    .hero-visual {
        width: 100%;
        max-width: 550px;
        margin: 0 auto;
    }

    .badge-top {
        right: 0;
    }

    .badge-bottom {
        left: 0;
    }

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

    .about-mark {
        width: 120px;
        height: 120px;
        font-size: 42px;
    }

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

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

@media (max-width: 600px) {
    .container {
        width: 90%;
    }

    .section {
        padding: 70px 0;
    }

    .navbar {
        min-height: 68px;
        flex-wrap: wrap;
        padding: 12px 0;
    }

    .logo {
        font-size: 24px;
    }

    .nav-links {
        width: 100%;
        gap: 20px;
        overflow-x: auto;
        padding: 5px 0 8px;
    }

    .nav-links > a {
        flex-shrink: 0;
        font-size: 11px;
    }

    .nav-links .nav-button {
        padding: 7px 11px;
    }

    .hero {
        min-height: auto;
        padding-top: 55px;
        padding-bottom: 55px;
        gap: 20px;
    }

    .hero h1 {
        font-size: clamp(36px, 10vw, 48px);
        letter-spacing: -1.8px;
    }

    .hero-description {
        font-size: 13px;
    }

    .hero-stats {
        gap: 20px;
    }

    .hero-stats h3 {
        font-size: 13px;
    }

    .hero-visual {
        padding: 35px 0;
    }

    .code-card {
        transform: none;
    }

    .code-content {
        padding: 20px 14px;
        font-size: 10px;
    }

    .floating-badge {
        font-size: 9px;
        padding: 9px 10px;
    }

    .badge-top {
        top: 0;
        right: -5px;
    }

    .badge-bottom {
        bottom: 0;
        left: -5px;
    }

    .about-card {
        padding: 25px;
    }

    .about-text h3 {
        font-size: 20px;
    }

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

    .skill-card {
        padding: 22px;
    }

    .project-visual {
        height: 190px;
    }

    .timeline {
        padding-left: 22px;
    }

    .timeline-dot {
        left: -28px;
    }

    .timeline-content {
        padding: 20px;
    }

    .contact-card {
        padding: 50px 20px;
    }

    .footer-inner {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 25px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
body {
    background-color: #111827;
    color: white;
    font-family: Arial, sans-serif;
    text-align: center;
    padding-top: 100px;
}

h1 {
    color: #fbbf24;
}
