/* ===============================
   LEXA-HEXA FRONTEND COMPONENTS
   Light purple / colorful premium
================================ */

/* BRAND / NAVBAR */

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    color: #fff;
    font-weight: 900;
    font-size: 15px;
    box-shadow: 0 16px 40px rgba(124, 58, 237, 0.28);
}

.brand-text {
    color: #1e1b4b;
    font-size: 14px;
    letter-spacing: 1.6px;
    font-weight: 900;
}

.brand-text strong {
    color: #7c3aed;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-menu a {
    padding: 11px 14px;
    border-radius: 999px;
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
    transition: 0.25s ease;
}

.nav-menu a:hover {
    color: #6d28d9;
    background: #ede9fe;
}

.language-switch{
    display:flex;
    align-items:center;
    gap:8px;

    padding:8px 10px;

    border-radius:999px;

    background:#ffffff;

    border:1px solid #ddd6fe;

    box-shadow:0 10px 25px rgba(124,58,237,.08);
}

.language-switch span{

    width:36px;
    height:36px;

    display:grid;
    place-items:center;

    border-radius:999px;

    font-weight:800;

    font-size:13px;

    cursor:default;

    color:#64748b;
}

.language-switch .active{

    background:linear-gradient(135deg,#7c3aed,#2563eb);

    color:#fff;
}

.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 15px;
    background: #fff;
    color: #312e81;
    border: 1px solid #ddd6fe;
}

/* HERO */

.hero-badge {
    width: fit-content;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 999px;
    border: 1px solid #ddd6fe;
    background: #ffffffcc;
    color: #6d28d9;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
    box-shadow: 0 12px 35px rgba(124, 58, 237, 0.10);
}

.hero-badge span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 18px rgba(34, 197, 94, 0.85);
}

