/* ========================================
   Welcome Page Styles
   Reusable across landing/guest pages
   ======================================== */

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

body {
    font-family: 'Figtree', sans-serif;
    background: #0f0f1a;
    min-height: 100vh;
    overflow-x: hidden;
    color: #ffffff;
}

/* Animated background grid */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(102, 126, 234, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(102, 126, 234, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
}

/* Floating gradient orbs */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    animation: orbFloat 8s ease-in-out infinite;
}
.orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(102, 126, 234, 0.15);
    top: -100px;
    left: -100px;
}
.orb-2 {
    width: 350px;
    height: 350px;
    background: rgba(118, 75, 162, 0.12);
    bottom: -80px;
    right: -80px;
    animation-delay: 3s;
}
.orb-3 {
    width: 250px;
    height: 250px;
    background: rgba(255, 107, 107, 0.08);
    top: 50%;
    left: 60%;
    animation-delay: 5s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Main hero container */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

/* Pulse circle behind logo */
.logo-wrapper {
    position: relative;
    margin-bottom: 2rem;
}
.logo-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid rgba(102, 126, 234, 0.3);
    animation: pulseRing 2s ease-out infinite;
}
.logo-pulse:nth-child(2) {
    animation-delay: 1s;
}
@keyframes pulseRing {
    0% { width: 100px; height: 100px; opacity: 1; }
    100% { width: 160px; height: 160px; opacity: 0; }
}

.logo-circle {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 0 40px rgba(102, 126, 234, 0.3);
    animation: logoGlow 3s ease-in-out infinite;
}
@keyframes logoGlow {
    0%, 100% { box-shadow: 0 0 40px rgba(102, 126, 234, 0.3); }
    50% { box-shadow: 0 0 60px rgba(102, 126, 234, 0.5); }
}

/* Main title */
.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #a8b4ff 50%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
    line-height: 1.1;
}

/* Typing subtitle */
.typing-wrapper {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
    min-height: 2rem;
}
.typing-wrapper .highlight {
    color: #a8b4ff;
    font-weight: 600;
}
.cursor {
    display: inline-block;
    width: 3px;
    height: 1.3rem;
    background: #a8b4ff;
    margin-left: 4px;
    animation: blink 1s step-end infinite;
    vertical-align: text-bottom;
}
@keyframes blink {
    50% { opacity: 0; }
}

/* Subtitle */
.tagline {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.5);
    max-width: 600px;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

/* Buttons */
.btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.btn {
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Resume highlights section */
.highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    width: 100%;
    margin-top: 1rem;
}

.highlight-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: default;
}
.highlight-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.highlight-number {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.highlight-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.highlight-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Skill tags */
.skills-strip {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
    max-width: 700px;
}
.skill-tag {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}
.skill-tag:hover {
    background: rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
    color: rgba(255, 255, 255, 0.9);
}

/* Divider */
.divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #667eea, transparent);
    margin: 1.5rem auto;
    border-radius: 2px;
}

/* ========================================
   Job Experience Timeline
   Fun, colorful & readable career showcase
   ======================================== */

.journey-section {
    width: 100%;
    max-width: 1000px;
    padding: 0 1.5rem;
    margin: 4rem auto 2rem;
}

.journey-header {
    text-align: center;
    margin-bottom: 3rem;
}

.journey-badge {
    display: inline-block;
    padding: 0.4rem 1.4rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(192, 132, 252, 0.2));
    border: 1px solid rgba(102, 126, 234, 0.4);
    color: #c084fc;
    margin-bottom: 1rem;
}

.journey-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
}

