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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #0f0f23;
}

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

/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-brand .logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: #00d4ff;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #00d4ff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00d4ff;
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #b3b3b3;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #00d4ff;
    border: 2px solid #00d4ff;
}

.btn-secondary:hover {
    background: #00d4ff;
    color: #0f0f23;
    transform: translateY(-2px);
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.professional-visuals {
    position: relative;
    width: 100%;
    height: 100%;
}

.visual-element {
    position: absolute;
    opacity: 0;
    transform: translateY(20px);
    animation: slideInFade 0.8s ease forwards;
    background: rgba(22, 33, 62, 0.9);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 8px;
    padding: 0.75rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    max-width: 200px;
    font-family: 'Fira Code', 'Monaco', 'Consolas', monospace;
}

.visual-element pre,
.visual-element code {
    margin: 0;
    padding: 0;
    background: none;
    color: #ffffff;
    font-size: 0.8rem;
    line-height: 1.4;
    white-space: pre-wrap;
}

.code-snippet {
    border-left: 3px solid #4ecdc4;
}

.code-snippet code {
    color: #4ecdc4;
}

.terminal-output {
    background: rgba(0, 0, 0, 0.8);
    border-left: 3px solid #00d4ff;
    font-family: 'Fira Code', monospace;
}

.terminal-line {
    color: #00d4ff;
    font-size: 0.85rem;
}

.status-message {
    border-left: 3px solid #96ceb4;
}

.status-indicator {
    color: #96ceb4;
    font-weight: 500;
    font-size: 0.9rem;
}

.performance-metric {
    border-left: 3px solid #feca57;
}

.metric-display {
    color: #feca57;
    font-weight: 600;
    font-size: 0.9rem;
}

.diagram-element {
    border-left: 3px solid #ff6b6b;
    font-family: monospace;
}

.ascii-diagram {
    color: #ff6b6b;
    font-size: 0.75rem;
    line-height: 1.2;
}

.documentation {
    border-left: 3px solid #96ceb4;
}

.docs-reference {
    color: #96ceb4;
    font-size: 0.85rem;
    line-height: 1.3;
}

.learning-insight {
    border-left: 3px solid #54a0ff;
}

.insight-bubble {
    color: #54a0ff;
    font-size: 0.85rem;
    font-weight: 500;
}

.doc-icon,
.insight-icon {
    font-size: 1rem;
    margin-right: 0.25rem;
}

@keyframes slideInFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover effects for visual elements */
.visual-element:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.4);
    transition: all 0.3s ease;
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    margin-bottom: 3rem;
}

/* About Section */
.about {
    background: #1a1a2e;
}

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

.about-card {
    text-align: center;
    padding: 2rem;
    border-radius: 20px;
    background: #16213e;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.card-icon {
    margin-bottom: 1rem;
    color: #00d4ff;
}

.card-icon svg {
    width: 48px;
    height: 48px;
    stroke: currentColor;
}

.about-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #00d4ff;
    margin-bottom: 1rem;
}

.about-card p {
    color: #b3b3b3;
    line-height: 1.6;
}

/* Services Section */
.services {
    background: linear-gradient(135deg, #0f0f23, #1a1a2e);
}

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

.service-item {
    background: #16213e;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.service-item:hover {
    transform: translateY(-3px);
}

.service-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #00d4ff;
    margin-bottom: 1rem;
}

