/* =================================================================
   STYLE V2 — Hero & About redesign
   Palette: primary #4361ee | secondary #f72585 | accent #4cc9f0
   ================================================================= */

/* ---- Scroll-reveal helper ---- */
.v2-sr {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1),
                transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.v2-sr.visible { opacity: 1; transform: none; }
.v2-sr-d1 { transition-delay: 0.10s; }
.v2-sr-d2 { transition-delay: 0.22s; }
.v2-sr-d3 { transition-delay: 0.34s; }
.v2-sr-d4 { transition-delay: 0.46s; }
.v2-sr-d5 { transition-delay: 0.58s; }

/* ================================================================
   HERO V2
   ================================================================ */
.hero-v2 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: #07080f;
}

/* Subtle grid */
.hero-v2::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(67,97,238,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(67,97,238,0.06) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
    z-index: 0;
    pointer-events: none;
}

/* Ambient orbs */
.hero-v2-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: v2-float 9s ease-in-out infinite;
}
.hero-v2-orb--1 {
    width: 500px; height: 500px;
    top: -120px; left: -140px;
    background: radial-gradient(circle, rgba(67,97,238,0.22) 0%, transparent 65%);
    filter: blur(80px);
}
.hero-v2-orb--2 {
    width: 400px; height: 400px;
    bottom: -80px; right: -120px;
    background: radial-gradient(circle, rgba(247,37,133,0.16) 0%, transparent 65%);
    filter: blur(70px);
    animation-delay: 4s;
}
.hero-v2-orb--3 {
    width: 280px; height: 280px;
    top: 40%; left: 55%;
    background: radial-gradient(circle, rgba(76,201,240,0.12) 0%, transparent 65%);
    filter: blur(55px);
    animation-delay: 7s;
}
@keyframes v2-float {
    0%,100% { transform: translate(0,0); }
    33%      { transform: translate(16px,-22px); }
    66%      { transform: translate(-12px, 14px); }
}

/* Inner layout */
.hero-v2-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 6rem 1.5rem 5rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
}
@media (max-width: 900px) {
    .hero-v2-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-v2-avatar { margin: 0 auto; }
    .hero-v2-ctas { justify-content: center; }
}

/* Text side */
.hero-v2-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #4cc9f0;
    border: 1px solid rgba(76,201,240,0.28);
    border-radius: 50px;
    padding: 0.38rem 0.9rem;
    margin-bottom: 1.5rem;
    background: rgba(76,201,240,0.07);
    opacity: 0;
    animation: v2-fadeUp 0.6s ease 0.3s forwards;
}

.hero-v2-title {
    font-size: clamp(2.6rem, 6vw, 4.8rem);
    font-weight: 900;
    line-height: 1.05;
    color: #f0f4ff;
    margin-bottom: 1.25rem;
    opacity: 0;
    animation: v2-fadeUp 0.65s ease 0.45s forwards;
}
.hero-v2-title em {
    font-style: normal;
    background: linear-gradient(135deg, #4361ee 0%, #4cc9f0 50%, #f72585 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-v2-role {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: rgba(76,201,240,0.85);
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
    opacity: 0;
    animation: v2-fadeUp 0.65s ease 0.55s forwards;
}

.hero-v2-desc {
    font-size: clamp(0.9rem, 1.8vw, 1.05rem);
    color: #8b9ab5;
    line-height: 1.8;
    max-width: 540px;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: v2-fadeUp 0.65s ease 0.65s forwards;
}

.hero-v2-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    opacity: 0;
    animation: v2-fadeUp 0.65s ease 0.78s forwards;
}

/* CTA buttons (keep existing palette) */
.btn-v2-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.8rem 1.8rem;
    background: linear-gradient(135deg, #4361ee 0%, #4cc9f0 100%);
    color: #fff;
    font-weight: 600;
    font-size: 0.92rem;
    border-radius: 12px;
    border: none;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    box-shadow: 0 8px 28px rgba(67,97,238,0.35);
}
.btn-v2-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(67,97,238,0.45);
    filter: brightness(1.1);
    color: #fff;
    text-decoration: none;
}

.btn-v2-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.8rem 1.8rem;
    background: transparent;
    color: #a0aec0;
    font-weight: 600;
    font-size: 0.92rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    text-decoration: none;
    transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}
.btn-v2-ghost:hover {
    border-color: rgba(76,201,240,0.45);
    color: #4cc9f0;
    background: rgba(76,201,240,0.06);
    text-decoration: none;
}

/* Avatar side */
.hero-v2-avatar {
    position: relative;
    width: 280px;
    height: 280px;
    flex-shrink: 0;
    opacity: 0;
    animation: v2-fadeUp 0.7s ease 0.9s forwards;
}

