/* ============================================
   MODERN TECH-SAVVY FINTECH PORTFOLIO
   ============================================ */

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

/* ROOT VARIABLES */
:root {
    --primary-dark: #0d1b2a;
    --primary-blue: #1e3a8a;
    --accent-blue: #3b82f6;
    --accent-cyan: #06b6d4;
    --accent-green: #10b981;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --border-color: #334155;
    --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    --gradient-accent: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

/* GLOBAL STYLES */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-primary);
    background: var(--bg-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* CONTAINER */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* NAVIGATION */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(13, 27, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.1em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-cyan);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-cyan);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0d1b2a 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(30px); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    background: transparent;
}

.btn-secondary:hover {
    background: rgba(6, 182, 212, 0.1);
    transform: translateY(-3px);
}

.btn-light {
    background: white;
    color: var(--primary-dark);
    font-weight: 700;
}

.btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}

.profile-pic {
    width: 100%;
    max-width: 400px;
    border-radius: 15px;
    border: 2px solid var(--accent-cyan);
    box-shadow: 0 30px 60px rgba(6, 182, 212, 0.2);
    transition: all 0.3s ease;
}

.profile-pic:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 40px 80px rgba(6, 182, 212, 0.3);
}

/* SECTION STYLES */
section {
    padding: 5rem 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5rem;
}

/* ABOUT SECTION */
.about {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-top: 1px solid var(--border-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.about-text {
    max-width: 900px;
}

.about-lead {
    font-size: 1.3rem;
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--accent-green);
    font-weight: 700;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

/* EXPERTISE SECTION */
.expertise {
    background: var(--bg-dark);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.expertise-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
}

.expertise-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(6, 182, 212, 0.15);
}

.expertise-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.expertise-card h3 {
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

.expertise-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* EXPERIENCE SECTION */
.experience {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-top: 1px solid var(--border-color);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: var(--gradient-accent);
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: 52%;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 52%;
    margin-right: 0;
    text-align: left;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--accent-cyan);
    border: 4px solid var(--bg-dark);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 4px var(--accent-cyan);
}

.timeline-content {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 10px;
    border-left: 2px solid var(--accent-cyan);
}

.timeline-content h3 {
    color: var(--accent-cyan);
    margin-bottom: 0.5rem;
}

.role-subtitle {
    color: var(--accent-green);
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-content p {
    line-height: 1.8;
}

/* SKILLS SECTION */
.skills {
    background: var(--bg-dark);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.skill-category {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.skill-category h4 {
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.skill-tag {
    display: inline-block;
    background: rgba(59, 130, 246, 0.2);
    color: var(--accent-blue);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--accent-blue);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: var(--accent-blue);
    color: white;
    transform: translateY(-3px);
}

/* CTA SECTION */
.cta-section {
    background: var(--gradient-primary);
    text-align: center;
    padding: 5rem 2rem;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* CONTACT SECTION */
.contact {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-top: 1px solid var(--border-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.contact-info p {
    font-size: 1.05rem;
    line-height: 1.8;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 1.1rem;
}

.linkedin {
    background: rgba(0, 119, 181, 0.2);
    color: #0077b5;
    border-color: #0077b5;
}

.linkedin:hover {
    background: #0077b5;
    color: white;
    transform: translateX(10px);
}

.blog {
    background: rgba(255, 153, 0, 0.2);
    color: #ff9900;
    border-color: #ff9900;
}

.blog:hover {
    background: #ff9900;
    color: white;
    transform: translateX(10px);
}

.email {
    background: rgba(59, 130, 246, 0.2);
    color: var(--accent-blue);
    border-color: var(--accent-blue);
}

.email:hover {
    background: var(--accent-blue);
    color: white;
    transform: translateX(10px);
}

.cv {
    background: rgba(16, 185, 129, 0.2);
    color: var(--accent-green);
    border-color: var(--accent-green);
}

.cv:hover {
    background: var(--accent-green);
    color: white;
    transform: translateX(10px);
}

/* FOOTER */
.footer {
    background: var(--primary-dark);
    border-top: 1px solid var(--border-color);
    padding: 3rem 2rem;
    text-align: center;
}

.footer p {
    margin: 0.5rem 0;
}

.footer-tagline {
    color: var(--accent-cyan);
    font-weight: 600;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-image {
        order: -1;
    }

    .profile-pic {
        max-width: 300px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .timeline::before {
        display: none;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin: 0;
        text-align: left;
    }

    .timeline-marker {
        position: relative;
        left: 0;
        transform: none;
        display: none;
    }

    .timeline-content {
        border-left: 3px solid var(--accent-cyan);
        margin-left: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }
}