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

:root {
    /* Light Mode Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-gradient: linear-gradient(135deg, #4361ee 0%, #7209b7 50%, #b5179e 100%);
    --bg-gradient-alt: linear-gradient(135deg, #4cc9f0 0%, #4895ef 50%, #4361ee 100%);
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --accent-primary: #4361ee;
    --accent-secondary: #7209b7;
    --accent-tertiary: #f72585;
    --card-bg: #ffffff;
    --card-shadow: rgba(0, 0, 0, 0.08);
    --border-color: #e2e8f0;
    --header-bg: rgba(255, 255, 255, 0.98);
    --button-gradient: linear-gradient(135deg, #3a0ca3 0%, #560bad 100%);
    --text-gradient: linear-gradient(135deg, #560bad 0%, #b5179e 50%, #f72585 100%);
}

[data-theme="dark"] {
    /* Dark Mode Colors */
    --bg-primary: #1a0b2e;
    --bg-secondary: #2d1b4e;
    --bg-gradient: linear-gradient(135deg, #480ca8 0%, #7209b7 50%, #f72585 100%);
    --bg-gradient-alt: linear-gradient(135deg, #3a0ca3 0%, #560bad 50%, #b5179e 100%);
    --text-primary: #ffffff;
    --text-secondary: #f0f0f0;
    --text-muted: #d0d0d0;
    --accent-primary: #4cc9f0;
    --accent-secondary: #4895ef;
    --accent-tertiary: #f72585;
    --card-bg: #2d1b4e;
    --card-shadow: rgba(0, 0, 0, 0.5);
    --border-color: #480ca8;
    --header-bg: rgba(26, 11, 46, 0.98);
    --button-gradient: linear-gradient(135deg, #b5179e 0%, #f72585 100%);
    --text-gradient: linear-gradient(135deg, #4cc9f0 0%, #4895ef 50%, #4361ee 100%);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

/* ===== ANNOUNCEMENT BANNER ===== */
.announcement-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-gradient);
    color: #ffffff;
    padding: 12px 24px;
    z-index: 1001;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.announcement-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.announcement-icon {
    font-size: 1.2rem;
}

.announcement-text {
    font-size: 0.95rem;
    color: #ffffff;
}

.announcement-text strong {
    font-weight: 700;
}

.announcement-cta {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.announcement-cta:hover {
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
    transform: translateX(2px);
}

.announcement-close {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0 8px;
    line-height: 1;
    transition: opacity 0.3s ease;
    margin-left: auto;
}

.announcement-close:hover {
    opacity: 0.7;
}

/* Adjust body padding when announcement is visible */
body.has-announcement {
    padding-top: 52px;
}

body.has-announcement .header {
    top: 52px;
}

/* Layout Containers */
.content-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--header-bg);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px var(--card-shadow);
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
}

.nav-brand:hover {
    opacity: 0.8;
}

.nav-logo {
    height: 50px;
    width: auto;
    transition: opacity 0.3s ease;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

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

.nav-link:hover {
    color: var(--accent-primary);
    opacity: 1;
}

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

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

.theme-toggle {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px var(--card-shadow);
}

.sun-icon,
.moon-icon {
    position: absolute;
    transition: all 0.3s ease;
}

.sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.moon-icon {
    opacity: 0;
    transform: rotate(180deg) scale(0);
}

[data-theme="dark"] .sun-icon {
    opacity: 0;
    transform: rotate(-180deg) scale(0);
}

[data-theme="dark"] .moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero-section {
    padding: 170px 0 110px;
    background: var(--bg-gradient);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    max-width: 700px;
}

.hero-profile {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 0.8s ease 0.3s backwards;
    margin-top: -5px;
}

.profile-photo {
    width: 300px;
    height: 300px;
    border-radius: 8px;
    object-fit: cover;
    object-position: center 30%;
    border: 6px solid #fff;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.profile-photo:hover {
    transform: scale(1.05);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.75rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

/* Buttons */
.button-primary,
.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.button-primary {
    background: var(--bg-gradient-alt);
    color: #fff;
    border: 2px solid transparent;
}

.button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 87, 108, 0.4);
    opacity: 1;
}

.button-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.button-secondary:hover {
    background-color: #ffffff;
    color: #3a0ca3;
    opacity: 1;
    transform: translateY(-2px);
}

/* Sections */
.section {
    padding: 100px 0;
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease;
}

.section-alt {
    background-color: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: var(--bg-gradient);
    margin: 0 auto;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 60px;
    align-items: start;
}

.about-profile {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.about-photo {
    width: 300px;
    height: 450px;
    border-radius: 12px;
    object-fit: cover;
    padding: 4px;
    background: var(--text-gradient);
    box-shadow: 0 8px 24px var(--card-shadow);
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.text-large {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-secondary);
}

.about-stats {
    display: flex;
    flex-direction: row;
    gap: 30px;
    justify-content: flex-start;
    margin-top: 40px;
}

.stat-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px var(--card-shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px var(--card-shadow);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: var(--text-gradient);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease, background 0.5s ease;
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
    background: linear-gradient(135deg, #f72585 0%, #b5179e 50%, #7209b7 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    animation: gradientShift 2s ease infinite;
}

[data-theme="dark"] .stat-item:hover .stat-number {
    background: linear-gradient(135deg, #4cc9f0 0%, #f72585 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

:root .stat-item:hover .stat-number {
    background: linear-gradient(135deg, #4361ee 0%, #7209b7 50%, #560bad 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    animation: gradientShift 2s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.5s ease;
}

.stat-item:hover .stat-label {
    background: linear-gradient(135deg, #f72585 0%, #b5179e 50%, #7209b7 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    animation: gradientShift 2s ease infinite;
}

[data-theme="dark"] .stat-item:hover .stat-label {
    background: linear-gradient(135deg, #4cc9f0 0%, #f72585 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

:root .stat-item:hover .stat-label {
    background: linear-gradient(135deg, #4361ee 0%, #7209b7 50%, #560bad 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    animation: gradientShift 2s ease infinite;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--card-shadow);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--bg-gradient);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-marker {
    position: absolute;
    left: -42px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-gradient);
    border: 4px solid var(--bg-primary);
    box-shadow: 0 0 0 2px var(--accent-primary);
}

.timeline-content {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px var(--card-shadow);
}

.timeline-date {
    font-size: 0.9rem;
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.timeline-company {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.timeline-description {
    list-style-position: outside;
    padding-left: 20px;
}

.timeline-description li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.skill-category {
    background-color: var(--card-bg);
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 4px 15px var(--card-shadow);
}

.skill-category-title {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skill-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background-color: var(--bg-secondary);
    border-radius: 10px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #4361ee 0%, #7209b7 50%, #f72585 100%);
    border-radius: 10px;
    transition: width 1s ease;
    box-shadow: 0 2px 8px rgba(71, 97, 238, 0.3);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tag:hover {
    background: linear-gradient(135deg, #560bad 0%, #b5179e 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(86, 11, 173, 0.4);
}

/* Education Section */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.education-card {
    background-color: var(--card-bg);
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 4px 15px var(--card-shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.education-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px var(--card-shadow);
}

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

.education-degree {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.education-school {
    font-size: 1.1rem;
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.education-date {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.education-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.education-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
}

.education-card-link::after {
    content: '→';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.education-card-link:hover::after {
    opacity: 1;
    transform: translateX(5px);
}

.education-card-link:hover .education-card {
    transform: translateY(-10px);
}

/* Contact Section */
.contact-content {
    max-width: 900px;
    margin: 0 auto;
}

.contact-text {
    text-align: center;
    margin-bottom: 50px;
}

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

.contact-item {
    display: flex;
    align-items: start;
    gap: 20px;
    padding: 25px;
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 4px 15px var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--card-shadow);
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.contact-details a,
.contact-details span {
    font-size: 1rem;
    color: var(--text-secondary);
    word-break: break-word;
}

.contact-details a:hover {
    color: var(--accent-primary);
}

/* Footer */
.footer {
    background: var(--bg-gradient);
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.footer p {
    margin: 0;
    opacity: 0.9;
}

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

/* Responsive Design */
@media screen and (max-width: 768px) {
    /* Mobile Navigation */
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed !important;
        top: 70px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        background: var(--card-bg);
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: -4px 0 20px var(--card-shadow);
        transition: right 0.3s ease;
        overflow-y: auto;
        z-index: 999;
    }

    .nav-menu.active {
        right: 0 !important;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 0.5rem 0;
        border-bottom: 1px solid var(--border-color);
    }

    .theme-toggle {
        margin-top: 1rem;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    .hero-section {
        padding: 140px 0 80px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .hero-profile {
        order: -1;
    }

    .profile-photo {
        width: 200px;
        height: 200px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .button-primary,
    .button-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .nav-menu {
        display: none;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-profile {
        justify-content: center;
    }
    
    .about-photo {
        width: 250px;
        height: 375px;
    }
    
    .about-content {
        text-align: left;
    }
    
    .about-stats {
        flex-direction: column;
        align-items: stretch;
        margin-top: 30px;
    }
    
    .stat-item {
        width: 100%;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .education-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .timeline {
        padding-left: 30px;
    }
    
    .timeline::before {
        left: 7px;
    }
    
    .timeline-marker {
        left: -35px;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* ===== BLOG STYLES ===== */

/* Blog Grid Layout */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

/* Blog Card */
.blog-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 32px var(--card-shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px var(--card-shadow);
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.blog-date,
.blog-author {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-title {
    font-size: 1.75rem;
    font-weight: 700;
    background: var(--text-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
    line-height: 1.3;
}

.blog-excerpt {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-primary);
    font-weight: 600;
    transition: gap 0.3s ease;
}

.blog-card:hover .read-more {
    gap: 12px;
}

/* Blog Post Container */
.post-container {
    max-width: 800px;
    margin: 0 auto;
}

.post-header {
    margin-bottom: 40px;
}

.post-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--text-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    line-height: 1.2;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--text-muted);
    font-size: 1rem;
}

.post-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Blog Post Content */
.post-body {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.1rem;
}

.post-body h1,
.post-body h2,
.post-body h3,
.post-body h4,
.post-body h5,
.post-body h6 {
    color: var(--text-primary);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.post-body h1 {
    font-size: 2.25rem;
}

.post-body h2 {
    font-size: 1.875rem;
}

.post-body h3 {
    font-size: 1.5rem;
}

.post-body h4 {
    font-size: 1.25rem;
}

.post-body p {
    margin-bottom: 20px;
}

.post-body ul,
.post-body ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.post-body li {
    margin-bottom: 10px;
}

.post-body code {
    background: var(--bg-secondary);
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.95em;
    color: var(--accent-primary);
}

.post-body pre {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.post-body pre code {
    background: none;
    padding: 0;
    color: var(--text-primary);
}

.post-body blockquote {
    border-left: 4px solid var(--accent-primary);
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: var(--text-muted);
}

.post-body a {
    color: var(--accent-primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-bottom 0.3s ease;
}

.post-body a:hover {
    border-bottom: 1px solid var(--accent-primary);
}

.post-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
}

.post-body hr {
    border: none;
    border-top: 2px solid var(--border-color);
    margin: 40px 0;
}

/* Back to Blog Link */
.back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 40px;
    transition: gap 0.3s ease;
}

.back-to-blog:hover {
    gap: 4px;
}

/* Loading State */
.loading-message {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .blog-card {
        padding: 30px;
    }
    
    .blog-title {
        font-size: 1.5rem;
    }
    
    .post-title {
        font-size: 2rem;
    }
    
    .post-body {
        font-size: 1rem;
    }
    
    .post-body h1 {
        font-size: 1.875rem;
    }
    
    .post-body h2 {
        font-size: 1.5rem;
    }
    
    .post-body h3 {
        font-size: 1.25rem;
    }
    
    /* Announcement Banner Mobile */
    .announcement-content {
        gap: 8px;
        font-size: 0.85rem;
    }
    
    .announcement-text {
        font-size: 0.85rem;
        text-align: center;
        flex: 1 1 100%;
    }
    
    .announcement-cta {
        font-size: 0.85rem;
        padding: 5px 12px;
    }
    
    .announcement-close {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
    }
}