.journey-header h2 span {
    background: linear-gradient(135deg, #667eea, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.journey-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.05rem;
}

/* Job stats row */
.job-stats {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.job-stat {
    text-align: center;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-width: 130px;
    transition: all 0.3s ease;
}

.job-stat:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(192, 132, 252, 0.05));
    border-color: rgba(102, 126, 234, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.job-stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.job-stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.3rem;
    font-weight: 600;
}

/* ========================================
   Fun Job Cards (No timeline line)
   More readable card-based layout
   ======================================== */

.job-cards {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.job-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.job-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 40px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}

/* Colorful top bar per job */
.job-card-bar {
    height: 5px;
    width: 100%;
    border-radius: 20px 20px 0 0;
}

.job-card[data-color="purple"] .job-card-bar { background: linear-gradient(90deg, #667eea, #764ba2); }
.job-card[data-color="pink"] .job-card-bar { background: linear-gradient(90deg, #f093fb, #f5576c); }
.job-card[data-color="green"] .job-card-bar { background: linear-gradient(90deg, #4facfe, #00f2fe); }
.job-card[data-color="orange"] .job-card-bar { background: linear-gradient(90deg, #fa709a, #fee140); }
.job-card[data-color="blue"] .job-card-bar { background: linear-gradient(90deg, #a18cd1, #fbc2eb); }

/* Card inner */
.job-card-inner {
    padding: 1.5rem 2rem;
}

.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.6rem;
    flex-wrap: wrap;
}

.job-card-company {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
}

.job-card-period {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.06);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-weight: 500;
}

.job-card-role {
    font-size: 1rem;
    color: #a8b4ff;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.job-card-desc {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 0.8rem;
}

/* Fun fact tags */
.job-card-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.job-tag {
    font-size: 0.75rem;
    padding: 0.3rem 0.9rem;
    border-radius: 15px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    cursor: default;
}

.job-tag:hover {
    background: rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
    color: #fff;
    transform: scale(1.05);
}

/* Expand indicator */
.job-card-expand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 0 0;
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    transition: all 0.3s ease;
    pointer-events: none;
}

.job-card-expand .arrow {
    font-size: 0.8rem;
    transition: transform 0.4s ease;
}

.job-card.active .job-card-expand .arrow {
    transform: rotate(180deg);
}

.job-card.active .job-card-expand {
    color: rgba(255, 255, 255, 0.5);
}

/* Expandable details */
.job-card-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.4s ease;
    opacity: 0;
}

.job-card.active .job-card-details {
    max-height: 600px;
    opacity: 1;
}

.job-card-details-inner {
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.15);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.detail-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.detail-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #c084fc;
    display: block;
    margin-bottom: 0.7rem;
    letter-spacing: 0.3px;
}

.detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-list li {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    padding-left: 1.2rem;
    position: relative;
    margin-bottom: 0.4rem;
}

.detail-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: #667eea;
    font-size: 0.6rem;
    top: 3px;
}

/* Bounce animation on cards */
@keyframes cardPop {
    0% { opacity: 0; transform: translateY(30px) scale(0.97); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.job-card {
    animation: cardPop 0.5s ease-out backwards;
}

.job-card:nth-child(1) { animation-delay: 0.05s; }
.job-card:nth-child(2) { animation-delay: 0.15s; }
.job-card:nth-child(3) { animation-delay: 0.25s; }
.job-card:nth-child(4) { animation-delay: 0.35s; }
.job-card:nth-child(5) { animation-delay: 0.45s; }

/* Colorful glow on active card */
.job-card.active {
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.08);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .typing-wrapper {
        font-size: 1rem;
    }
    .tagline {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }
    .highlights {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .highlight-card {
        padding: 1rem;
    }
    .highlight-number {
        font-size: 1.5rem;
    }
    .btn {
        padding: 12px 28px;
        font-size: 0.9rem;
    }
    .job-stats {
        gap: 0.8rem;
    }
    .job-stat {
        padding: 0.8rem 1.2rem;
        min-width: 80px;
    }
    .job-stat-number {
        font-size: 1.6rem;
    }
    .journey-header h2 {
        font-size: 2rem;
    }
    .job-card-inner {
        padding: 1.2rem;
    }
    .job-card-details-inner {
        padding: 1.2rem;
    }
    .details-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    .job-card-company {
        font-size: 1.15rem;
    }
}

@media (max-width: 480px) {
    .highlights {
        grid-template-columns: 1fr 1fr;
    }
    .journey-section {
        padding: 0 1rem;
    }
    .job-card-header {
        flex-direction: column;
        gap: 0.3rem;
    }
    .details-grid {
        grid-template-columns: 1fr;
    }
}