.service-item p {
    color: #b3b3b3;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    background: #1a1a2e;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #00d4ff;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #ffffff;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: #00d4ff;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid #333;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background: #16213e;
    color: #ffffff;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #00d4ff;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #0a0a1a;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-brand .logo {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        padding: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
        min-height: 90vh;
    }
    
    .hero-visual {
        height: 300px;
        margin-top: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .visual-element {
        max-width: 150px;
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .nav-links {
        display: none;
    }
    
    /* Daily Page Styles */
    .daily-hero {
        min-height: 60vh;
    }
    
    .daily-indicator {
        margin-top: 1rem;
        padding: 0.5rem 1rem;
        background: rgba(0, 212, 255, 0.1);
        border: 1px solid rgba(0, 212, 255, 0.3);
        border-radius: 25px;
        display: inline-block;
        color: #00d4ff;
        font-weight: 500;
    }
    
    .daily-content {
        padding: 3rem 0;
        background: #1a1a2e;
    }
    
    .daily-card {
        background: #16213e;
        border-radius: 20px;
        padding: 3rem;
        text-align: center;
        border: 1px solid rgba(0, 212, 255, 0.2);
        margin-bottom: 3rem;
    }
    
    .daily-icon {
        font-size: 4rem;
        margin-bottom: 1.5rem;
    }
    
    .daily-card h2 {
        color: #00d4ff;
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .daily-body {
        color: #b3b3b3;
        line-height: 1.8;
        margin-bottom: 2rem;
    }
    
    .daily-body ul {
        text-align: left;
        max-width: 600px;
        margin: 1.5rem auto;
    }
    
    .daily-body li {
        margin-bottom: 0.8rem;
    }
    
    .daily-body strong {
        color: #ffffff;
    }
    
    .daily-stats {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
        margin-top: 2rem;
    }
    
    .stat-item {
        text-align: center;
        padding: 1.5rem;
        background: #16213e;
        border-radius: 15px;
        border: 1px solid rgba(0, 212, 255, 0.1);
    }
    
    .stat-number {
        display: block;
        font-size: 2.5rem;
        font-weight: 700;
        color: #00d4ff;
        margin-bottom: 0.5rem;
    }
    
    .stat-label {
        color: #b3b3b3;
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .weekly-preview {
        padding: 4rem 0;
        background: #0f0f23;
    }
    
    .week-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .week-day-card {
        background: #16213e;
        border-radius: 15px;
        padding: 1.5rem;
        text-align: center;
        border: 2px solid transparent;
        transition: all 0.3s ease;
    }
    
    .week-day-card.active {
        border-color: #00d4ff;
        transform: scale(1.05);
    }
    
    .week-day-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;
    }
    
    .week-day-name {
        font-weight: 600;
        color: #ffffff;
    }
    
    .week-day-theme {
        font-size: 0.8rem;
        font-weight: 500;
    }
    
    .week-day-icon {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .week-day-title {
        font-size: 0.9rem;
        color: #b3b3b3;
    }
    
    /* Tech News Section */
    .tech-news-section {
        margin-top: 2rem;
        padding: 1.5rem;
        background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(0, 212, 255, 0.02));
        border: 1px solid rgba(0, 212, 255, 0.2);
        border-radius: 15px;
        text-align: left;
    }
    
    .tech-news-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;
    }
    
    .tech-news-header h3 {
        color: #00d4ff;
        font-size: 1.2rem;
        margin: 0;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .news-timestamp {
        color: #b3b3b3;
        font-size: 0.8rem;
        opacity: 0.7;
        font-weight: 400;
    }
    
    .tech-news-item {
        color: #ffffff;
        font-size: 1rem;
        line-height: 1.6;
        padding: 1rem;
        background: rgba(0, 0, 0, 0.2);
        border-radius: 10px;
        border-left: 3px solid #00d4ff;
    }
    
    /* Projects Page Styles */
    .project-stats {
        display: flex;
        gap: 3rem;
        margin-top: 2rem;
        flex-wrap: wrap;
    }
    
    .projects-filter {
        display: flex;
        gap: 1rem;
        margin-bottom: 3rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .filter-btn {
        padding: 0.75rem 1.5rem;
        background: transparent;
        border: 2px solid rgba(0, 212, 255, 0.3);
        border-radius: 25px;
        color: #b3b3b3;
        cursor: pointer;
        transition: all 0.3s ease;
        font-weight: 500;
    }
    
    .filter-btn.active,
    .filter-btn:hover {
        background: rgba(0, 212, 255, 0.1);
        border-color: #00d4ff;
        color: #00d4ff;
    }
    
    .projects-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2rem;
        margin-bottom: 3rem;
    }
    
    .project-card {
        background: #16213e;
        border-radius: 20px;
        padding: 2rem;
        border: 1px solid rgba(0, 212, 255, 0.1);
        transition: all 0.3s ease;
        animation: fadeInUp 0.6s ease forwards;
        opacity: 0;
        transform: translateY(30px);
    }
    
    .project-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
    }
    
    .project-card.featured {
        border-color: rgba(0, 212, 255, 0.3);
        background: linear-gradient(135deg, #16213e, #1a2332);
    }
    
    .project-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1.5rem;
    }
    
    .project-icon {
        font-size: 2.5rem;
    }
    
    .project-status {
        padding: 0.25rem 0.75rem;
        border-radius: 15px;
        font-size: 0.8rem;
        font-weight: 600;
        color: #0f0f23;
    }
    
    .project-title {
        color: #00d4ff;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .project-description {
        color: #b3b3b3;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .project-tech {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-bottom: 2rem;
    }
    
    .tech-tag {
        background: rgba(0, 212, 255, 0.1);
        color: #00d4ff;
        padding: 0.25rem 0.75rem;
        border-radius: 12px;
        font-size: 0.8rem;
        border: 1px solid rgba(0, 212, 255, 0.2);
    }
    
    .project-actions {
        display: flex;
        gap: 1rem;
    }
    
    .project-link {
        flex: 1;
        padding: 0.75rem;
        background: rgba(0, 212, 255, 0.1);
        border: 1px solid rgba(0, 212, 255, 0.3);
        border-radius: 10px;
        color: #00d4ff;
        text-decoration: none;
        text-align: center;
        transition: all 0.3s ease;
        font-weight: 500;
    }
    
    .project-link:hover {
        background: rgba(0, 212, 255, 0.2);
    }
    
    .project-link.demo {
        background: linear-gradient(135deg, #00d4ff, #0099cc);
        color: white;
        border-color: #00d4ff;
    }
    
    .project-link.disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }
    
    .tech-stack {
        padding: 4rem 0;
        background: #1a1a2e;
    }
    
    .tech-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
        margin-top: 2rem;
    }
    
    .tech-category h3 {
        color: #00d4ff;
        margin-bottom: 1rem;
        font-size: 1.3rem;
    }
    
    .tech-items {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .tech-item {
        background: #16213e;
        color: #ffffff;
        padding: 0.5rem 1rem;
        border-radius: 20px;
        border: 1px solid rgba(0, 212, 255, 0.2);
        font-size: 0.9rem;
    }
    
    /* Blog Page Styles */
    .blog-filters {
        display: flex;
        gap: 1rem;
        margin-bottom: 3rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .blog-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2rem;
        margin-bottom: 3rem;
    }
    
    .blog-card {
        background: #16213e;
        border-radius: 20px;
        padding: 2rem;
        border: 1px solid rgba(0, 212, 255, 0.1);
        transition: all 0.3s ease;
        animation: fadeInUp 0.6s ease forwards;
        opacity: 0;
        transform: translateY(30px);
    }
    
    .blog-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
    }
    
    .blog-card.featured {
        border-color: rgba(0, 212, 255, 0.3);
        background: linear-gradient(135deg, #16213e, #1a2332);
    }
    
    .blog-card-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1.5rem;
    }
    
    .blog-icon {
        font-size: 2.5rem;
    }
    
    .blog-meta {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 0.25rem;
    }
    
    .blog-category {
        background: rgba(0, 212, 255, 0.1);
        color: #00d4ff;
        padding: 0.25rem 0.75rem;
        border-radius: 12px;
        font-size: 0.8rem;
        text-transform: capitalize;
    }
    
    .blog-read-time {
        color: #b3b3b3;
        font-size: 0.8rem;
    }
    
    .blog-title {
        color: #ffffff;
        font-size: 1.4rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }
    
    .blog-excerpt {
        color: #b3b3b3;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .blog-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-bottom: 2rem;
    }
    
    .blog-tag {
        background: rgba(255, 255, 255, 0.05);
        color: #b3b3b3;
        padding: 0.25rem 0.75rem;
        border-radius: 12px;
        font-size: 0.8rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .blog-card-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .blog-author {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .blog-author span:first-child {
        color: #ffffff;
        font-weight: 500;
    }
    
    .blog-date {
        color: #b3b3b3;
        font-size: 0.8rem;
    }
    
    .blog-read-btn {
        background: linear-gradient(135deg, #00d4ff, #0099cc);
        color: white;
        border: none;
        padding: 0.75rem 1.5rem;
        border-radius: 25px;
        cursor: pointer;
        transition: all 0.3s ease;
        font-weight: 500;
    }
    
    .blog-read-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
    }
    
    .blog-pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        margin-top: 3rem;
    }
    
    .pagination-btn {
        background: rgba(0, 212, 255, 0.1);
        border: 1px solid rgba(0, 212, 255, 0.3);
        color: #00d4ff;
        padding: 0.75rem 1.5rem;
        border-radius: 25px;
        cursor: pointer;
        transition: all 0.3s ease;
        font-weight: 500;
    }
    
    .pagination-btn:hover:not(:disabled) {
        background: rgba(0, 212, 255, 0.2);
    }
    
    .pagination-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }
    
    .pagination-info {
        color: #b3b3b3;
    }
    
    .newsletter {
        padding: 4rem 0;
        background: linear-gradient(135deg, #1a1a2e, #16213e);
    }
    
    .newsletter-content {
        text-align: center;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .newsletter-content h2 {
        color: #ffffff;
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .newsletter-content p {
        color: #b3b3b3;
        margin-bottom: 2rem;
    }
    
    .newsletter-form {
        display: flex;
        gap: 1rem;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .newsletter-form input {
        flex: 1;
        padding: 1rem;
        border: 2px solid rgba(0, 212, 255, 0.3);
        border-radius: 25px;
        background: rgba(0, 212, 255, 0.05);
        color: #ffffff;
        font-size: 1rem;
    }
    
    .newsletter-form input:focus {
        outline: none;
        border-color: #00d4ff;
    }
    
    .newsletter-form button {
        border-radius: 25px;
        white-space: nowrap;
    }
    
    @keyframes fadeInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Additional responsive styles for new pages */
    @media (max-width: 768px) {
        .daily-card {
            padding: 2rem;
        }
        
        .daily-stats {
            grid-template-columns: 1fr;
            gap: 1rem;
        }
        
        .week-grid {
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        }
        
        .projects-grid,
        .blog-grid {
            grid-template-columns: 1fr;
        }
        
        .project-stats {
            justify-content: center;
            gap: 2rem;
        }
        
        .newsletter-form {
            flex-direction: column;
        }
        
        .blog-pagination {
            flex-direction: column;
            gap: 1rem;
        }
    }
    
    @media (max-width: 480px) {
        .projects-filter,
        .blog-filters {
            gap: 0.5rem;
        }
        
        .filter-btn {
            padding: 0.5rem 1rem;
            font-size: 0.9rem;
        }
        
        .project-actions {
            flex-direction: column;
        }
        
        .week-day-card {
            padding: 1rem;
        }
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    section {
        padding: 3rem 0;
    }
}

/* Daily Rotation System Styles */
:root {
    --daily-color: #00d4ff;
    --daily-gradient: linear-gradient(135deg, #00d4ff, #0099cc);
}

/* Daily Insight Widget */
.daily-insight-widget {
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(0, 212, 255, 0.02));
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.insight-content {
    max-width: 800px;
    margin: 0 auto;
    background: #16213e;
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(0, 212, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.insight-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--daily-gradient);
}

.insight-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.insight-header h3 {
    color: #00d4ff;
    font-size: 1.5rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.insight-day {
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.insight-body h4 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.insight-tip {
    color: #b3b3b3;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.insight-action {
    background: rgba(0, 212, 255, 0.05);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border-left: 3px solid #00d4ff;
}

.insight-action strong {
    color: #00d4ff;
}

.insight-metric {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.75rem;
    border-radius: 10px;
}

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

/* Trending Topics Widget */
.trending-widget {
    padding: 3rem 0;
    background: #1a1a2e;
    position: relative;
    overflow: hidden;
}

.trending-content {
    max-width: 1000px;
    margin: 0 auto;
    background: #16213e;
    border-radius: 20px;
    padding: 1rem;
    border: 1px solid rgba(0, 212, 255, 0.1);
    text-align: center;
    position: relative;
    height: 20rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    overflow: hidden;
}

.trending-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.trending-title {
    color: #00d4ff;
    font-size: 1.5rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.highlight-text {
    background: linear-gradient(135deg, #00d4ff, #0099cc, #54a0ff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
    font-weight: 700;
    text-shadow: none;
}

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

.trending-time {
    color: #b3b3b3;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Simple Single Card Container */
.trending-carousel-container {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: center;
    min-height: 0;
}

.trending-carousel {
    width: 100%;
    max-width: 600px;
    position: relative;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trending-card {
    width: 100%;
    height: 4rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    transform: translateY(0);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.trending-card.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    position: relative;
}

.trending-card-content {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.25), rgba(0, 212, 255, 0.1));
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.4;
    border: 2px solid rgba(0, 212, 255, 0.4);
    backdrop-filter: blur(10px);
    box-shadow:
        0 0 30px rgba(0, 212, 255, 0.3),
        0 15px 50px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 500;
}

.trending-card:hover .trending-card-content {
    transform: translateY(-2px);
    box-shadow:
        0 0 40px rgba(0, 212, 255, 0.4),
        0 20px 60px rgba(0, 0, 0, 0.5);
}

.trending-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
    flex-shrink: 0;
}

.trending-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 25px;
    color: #00d4ff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.trending-btn:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.2);
}

.trending-btn.secondary {
    background: transparent;
    color: #b3b3b3;
    border-color: rgba(255, 255, 255, 0.2);
}

.trending-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

/* Trends Modal */
.trends-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.trends-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-content {
    background: #16213e;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.trends-modal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.modal-header h3 {
    color: #00d4ff;
    margin: 0;
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    color: #b3b3b3;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #ffffff;
}

.modal-body {
    padding: 2rem;
}

.trend-item {
    background: rgba(0, 212, 255, 0.05);
    color: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border-left: 3px solid #00d4ff;
    animation: slideInUp 0.5s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Daily Theme Classes */
.theme-planning {
    --daily-color: #ff6b6b;
    --daily-gradient: linear-gradient(135deg, #ff6b6b, #ee5a52);
}

.theme-building {
    --daily-color: #4ecdc4;
    --daily-gradient: linear-gradient(135deg, #4ecdc4, #44a08d);
}

.theme-testing {
    --daily-color: #45b7d1;
    --daily-gradient: linear-gradient(135deg, #45b7d1, #3498db);
}

.theme-learning {
    --daily-color: #96ceb4;
    --daily-gradient: linear-gradient(135deg, #96ceb4, #85c1a3);
}

.theme-optimization {
    --daily-color: #feca57;
    --daily-gradient: linear-gradient(135deg, #feca57, #ff9ff3);
}

.theme-shipping {
    --daily-color: #ff9ff3;
    --daily-gradient: linear-gradient(135deg, #ff9ff3, #f368e0);
}

.theme-creativity {
    --daily-color: #54a0ff;
    --daily-gradient: linear-gradient(135deg, #54a0ff, #2e86de);
}

/* Enhanced button styles with daily themes */
.btn-primary {
    background: var(--daily-gradient);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

/* Responsive styles for new widgets */
@media (max-width: 768px) {
    .insight-content {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .insight-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .trending-content {
        margin: 0 1rem;
        padding: 1.5rem;
    }
    
    .trending-header {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .trending-actions {
        flex-direction: column;
    }
    
    .modal-content {
        margin: 1rem;
        max-height: 90vh;
    }
    
    .modal-header,
    .modal-body {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .insight-content {
        padding: 1.5rem;
    }
    
    .trending-content {
        padding: 1rem;
    }
    
    .trending-item {
        font-size: 1rem;
        padding: 1rem;
    }
    
    .modal-header,
    .modal-body {
        padding: 1rem;
    }
}

/* Smooth transitions for content changes */
.hero-title,
.hero-subtitle,
.btn {
    transition: all 0.5s ease;
}

/* Pulse animation for updated content */
@keyframes contentPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.content-updated {
    animation: contentPulse 0.6s ease;
}