/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --pink: hsl(343, 90%, 56%);
    --pink-light: hsl(343, 90%, 65%);
    --pink-dark: hsl(343, 90%, 45%);
    --green: #00d68f;
    --green-light: #00e89d;
    --green-dark: #00b377;
    --black: #0a0a0a;
    --black-light: #141414;
    --black-medium: #1a1a1a;
    --primary-color: var(--pink);
    --primary-dark: var(--pink-dark);
    --primary-light: var(--pink-light);
    --secondary-color: var(--green);
    --secondary-light: var(--green-light);
    --secondary-dark: var(--green-dark);
    --text-primary: #ffffff;
    --text-secondary: #e5e5e5;
    --text-light: #b8b8b8;
    --bg-primary: var(--black);
    --bg-secondary: var(--black-light);
    --bg-accent: var(--black-medium);
    --border-color: #2a2a2a;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.4);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.8;
    font-size: 1.5rem;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--black) 0%, var(--black-medium) 50%, var(--green-dark) 100%);
    min-height: 100vh;
    padding: 2rem 1rem;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 50%, var(--green-light) 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.header-content {
    position: relative;
    z-index: 1;
}

.name {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.intro {
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 1;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Section Styles */
.section {
    padding: 3rem 2.5rem;
    border-bottom: 1px solid var(--border-color);
}

.section:last-of-type {
    border-bottom: none;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--green);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--pink);
    display: inline-block;
}

/* About Section */
.about p,
.what-i-do > p,
.how-i-work > p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    line-height: 1.9;
}

.about p:last-child {
    margin-bottom: 0;
}

/* Highlight Text */
.highlight {
    color: var(--pink) !important;
    font-weight: 500;
    font-size: 1.5rem !important;
}

.goal {
    background: linear-gradient(135deg, var(--black-light) 0%, var(--black-medium) 100%);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--pink);
    margin-top: 1.5rem;
    font-style: italic;
    color: var(--text-primary) !important;
}

.note {
    font-size: 1.15rem !important;
    color: var(--text-light) !important;
    font-style: italic;
}

/* Work List & Love List */
.work-list,
.love-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.work-list li,
.love-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 1.5rem;
    line-height: 1.8;
}

.work-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--pink);
    font-weight: 600;
}

.love-list li::before {
    content: '♥';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 600;
}

.work-list li:last-child,
.love-list li:last-child {
    margin-bottom: 0;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.75rem;
}

.skill-item {
    background: linear-gradient(135deg, var(--black-light) 0%, var(--black-medium) 100%);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    font-size: 1.25rem;
    color: var(--text-primary);
    border-left: 3px solid var(--green);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.skill-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
}

/* Experience Section */
.experience > p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.9;
}

.experience > p strong {
    color: var(--pink);
}

.job {
    margin-top: 2rem;
    padding: 1.75rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    transition: box-shadow 0.2s ease;
}

.job:hover {
    box-shadow: var(--shadow-md);
}

.company {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.job-title {
    font-size: 1.2rem;
    color: var(--green);
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.job > p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 0.85rem;
}

.job > p:last-child {
    margin-bottom: 0;
}

/* Contact Section */
.contact > p {
    color: var(--text-secondary);
    font-size: 1.25rem;
    line-height: 1.9;
    margin-bottom: 1.75rem;
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1.1rem 1.75rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.15rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.email-btn {
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    color: white;
}

.linkedin-btn {
    background: linear-gradient(135deg, var(--pink) 0%, var(--pink-dark) 100%);
    color: white;
}

.devto-btn {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    color: white;
    border: 1px solid var(--green);
}

.contact-btn .icon {
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: var(--bg-accent);
    padding: 1.75rem 2rem;
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 1rem 0.5rem;
    }

    .header {
        padding: 3rem 1.5rem;
    }

    .name {
        font-size: 2.25rem;
    }

    .intro {
        font-size: 1.1rem;
    }

    .section {
        padding: 2rem 1.5rem;
    }

    .contact-links {
        flex-direction: column;
    }

    .contact-btn {
        justify-content: center;
    }
}

/* Print Styles */
@media print {
    body {
        background: white;
        padding: 0;
    }

    .container {
        box-shadow: none;
        border-radius: 0;
    }

    .header {
        background: var(--green) !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .job:hover,
    .skill-item:hover {
        transform: none;
        box-shadow: none;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeInUp 0.5s ease forwards;
}

.section:nth-child(2) { animation-delay: 0.1s; }
.section:nth-child(3) { animation-delay: 0.2s; }
.section:nth-child(4) { animation-delay: 0.3s; }
.section:nth-child(5) { animation-delay: 0.4s; }
.section:nth-child(6) { animation-delay: 0.5s; }