/* Gradient ring around avatar */
.hero-v2-avatar::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4361ee, #4cc9f0, #f72585, #4361ee);
    background-size: 300% 300%;
    animation: v2-ring 6s linear infinite;
    z-index: 0;
}
@keyframes v2-ring {
    0%   { background-position: 0% 0%; }
    100% { background-position: 300% 300%; }
}

/* Inner mask */
.hero-v2-avatar::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: #07080f;
    z-index: 1;
}

.hero-v2-avatar img {
    position: absolute;
    inset: 3px;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    border-radius: 50%;
    object-fit: cover;
    z-index: 2;
}

/* Floating skill chips */
.hero-v2-chip {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    white-space: nowrap;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.06);
    color: #e2e8f0;
    animation: v2-chipFloat 5s ease-in-out infinite;
    opacity: 0;
    animation: v2-fadeUp 0.5s ease forwards, v2-chipFloat 6s ease-in-out 1s infinite;
}
.hero-v2-chip--1 { top: -10px;  right: -30px; animation-delay: 1.1s, 1.1s; color: #4cc9f0; }
.hero-v2-chip--2 { bottom: 30px; left: -45px;  animation-delay: 1.3s, 0s;   color: #f72585; }
.hero-v2-chip--3 { top: 55%;    right: -50px; animation-delay: 1.5s, 3s;   color: #a78bfa; }

@keyframes v2-chipFloat {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

/* Scroll hint */
.hero-v2-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    color: #3d4d6a;
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0;
    animation: v2-fadeUp 0.6s ease 1.2s forwards;
}
.hero-v2-scroll-line {
    width: 1px;
    height: 38px;
    background: linear-gradient(to bottom, rgba(76,201,240,0.5), transparent);
    animation: v2-scrollLine 2s ease-in-out infinite;
}
@keyframes v2-scrollLine {
    0%,100% { transform: scaleY(1); opacity: 0.45; }
    50%      { transform: scaleY(1.5); opacity: 1; }
}

@keyframes v2-fadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ================================================================
   ABOUT V2
   ================================================================ */
.about-v2 {
    position: relative;
    padding: 7rem 0;
    background: #0b0d17;
    overflow: hidden;
}

.about-v2-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(100px);
    z-index: 0;
}
.about-v2-blob--1 {
    width: 500px; height: 500px;
    top: -100px; right: -150px;
    background: radial-gradient(circle, rgba(67,97,238,0.14) 0%, transparent 70%);
}
.about-v2-blob--2 {
    width: 380px; height: 380px;
    bottom: -80px; left: -100px;
    background: radial-gradient(circle, rgba(247,37,133,0.1) 0%, transparent 70%);
}

.about-v2-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
@media (max-width: 900px) {
    .about-v2-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .about-v2-photo { order: -1; }
}

/* Photo */
.about-v2-photo {
    position: relative;
    border-radius: 24px;
    overflow: visible;
}
.about-v2-photo-img {
    width: 100%;
    aspect-ratio: 3/4;
    max-height: 500px;
    object-fit: cover;
    border-radius: 22px;
    display: block;
    position: relative;
    z-index: 1;
    transition: transform 0.6s cubic-bezier(0.25,0.8,0.25,1);
}
.about-v2-photo:hover .about-v2-photo-img { transform: scale(1.02); }

/* Gradient border on photo */
.about-v2-photo::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(67,97,238,0.6) 0%, rgba(76,201,240,0.3) 50%, rgba(247,37,133,0.4) 100%);
    z-index: 0;
    pointer-events: none;
}

/* Decorative corner squares */
.about-v2-photo::after {
    content: '';
    position: absolute;
    bottom: -20px; right: -20px;
    width: 100px; height: 100px;
    border-radius: 18px;
    border: 2px solid rgba(67,97,238,0.25);
    z-index: -1;
    pointer-events: none;
}
.about-v2-photo-corner {
    position: absolute;
    top: -18px; left: -18px;
    width: 70px; height: 70px;
    border-radius: 14px;
    border: 2px solid rgba(76,201,240,0.2);
    z-index: 0;
    pointer-events: none;
}

/* Text side */
.about-v2-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #4cc9f0;
    margin-bottom: 0.9rem;
}
.about-v2-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    line-height: 1.15;
    color: #f0f4ff;
    margin-bottom: 1.4rem;
}
.about-v2-body p {
    font-size: 0.93rem;
    color: #6b7fa3;
    line-height: 1.85;
    margin-bottom: 1rem;
}
.about-v2-body strong { color: #4cc9f0; font-weight: 600; }

/* Skills list */
.about-v2-skills {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}
@media (max-width: 600px) {
    .about-v2-skills { grid-template-columns: 1fr; }
}
.about-v2-skills li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: #8b9ab5;
}
.about-v2-skills li::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4361ee, #4cc9f0);
    flex-shrink: 0;
}

