* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: system-ui, sans-serif;
}

body {
    background: radial-gradient(circle at center, #1b1f2a, #0a0d12);
    color: #eaeaf0;
    line-height: 1.5;
}

/* ================= NAV ================= */

.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10,10,15,0.85);
    backdrop-filter: blur(12px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px;
}

.nav a {
    margin-left: 20px;
    color: #dcdce3;
    text-decoration: none;
    font-size: 14px;
}

.nav a.cv {
    border: 1px solid #ff4fa3;
    padding: 6px 12px;
    border-radius: 8px;
    color: #ff4fa3;
}

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

.hero {
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
}

.hero h1 {
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 700;
}

.hero span {
    color: #ff4fa3;
}

.tagline {
    margin-top: 12px;
    font-size: 18px;
}

.subtitle {
    margin-top: 10px;
    max-width: 640px;
    font-size: 14px;
    color: #b9bcc9;
}

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

.section {
    padding: 110px 20px;
    max-width: 1200px;
    margin: auto;
}

.section h2 {
    text-align: center;
    margin-bottom: 30px;
}

.center-text {
    max-width: 760px;
    margin: auto;
    text-align: center;
    color: #c7cad6;
}

/* Premium glass container */
.glass {
    background: rgba(255,255,255,0.03);
    border-radius: 26px;
    padding: 70px 60px;
    backdrop-filter: blur(14px);
    box-shadow: 0 0 60px rgba(255,79,163,0.10);
}

/* ================= PROJECTS ================= */

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    margin-top: 40px;
}

.card {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 18px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.35);
}

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

.skill-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-bottom: 40px;
}

.tab {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: #eaeaf0;
    padding: 10px 22px;
    border-radius: 22px;
    cursor: pointer;
    transition: border 0.2s ease, color 0.2s ease;
}

.tab.active {
    border-color: #ff4fa3;
    color: #ff4fa3;
}

.skill-content {
    display: flex;
    justify-content: center;
}

.skills {
    display: none;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    max-width: 820px;
}

.skills.active {
    display: flex;
}

.skills span {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 12px 18px;
    border-radius: 16px;
    font-size: 14px;
    min-width: 120px;
    text-align: center;
}

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

.contact-section {
    padding: 130px 8%;
    text-align: center;
}

.contact-section h2 {
    font-size: 2.6rem;
    margin-bottom: 10px;
}

.contact-subtitle {
    color: #b9c0cc;
    margin-bottom: 70px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: stretch;
}

.contact-info,
.contact-form {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 46px;
    backdrop-filter: blur(12px);
    box-shadow: 0 0 50px rgba(255, 0, 150, 0.10);
    text-align: left;
}

.contact-info h3 {
    margin-bottom: 16px;
}

.contact-info p {
    color: #b9c0cc;
    line-height: 1.6;
    margin-bottom: 36px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.info-item.highlight strong {
    color: #ff3fa4;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 13px 16px;
    color: #fff;
    outline: none;
    margin-bottom: 16px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #ff3fa4;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.contact-form button {
    width: 100%;
    padding: 15px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, #ff3fa4, #b832ff);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 34px rgba(255, 63, 164, 0.35);
}

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

footer {
    text-align: center;
    padding: 50px 20px;
    color: #8c90a5;
    font-size: 13px;
}

/* ================= MOBILE ================= */

@media (max-width: 900px) {

    .nav {
        padding: 14px 20px;
    }

    .nav nav {
        display: none;
    }

    .section {
        padding: 80px 16px;
    }

    .glass {
        padding: 50px 24px;
    }

    .card-grid {
        gap: 18px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-section {
        padding: 90px 6%;
    }

    .skills span {
        min-width: auto;
        padding: 10px 14px;
        font-size: 13px;
    }
}


.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 14px 22px;
  border-radius: 12px;
  background: rgba(30,30,40,0.95);
  color: #fff;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 9999;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast.success {
  border-left: 4px solid #ff4fa3;
}

.toast.error {
  border-left: 4px solid #ff5c5c;
}

@media (max-width: 768px) {
@media (max-width: 768px) {

  header,
  nav,
  .navbar {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 58px !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(10, 10, 20, 0.96) !important;
    backdrop-filter: blur(8px) !important;
    z-index: 99999 !important;
  }

  .nav-links {
    display: flex !important;
    flex-direction: row !important;
    gap: 12px !important;
    font-size: 13px !important;
    padding: 0 10px !important;
  }

  .nav-links a {
    padding: 6px 8px !important;
    white-space: nowrap !important;
  }

  body {
    padding-top: 58px !important;
  }

}
