:root {
    --primary: #7b2ff7;
    --secondary: #f107a3;
    --accent: #ff9a3c;
    --dark: #0f0e17;
    --dark-2: #1a1826;
    --light-bg: #f7f5ff;
    --text-muted: #6c6c80;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

* { box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    color: #2b2b3c;
    overflow-x: hidden;
}

.text-accent { color: var(--accent); }

.btn-gradient {
    background: var(--gradient);
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 50px;
    padding: 0.7rem 1.8rem;
    transition: all .3s ease;
}
.btn-gradient:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(123, 47, 247, 0.4);
}

/* ===== Navbar ===== */
.main-nav {
    background: rgba(15, 14, 23, 0.85);
    backdrop-filter: blur(10px);
    transition: all .3s ease;
    padding: 0.9rem 0;
}
.main-nav.scrolled { background: rgba(15, 14, 23, 0.97); box-shadow: 0 5px 20px rgba(0,0,0,0.2); }
.main-nav .navbar-brand { color: #fff; font-size: 1.4rem; }
.main-nav .nav-link { color: #e7e7ef !important; font-weight: 500; margin: 0 0.4rem; }
.main-nav .nav-link:hover { color: var(--accent) !important; }

/* ===== Hero ===== */
.hero-section {
    min-height: 100vh;
    background: var(--dark);
    background-image: radial-gradient(circle at 20% 20%, rgba(123,47,247,0.35), transparent 40%),
                       radial-gradient(circle at 80% 70%, rgba(241,7,163,0.3), transparent 45%);
    position: relative;
    color: #fff;
    padding-top: 100px;
}
.hero-shape-1, .hero-shape-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.35;
    z-index: 0;
}
.hero-shape-1 { width: 350px; height: 350px; background: var(--primary); top: -80px; right: 10%; }
.hero-shape-2 { width: 280px; height: 280px; background: var(--accent); bottom: -60px; left: 5%; }

.hero-greeting { color: var(--accent); font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.hero-name { font-size: 3.2rem; font-weight: 800; margin-bottom: 0.3rem; }
.hero-designation {
    font-size: 1.6rem;
    font-weight: 600;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}
.hero-desc { color: #cfcfe0; max-width: 550px; margin-bottom: 1.5rem; }
.hero-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #fff;
    margin-right: 10px;
    transition: all .3s ease;
}
.hero-socials a:hover { background: var(--gradient); transform: translateY(-4px); }

.hero-img-wrap { width: 320px; height: 320px; margin: 0 auto; position: relative; }
.hero-img, .hero-img-placeholder {
    width: 100%; height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 50px rgba(123,47,247,0.4);
}
.hero-img-placeholder {
    display: flex; align-items: center; justify-content: center;
    background: var(--gradient);
    font-size: 6rem;
    color: rgba(255,255,255,0.6);
}

/* ===== Sections ===== */
.section-padding { padding: 100px 0; }
.bg-light-alt { background: var(--light-bg); }
.bg-dark-gradient { background: linear-gradient(160deg, var(--dark) 0%, var(--dark-2) 100%); }

.section-tag {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.4rem;
}
.section-title { font-size: 2.4rem; font-weight: 800; }

/* ===== About ===== */
.about-img-placeholder {
    width: 100%; aspect-ratio: 1/1;
    display: flex; align-items: center; justify-content: center;
    background: var(--gradient);
    font-size: 5rem;
    color: rgba(255,255,255,0.6);
}
.about-text { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.info-item { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.info-item i { color: var(--secondary); }
.stat-box h3 { font-size: 2.2rem; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 0; }
.stat-box p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0; }

/* ===== Skills ===== */
.skill-item { margin-bottom: 1rem; }
.skill-name { font-weight: 600; }
.skill-percent { font-weight: 600; color: var(--primary); }
.skill-progress { height: 10px; border-radius: 20px; background: #e9e6f7; }
.skill-bar { background: var(--gradient); border-radius: 20px; transition: width 1.2s ease; }

/* ===== Services ===== */
.service-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.2rem 1.8rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: all .35s ease;
    border: 1px solid #f0eefc;
}
.service-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(123,47,247,0.15); }
.service-icon {
    width: 60px; height: 60px;
    border-radius: 16px;
    background: var(--gradient);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
}
.service-card h4 { font-weight: 700; margin-bottom: 0.6rem; }
.service-card p { color: var(--text-muted); margin-bottom: 0; }

/* ===== Contact ===== */
.contact-form .form-control {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    padding: 0.8rem 1.1rem;
    border-radius: 10px;
}
.contact-form .form-control::placeholder { color: rgba(255,255,255,0.5); }
.contact-form .form-control:focus {
    background: rgba(255,255,255,0.12);
    border-color: var(--accent);
    box-shadow: none;
    color: #fff;
}

/* ===== Footer ===== */
.footer { background: var(--dark); color: #cfcfe0; }

/* ===== Back to top ===== */
.back-to-top {
    position: fixed;
    bottom: 25px; right: 25px;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: all .3s ease;
    z-index: 999;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { color: #fff; transform: translateY(-4px); }

/* ===== Animations ===== */
.fade-in-up { opacity: 0; transform: translateY(30px); transition: all .8s ease; }
.fade-in-up.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 991px) {
    .hero-name { font-size: 2.3rem; }
    .hero-designation { font-size: 1.2rem; }
    .hero-img-wrap { width: 220px; height: 220px; margin-top: 2rem; }
}