.hero-content h1 {
    color: #111827;
    background: linear-gradient(135deg, #111827, #4338ca);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content h1 strong {
    background: linear-gradient(135deg, #7c3aed, #2563eb, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    max-width: 580px;
    color: #475569;
}

/* BUTTONS */

.btn {
    min-height: 52px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 14px;
    transition: 0.25s ease;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    box-shadow: 0 18px 45px rgba(124, 58, 237, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 60px rgba(124, 58, 237, 0.34);
}

.btn-outline {
    color: #312e81;
    border: 1px solid #c4b5fd;
    background: #ffffffcc;
}

.btn-outline:hover {
    color: #6d28d9;
    background: #ede9fe;
    transform: translateY(-3px);
}

/* SOCIAL */

.social-area {
    margin-top: 42px;
}

.social-area p {
    color: #64748b;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 900;
}

.social-links {
    margin-top: 14px;
    display: flex;
    gap: 12px;
}

.social-links a,
.footer-socials a {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: #312e81;
    background: #fff;
    border: 1px solid #ddd6fe;
    transition: 0.25s ease;
    box-shadow: 0 10px 24px rgba(124, 58, 237, 0.08);
}

.social-links a:hover,
.footer-socials a:hover {
    color: #fff;
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    transform: translateY(-4px);
}

/* HERO VISUAL */

.visual-card {
    width: min(470px, 100%);
    min-height: 470px;
    position: relative;
    display: grid;
    place-items: center;
    border-radius: 42px;
    background:
        radial-gradient(circle at 30% 20%, rgba(124, 58, 237, 0.22), transparent 34%),
        radial-gradient(circle at 80% 80%, rgba(37, 99, 235, 0.20), transparent 38%),
        #ffffffdd;
    border: 1px solid #ddd6fe;
    box-shadow: 0 38px 90px rgba(124, 58, 237, 0.18);
    overflow: hidden;
}

.visual-card::before {
    content: "";
    position: absolute;
    width: 310px;
    height: 310px;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.14);
    filter: blur(28px);
}

.editor-card {
    width: 78%;
    min-height: 290px;
    border-radius: 26px;
    background: #111827;
    border: 1px solid rgba(124, 58, 237, 0.20);
    box-shadow: 0 32px 70px rgba(30, 41, 59, 0.25);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.editor-top {
    height: 52px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.editor-top span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.editor-top span:nth-child(1) { background: #ef4444; }
.editor-top span:nth-child(2) { background: #f59e0b; }
.editor-top span:nth-child(3) { background: #22c55e; }

.editor-lines {
    padding: 26px 24px;
}

.line {
    height: 12px;
    margin-bottom: 15px;
    border-radius: 999px;
    background: linear-gradient(90deg, #7c3aed, rgba(255, 255, 255, 0.12));
}

.w-40 { width: 40%; }
.w-45 { width: 45%; }
.w-55 { width: 55%; }
.w-60 { width: 60%; }
.w-70 { width: 70%; }
.w-75 { width: 75%; }
.w-80 { width: 80%; }
.w-90 { width: 90%; }

.floating-tag {
    position: absolute;
    z-index: 3;
    padding: 12px 16px;
    border-radius: 999px;
    color: #312e81;
    background: #fff;
    border: 1px solid #ddd6fe;
    backdrop-filter: blur(14px);
    font-family: var(--font-code);
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 14px 36px rgba(124, 58, 237, 0.16);
}

.tag-csharp { top: 80px; left: 44px; }
.tag-dotnet { top: 112px; right: 48px; }
.tag-sql { bottom: 76px; left: 74px; }

/* FEATURE CARDS */

.feature-card {
    padding: 24px;
    display: flex;
    gap: 16px;
    border-radius: 26px;
    background: #ffffffdd;
    border: 1px solid #e9d5ff;
    transition: 0.25s ease;
    box-shadow: 0 18px 45px rgba(124, 58, 237, 0.08);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: #c4b5fd;
    box-shadow: 0 24px 70px rgba(124, 58, 237, 0.16);
}

.feature-card i {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 17px;
    color: #fff;
    background: linear-gradient(135deg, #7c3aed, #2563eb);
}

.feature-card h3 {
    color: #1e1b4b;
    font-size: 16px;
    margin-bottom: 8px;
}

.feature-card p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

/* PAGE HERO */

.page-wrapper {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 72px 0;
}

.page-hero {
    max-width: 820px;
    margin-bottom: 42px;
    padding: 28px;
    border-radius: 32px;
    background:
        linear-gradient(135deg, rgba(124, 58, 237, 0.10), rgba(37, 99, 235, 0.08)),
        #ffffffdd;
    border: 1px solid #ddd6fe;
    box-shadow: 0 22px 60px rgba(124, 58, 237, 0.10);
}

.page-label {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 9px 13px;
    border-radius: 999px;
    border: 1px solid #c4b5fd;
    color: #6d28d9;
    background: #ede9fe;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
}

.page-hero h1 {
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1;
    letter-spacing: -3px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #111827, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-hero p {
    color: #475569;
    font-size: 17px;
    line-height: 1.8;
}

/* GENERIC CONTENT */

.content-grid,
.contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 18px;
}

.content-card,
.blog-card,
.project-card,
.code-card,
.contact-form,
.article-detail {
    border: 1px solid #e9d5ff;
    background: #ffffffdd;
    border-radius: 30px;
    box-shadow: 0 18px 45px rgba(124, 58, 237, 0.08);
    transition: 0.25s ease;
}

.content-card:hover,
.blog-card:hover,
.project-card:hover,
.code-card:hover {
    transform: translateY(-6px);
    border-color: #c4b5fd;
    box-shadow: 0 24px 70px rgba(124, 58, 237, 0.15);
}

.content-card {
    padding: 28px;
}

.content-card h2 {
    color: #1e1b4b;
    margin-bottom: 16px;
    font-size: 24px;
}

.content-card p {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 14px;
}

.large-card {
    min-height: 260px;
}

/* SKILLS */

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tags span {
    padding: 9px 12px;
    border-radius: 999px;
    background: #ede9fe;
    color: #6d28d9;
    border: 1px solid #ddd6fe;
    font-size: 13px;
    font-weight: 900;
}

/* CARDS GRID */

.cards-grid,
.code-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

/* PROJECT / NEWS CARDS */

.project-card {
    overflow: hidden;
}

.project-cover {
    height: 190px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle, rgba(124, 58, 237, 0.20), transparent 55%),
        #f5f3ff;
}

.project-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.35s ease;
}

.project-card:hover .project-cover img {
    transform: scale(1.07);
}

.project-cover i {
    font-size: 48px;
    color: #7c3aed;
}

.project-body,
.blog-card,
.code-card {
    padding: 24px;
}

.project-category,
.blog-category {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 7px 10px;
    border-radius: 999px;
    color: #6d28d9;
    background: #ede9fe;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.2px;
}

.project-card h2,
.blog-card h2,
.code-card h2 {
    color: #1e1b4b;
    margin-bottom: 12px;
    font-size: 22px;
    line-height: 1.3;
}

.project-card h2 a,
.blog-card h2 a,
.code-card h2 a {
    color: #1e1b4b;
}

.project-card h2 a:hover,
.blog-card h2 a:hover,
.code-card h2 a:hover {
    color: #7c3aed;
}

.project-card p,
.blog-card p,
.code-card p {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 18px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #7c3aed;
    font-weight: 900;
    transition: 0.25s ease;
}

.read-more:hover {
    transform: translateX(5px);
}

.project-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.project-links a {
    padding: 10px 13px;
    border-radius: 999px;
    background: #ede9fe;
    color: #6d28d9;
    font-weight: 900;
    font-size: 13px;
    border: 1px solid #ddd6fe;
    transition: 0.25s ease;
}

.project-links a:hover {
    color: #fff;
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    transform: translateY(-2px);
}

/* CODEHUB */

.code-card {
    overflow: hidden;
}

.code-card-header {
    margin: -24px -24px 0;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    background: #111827;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.code-card-header span {
    font-family: var(--font-code);
    color: #c4b5fd;
    font-weight: 900;
}

.code-card-header button {
    padding: 7px 10px;
    border-radius: 999px;
    color: #fff;
    background: rgba(124, 58, 237, 0.35);
    border: 1px solid rgba(196, 181, 253, 0.25);
}

.code-card pre {
    margin: 0 -24px 22px;
    padding: 24px;
    overflow-x: auto;
    background: #0f172a;
}

.code-card code {
    font-family: var(--font-code);
    color: #e2e8f0;
    line-height: 1.8;
}

/* CONTACT */

.contact-form {
    padding: 28px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #312e81;
    font-size: 14px;
    font-weight: 900;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 16px;
    border-radius: 16px;
    color: #1e1b4b;
    background: #fff;
    border: 1px solid #ddd6fe;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.10);
}

.contact-links {
    display: grid;
    gap: 12px;
}

.contact-links a {
    padding: 14px 16px;
    display: flex;
    gap: 10px;
    border-radius: 16px;
    color: #475569;
    background: #fff;
    border: 1px solid #ddd6fe;
    transition: 0.25s ease;
}

.contact-links a:hover {
    color: #6d28d9;
    background: #ede9fe;
    transform: translateX(4px);
}

/* ARTICLE DETAIL */

.article-detail {
    max-width: 900px;
    padding: 36px;
    border-radius: 32px;
}

.article-detail h1 {
    margin: 14px 0;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.05;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #111827, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.article-date {
    margin-bottom: 28px;
    color: #64748b;
    font-size: 14px;
}

.article-content {
    color: #334155;
    line-height: 1.95;
    font-size: 17px;
}

.project-detail-img {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    border-radius: 24px;
    margin-bottom: 24px;
    border: 1px solid #ddd6fe;
}

.detail-links {
    margin-top: 26px;
}

.code-detail-card {
    max-width: 940px;
}