/* ================================
   Product Manager Homepage Stylesheet
   ================================
   
   Professional template for product managers.
   Features: Stats, timeline, product cards
   
   HOW TO CUSTOMIZE:
   - Update stats in hero section
   - Change accent colors
   - Add/remove experience items
   ================================ */

/* Color scheme */
:root {
    --primary-color: #059669;
    --primary-dark: #047857;
    --text-dark: #111827;
    --text-medium: #374151;
    --text-light: #6b7280;
    --bg-gray: #f9fafb;
    --border-color: #e5e7eb;
    --white: #ffffff;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

img,
svg {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 25px;
}

/* Header */
.site-header {
    background: var(--white);
    padding: 25px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
}

.main-nav {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.main-nav a {
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--primary-color);
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: var(--white);
    padding: 80px 0;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 20px;
    opacity: 0.95;
}

.hero-desc {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Hero stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.stat {
    text-align: center;
    padding: 25px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
    color: var(--text-dark);
}

/* About section */
.about-section {
    background: var(--bg-gray);
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-skills h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.skills-list {
    list-style: none;
}

.skills-list li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-medium);
    border-bottom: 1px solid var(--border-color);
}

.skills-list li:last-child {
    border-bottom: none;
}

.skills-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Experience timeline */
.timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 150px;
    top: 30px;
    bottom: -50px;
    width: 2px;
    background: var(--border-color);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-date {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
    position: relative;
}

.timeline-date::after {
    content: '';
    position: absolute;
    right: -42px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--border-color);
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.company {
    color: var(--text-light);
    margin-bottom: 15px;
    font-weight: 500;
}

.achievements {
    list-style: none;
    margin-top: 15px;
}

.achievements li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-medium);
    line-height: 1.6;
}

.achievements li::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Products section */
.products-section {
    background: var(--bg-gray);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.product-header h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
}

.product-tag {
    background: var(--bg-gray);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.product-desc {
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 25px;
}

.product-impact {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.impact-item {
    color: var(--text-medium);
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.impact-item strong {
    color: var(--text-dark);
}

/* Tools section */
.tools-section {
    background: var(--white);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.tool-category h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.tool-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tool-tags span {
    background: var(--bg-gray);
    color: var(--text-medium);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

/* Contact section */
.contact-section {
    background: var(--bg-gray);
}

.contact-box {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: var(--white);
    padding: 50px 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-box h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.contact-box p {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 35px;
}

.contact-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: var(--bg-gray);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.contact-link .icon {
    font-size: 1.5rem;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    text-align: center;
    padding: 30px 0;
}

.footer p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 8px 0;
}

.footer a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.footer a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Responsive design */
@media (max-width: 968px) {
    .hero h1 {
        font-size: 2.8rem;
    }

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

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .stat {
        padding: 20px 10px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .timeline-item {
        grid-template-columns: 120px 1fr;
        gap: 30px;
    }

    .timeline-item::before {
        left: 120px;
    }

    .timeline-date::after {
        right: -32px;
    }

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

    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav {
        gap: 15px;
    }

    .main-nav a {
        font-size: 0.9rem;
    }

    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

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

    .hero-stats {
        grid-template-columns: 1fr;
    }

    section {
        padding: 60px 0;
    }

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

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .timeline-item::before {
        display: none;
    }

    .timeline-date::after {
        display: none;
    }

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

    .contact-box {
        padding: 35px 25px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.9rem;
    }

    .header-flex {
        flex-direction: column;
        gap: 15px;
    }
}