/* Mini stats bar */
.about-v2-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}
.about-v2-stat-num {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #4361ee 0%, #4cc9f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    display: block;
}
.about-v2-stat-label {
    font-size: 0.75rem;
    color: #4d5e7a;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.2rem;
}

/* Section title shared overrides for other sections */
.section-title {
    color: #f0f4ff !important;
}
.section-subtitle {
    color: #6b7fa3 !important;
}

/* ================================================================
   SERVICES V2 — numbered list layout with spotlight hover
   ================================================================ */
.srv-v2 {
    position: relative;
    padding: 7rem 0;
    background: #07080f;
    overflow: hidden;
}

.srv-v2-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(110px);
    z-index: 0;
}
.srv-v2-blob--1 {
    width: 480px; height: 480px;
    top: -60px; left: -160px;
    background: radial-gradient(circle, rgba(67,97,238,0.15) 0%, transparent 70%);
}
.srv-v2-blob--2 {
    width: 360px; height: 360px;
    bottom: -80px; right: -100px;
    background: radial-gradient(circle, rgba(247,37,133,0.1) 0%, transparent 70%);
}

.srv-v2-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

/* Header */
.srv-v2-header {
    text-align: center;
    margin-bottom: 4rem;
}
.srv-v2-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #4cc9f0;
    margin-bottom: 0.9rem;
}
.srv-v2-title {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #f0f4ff;
    margin-bottom: 0.9rem;
    line-height: 1.15;
}
.srv-v2-sub {
    font-size: 0.95rem;
    color: #5a6e8f;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.75;
}

/* List */
.srv-v2-list {
    display: flex;
    flex-direction: column;
}

/* Each row */
.srv-v2-item {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    padding: 1.6rem 1.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: relative;
    overflow: hidden;
    cursor: default;
    transition: background 0.35s ease, border-color 0.35s ease;
    border-radius: 0;
}
.srv-v2-list .srv-v2-item:first-child {
    border-top: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px 16px 0 0;
}
.srv-v2-list .srv-v2-item:last-child {
    border-radius: 0 0 16px 16px;
}

/* Spotlight glow on hover */
.srv-v2-item::before {
    content: '';
    position: absolute;
    width: 300px; height: 160px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(67,97,238,0.14) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    left: var(--mx, -100%);
    top: 50%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}
.srv-v2-item:hover {
    background: rgba(255,255,255,0.025);
    border-color: rgba(67,97,238,0.15);
}
.srv-v2-item:hover::before { opacity: 1; }
.srv-v2-item > * { position: relative; z-index: 1; }

/* Number */
.srv-v2-num {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: rgba(76,201,240,0.3);
    min-width: 28px;
    transition: color 0.3s ease;
}
.srv-v2-item:hover .srv-v2-num { color: rgba(76,201,240,0.65); }

/* Icon */
.srv-v2-icon-wrap {
    width: 48px; height: 48px;
    min-width: 48px;
    border-radius: 14px;
    background: rgba(67,97,238,0.08);
    border: 1px solid rgba(67,97,238,0.12);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.05rem;
    color: #4361ee;
    transition: background 0.35s ease, border-color 0.35s ease,
                box-shadow 0.35s ease, color 0.35s ease;
}
.srv-v2-item:hover .srv-v2-icon-wrap {
    background: rgba(67,97,238,0.18);
    border-color: rgba(76,201,240,0.35);
    color: #4cc9f0;
    box-shadow: 0 0 0 3px rgba(67,97,238,0.08), 0 0 16px rgba(67,97,238,0.18);
}

/* Body */
.srv-v2-body {
    flex: 1;
}
.srv-v2-item-title {
    font-size: 1rem;
    font-weight: 700;
    color: #d1daf0;
    margin: 0 0 0.3rem;
    transition: color 0.3s ease;
}
.srv-v2-item:hover .srv-v2-item-title { color: #f0f4ff; }
.srv-v2-item-desc {
    font-size: 0.83rem;
    color: #44566e;
    line-height: 1.7;
    margin: 0;
    transition: color 0.3s ease;
}
.srv-v2-item:hover .srv-v2-item-desc { color: #607080; }

/* Arrow */
.srv-v2-arrow {
    font-size: 0.8rem;
    color: rgba(67,97,238,0);
    transition: color 0.3s ease, transform 0.3s ease;
    min-width: 20px;
    text-align: right;
}
.srv-v2-item:hover .srv-v2-arrow {
    color: #4361ee;
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 600px) {
    .srv-v2-item { gap: 1rem; padding: 1.25rem 1rem; }
    .srv-v2-num { display: none; }
    .srv-v2-arrow { display: none; }
}
