/* Daily.dev specific styles */
.daily-dev-main {
    background: #f0f2f5;
    color: white;
}

.hero-section {
    background: linear-gradient(135deg, #151618 0%, #0f0f0f 100%);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(14,205,141,0.1)"><polygon points="1000,100 1000,0 0,100"/></svg>');
    background-size: 100% 100%;
    opacity: 0.3;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.app-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.hero-slogan {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-style: italic;
    color: #0ECD8D;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.8;
    max-width: 500px;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.browser-mockup {
    width: 400px;
    height: 300px;
    background: #333;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
}

.browser-mockup:hover {
    transform: rotate(0deg);
}

.browser-header {
    height: 40px;
    background: #555;
    display: flex;
    align-items: center;
    padding: 0 15px;
    gap: 10px;
}

.browser-buttons {
    display: flex;
    gap: 5px;
}

.browser-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.browser-btn.red {
    background: #ff5f56;
}

.browser-btn.yellow {
    background: #ffbd2e;
}

.browser-btn.green {
    background: #27ca3f;
}

.browser-url {
    flex: 1;
    text-align: center;
    color: #ccc;
    font-size: 0.9rem;
}

.browser-content {
    width: 100%;
    height: calc(100% - 40px);
    object-fit: cover;
}

/* Sections communes */
.features-section,
.topics-section,
.community-section,
.download-section,
.social-section {
    padding: 80px 0;
    background: white;
    color: #333;
}

.features-section {
    background: #fafafa;
}

.topics-section {
    background: #f8f9fa;
}

.community-section {
    background: #151618;
    color: white;
}

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

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #0ECD8D;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #0ECD8D, #00B77A);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.feature-description {
    color: #64748b;
    line-height: 1.6;
}

/* Topics Section */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.topic-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.topic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #0ECD8D;
}

.topic-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.topic-icon.javascript {
    background: #F7DF1E;
}

.topic-icon.react {
    background: #61DAFB;
}

.topic-icon.python {
    background: #3776AB;
}

.topic-icon.devops {
    background: #0066CC;
}

.topic-icon.ai {
    background: #FF6B6B;
}

.topic-icon.web {
    background: #4ECDC4;
}

.topic-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.topic-description {
    color: #64748b;
    line-height: 1.6;
}

/* Community Section */
.community-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.stat-item {
    text-align: center;
    background: rgba(14, 205, 141, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(14, 205, 141, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(14, 205, 141, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #0ECD8D;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: #ccc;
}

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

.community-feature {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.community-feature:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.community-feature h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #0ECD8D;
}

.community-feature p {
    color: #ccc;
    line-height: 1.6;
}

/* Download Section */
.download-section {
    background: linear-gradient(135deg, #151618 0%, #0f0f0f 100%);
    color: white;
}

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

.download-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.download-info p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(14, 205, 141, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(14, 205, 141, 0.2);
}

.download-btn:hover {
    background: rgba(14, 205, 141, 0.2);
    transform: translateY(-2px);
}

.download-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.download-store {
    font-size: 0.9rem;
    opacity: 0.8;
}

.download-name {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Social Section */
.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f1f5f9;
    color: #1e293b;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.social-link:hover {
    background: #0ECD8D;
    color: white;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

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

    .download-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }

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

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

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

    .community-features {
        grid-template-columns: 1fr;
    }

    .browser-mockup {
        width: 300px;
        height: 225px;
    }
}

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

    .hero-slogan {
        font-size: 1.2rem;
    }

    .browser-mockup {
        width: 250px;
        height: 188px;
    }

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

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